public class InMemoryDocument extends Document
| Constructor and Description |
|---|
InMemoryDocument(byte[] aBytes,
java.lang.String aURI,
java.lang.String aMIMEType,
java.lang.String aEncoding) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Get document content as bytes, which requires datatype conversion from
InputStream or NodeList.
|
java.io.InputStream |
getStream()
data return method for OCTETSTREAM data type documents
|
DataType |
getType() |
getData, getEncoding, getMIMEType, getNodeList, getURI, toByteArraypublic InMemoryDocument(byte[] aBytes,
java.lang.String aURI,
java.lang.String aMIMEType,
java.lang.String aEncoding)
public byte[] getBytes()
throws XMLSignatureException
DocumentgetBytes in class DocumentXMLSignatureException - if any errors occur while datatype
conversionCopyright © 2025. All rights reserved.