XmlExporter
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.parser.export.ExporterBase
public final class XmlExporter extends ExporterBase
Provides the functionality to export data in XML format.
| Constructor | Description |
|---|---|
| XmlExporter() | Initializes a new instance of the XmlExporter class. |
| Method | Description |
|---|---|
| exportMetadata(Iterable |
Exports the collection of metadata to the stream. |
| exportDocumentInfo(IDocumentInfo documentInfo, OutputStream outputStream) | Exports the document information to the stream. |
| exportTextAreas(Iterable |
Exports the collection of text areas to the stream. |
| exportTables(Iterable |
Exports the collection of tables to the stream. |
| exportBarcodes(Iterable |
Exports the collection of barcodes to the stream. |
| exportDocumentData(DocumentData documentData, OutputStream outputStream) | Exports document data to the stream. |
public XmlExporter()
Initializes a new instance of the XmlExporter class.
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. |
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. |
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. |
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. |
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. |
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. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.