Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


oracle.security.xmlsec.saml2.protocol
Class NewID

java.lang.Object
  extended byoracle.security.xmlsec.util.XMLNode
      extended byoracle.security.xmlsec.util.XMLElement
          extended byoracle.security.xmlsec.saml2.protocol.NewID

All Implemented Interfaces:
SAML2NameIdentifier

public class NewID
extends oracle.security.xmlsec.util.XMLElement
implements SAML2NameIdentifier

Represents a String valued identifier.


Field Summary

 

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

 

Constructor Summary
  NewID(org.w3c.dom.Document owner)
          Creates a new NewID instance.
protected NewID(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
          Creates a new NewID instance.
  NewID(org.w3c.dom.Element element)
          Creates a new NewID instance from the given Element node.
  NewID(org.w3c.dom.Element element, java.lang.String systemId)
          Creates a new NewID instance from the given Element node.

 

Method Summary
 java.lang.String getIDName()
          Returns the tag name of the identifier.
 java.lang.String getIDNamespaceURI()
          Returns the namespace URI of the identifier element.
 java.lang.String getValue()
          Returns the identifier value.
 void setValue(java.lang.String id)
          Sets the identifier value.

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, 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

 

Methods inherited from interface oracle.security.xmlsec.saml2.core.SAML2NameIdentifier
getNode

 

Constructor Detail

NewID

public NewID(org.w3c.dom.Element element)
      throws org.w3c.dom.DOMException
Creates a new NewID instance from the given Element node.
Parameters:
element - A NewID element.
Throws:
org.w3c.dom.DOMException

NewID

public NewID(org.w3c.dom.Element element,
             java.lang.String systemId)
      throws org.w3c.dom.DOMException
Creates a new NewID instance from the given Element node.
Parameters:
element - A NewID element.
systemId - The URI string system ID for the NewID.
Throws:
org.w3c.dom.DOMException

NewID

public NewID(org.w3c.dom.Document owner)
      throws org.w3c.dom.DOMException
Creates a new NewID instance.
Parameters:
owner - The owner document of the new NewID.
Throws:
org.w3c.dom.DOMException

NewID

protected NewID(org.w3c.dom.Document owner,
                java.lang.String nsURI,
                java.lang.String localName)
         throws org.w3c.dom.DOMException
Creates a new NewID instance. This is for use in any sub-class for extension of the NewID element.
Parameters:
owner - The owner document of the new NewID.
nsURI - The namespace URI in which the new NewID is to be created.
localName - The localName of the element represented by the class that extends this class.
Throws:
org.w3c.dom.DOMException

Method Detail

setValue

public void setValue(java.lang.String id)
Sets the identifier value.
Parameters:
id - An identifier string.

getValue

public java.lang.String getValue()
Returns the identifier value.
Returns:
The identifier string or an empty string if not specified.

getIDNamespaceURI

public java.lang.String getIDNamespaceURI()
Returns the namespace URI of the identifier element.
Specified by:
getIDNamespaceURI in interface SAML2NameIdentifier
Returns:
A URI reference.

getIDName

public java.lang.String getIDName()
Returns the tag name of the identifier.
Specified by:
getIDName in interface SAML2NameIdentifier
Returns:
A String value.

Oracle Security Developer Tools SAML 2.0 Java API Reference
10g (10.1.4.0.1)

B28174-01


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