public class Result extends Message
xkms:ResultType element.| Constructor and Description | 
|---|
Result(org.w3c.dom.Document owner)
Creates a new  
Result instance. | 
Result(org.w3c.dom.Document owner, java.lang.String systemId)
Creates a new  
Result instance. | 
Result(org.w3c.dom.Document owner, java.lang.String tagName, java.lang.String systemId)
Creates a new  
Result instance. | 
Result(org.w3c.dom.Element element)
Creates a new  
Result instance. | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getRequestID()
Returns the value of the  
RequestID attribute for this message, or null if none is set. | 
byte[] | 
getRequestSignatureBytes()
Returns the Request Signature bytes for this message or  
null if none are present. | 
org.w3c.dom.Element | 
getRequestSignatureValue()
Returns the  
xkms:RequestSignatureValue element for this message or null if none are present. | 
java.lang.String | 
getResultMajor()
Returns the value of the  
ResultMajor attribute for this message, or null if none is set. | 
java.lang.String | 
getResultMinor()
Returns the value of the  
ResultMinor attribute for this message, or null if none is set. | 
void | 
setRequestID(java.lang.String requestID)
Sets the  
RequestId attribute for this message. | 
void | 
setRequestSignatureValue(byte[] sigBytes, java.lang.String id)
Set the  
RequestSignatureValue element for this message. | 
void | 
setResultCode(java.lang.String major, java.lang.String minor)
Sets the  
ResultMajor and ResultMinor attributes for this message. | 
addMessageExtension, clearSignature, getId, getMessageExtensions, getNonce, getOpaqueClientData, getService, getSignature, insertChild, insertChild, removeChildren, setId, setNonce, setOpaqueClientData, setService, setSignatureaddNSPrefixAttr, 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 Result(org.w3c.dom.Element element)
       throws org.w3c.dom.DOMException
Result instance.element - An Element node in the XML document.org.w3c.dom.DOMException
public Result(org.w3c.dom.Document owner)
       throws org.w3c.dom.DOMException
Result instance.owner - The owner document of the new Result.org.w3c.dom.DOMException
public Result(org.w3c.dom.Document owner,
              java.lang.String systemId)
       throws org.w3c.dom.DOMException
Result instance.owner - The owner document of the new Result.systemId - The URI string system ID for the Message.org.w3c.dom.DOMException
public Result(org.w3c.dom.Document owner,
              java.lang.String tagName,
              java.lang.String systemId)
       throws org.w3c.dom.DOMException
Result instance.owner - The owner document of the new Result.systemId - The URI string system ID for the Message.tagName - The name of the element to be created; for example, "LocateResult" if this Result is to be a X-KISS LocateResult mesage.org.w3c.dom.DOMException
public void setResultCode(java.lang.String major,
                          java.lang.String minor)
                   throws org.w3c.dom.DOMException
ResultMajor and ResultMinor attributes for this message.major - The major component of the result code.minor - The minor component of the result code.org.w3c.dom.DOMExceptionpublic java.lang.String getResultMajor()
ResultMajor attribute for this message, or null if none is set.public java.lang.String getResultMinor()
ResultMinor attribute for this message, or null if none is set.
public void setRequestID(java.lang.String requestID)
                  throws org.w3c.dom.DOMException
RequestId attribute for this message.requestID - A unique identifier generated by the requestor.org.w3c.dom.DOMExceptionpublic java.lang.String getRequestID()
RequestID attribute for this message, or null if none is set.
public void setRequestSignatureValue(byte[] sigBytes,
                                     java.lang.String id)
                              throws org.w3c.dom.DOMException
RequestSignatureValue element for this message.sigBytes - A byte array containing the signature.id - An optional string ID name for this SignatureValue structure.org.w3c.dom.DOMExceptionpublic org.w3c.dom.Element getRequestSignatureValue()
xkms:RequestSignatureValue element for this message or null if none are present.RequestSignatureValue instance.public byte[] getRequestSignatureBytes()
null if none are present.