public class AttributeStatement extends Statement
| Modifier | Constructor and Description | 
|---|---|
  | 
AttributeStatement(org.w3c.dom.Document owner)
Creates a new  
AttributeStatement instance. | 
protected | 
AttributeStatement(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)
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 a attribute. 
 | 
void | 
addSAMLEncryptedAttribute(EncryptedAttribute attribute)
Adds a encrypted attribute. 
 | 
java.util.List | 
getAllAttributes()
Gets the set of encrypted and unencrypted attributes. 
 | 
java.util.List | 
getSAMLAttributes()
Gets the set of unencrypted attributes. 
 | 
java.util.List | 
getSAMLEncryptedAttributes()
Gets the set of encrypted attributes. 
 | 
getXsiType, 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 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
protected AttributeStatement(org.w3c.dom.Document owner,
                             java.lang.String nsURI,
                             java.lang.String localName)
                      throws org.w3c.dom.DOMException
AttributeStatement instance. For use by classes extending the saml:AttributeStatement element.owner - The owner document of the new element.nsURI - The namespace in which the new element is to be created.localName - The localName of the element.org.w3c.dom.DOMExceptionpublic void addSAMLAttribute(Attribute attribute)
attribute - An Extension object.public void addSAMLEncryptedAttribute(EncryptedAttribute attribute)
attribute - An EncryptedAttribute object.public java.util.List getSAMLAttributes()
List containing XACMLAttribute objects or an empty List if no attribute were added.public java.util.List getSAMLEncryptedAttributes()
List containing EncryptedAttribute objects or an empty List if no encrypted attribute were added.public java.util.List getAllAttributes()
List containing Extension and EncryptedAttribute objects or an empty List if none were added.