@Setup(mode=SINGLETON, priority=2000) public class DocumentModelCSVWriter extends AbstractCSVWriter<DocumentModel>
| Modifier and Type | Field and Description |
|---|---|
static String |
SCHEMAS_CTX_DATA |
static String |
XPATHS_CTX_DATA |
ctx, registry, schemaManager, TEXT_CSV, TEXT_CSV_TYPE| Constructor and Description |
|---|
DocumentModelCSVWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
write(DocumentModel entity,
org.apache.commons.csv.CSVPrinter printer) |
protected void |
writeHeader(DocumentModel entity,
org.apache.commons.csv.CSVPrinter printer) |
protected void |
writeProperty(DocumentModel entity,
String xpath,
org.apache.commons.csv.CSVPrinter printer) |
protected void |
writeSchema(DocumentModel entity,
Schema schema,
org.apache.commons.csv.CSVPrinter printer) |
protected void |
writeSystem(DocumentModel doc,
org.apache.commons.csv.CSVPrinter printer) |
accept, getCSVPrinter, printCalendar, writepublic static final String SCHEMAS_CTX_DATA
public static final String XPATHS_CTX_DATA
public DocumentModelCSVWriter()
protected void write(DocumentModel entity, org.apache.commons.csv.CSVPrinter printer) throws IOException
write in class AbstractCSVWriter<DocumentModel>IOExceptionprotected void writeHeader(DocumentModel entity, org.apache.commons.csv.CSVPrinter printer) throws IOException
writeHeader in class AbstractCSVWriter<DocumentModel>IOExceptionprotected void writeSystem(DocumentModel doc, org.apache.commons.csv.CSVPrinter printer) throws IOException
IOExceptionprotected void writeSchema(DocumentModel entity, Schema schema, org.apache.commons.csv.CSVPrinter printer) throws IOException
IOExceptionprotected void writeProperty(DocumentModel entity, String xpath, org.apache.commons.csv.CSVPrinter printer) throws IOException
IOExceptionCopyright © 2019 Nuxeo. All rights reserved.