com.sun.xml.ws.security.trust.impl.wssx.elements
Class RequestedSecurityTokenImpl

java.lang.Object
  extended by com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestedSecurityTokenType
      extended by com.sun.xml.ws.security.trust.impl.wssx.elements.RequestedSecurityTokenImpl
All Implemented Interfaces:
RequestedSecurityToken

public class RequestedSecurityTokenImpl
extends RequestedSecurityTokenType
implements RequestedSecurityToken

Implementation for the RequestedSecurityToken.

Author:
Manveen Kaur

Field Summary
 
Fields inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestedSecurityTokenType
any
 
Constructor Summary
RequestedSecurityTokenImpl()
          Empty default constructor.
RequestedSecurityTokenImpl(RequestedSecurityTokenType rdstType)
           
RequestedSecurityTokenImpl(Token token)
           
 
Method Summary
static RequestedSecurityTokenType fromElement(Element element)
          Constructs a RequestedSecurityToken element from an existing XML block.
 Token getToken()
           
 void setToken(Token token)
           
 
Methods inherited from class com.sun.xml.ws.security.trust.impl.wssx.bindings.RequestedSecurityTokenType
getAny, setAny
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.ws.security.trust.elements.RequestedSecurityToken
getAny, setAny
 

Constructor Detail

RequestedSecurityTokenImpl

public RequestedSecurityTokenImpl()
Empty default constructor.


RequestedSecurityTokenImpl

public RequestedSecurityTokenImpl(RequestedSecurityTokenType rdstType)

RequestedSecurityTokenImpl

public RequestedSecurityTokenImpl(Token token)
Method Detail

fromElement

public static RequestedSecurityTokenType fromElement(Element element)
                                              throws WSTrustException
Constructs a RequestedSecurityToken element from an existing XML block.

Parameters:
requestedSecurityTokenElement - A org.w3c.dom.Element representing DOM tree for RequestedSecurityToken object.
Throws:
WSTrustException - if it could not process the org.w3c.dom.Element properly, implying that there is an error in the sender or in the element definition.

getToken

public Token getToken()
Specified by:
getToken in interface RequestedSecurityToken

setToken

public void setToken(Token token)
Specified by:
setToken in interface RequestedSecurityToken


Copyright © 2005-2014 Oracle Corporation. All Rights Reserved.