org.apache.axis2.security.trust.token
Class AbstractToken

java.lang.Object
  extended byorg.apache.axis2.security.trust.token.AbstractToken
Direct Known Subclasses:
CompositeToken, Renewing, ValueToken

public abstract class AbstractToken
extends Object


Field Summary
protected  OMFactory factory
           
protected  OMElement tokenElement
           
protected  OMNamespace wstNamespace
           
 
Constructor Summary
AbstractToken()
           
AbstractToken(OMElement elem)
           
 
Method Summary
protected abstract  void deserializeChildElement(OMElement element)
          This is called for each of the immediate child elements of type OMNode.ELEMENT_NODE of this token
protected abstract  QName getToken()
           
protected abstract  void setElementTextValue(OMText textNode)
          This is called with a OMText node of the current element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

protected OMFactory factory

tokenElement

protected OMElement tokenElement

wstNamespace

protected OMNamespace wstNamespace
Constructor Detail

AbstractToken

public AbstractToken()

AbstractToken

public AbstractToken(OMElement elem)
              throws TrustException
Method Detail

getToken

protected abstract QName getToken()

deserializeChildElement

protected abstract void deserializeChildElement(OMElement element)
                                         throws TrustException
This is called for each of the immediate child elements of type OMNode.ELEMENT_NODE of this token

Parameters:
element -
Throws:
TrustException

setElementTextValue

protected abstract void setElementTextValue(OMText textNode)
                                     throws TrustException
This is called with a OMText node of the current element

Parameters:
textNode -
Throws:
TrustException