Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-05


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

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.core.Attribute
              extended by oracle.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.
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 new AttributeValue element to this Attribute.
 void addAttributeValue(java.lang.String[] attributeValues)
          Deprecated. Use Attribute.addAttributeValues(String[]) instead.
 void addAttributeValueUUID(java.lang.String uriValue)
          Adds a new AttributeValue element to this Attribute.
 java.lang.String getAttributeProfileID()
          Returns the Profile Identification URI.
 int[] getAttributeValueIntegers()
          Returns the contents of this Attribute's AttributeValues that have xsi:type="xs:integer".
 java.lang.String[] getAttributeValueUUIDs()
          Returns the contents of this Attribute's AttributeValues that have xsi:type="xs:anyURI".

 

Methods inherited from class oracle.security.xmlsec.saml2.core.Attribute
addAttributeValue, addAttributeValue, addAttributeValue, addAttributeValues, getAttributeValues, getAttributeValuesAsStrings, getAttributeValuesAsStrings, getAttributeValueStrings, 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, 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

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

Method Detail

addAttributeValueUUID

public void addAttributeValueUUID(java.lang.String uriValue)
Adds a new AttributeValue element to this Attribute. The new element will have the attribute xsi:type="xs:anyURI" and, if the given value is null, it will also have the attribute xsi:nil="true".
Parameters:
uriValue - The URI content of the new AttributeValue element.
Since:
11.1.1.0.0

addAttributeValue

public void addAttributeValue(int intValue)
Adds a new AttributeValue element to this Attribute. The new element will have the attribute xsi:type="xs:integer".
Parameters:
intValue - The integer content of the new AttributeValue element.

addAttributeValue

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

getAttributeValueUUIDs

public java.lang.String[] getAttributeValueUUIDs()
Returns the contents of this Attribute's AttributeValues that have xsi:type="xs:anyURI".
Returns:
An array of Strings, or null if no AttributeValues of xsi:type="xs:anyURI" are present.

getAttributeValueIntegers

public int[] getAttributeValueIntegers()
Returns the contents of this Attribute's AttributeValues that have xsi:type="xs:integer".
Returns:
An array of ints, or null if no AttributeValues of xsi:type="xs:integer" are present.

getAttributeProfileID

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

Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-05


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