Apache CXF API

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:
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(String uri, String prefix)
           
 void addXPathExpression(String expr)
           
 Map<String,String> getDeclaredNamespaces()
           
 QName getName()
           
 QName getRealName()
           
 List<String> getXPathExpressions()
           
 String getXPathVersion()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setXPathVersion(String pathVersion)
           
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
equal, getSPConstants, getType, isIgnorable, isNormalized, isOptional, setIgnorable, 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 List<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 Map<String,String> getDeclaredNamespaces()

addDeclaredNamespaces

public void addDeclaredNamespaces(String uri,
                                  String prefix)

serialize

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

getRealName

public QName getRealName()

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

Apache CXF API

Apache CXF