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

B28174-01


oracle.security.xmlsec.saml2.profiles.attribute.uuid
Class UUIDAttribute

java.lang.Object
  extended byoracle.security.xmlsec.util.XMLNode
      extended byoracle.security.xmlsec.util.XMLElement
          extended byoracle.security.xmlsec.saml2.core.Attribute
              extended byoracle.security.xmlsec.saml2.profiles.attribute.uuid.UUIDAttribute


public class UUIDAttribute
extends Attribute

Represents a SAML attribute that conforms to the UUID attribute profile.


Field Summary

 

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

 

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

 

Method Summary
 void addAttributeValue(int intValue)
          Adds a value to the attribute.
protected  org.w3c.dom.Element addAttributeValue(org.w3c.dom.Node[] nodes, oracle.security.xmlsec.util.QName type)
          Adds a value to the attribute.
 void addAttributeValue(java.lang.String uriValue)
          Adds a value to the attribute.
 void addAttributeValue(java.lang.String[] attributeValues)
          Adds a set of values to the attribute.
 java.lang.String getAttributeProfileID()
          Returns the Profile Identification URI.
 int[] getAttributeValueIntegers()
          Gets the list of attribute values of type xs:integer.
 java.util.List getAttributeValues()
          Gets the list of attribute values.
 java.lang.String[] getAttributeValueStrings()
          Gets the list of attribute values of type xs:string.
 java.lang.String[] getAttributeValueUUIDs()
          Gets the list of attribute values of type xs:anyURI.

 

Methods inherited from class oracle.security.xmlsec.saml2.core.Attribute
getFriendlyName, getName, getNameFormat, getXsiType, setFriendlyName, setName, setNameFormat, setXsiType

 

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

 

Constructor Detail

UUIDAttribute

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

UUIDAttribute

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

UUIDAttribute

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

UUIDAttribute

protected UUIDAttribute(org.w3c.dom.Document owner,
                        java.lang.String nsURI,
                        java.lang.String localName)
                 throws org.w3c.dom.DOMException
Creates a new UUIDAttribute instance. This is for use in any sub-class for extension of the UUIDAttribute element.
Parameters:
owner - The owner document of the new UUIDAttribute.
nsURI - The namespace URI in which the new UUIDAttribute 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

addAttributeValue

public void addAttributeValue(java.lang.String uriValue)
Adds a value to the attribute.
Parameters:
uriValue - The URI string value of the attribute.

addAttributeValue

public void addAttributeValue(int intValue)
Adds a value to the attribute.
Parameters:
intValue - The integer value of the attribute.

addAttributeValue

public void addAttributeValue(java.lang.String[] attributeValues)
Adds a set of values to the attribute.
Parameters:
attributeValues - The array of attribute Value Strings.

addAttributeValue

protected org.w3c.dom.Element addAttributeValue(org.w3c.dom.Node[] nodes,
                                                oracle.security.xmlsec.util.QName type)
Adds a value to the attribute.
Specified by:
addAttributeValue in class Attribute
Parameters:
nodes - The attribute value contentNodes.
type - The XML schema type specifying the attribute value type.
Returns:
The AttributeValue element that was created or null.

getAttributeValues

public java.util.List getAttributeValues()
Gets the list of attribute values.
Specified by:
getAttributeValues in class Attribute
Returns:
A List containing Nodes, or an empty List if none has been added or nullif the attribute value does not contain any child nodes.

getAttributeValueUUIDs

public java.lang.String[] getAttributeValueUUIDs()
Gets the list of attribute values of type xs:anyURI.
Returns:
A array of Stringss, or an empty List if none has been added with the xsi:type value of xs:anyURI or nullif the attribute value does not contain any child nodes.

getAttributeValueStrings

public java.lang.String[] getAttributeValueStrings()
Gets the list of attribute values of type xs:string.
Returns:
A array of Stringss, or an empty List if none has been added with the xsi:type value of xs:string or nullif the attribute value does not contain any child nodes.

getAttributeValueIntegers

public int[] getAttributeValueIntegers()
Gets the list of attribute values of type xs:integer.
Returns:
A array of Stringss, or an empty List if none has been added with the xsi:type value of xs:integer or nullif the attribute value does not contain any child nodes.

getAttributeProfileID

public java.lang.String getAttributeProfileID()
Returns the Profile Identification URI.
Specified by:
getAttributeProfileID in class Attribute
Returns:
The basic attribute profile identification URI.

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.