LibreOffice Module xmerge (master) 1
Public Member Functions | List of all members
org.openoffice.xmerge.DocumentSerializer Interface Reference

A DocumentSerializer represents a converter that converts a "Office" Document to a "Device" Document format. More...

Inheritance diagram for org.openoffice.xmerge.DocumentSerializer:
[legend]

Public Member Functions

ConvertData serialize () throws ConvertException, IOException
 Convert the data passed into the DocumentSerializer constructor into the "Device" Document format. More...
 

Detailed Description

A DocumentSerializer represents a converter that converts a "Office" Document to a "Device" Document format.

The DocumentSerializer object is created by the PluginFactory createDocumentSerializer method. When it is constructed, an "Office" Document object is passed in to be used as input.

See also
org.openoffice.xmerge.PluginFactory
org.openoffice.xmerge.DocumentSerializerFactory

Definition at line 38 of file DocumentSerializer.java.

Member Function Documentation

◆ serialize()

ConvertData org.openoffice.xmerge.DocumentSerializer.serialize ( ) throws ConvertException, IOException

Convert the data passed into the DocumentSerializer constructor into the "Device" Document format.

This method may or may not be thread-safe. It is expected that the user code does not call this method in more than one thread. And for most cases, this method is only done once.

Returns
ConvertData object to pass back the converted data.
Exceptions
ConvertExceptionIf any conversion error occurs.
IOExceptionIf any I/O error occurs.

Implemented in org.openoffice.xmerge.converter.xml.sxc.SxcDocumentSerializer, and org.openoffice.xmerge.converter.xml.xslt.DocumentSerializerImpl.

Referenced by org.openoffice.xmerge.Convert.convert().


The documentation for this interface was generated from the following file: