|
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.GenericAttribute
Represents a generic saml attribute. This is a placholder for SAML attributes that have not been profiled by the OASIS SS TC.
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. |
protected |
GenericAttribute(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) 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[] nodes, oracle.security.xmlsec.util.QName type) Adds a value to the attribute. |
java.lang.String |
getAttributeProfileID() Returns the Profile Identification URI. |
java.util.List |
getAttributeValues() Gets the list of attribute values. |
void |
setNameFormat(java.lang.String uri) Sets the attribute name format. |
Methods inherited from class oracle.security.xmlsec.saml2.core.Attribute |
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, 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 GenericAttribute(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
GenericAttribute
instance from the given Element node.element
- A GenericAttribute element.org.w3c.dom.DOMException
public GenericAttribute(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
GenericAttribute
instance from the given Element node.element
- A GenericAttribute element.systemId
- The URI string system ID for the GenericAttribute
.org.w3c.dom.DOMException
public GenericAttribute(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
GenericAttribute
instance.owner
- The owner document of the new GenericAttribute.org.w3c.dom.DOMException
protected GenericAttribute(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName) throws org.w3c.dom.DOMException
GenericAttribute
instance. This is for use in any sub-class for extension of the GenericAttribute element.owner
- The owner document of the new GenericAttribute.nsURI
- The namespace URI in which the new GenericAttribute 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 setNameFormat(java.lang.String uri)
setNameFormat
in class Attribute
uri
- A URI identifying the format.public 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 getAttributeProfileID()
getAttributeProfileID
in class Attribute
null
value to indicate that it is not compliant with any standard profile.
|
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 |