com.sun.xml.ws.security.trust
Class GenericToken
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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)