Interface DocumentXMLExporter

    • Method Detail

      • exportXMLAsInputSource

        InputSource exportXMLAsInputSource​(DocumentModel doc,
                                           CoreSession session)
        Exports a document to XML as an InputSource.
        Parameters:
        doc - the document
        session - the core session
        Returns:
        the input source
      • exportXMLAsByteArray

        byte[] exportXMLAsByteArray​(DocumentModel doc,
                                    CoreSession session)
        Exports a document to XML as a byte array.
        Parameters:
        doc - the document
        session - the core session
        Returns:
        the byte array