Apache CXF API

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

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

public class ProtectionToken
extends TokenWrapper


Field Summary
 
Fields inherited from class org.apache.cxf.ws.security.policy.model.TokenWrapper
builder, token
 
Fields inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
constants
 
Constructor Summary
ProtectionToken(PolicyBuilder b)
           
ProtectionToken(SPConstants version, PolicyBuilder b)
           
 
Method Summary
 QName getName()
           
 Token getProtectionToken()
           
 QName getRealName()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setProtectionToken(Token protectionToken)
           
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.TokenWrapper
getPolicy, getToken, normalize, setToken
 
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
 
Methods inherited from interface org.apache.neethi.Assertion
isIgnorable, isOptional
 
Methods inherited from interface org.apache.neethi.PolicyComponent
equal, getType
 

Constructor Detail

ProtectionToken

public ProtectionToken(PolicyBuilder b)

ProtectionToken

public ProtectionToken(SPConstants version,
                       PolicyBuilder b)
Method Detail

getProtectionToken

public Token getProtectionToken()
Returns:
Returns the protectionToken.

setProtectionToken

public void setProtectionToken(Token protectionToken)
Parameters:
protectionToken - The protectionToken to set.

getRealName

public QName getRealName()

getName

public QName getName()

serialize

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

Apache CXF API

Apache CXF