org.apache.axis2.security.trust.token
Class ValueToken
java.lang.Object
org.apache.axis2.security.trust.token.AbstractToken
org.apache.axis2.security.trust.token.ValueToken
- Direct Known Subclasses:
- BinarySecret, Code, ComputedKey, Created, Expires, KeySize, Reason, RequestType, TokenType
- public abstract class ValueToken
- extends AbstractToken
This is the base class for the elements that carries a
value in the element
Example:
...
- Author:
- Ruchith Fernando (ruchith.fernando@gmail.com)
|
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 |
java.lang.String |
getValue()
Returns the value of the token |
protected void |
setElementTextValue(OMText textNode)
This is called with a OMText node of the
current element |
void |
setValue(java.lang.String value)
Sets the value of the token |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
valueText
protected OMText valueText
ValueToken
public ValueToken()
ValueToken
public ValueToken(OMElement elem)
throws TrustException
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)
- Description copied from class:
AbstractToken
- This is called with a
OMText node of the
current element
- Specified by:
setElementTextValue in class AbstractToken
- Parameters:
textNode -
getValue
public java.lang.String getValue()
- Returns the value of the token
- Returns:
setValue
public void setValue(java.lang.String value)
- Sets the value of the token
- Parameters:
value -