public class StatusResult extends Result
xkms:StatusResult
element.Constructor and Description |
---|
StatusResult(org.w3c.dom.Document owner)
Creates a new
StatusResult instance. |
StatusResult(org.w3c.dom.Document owner, java.lang.String systemId)
Creates a new
StatusResult instance. |
StatusResult(org.w3c.dom.Element element)
Creates a new
StatusResult instance. |
Modifier and Type | Method and Description |
---|---|
int |
getFailure()
Returns the value of the
Failure attribute for this message or 0 if none is set. |
int |
getPending()
Returns the value of the
Pending attribute for this message or 0 if none is set. |
int |
getSuccess()
Returns the value of the
Success attribute for this message or 0 if none is set. |
void |
setFailure(int value)
Sets the
Failure attribute for this message. |
void |
setPending(int value)
Sets the
Pending attribute for this message. |
void |
setSuccess(int value)
Sets the
success attributes for this message. |
getRequestID, getRequestSignatureBytes, getRequestSignatureValue, getResultMajor, getResultMinor, setRequestID, setRequestSignatureValue, setResultCode
addMessageExtension, clearSignature, getId, getMessageExtensions, getNonce, getOpaqueClientData, getService, getSignature, insertChild, insertChild, removeChildren, setId, setNonce, setOpaqueClientData, setService, setSignature
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 StatusResult(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
StatusResult
instance.element
- An Element node in the XML document.org.w3c.dom.DOMException
public StatusResult(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
StatusResult
instance.owner
- The owner document of the new StatusResult
.org.w3c.dom.DOMException
public StatusResult(org.w3c.dom.Document owner, java.lang.String systemId) throws org.w3c.dom.DOMException
StatusResult
instance.owner
- The owner document of the new StatusResult
.systemId
- The URI string system ID for the Message
.org.w3c.dom.DOMException
public void setSuccess(int value) throws org.w3c.dom.DOMException
success
attributes for this message.value
- The success code.org.w3c.dom.DOMException
public int getSuccess()
Success
attribute for this message or 0
if none is set.public void setFailure(int value) throws org.w3c.dom.DOMException
Failure
attribute for this message.value
- The Failure code.org.w3c.dom.DOMException
public int getFailure()
Failure
attribute for this message or 0
if none is set.public void setPending(int value) throws org.w3c.dom.DOMException
Pending
attribute for this message.value
- The Pending code.org.w3c.dom.DOMException
public int getPending()
Pending
attribute for this message or 0
if none is set.