public class RequestedAttribute
extends oracle.security.xmlsec.util.XMLElement
RequestedAttribute metadata element.| Constructor and Description |
|---|
RequestedAttribute(org.w3c.dom.Document owner)
Creates a new
RequestedAttribute instance. |
RequestedAttribute(org.w3c.dom.Element element)
Creates a new
RequestedAttribute instance from the given Element node. |
RequestedAttribute(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
RequestedAttribute instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getIsRequired()
Indicates if the specified attribute is required,
|
Attribute |
getSAMLAttribute()
Creates a
saml:Attribute element containing all the relevant XML attributes and saml:AttributeValue elements present in this md:RequestedAttribute element. |
void |
setIsRequired(boolean required)
Specifies if the requested attribute is required.
|
void |
setSAMLAttribute(Attribute attr)
Sets this
md:RequestedAttribute element's XMLattributes and child nodes to the same values as that of the provided saml:Attribute element. |
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, 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 RequestedAttribute(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
RequestedAttribute instance from the given Element node.element - An RequestedAttribute element.org.w3c.dom.DOMException
public RequestedAttribute(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
RequestedAttribute instance from the given Element node.element - An RequestedAttribute element.systemId - The URI string system ID for the RequestedAttribute.org.w3c.dom.DOMException
public RequestedAttribute(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
RequestedAttribute instance.owner - The owner document of the new RequestedAttribute.org.w3c.dom.DOMExceptionpublic void setIsRequired(boolean required)
required - A boolean value.public boolean getIsRequired()
boolean value or false if none was found.public void setSAMLAttribute(Attribute attr)
md:RequestedAttribute element's XMLattributes and child nodes to the same values as that of the provided saml:Attribute element. param attr A Attribute object.public Attribute getSAMLAttribute()
saml:Attribute element containing all the relevant XML attributes and saml:AttributeValue elements present in this md:RequestedAttribute element. The returned element is owned by this element's Document instance, but is not a child of any element.Attribute object.