public class DOMDocument extends Document
NodemBytesCached, mEncoding, mMIMEType, mURI| Constructor and Description |
|---|
DOMDocument(org.w3c.dom.NodeList aNodeList,
java.lang.String aURI,
java.lang.String aMIMEType,
java.lang.String aEncoding) |
DOMDocument(org.w3c.dom.Node aNode,
java.lang.String aURI)
Constructs DOMDocument which holds its data as NodeList.
|
DOMDocument(org.w3c.dom.Node aNode,
java.lang.String aURI,
boolean aIncludeComments) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Get document content as bytes, which requires datatype conversion from
InputStream or NodeList.
|
org.w3c.dom.NodeList |
getNodeList()
data return method for NODESET data type documents
|
DataType |
getType() |
getData, getEncoding, getMIMEType, getStream, getURI, toByteArraypublic DOMDocument(org.w3c.dom.Node aNode,
java.lang.String aURI)
aNode - that holds xml dataaURI - where data is obtained.public DOMDocument(org.w3c.dom.Node aNode,
java.lang.String aURI,
boolean aIncludeComments)
public DOMDocument(org.w3c.dom.NodeList aNodeList,
java.lang.String aURI,
java.lang.String aMIMEType,
java.lang.String aEncoding)
public byte[] getBytes()
throws XMLSignatureException
getBytes in class DocumentXMLSignatureException - if any errors occur while datatype
conversionpublic org.w3c.dom.NodeList getNodeList()
DocumentgetNodeList in class DocumentCopyright © 2025. All rights reserved.