public class Status extends XMLElement
xkms:Status element.| Constructor and Description | 
|---|
Status(org.w3c.dom.Document owner)
Creates a new  
Status instance. | 
Status(org.w3c.dom.Document owner, java.lang.String systemId)
Creates a new  
Status instance. | 
Status(org.w3c.dom.Element element)
Creates a new  
Status instance from the given Element node. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addIndeterminateReason(java.lang.String value)
Adds a  
IndeterminateReason. | 
void | 
addInvalidReason(java.lang.String value)
Adds a  
InvalidReason. | 
void | 
addValidReason(java.lang.String value)
Adds a  
ValidReason. | 
java.util.List | 
getIndeterminateReasons()
Returns a list of  
IndeterminateReason. | 
java.util.List | 
getInvalidReasons()
Returns a list of  
InvalidReason. | 
java.lang.String | 
getStatusValue()
Returns the value of the  
StatusValue attribute for this message, or null if none is set. | 
java.util.List | 
getValidReasons()
Returns a list of  
ValidReason. | 
void | 
setStatusValue(java.lang.String statusVal)
Sets the  
StatusValue attribute for this message. | 
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 Status(org.w3c.dom.Document owner)
       throws org.w3c.dom.DOMException
Status instance.owner - The owner document of the new Status.org.w3c.dom.DOMException
public Status(org.w3c.dom.Document owner,
              java.lang.String systemId)
       throws org.w3c.dom.DOMException
Status instance.owner - The owner document of the new Status.systemId - The URI string system ID for the Message..org.w3c.dom.DOMException
public Status(org.w3c.dom.Element element)
       throws org.w3c.dom.DOMException
Status instance from the given Element node.element - An Element node in the XML document that conforms to the XKMS Status schema.org.w3c.dom.DOMException
public void setStatusValue(java.lang.String statusVal)
                    throws org.w3c.dom.DOMException
StatusValue attribute for this message.statusVal - The URI identifier.org.w3c.dom.DOMExceptionpublic java.lang.String getStatusValue()
StatusValue attribute for this message, or null if none is set.
public void addValidReason(java.lang.String value)
                    throws org.w3c.dom.DOMException
ValidReason.value - The ValidReason status value.org.w3c.dom.DOMExceptionpublic java.util.List getValidReasons()
ValidReason.List of ValidReason strings.
public void addIndeterminateReason(java.lang.String value)
                            throws org.w3c.dom.DOMException
IndeterminateReason.value - The IndeterminateReason status value.org.w3c.dom.DOMExceptionpublic java.util.List getIndeterminateReasons()
IndeterminateReason.List of IndeterminateReason strings.
public void addInvalidReason(java.lang.String value)
                      throws org.w3c.dom.DOMException
InvalidReason.value - The InvalidReason status value.org.w3c.dom.DOMExceptionpublic java.util.List getInvalidReasons()
InvalidReason.List of InvalidReason strings.