public class OpaqueClientData extends XMLElement
xkms:OpaqueClientData element for use with XKMS requests and responses.Message| Constructor and Description |
|---|
OpaqueClientData(org.w3c.dom.Document owner)
Create a new
OpaqueClientData instance. |
OpaqueClientData(org.w3c.dom.Element element)
Create a new
OpaqueClientData instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addOpaqueData(byte[] data)
Add an
OpaqueData element for this OpaqueClientData. |
org.w3c.dom.NodeList |
getOpaqueDataElements()
Returns the list of the
OpaqueData elements for this OpaqueClientData, or null if none is present. |
java.util.List |
getOpaqueDatas()
Returns the list of the
OpaqueData bytes for this OpaqueClientData, or null if none is present. |
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, toStringXMLpublic OpaqueClientData(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
OpaqueClientData instance from the given Element node.element - An Element node in the XML document that conforms to the XKMS OpaqueClientData schema.org.w3c.dom.DOMExceptionpublic OpaqueClientData(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
OpaqueClientData instance.owner - The owner document of the new OpaqueClientData.org.w3c.dom.DOMExceptionpublic void addOpaqueData(byte[] data)
throws org.w3c.dom.DOMException
OpaqueData element for this OpaqueClientData.
The data bytes will be Base-64 encoding prior to setting the OpaqueData content value.
data - The opaque data.org.w3c.dom.DOMExceptionpublic org.w3c.dom.NodeList getOpaqueDataElements()
OpaqueData elements for this OpaqueClientData, or null if none is present.OpaqueData elements.public java.util.List getOpaqueDatas()
OpaqueData bytes for this OpaqueClientData, or null if none is present.
The data bytes will be Base-64 decoded prior to returning the OpaqueData content value.
OpaqueData byte arrays.