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

java.lang.Object
  extended byorg.apache.axis2.security.trust.token.AbstractToken
      extended byorg.apache.axis2.security.trust.token.Renewing

public class Renewing
extends AbstractToken


Field Summary
static QName TOKEN
           
 
Fields inherited from class org.apache.axis2.security.trust.token.AbstractToken
factory, tokenElement, wstNamespace
 
Constructor Summary
Renewing()
           
Renewing(boolean isOK, boolean isAllow)
           
Renewing(OMElement elem)
           
 
Method Summary
protected  void deserializeChildElement(OMElement element)
          This is called for each of the immediate child elements of type OMNode.ELEMENT_NODE of this token
protected  QName getToken()
           
 boolean isAllow()
           
 boolean isOK()
           
 void setAllow(boolean isAllow)
           
protected  void setElementTextValue(OMText textNode)
          This is called with a OMText node of the current element
 void setOK(boolean isOK)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOKEN

public static final QName TOKEN
Constructor Detail

Renewing

public Renewing()

Renewing

public Renewing(boolean isOK,
                boolean isAllow)

Renewing

public Renewing(OMElement elem)
         throws TrustException
Parameters:
elem -
Throws:
TrustException
Method Detail

isAllow

public boolean isAllow()

setAllow

public void setAllow(boolean isAllow)

isOK

public boolean isOK()

setOK

public void setOK(boolean isOK)

getToken

protected QName getToken()
Specified by:
getToken in class AbstractToken

deserializeChildElement

protected void deserializeChildElement(OMElement element)
                                throws TrustException
Description copied from class: AbstractToken
This is called for each of the immediate child elements of type OMNode.ELEMENT_NODE of this token

Specified by:
deserializeChildElement in class AbstractToken
Parameters:
element -
Throws:
TrustException

setElementTextValue

protected void setElementTextValue(OMText textNode)
                            throws TrustException
Description copied from class: AbstractToken
This is called with a OMText node of the current element

Specified by:
setElementTextValue in class AbstractToken
Parameters:
textNode -
Throws:
TrustException