Skip navigation links

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

E10676-03


oracle.security.xmlsec.saml2.profiles.attribute
Class GenericAttribute

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.GenericAttribute


public class GenericAttribute
extends Attribute

Field Summary

 

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

 

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

 

Method Summary
 org.w3c.dom.Element addAttributeValue(org.w3c.dom.Node[] content, oracle.security.xmlsec.util.QName type)
          Adds an AttributeValue element to this Attribute.
 org.w3c.dom.Element addAttributeValue(org.w3c.dom.Node content, oracle.security.xmlsec.util.QName type)
          Adds an AttributeValue element to this Attribute.
 java.lang.String getAttributeProfileID()
          Returns the Profile Identification URI.
 void setNameFormat(java.lang.String uri)
          Sets the attribute name format.

 

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

GenericAttribute

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

GenericAttribute

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

GenericAttribute

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

Method Detail

setNameFormat

public void setNameFormat(java.lang.String uri)
Sets the attribute name format.
Overrides:
setNameFormat in class Attribute
Parameters:
uri - A URI identifying the format.

addAttributeValue

public org.w3c.dom.Element addAttributeValue(org.w3c.dom.Node content,
                                             oracle.security.xmlsec.util.QName type)
Adds an AttributeValue element to this Attribute.
Overrides:
addAttributeValue in class Attribute
Parameters:
content - The content of the new AttributeValue element, to be appended as a child node.
type - The XML schema type for the AttributeValue, to be set in an xsi:type attribute.
Returns:
The AttributeValue element that was created.
Since:
11.1.1.0.0

addAttributeValue

public org.w3c.dom.Element addAttributeValue(org.w3c.dom.Node[] content,
                                             oracle.security.xmlsec.util.QName type)
Adds an AttributeValue element to this Attribute.
Overrides:
addAttributeValue in class Attribute
Parameters:
content - The content of the new AttributeValue element, to be appended as child nodes.
type - The XML schema type for the AttributeValue, to be set in an xsi:type attribute.
Returns:
The AttributeValue element that was created.

getAttributeProfileID

public java.lang.String getAttributeProfileID()
Returns the Profile Identification URI.
Specified by:
getAttributeProfileID in class Attribute
Returns:
The null value to indicate that it is not compliant with any standard profile.

Skip navigation links

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

E10676-03


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