org.apache.ws.secpolicy.model
Class RecipientToken

java.lang.Object
  extended byorg.apache.ws.secpolicy.model.AbstractSecurityAssertion
      extended byorg.apache.ws.secpolicy.model.RecipientToken
All Implemented Interfaces:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent, TokenWrapper

public class RecipientToken
extends AbstractSecurityAssertion
implements TokenWrapper


Constructor Summary
RecipientToken()
           
 
Method Summary
 QName getName()
           
 Token getReceipientToken()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(XMLStreamWriter writer)
           
 void setReceipientToken(Token receipientToken)
           
 void setToken(Token tok)
           
 
Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getType, isNormalized, isOptional, setNormalized, setOptional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecipientToken

public RecipientToken()
Method Detail

getReceipientToken

public Token getReceipientToken()
Returns:
Returns the receipientToken.

setReceipientToken

public void setReceipientToken(Token receipientToken)
Parameters:
receipientToken - The receipientToken to set.

setToken

public void setToken(Token tok)
Specified by:
setToken in interface TokenWrapper

getName

public QName getName()
Specified by:
getName in interface org.apache.neethi.Assertion

normalize

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

serialize

public void serialize(XMLStreamWriter writer)
               throws XMLStreamException
Specified by:
serialize in interface org.apache.neethi.Assertion
Throws:
XMLStreamException