public class ReplicationDocumentModelWriter extends AbstractDocumentModelWriter
Constructor and Description |
---|
ReplicationDocumentModelWriter(CoreSession session,
DocumentModel document,
int saveInterval) |
Modifier and Type | Method and Description |
---|---|
DocumentTranslationMap |
write(ExportedDocument xdoc)
Writes a single document.
|
close, getSaveInterval, getTranslationMap, setSaveInterval
createCompactFormat, createPrettyPrint, write, write
public ReplicationDocumentModelWriter(CoreSession session, DocumentModel document, int saveInterval)
public DocumentTranslationMap write(ExportedDocument xdoc) throws IOException
DocumentWriter
write
in interface DocumentWriter
write
in class AbstractDocumentWriter
xdoc
- the document to writeIOException
Copyright © 2011 Nuxeo SA. All Rights Reserved.