public class SingleShadowDocumentWriter extends AbstractDocumentModelWriter
DocumentModelWriter that creates a shallow DocumentModel (ie: no
path and no uuid).| Constructor and Description |
|---|
SingleShadowDocumentWriter(CoreSession session,
String parentPath) |
| Modifier and Type | Method and Description |
|---|---|
DocumentModel |
getShadowDocument() |
DocumentTranslationMap |
write(ExportedDocument doc)
Writes a single document.
|
close, getSaveInterval, getTranslationMap, setSaveIntervalcreateCompactFormat, createPrettyPrint, write, writepublic SingleShadowDocumentWriter(CoreSession session, String parentPath)
public DocumentTranslationMap write(ExportedDocument doc) throws IOException
DocumentWriterwrite in interface DocumentWriterwrite in class AbstractDocumentWriterdoc - the document to writeIOExceptionpublic DocumentModel getShadowDocument()
Copyright © 2013 Nuxeo SA. All Rights Reserved.