org.apache.ws.sandbox.security.trust.message.token
Class AllowPostdating
java.lang.Object
org.apache.ws.sandbox.security.trust.message.token.AbstractToken
org.apache.ws.sandbox.security.trust.message.token.AllowPostdating
- public class AllowPostdating
- extends AbstractToken
- Author:
- Malinda Kaushalye, Ruchith Fernando
AllowPostdating element This element indicates
that returned tokens should allow requests for postdated tokens.
Field Summary |
static javax.xml.namespace.QName |
TOKEN
|
Constructor Summary |
AllowPostdating(org.w3c.dom.Document doc)
Constructor for AllowPostdating |
AllowPostdating(org.w3c.dom.Element elem)
Constructor for AllowPostdating |
Method Summary |
protected void |
deserializeChildElement(org.w3c.dom.Element elem)
This is called for each of the immediate
child elements of type Node.ELEMENT_NODE of this token |
protected javax.xml.namespace.QName |
getToken()
Returns the QName of this type |
protected void |
setElementTextValue(org.w3c.dom.Text textNode)
This is called with a Text node of the
current element |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TOKEN
public static final javax.xml.namespace.QName TOKEN
AllowPostdating
public AllowPostdating(org.w3c.dom.Element elem)
throws WSTrustException
- Constructor for AllowPostdating
- Parameters:
elem
-
- Throws:
WSSecurityException
WSTrustException
AllowPostdating
public AllowPostdating(org.w3c.dom.Document doc)
- Constructor for AllowPostdating
- Parameters:
doc
-
getToken
protected javax.xml.namespace.QName getToken()
- Returns the QName of this type
- Specified by:
getToken
in class AbstractToken
- Returns:
- See Also:
AbstractToken.getToken()
setElementTextValue
protected void setElementTextValue(org.w3c.dom.Text textNode)
throws WSTrustException
- Description copied from class:
AbstractToken
- This is called with a
Text
node of the
current element
- Specified by:
setElementTextValue
in class AbstractToken
- Parameters:
textNode
-
- Throws:
WSTrustException
deserializeChildElement
protected void deserializeChildElement(org.w3c.dom.Element elem)
throws WSTrustException
- Description copied from class:
AbstractToken
- This is called for each of the immediate
child elements of type
Node.ELEMENT_NODE
of this token
- Specified by:
deserializeChildElement
in class AbstractToken
- Parameters:
elem
- The child element
- Throws:
WSTrustException
Copyright © 2004-2008 Apache Web Services. All Rights Reserved.