public class Response extends StatusResponseType
VERSION| Constructor and Description |
|---|
Response(org.w3c.dom.Document owner)
Creates a new
Response instance. |
Response(org.w3c.dom.Element element)
Creates a new
Response instance from the given Element node. |
Response(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
Response instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addAssertion(Assertion assertion)
Adds an assertion.
|
void |
addEncryptedAssertion(EncryptedAssertion encAssertion)
Adds an encrypted assertion.
|
java.util.List |
getAllAssertions()
Returns the set of encrypted and unencrypted assertions.
|
java.util.List |
getAssertions()
Returns the set of unencrypted assertions.
|
java.util.List |
getEncryptedAssertions()
Returns the set of encrypted assertion.
|
addSignature, addSignature, clearSignature, getConsent, getDestination, getExtensions, getID, getInResponseTo, getIssueInstant, getIssuer, getSignature, getStatus, getVersion, getXsiType, isSigned, setConsent, setDestination, setExtensions, setID, setInResponseTo, setIssueInstant, setIssuer, setStatus, setVersion, setXsiType, sign, sign, verify, verifyaddNSPrefixAttr, 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, toStringXMLpublic Response(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
Response instance from the given Element node.element - An Response element.org.w3c.dom.DOMExceptionpublic Response(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
Response instance from the given Element node.element - An Response element.systemId - The URI string system ID for the Response.org.w3c.dom.DOMExceptionpublic Response(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
Response instance.owner - The owner document of the new Response instance.org.w3c.dom.DOMExceptionpublic void addAssertion(Assertion assertion)
assertion - An Assertion object.public void addEncryptedAssertion(EncryptedAssertion encAssertion)
encAssertion - An EncryptedAssertion object.public java.util.List getAssertions()
List containing Assertion objects or an empty List if no assertions were added.public java.util.List getEncryptedAssertions()
List containing EncryptedAssertion objects or an empty List if no encrypted assertion were added.public java.util.List getAllAssertions()
List containing Assertion and EncryptedAssertion objects or an empty List if none were added.