org.apache.ws.secpolicy.model
Class InitiatorToken

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

public class InitiatorToken
extends AbstractSecurityAssertion
implements TokenWrapper


Field Summary
 
Fields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version
 
Constructor Summary
InitiatorToken(int version)
           
 
Method Summary
 Token getInitiatorToken()
           
 javax.xml.namespace.QName getName()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setInitiatorToken(Token initiatorToken)
           
 void setToken(Token tok)
           
 
Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getType, getVersion, isIgnorable, isNormalized, isOptional, setIgnorable, setNormalized, setOptional, setVersion, writeAttribute, writeEmptyElement, writeStartElement, writeStartElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitiatorToken

public InitiatorToken(int version)
Method Detail

getInitiatorToken

public Token getInitiatorToken()
Returns:
Returns the initiatorToken.

setInitiatorToken

public void setInitiatorToken(Token initiatorToken)
Parameters:
initiatorToken - The initiatorToken to set.

setToken

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

getName

public javax.xml.namespace.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(javax.xml.stream.XMLStreamWriter writer)
               throws javax.xml.stream.XMLStreamException
Specified by:
serialize in interface org.apache.neethi.Assertion
Specified by:
serialize in interface org.apache.neethi.PolicyComponent
Throws:
javax.xml.stream.XMLStreamException


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.