Class XMLDocumentWriter

java.lang.Object
org.nuxeo.ecm.core.io.impl.AbstractDocumentWriter
org.nuxeo.ecm.core.io.impl.plugins.XMLDocumentWriter
All Implemented Interfaces:
DocumentWriter
Direct Known Subclasses:
XMLDocumentTreeWriter

public class XMLDocumentWriter extends AbstractDocumentWriter
Writes to a file or output stream the XML corresponding to the document content.

Note that additional xml descriptors (like relations.xml, workflow.xml etc) are ignored

Also blobs are not handled specially. The value existing in the blob data element will be written down. By default blobs are referred as external references, so if their content is not written in the XML document.

In order to write Blobs are encoded as Base64 and included in the XML document

Author:
Bogdan Stefanescu