Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-05


oracle.security.xmlsec.saml2.metadata
Class RequestedAttribute

java.lang.Object
  extended by oracle.security.xmlsec.util.XMLNode
      extended by oracle.security.xmlsec.util.XMLElement
          extended by oracle.security.xmlsec.saml2.metadata.RequestedAttribute


public class RequestedAttribute
extends oracle.security.xmlsec.util.XMLElement

Represents the RequestedAttribute metadata element.


Field Summary

 

Fields inherited from class oracle.security.xmlsec.util.XMLNode
node, systemId

 

Constructor Summary
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.

 

Method Summary
 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.

 

Methods inherited from class oracle.security.xmlsec.util.XMLElement
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, 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

RequestedAttribute

public RequestedAttribute(org.w3c.dom.Element element)
                   throws org.w3c.dom.DOMException
Creates a new RequestedAttribute instance from the given Element node.
Parameters:
element - An RequestedAttribute element.
Throws:
org.w3c.dom.DOMException

RequestedAttribute

public RequestedAttribute(org.w3c.dom.Element element,
                          java.lang.String systemId)
                   throws org.w3c.dom.DOMException
Creates a new RequestedAttribute instance from the given Element node.
Parameters:
element - An RequestedAttribute element.
systemId - The URI string system ID for the RequestedAttribute.
Throws:
org.w3c.dom.DOMException

RequestedAttribute

public RequestedAttribute(org.w3c.dom.Document owner)
                   throws org.w3c.dom.DOMException
Creates a new RequestedAttribute instance.
Parameters:
owner - The owner document of the new RequestedAttribute.
Throws:
org.w3c.dom.DOMException

Method Detail

setIsRequired

public void setIsRequired(boolean required)
Specifies if the requested attribute is required.
Parameters:
required - A boolean value.

getIsRequired

public boolean getIsRequired()
Indicates if the specified attribute is required,
Returns:
A boolean value or false if none was found.

setSAMLAttribute

public 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. param attr A Attribute object.

getSAMLAttribute

public Attribute getSAMLAttribute()
Creates a 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.
Returns:
An Attribute object.

Skip navigation links

Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10676-05


Copyright © 2005, 2013 , Oracle. All rights reserved.