public interface DocumentXMLExporter extends Serializable
Modifier and Type | Method and Description |
---|---|
InputStream |
exportXML(DocumentModel doc,
CoreSession session)
Exports a document to XML as an
InputStream . |
byte[] |
exportXMLAsByteArray(DocumentModel doc,
CoreSession session)
Exports a document to XML as a byte array.
|
InputSource |
exportXMLAsInputSource(DocumentModel doc,
CoreSession session)
Exports a document to XML as an
InputSource . |
InputStream exportXML(DocumentModel doc, CoreSession session)
InputStream
.doc
- the documentsession
- the core sessionInputSource exportXMLAsInputSource(DocumentModel doc, CoreSession session)
InputSource
.doc
- the documentsession
- the core sessionbyte[] exportXMLAsByteArray(DocumentModel doc, CoreSession session)
doc
- the documentsession
- the core sessionCopyright © 2018 Nuxeo. All rights reserved.