com.sun.xml.ws.security.trust
Class GenericToken

java.lang.Object
  extended by com.sun.xml.ws.security.trust.GenericToken
All Implemented Interfaces:
com.sun.xml.ws.security.Token

public class GenericToken
extends java.lang.Object
implements com.sun.xml.ws.security.Token


Constructor Summary
GenericToken(org.w3c.dom.Element token)
          Creates a new instance of GenericToken
GenericToken(org.w3c.dom.Element token, java.lang.String tokenType)
           
GenericToken(com.sun.xml.ws.security.opt.api.SecurityHeaderElement headerElement)
           
 
Method Summary
 com.sun.xml.ws.security.opt.api.SecurityHeaderElement getElement()
           
 java.lang.String getId()
           
 java.lang.Object getTokenValue()
           
 java.lang.String getType()
           
 void setId(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericToken

public GenericToken(org.w3c.dom.Element token)
Creates a new instance of GenericToken


GenericToken

public GenericToken(org.w3c.dom.Element token,
                    java.lang.String tokenType)

GenericToken

public GenericToken(com.sun.xml.ws.security.opt.api.SecurityHeaderElement headerElement)
Method Detail

getType

public java.lang.String getType()
Specified by:
getType in interface com.sun.xml.ws.security.Token

getTokenValue

public java.lang.Object getTokenValue()
Specified by:
getTokenValue in interface com.sun.xml.ws.security.Token

getElement

public com.sun.xml.ws.security.opt.api.SecurityHeaderElement getElement()

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)