Class ExtensibleDocumentWriter
java.lang.Object
org.nuxeo.ecm.core.io.impl.AbstractDocumentWriter
org.nuxeo.ecm.core.io.impl.AbstractDocumentModelWriter
org.nuxeo.ecm.core.io.impl.plugins.DocumentModelWriter
org.nuxeo.ecm.core.io.impl.plugins.ExtensibleDocumentWriter
- All Implemented Interfaces:
DocumentWriter
Compared to the default
DocumentModelWriter
implementation this one does handle versions and allows to plug
ExportExtension
- Since:
- 7.4
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.io.impl.AbstractDocumentModelWriter
root, session, unsavedDocuments
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DocumentModel
createDocument
(ExportedDocument xdoc, Path toPath) Creates a new document given its path.void
Methods inherited from class org.nuxeo.ecm.core.io.impl.plugins.DocumentModelWriter
write
Methods inherited from class org.nuxeo.ecm.core.io.impl.AbstractDocumentModelWriter
beforeCreateDocument, beforeSaveDocument, close, getFieldClass, getSaveInterval, getTranslationMap, loadFacetsInfo, loadSchema, loadSchemas, loadSystemInfo, saveIfNeeded, setSaveInterval, updateDocument
Methods inherited from class org.nuxeo.ecm.core.io.impl.AbstractDocumentWriter
createCompactFormat, createPrettyPrint, write, write
-
Field Details
-
extensions
-
-
Constructor Details
-
ExtensibleDocumentWriter
-
-
Method Details
-
registerExtension
-
createDocument
Description copied from class:AbstractDocumentModelWriter
Creates a new document given its path.The parent of this document is assumed to exist.
- Overrides:
createDocument
in classAbstractDocumentModelWriter
- Parameters:
xdoc
- the document containingtoPath
- the path of the doc to create
-