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:
...
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 String getValue()
- Returns the value of the token.
- Returns:
- Returns String.
setValue
public void setValue(String value)
- Sets the value of the token.
- Parameters:
value
-