public class Advice extends XMLElement
| Constructor and Description |
|---|
Advice(org.w3c.dom.Document owner)
Creates a new
Advice instance. |
Advice(org.w3c.dom.Element element)
Creates a new
Advice instance from the given Element node. |
Advice(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
Advice instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addAssertion(Assertion assertion)
Adds an assertion.
|
void |
addAssertionIDReference(java.lang.String id)
Adds an assertion ID reference which specifies an assertion by reference to the value of assertion's AssertionID attribute.
|
void |
addAssertionURIReference(java.lang.String uri)
Adds an URI reference to an assertion.
|
void |
addEncryptedAssertion(EncryptedAssertion assertion)
Adds an encrypted assertion.
|
java.util.List |
getAssertionIDReferences()
Gets the list of assertion IDs.
|
java.util.List |
getAssertions()
Gets the list of assertions.
|
java.util.List |
getAssertionURIReferences()
Gets the list of assertion URI references.
|
java.util.List |
getEncryptedAssertions()
Gets the list of encrypted assertions.
|
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 Advice(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
Advice instance from the given Element node.element - An Advice element.org.w3c.dom.DOMException
public Advice(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
Advice instance from the given Element node.element - An Advice element.systemId - The URI string system ID for the Advice.org.w3c.dom.DOMException
public Advice(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
Advice instance.owner - The owner document of the new Advice.org.w3c.dom.DOMExceptionpublic void addAssertionIDReference(java.lang.String id)
id - An identifier referencing an assertion.public java.util.List getAssertionIDReferences()
List containing String objects representing IDs or an empty List if no ID has been added.public void addAssertionURIReference(java.lang.String uri)
uri - A URI reference to an assertion.public java.util.List getAssertionURIReferences()
List containing String objects representing URIs or an empty List if no URI has been added.public void addAssertion(Assertion assertion)
assertion - An assertion involved in the decision of the issuer.public java.util.List getAssertions()
List containing Assertion objects or an empty List if no Assertion has been added.public void addEncryptedAssertion(EncryptedAssertion assertion)
assertion - An encrypted assertion involved in the decision of the issuer.public java.util.List getEncryptedAssertions()
List containing EncryptedAssertion objects or an empty List if no Request has been added.