org.nuxeo.ecm.platform.publisher.remoting.marshaling.io
Class SingleShadowDocumentWriter
java.lang.Object
org.nuxeo.ecm.core.io.impl.AbstractDocumentWriter
org.nuxeo.ecm.core.io.impl.AbstractDocumentModelWriter
org.nuxeo.ecm.platform.publisher.remoting.marshaling.io.SingleShadowDocumentWriter
- All Implemented Interfaces:
- DocumentWriter
public class SingleShadowDocumentWriter
- extends AbstractDocumentModelWriter
DocumentModelWriter
that creates a shallow DocumentModel (ie: no
path and no uuid).
- Author:
- tiry
SingleShadowDocumentWriter
public SingleShadowDocumentWriter(CoreSession session,
String parentPath)
write
public DocumentTranslationMap write(ExportedDocument doc)
throws IOException
- Description copied from interface:
DocumentWriter
- Writes a single document.
- Specified by:
write
in interface DocumentWriter
- Specified by:
write
in class AbstractDocumentWriter
- Parameters:
doc
- the document to write
- Returns:
- the translation map.
- Throws:
IOException
getShadowDocument
public DocumentModel getShadowDocument()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.