Class RequiredElements

java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
org.apache.ws.secpolicy.model.RequiredElements
All Implemented Interfaces:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent

public class RequiredElements extends AbstractSecurityAssertion
  • Constructor Details

    • RequiredElements

      public RequiredElements(int version)
  • Method Details

    • getXPathExpressions

      public ArrayList<String> getXPathExpressions()
      Returns:
      Returns the xPathExpressions.
    • addXPathExpression

      public void addXPathExpression(String expr)
    • getXPathVersion

      public String getXPathVersion()
      Returns:
      Returns the xPathVersion.
    • setXPathVersion

      public void setXPathVersion(String pathVersion)
      Parameters:
      pathVersion - The xPathVersion to set.
    • getDeclaredNamespaces

      public HashMap<String,String> getDeclaredNamespaces()
    • addDeclaredNamespaces

      public void addDeclaredNamespaces(String uri, String prefix)
    • serialize

      public void serialize(XMLStreamWriter writer) throws XMLStreamException
      Throws:
      XMLStreamException
    • getName

      public QName getName()
    • normalize

      public org.apache.neethi.PolicyComponent normalize()
      Specified by:
      normalize in interface org.apache.neethi.Assertion
      Overrides:
      normalize in class AbstractSecurityAssertion