|
Oracle Security Developer Tools SAML 2.0 Java API Reference 10g (10.1.4.0.1) B28174-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.saml2.core.Attribute
Represents an attribute by name and optionally its value(s).
Field Summary |
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
node, systemId |
Constructor Summary | |
|
Attribute(org.w3c.dom.Document owner) Creates a new Attribute instance. |
protected |
Attribute(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) Creates a new Attribute instance. |
|
Attribute(org.w3c.dom.Element element) Creates a new Attribute instance from the given Element node. |
|
Attribute(org.w3c.dom.Element element, java.lang.String systemId) Creates a new Attribute instance from the given Element node. |
Method Summary | |
protected abstract org.w3c.dom.Element |
addAttributeValue(org.w3c.dom.Node[] node, oracle.security.xmlsec.util.QName type) Adds a value to the attribute. |
abstract java.lang.String |
getAttributeProfileID() Returns the Profile Identification URI. |
abstract java.util.List |
getAttributeValues() Gets the list of attribute values. |
java.lang.String |
getFriendlyName() Get the friendly name of the attribute. |
java.lang.String |
getName() |
java.lang.String |
getNameFormat() Get the attribute name format. |
protected static oracle.security.xmlsec.util.QName |
getXsiType(org.w3c.dom.Element element) Returns the XML Schema xsi:type attribute to identify the attribute value type. |
void |
setFriendlyName(java.lang.String fname) Set the friendly name of the attribute. |
void |
setName(java.lang.String name) Set the attribute name. |
protected void |
setNameFormat(java.lang.String formatURI) Set the attribute name format. |
protected static void |
setXsiType(org.w3c.dom.Element element, oracle.security.xmlsec.util.QName type) Set the XML Schema xsi:type attribute to identify the attribute value type. |
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 |
public Attribute(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
Attribute
instance from the given Element node.element
- An Attribute element.public Attribute(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
Attribute
instance from the given Element node.element
- An Attribute element.systemId
- The URI string system ID for the Attribute
.public Attribute(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
Attribute
instance.owner
- The owner document of the new Attribute.protected Attribute(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) throws org.w3c.dom.DOMException
Attribute
instance. This constructor is for use in subclass for extension of the Attribute element.owner
- The owner document of the new Attribute.nsURI
- The namespace URI in which the new Attribute is to be created.localName
- The localName of the element represented by the class that extends this class.Method Detail |
protected abstract org.w3c.dom.Element addAttributeValue(org.w3c.dom.Node[] node, oracle.security.xmlsec.util.QName type)
node
- The attribute value contentNode
s.type
- The XML schema type specifying the attribute value type.public abstract java.util.List getAttributeValues()
List
containing Node
s, or an empty List
if none has been added or null
if the attribute value does not contain any child nodes.protected static void setXsiType(org.w3c.dom.Element element, oracle.security.xmlsec.util.QName type)
element
- The attribute value element to use as the context.type
- The QName
reference.protected static oracle.security.xmlsec.util.QName getXsiType(org.w3c.dom.Element element)
element
- The attribute value element to use as the context.QName
value type or null
if not specified.public void setName(java.lang.String name)
name
- The String containing the attribute name.public java.lang.String getName()
protected void setNameFormat(java.lang.String formatURI)
formatURI
- A URI reference to the attribute name format.public java.lang.String getNameFormat()
public void setFriendlyName(java.lang.String fname)
fname
- The String containing the friendly name.public java.lang.String getFriendlyName()
public abstract java.lang.String getAttributeProfileID()
|
Oracle Security Developer Tools SAML 2.0 Java API Reference 10g (10.1.4.0.1) B28174-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |