org.apache.ws.sandbox.security.trust.message.token
Class RenewTarget
java.lang.Object
org.apache.ws.sandbox.security.trust.message.token.AbstractToken
org.apache.ws.sandbox.security.trust.message.token.CompositeElement
org.apache.ws.sandbox.security.trust.message.token.RenewTarget
- public class RenewTarget
- extends CompositeElement
- Author:
- Ruchith Fernando (ruchith.fernando@gmail.com)
Field Summary |
static javax.xml.namespace.QName |
TOKEN
|
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
RenewTarget
public RenewTarget(org.w3c.dom.Element elem)
throws WSTrustException
RenewTarget
public RenewTarget(org.w3c.dom.Document doc)
getSecurityTokenReference
public SecurityTokenReference getSecurityTokenReference()
- Returns the
wsse:SecurityTokenReference
- Returns:
setSecurityTokenReference
public void setSecurityTokenReference(SecurityTokenReference securityTokenReference)
- Sets a
wsse:SecurityTokenReference
- Parameters:
securityTokenReference
-
getTokenToBeRenewed
public org.w3c.dom.Element getTokenToBeRenewed()
- Returns the token to be renewed
- Returns:
setTokenToBeRenewed
public void setTokenToBeRenewed(org.w3c.dom.Element tokenToBeRenewed)
- Sets the token to be renewed
- Parameters:
tokenToBeRenewed
-
getToken
protected javax.xml.namespace.QName getToken()
- Returns the QName of this type
- Specified by:
getToken
in class AbstractToken
- Returns:
- See Also:
AbstractToken.getToken()
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.