public class AttributeStatement extends SubjectStatement
Constructor and Description |
---|
AttributeStatement(org.w3c.dom.Document owner)
Creates a new
AttributeStatement instance. |
AttributeStatement(org.w3c.dom.Element element)
Creates a new
AttributeStatement instance from the given Element node. |
AttributeStatement(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
AttributeStatement instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
void |
addSAMLAttribute(Attribute attribute)
Adds an subject attribute.
|
java.util.List |
getSAMLAttributes()
Gets the set of subject attributes.
|
getSubject, setSubject
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
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
public AttributeStatement(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
AttributeStatement
instance from the given Element node.element
- An AttributeStatement element.org.w3c.dom.DOMException
public AttributeStatement(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
AttributeStatement
instance from the given Element node.element
- An AttributeStatement element.systemId
- The URI string system ID for the AttributeStatement
.org.w3c.dom.DOMException
public AttributeStatement(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
AttributeStatement
instance.owner
- The owner document of the new AttributeStatement.org.w3c.dom.DOMException
public void addSAMLAttribute(Attribute attribute)
attribute
- An Attribute
object.public java.util.List getSAMLAttributes()
List
containing Attribute
objects or an empty List
if no attribute were added.