public class Token
extends oracle.security.xmlsec.util.XMLElement
Modifier | Constructor and Description |
---|---|
|
Token(org.w3c.dom.Document owner, java.lang.String nsURI)
Creates a new
Token instance. |
protected |
Token(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
Creates a new
Token instance. |
|
Token(org.w3c.dom.Element element)
Creates a new
Token instance from the given Element node. |
|
Token(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
Token instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
void |
addExtension(Extension extn)
Adds an extension element..
|
java.util.List |
getExtensions()
Gets the list of Extension values.
|
TimeSyncToken |
getTimeSyncToken()
Returns the time synchronization token.
|
void |
setTimeSyncToken(TimeSyncToken tst)
Sets the time synchronization token.
|
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML
public Token(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
Token
instance from the given Element node.element
- An Token element.org.w3c.dom.DOMException
public Token(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
Token
instance from the given Element node.element
- An Token element.systemId
- The URI string system ID for the Token
.org.w3c.dom.DOMException
public Token(org.w3c.dom.Document owner, java.lang.String nsURI) throws org.w3c.dom.DOMException
Token
instance.owner
- The owner document of the new Token.nsURI
- The namespace URI in which the new Token is to be created.org.w3c.dom.DOMException
protected Token(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) throws org.w3c.dom.DOMException
Token
instance. This constructor is for use in subclass for extension of the Token element.owner
- The owner document of the new Token.nsURI
- The namespace URI in which the new Token is to be created.localName
- The localName of the element represented by the class that extends this class.org.w3c.dom.DOMException
public void setTimeSyncToken(TimeSyncToken tst)
tst
- The TimeSyncToken
object.public TimeSyncToken getTimeSyncToken()
TimeSyncToken
object or null
if not present.public void addExtension(Extension extn)
extn
- The extension Node
.public java.util.List getExtensions()
List
containing Extension
values, or an empty List
if none has been added.