public class Response extends ResponseType
Modifier | Constructor and Description |
---|---|
|
Response(org.w3c.dom.Document owner)
Creates a new
Response instance. |
protected |
Response(org.w3c.dom.Document owner, java.lang.String uri, java.lang.String localName)
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 to this response.
|
java.util.List |
getAssertions()
Gets the list of assertions contained in this response.
|
Status |
getStatus()
Gets the status of this response.
|
void |
setStatus(Status status)
Sets the status of this response.
|
getID, getInResponseTo, getIssueInstant, getLocalNamesPrecedeDSig, getNSURIsPrecedeDSig, getRecipient, getResponseID, setInResponseTo, setIssueInstant, setRecipient, setResponseID
addSignature, addSignature, clearSignature, getInstance, getMajorVersion, getMinorVersion, getSignature, isSigned, setVersion, sign, sign, sign, sign, verify, verify
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 Response(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
Response
instance from the given Element node.element
- A Response element.org.w3c.dom.DOMException
public Response(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
Response
instance from the given Element node.element
- A Response element.systemId
- The URI string system ID for the Response
.org.w3c.dom.DOMException
public Response(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
Response
instance.owner
- The owner document of the new Response.org.w3c.dom.DOMException
protected Response(org.w3c.dom.Document owner, java.lang.String uri, java.lang.String localName) throws org.w3c.dom.DOMException
Response
instance. This contructor is only for the subclass contains extension of the Response element.owner
- The owner document of the new Response.nsURI
- The namespace URI in which the new Response is to be created.localName
- The localName of the element represented by the class that extends this class.org.w3c.dom.DOMException
public void setStatus(Status status)
status
- A Status
object.public Status getStatus()
Status
object.public void addAssertion(Assertion assertion)
assertion
- An Assertion
object.public java.util.List getAssertions()
List
containing Assertion
objects, or an empty List
if none has been set.