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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDeclaredNamespaces
(String uri, String prefix) void
addXPathExpression
(String expr) getName()
org.apache.neethi.PolicyComponent
void
serialize
(XMLStreamWriter writer) void
setXPathVersion
(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:
normalize
in interfaceorg.apache.neethi.Assertion
- Overrides:
normalize
in classAbstractSecurityAssertion
-