|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.io.impl.AbstractDocumentWriter org.nuxeo.ecm.core.io.impl.plugins.XMLDirectoryWriter
public class XMLDirectoryWriter
This class plays a role in the export pipe.It is used to generate xml files that have a nuxeo specific format.Each file contains information about a document model such as,general information like name, uid or document type, and information about the schemas that the document includes.
Constructor Summary | |
---|---|
XMLDirectoryWriter(File destination)
|
|
XMLDirectoryWriter(String destinationPath)
|
Method Summary | |
---|---|
void |
close()
Closes the writer. |
Object |
getDestination()
Gives the destination where the XML file will be generated. |
void |
setDestination(File destination)
Sets the destination where the XML file will be generated. |
DocumentTranslationMap |
write(ExportedDocument doc)
Writes a single document. |
Methods inherited from class org.nuxeo.ecm.core.io.impl.AbstractDocumentWriter |
---|
createCompactFormat, createPrettyPrint, write, write |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLDirectoryWriter(String destinationPath)
public XMLDirectoryWriter(File destination)
Method Detail |
---|
public Object getDestination()
public void setDestination(File destination)
public void close()
DocumentWriter
public DocumentTranslationMap write(ExportedDocument doc) throws IOException
DocumentWriter
write
in interface DocumentWriter
write
in class AbstractDocumentWriter
doc
- the document to write
IOException
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |