public class GenericAttribute extends Attribute
| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
addAttributeValue, addAttributeValues, getAttributeValues, getAttributeValuesAsStrings, getAttributeValuesAsStrings, getAttributeValueStrings, getFriendlyName, getName, getNameFormat, getXsiType, setFriendlyName, setName, setXsiTypeaddNSPrefixAttr, 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, setDefaultNSPrefixappendChild, 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
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.DOMExceptionpublic void setNameFormat(java.lang.String uri)
setNameFormat in class Attributeuri - A URI identifying the format.
public org.w3c.dom.Element addAttributeValue(org.w3c.dom.Node content,
oracle.security.xmlsec.util.QName type)
AttributeValue element to this Attribute.addAttributeValue in class Attributecontent - 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.AttributeValue element that was created.
public org.w3c.dom.Element addAttributeValue(org.w3c.dom.Node[] content,
oracle.security.xmlsec.util.QName type)
AttributeValue element to this Attribute.addAttributeValue in class Attributecontent - 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.AttributeValue element that was created.public java.lang.String getAttributeProfileID()
getAttributeProfileID in class Attributenull value to indicate that it is not compliant with any standard profile.