org.apache.cxf.ws.security.policy.model
Class RequiredElements

java.lang.Object
  extended by org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
      extended by org.apache.cxf.ws.security.policy.model.RequiredElements
All Implemented Interfaces:
PolicyAssertion, org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent

public class RequiredElements
extends AbstractSecurityAssertion


Field Summary
 
Fields inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
constants
 
Constructor Summary
RequiredElements(SPConstants version)
           
 
Method Summary
 void addDeclaredNamespaces(java.lang.String uri, java.lang.String prefix)
           
 void addXPathExpression(java.lang.String expr)
           
 java.util.Map<java.lang.String,java.lang.String> getDeclaredNamespaces()
           
 javax.xml.namespace.QName getName()
           
 java.util.List<java.lang.String> getXPathExpressions()
           
 java.lang.String getXPathVersion()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setXPathVersion(java.lang.String pathVersion)
           
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
equal, getPolicy, getType, isAsserted, isNormalized, isOptional, setNormalized, setOptional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequiredElements

public RequiredElements(SPConstants version)
Method Detail

getXPathExpressions

public java.util.List<java.lang.String> getXPathExpressions()
Returns:
Returns the xPathExpressions.

addXPathExpression

public void addXPathExpression(java.lang.String expr)

getXPathVersion

public java.lang.String getXPathVersion()
Returns:
Returns the xPathVersion.

setXPathVersion

public void setXPathVersion(java.lang.String pathVersion)
Parameters:
pathVersion - The xPathVersion to set.

getDeclaredNamespaces

public java.util.Map<java.lang.String,java.lang.String> getDeclaredNamespaces()

addDeclaredNamespaces

public void addDeclaredNamespaces(java.lang.String uri,
                                  java.lang.String prefix)

serialize

public void serialize(javax.xml.stream.XMLStreamWriter writer)
               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

getName

public javax.xml.namespace.QName getName()

normalize

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


Apache CXF