|
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
oracle.security.xmlsec.saml2.profiles.attribute.x500.X500Attribute
Represents a SAML attribute that conforms to the X.500/LDAP attribute profile.
Field Summary |
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
node, systemId |
Constructor Summary | |
|
X500Attribute(org.w3c.dom.Document owner) Creates a new BasicAttribute instance. |
protected |
X500Attribute(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) Creates a new BasicAttribute instance. |
|
X500Attribute(org.w3c.dom.Element element) Creates a new BasicAttribute instance from the given Element node. |
|
X500Attribute(org.w3c.dom.Element element, java.lang.String systemId) Creates a new BasicAttribute instance from the given Element node. |
Method Summary | |
void |
addAttributeValue(byte[] attributeValue) 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 attributeValue) 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. |
java.util.List |
getAttributeValueBytes() Gets the list of attribute values of type xs:base64binary. |
java.util.List |
getAttributeValues() Gets the list of attribute values. |
java.lang.String[] |
getAttributeValueStrings() Gets the list of attribute values of type xs:string. |
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 |
public X500Attribute(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
BasicAttribute
instance from the given Element node.element
- A BasicAttribute element.org.w3c.dom.DOMException
public X500Attribute(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
BasicAttribute
instance from the given Element node.element
- A BasicAttribute element.systemId
- The URI string system ID for the BasicAttribute
.org.w3c.dom.DOMException
public X500Attribute(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
BasicAttribute
instance.owner
- The owner document of the new BasicAttribute.org.w3c.dom.DOMException
protected X500Attribute(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) throws org.w3c.dom.DOMException
BasicAttribute
instance. This is for use in any sub-class for extension of the BasicAttribute element.owner
- The owner document of the new BasicAttribute.nsURI
- The namespace URI in which the new BasicAttribute is to be created.localName
- The localName of the element represented by the class that extends this class.org.w3c.dom.DOMException
Method Detail |
public void addAttributeValue(java.lang.String attributeValue)
attributeValue
- The String value of the attribute.public void addAttributeValue(java.lang.String[] attributeValues)
attributeValues
- The array of attribute Value Strings.public void addAttributeValue(byte[] attributeValue)
attributeValue
- The String value of the attribute.protected org.w3c.dom.Element addAttributeValue(org.w3c.dom.Node[] nodes, oracle.security.xmlsec.util.QName type)
addAttributeValue
in class Attribute
nodes
- The attribute value contentNode
s.type
- The XML schema type specifying the attribute value type.null
.public java.util.List getAttributeValues()
getAttributeValues
in class Attribute
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.public java.lang.String[] getAttributeValueStrings()
Strings
s, or an empty List
if none has been added with the xsi:type value of xs:string or null
if the attribute value does not contain any child nodes.public java.util.List getAttributeValueBytes()
byte[]
s, or an empty List
if none has been added with the xsi:type value of xs:base64binary or null
if the attribute value does not contain any child nodes.public java.lang.String getAttributeProfileID()
getAttributeProfileID
in class Attribute
|
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 |