Skip navigation links

Oracle Security Developer Tools Web Services Security Java API Reference
11g (11.1.1)

E10678-02


oracle.security.xmlsec.wss
Class WSSElement

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.wss.WSSElement

Direct Known Subclasses:
UsernameToken, WSCDerivedKeyToken, WSCSecurityContextToken, WSSBinarySecurityToken, WSSecurityTokenReference, WSSEmbedded, WSSEncryptedHeader, WSSignatureConfirmation, WSSKeyIdentifier, WSSReference, WSUTimestamp

public abstract class WSSElement
extends oracle.security.xmlsec.util.XMLElement

Base class for WS-WSSecurity elements.

Supports reference element with local ID and wsu:Id attributes for referencing them.


Field Summary

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
protected WSSElement(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
           
protected WSSElement(org.w3c.dom.Element element)
           
protected WSSElement(org.w3c.dom.Element element, java.lang.String systemId)
           

 

Method Summary
 java.lang.String getId()
          Returns the value of the Id attribute or null if not specified.
 java.lang.String getWsuId()
          Returns the value of the wsu:Id attribute in this element, or null if not specified.
 void setId(java.lang.String id)
          Sets the Id attribute of this WSS element.
 void setWsuId(java.lang.String id)
          Sets the global attribute wsu:Id with the given id value to this structure.

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
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

 

Methods inherited from class oracle.security.xmlsec.util.XMLNode
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

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

WSSElement

protected WSSElement(org.w3c.dom.Element element)

WSSElement

protected WSSElement(org.w3c.dom.Element element,
                     java.lang.String systemId)

WSSElement

protected WSSElement(org.w3c.dom.Document owner,
                     java.lang.String nsURI,
                     java.lang.String localName)

Method Detail

setId

public void setId(java.lang.String id)
Sets the Id attribute of this WSS element.
Parameters:
id - The Id attribute value.

getId

public java.lang.String getId()
Returns the value of the Id attribute or null if not specified.
Returns:
The reference identifier string.

setWsuId

public void setWsuId(java.lang.String id)
Sets the global attribute wsu:Id with the given id value to this structure.
Parameters:
id - The global wsu:Id attribute value.

getWsuId

public java.lang.String getWsuId()
Returns the value of the wsu:Id attribute in this element, or null if not specified.
Returns:
The reference identifier string.

Skip navigation links

Oracle Security Developer Tools Web Services Security Java API Reference
11g (11.1.1)

E10678-02


Copyright © 2005, 2009, Oracle. All rights reserved.