public abstract class AbstractDocumentWriter extends Object implements DocumentWriter
| Constructor and Description |
|---|
AbstractDocumentWriter() |
| Modifier and Type | Method and Description |
|---|---|
static org.dom4j.io.OutputFormat |
createCompactFormat() |
static org.dom4j.io.OutputFormat |
createPrettyPrint() |
DocumentTranslationMap |
write(Collection<ExportedDocument> docs)
Writes documents from the given collection.
|
abstract DocumentTranslationMap |
write(ExportedDocument doc)
Writes a single document.
|
DocumentTranslationMap |
write(ExportedDocument[] docs)
Writes an array of documents.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic AbstractDocumentWriter()
public abstract DocumentTranslationMap write(ExportedDocument doc) throws IOException
DocumentWriterwrite in interface DocumentWriterdoc - the document to writeIOExceptionpublic DocumentTranslationMap write(ExportedDocument[] docs) throws IOException
DocumentWriterwrite in interface DocumentWriterdocs - the array to writeIOExceptionpublic DocumentTranslationMap write(Collection<ExportedDocument> docs) throws IOException
DocumentWriterwrite in interface DocumentWriterdocs - the documents to writeIOExceptionpublic static org.dom4j.io.OutputFormat createPrettyPrint()
public static org.dom4j.io.OutputFormat createCompactFormat()
Copyright © 2019 Nuxeo. All rights reserved.