public class DocumentXMLExporterImpl extends Object implements DocumentXMLExporter
DocumentXMLExporter
.Constructor and Description |
---|
DocumentXMLExporterImpl() |
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 . |
public DocumentXMLExporterImpl()
public InputStream exportXML(DocumentModel doc, CoreSession session)
InputStream
.exportXML
in interface DocumentXMLExporter
doc
- the documentsession
- the core sessionpublic InputSource exportXMLAsInputSource(DocumentModel doc, CoreSession session)
InputSource
.exportXMLAsInputSource
in interface DocumentXMLExporter
doc
- the documentsession
- the core sessionpublic final byte[] exportXMLAsByteArray(DocumentModel doc, CoreSession session)
exportXMLAsByteArray
in interface DocumentXMLExporter
doc
- the documentsession
- the core sessionCopyright © 2018 Nuxeo. All rights reserved.