Package org.apache.ws.secpolicy.model
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
-
Field Summary
Fields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDeclaredNamespaces(String uri, String prefix) voidaddXPathExpression(String expr) getName()org.apache.neethi.PolicyComponentvoidserialize(XMLStreamWriter writer) voidsetXPathVersion(String pathVersion) Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getType, getVersion, isIgnorable, isNormalized, isOptional, setIgnorable, setNormalized, setOptional, setVersion, writeAttribute, writeEmptyElement, writeStartElement, writeStartElement
-
Constructor Details
-
RequiredElements
public RequiredElements(int version)
-
-
Method Details
-
getXPathExpressions
- Returns:
- Returns the xPathExpressions.
-
addXPathExpression
-
getXPathVersion
- Returns:
- Returns the xPathVersion.
-
setXPathVersion
- Parameters:
pathVersion- The xPathVersion to set.
-
getDeclaredNamespaces
-
addDeclaredNamespaces
-
serialize
- Throws:
XMLStreamException
-
getName
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalizein interfaceorg.apache.neethi.Assertion- Overrides:
normalizein classAbstractSecurityAssertion
-