Class XMLDirectoryWriter

  • All Implemented Interfaces:
    DocumentWriter

    public class XMLDirectoryWriter
    extends AbstractDocumentWriter
    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.
    Author:
    btatar
    • Field Detail

      • skipBlobs

        protected boolean skipBlobs
        Allow to skip the blob from export : useful in case of a Nuxeo 2 Nuxeo migration
        Since:
        7.4
    • Constructor Detail

      • XMLDirectoryWriter

        public XMLDirectoryWriter​(String destinationPath)
      • XMLDirectoryWriter

        public XMLDirectoryWriter​(File destination)
    • Method Detail

      • skipBlobs

        public boolean skipBlobs()
        Since:
        7.4
      • setSkipBlobs

        public void setSkipBlobs​(boolean skipBlobs)
        Since:
        7.4
      • getDestination

        public Object getDestination()
        Gives the destination where the XML file will be generated.
      • setDestination

        public void setDestination​(File destination)
        Sets the destination where the XML file will be generated.
      • close

        public void close()
        Description copied from interface: DocumentWriter
        Closes the writer.