XmlExporter

Inheritance: java.lang.Object, com.groupdocs.parser.export.ExporterBase

public final class XmlExporter extends ExporterBase

Provides the functionality to export data in XML format.

Constructors

Constructor Description
XmlExporter() Initializes a new instance of the XmlExporter class.

Methods

Method Description
exportMetadata(Iterable metadata, OutputStream outputStream) Exports the collection of metadata to the stream.
exportDocumentInfo(IDocumentInfo documentInfo, OutputStream outputStream) Exports the document information to the stream.
exportTextAreas(Iterable textAreas, OutputStream outputStream) Exports the collection of text areas to the stream.
exportTables(Iterable tables, OutputStream outputStream) Exports the collection of tables to the stream.
exportBarcodes(Iterable barcodes, OutputStream outputStream) Exports the collection of barcodes to the stream.
exportDocumentData(DocumentData documentData, OutputStream outputStream) Exports document data to the stream.

XmlExporter()

public XmlExporter()

Initializes a new instance of the XmlExporter class.

exportMetadata(Iterable metadata, OutputStream outputStream)

public void exportMetadata(Iterable<MetadataItem> metadata, OutputStream outputStream)

Exports the collection of metadata to the stream.

Parameters:

Parameter Type Description
metadata java.lang.Iterable<com.groupdocs.parser.data.MetadataItem> The collection of metadata.
outputStream java.io.OutputStream The output stream.

exportDocumentInfo(IDocumentInfo documentInfo, OutputStream outputStream)

public void exportDocumentInfo(IDocumentInfo documentInfo, OutputStream outputStream)

Exports the document information to the stream.

Parameters:

Parameter Type Description
documentInfo IDocumentInfo The document information.
outputStream java.io.OutputStream The output stream.

exportTextAreas(Iterable textAreas, OutputStream outputStream)

public void exportTextAreas(Iterable<PageTextArea> textAreas, OutputStream outputStream)

Exports the collection of text areas to the stream.

Parameters:

Parameter Type Description
textAreas java.lang.Iterable<com.groupdocs.parser.data.PageTextArea> The collection of the text areas.
outputStream java.io.OutputStream The output stream.

exportTables(Iterable tables, OutputStream outputStream)

public void exportTables(Iterable<PageTableArea> tables, OutputStream outputStream)

Exports the collection of tables to the stream.

Parameters:

Parameter Type Description
tables java.lang.Iterable<com.groupdocs.parser.data.PageTableArea> The collection of tables.
outputStream java.io.OutputStream The output stream.

exportBarcodes(Iterable barcodes, OutputStream outputStream)

public void exportBarcodes(Iterable<PageBarcodeArea> barcodes, OutputStream outputStream)

Exports the collection of barcodes to the stream.

Parameters:

Parameter Type Description
barcodes java.lang.Iterable<com.groupdocs.parser.data.PageBarcodeArea> The collection of barcodes.
outputStream java.io.OutputStream The output stream.

exportDocumentData(DocumentData documentData, OutputStream outputStream)

public void exportDocumentData(DocumentData documentData, OutputStream outputStream)

Exports document data to the stream.

Parameters:

Parameter Type Description
documentData DocumentData Document data.
outputStream java.io.OutputStream The output stream.