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

A DocumentDeserializer represents a converter that converts "Device" Document objects into the "Office" Document format. More...

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

Public Member Functions

Document deserialize () throws ConvertException, IOException
 Convert the data passed into the DocumentDeserializer constructor into the "Office" Document format. More...
 

Detailed Description

A DocumentDeserializer represents a converter that converts "Device" Document objects into the "Office" Document format.

The DocumentDeserializer object is created by the PluginFactory createDocumentDeserializer method. When it is constructed, a ConvertData object is passed in to be used as input.

See also
org.openoffice.xmerge.PluginFactory
org.openoffice.xmerge.DocumentDeserializerFactory

Definition at line 37 of file DocumentDeserializer.java.

Member Function Documentation

◆ deserialize()

Document org.openoffice.xmerge.DocumentDeserializer.deserialize ( ) throws ConvertException, IOException

Convert the data passed into the DocumentDeserializer constructor into the "Office" 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
The resulting Document object from conversion.
Exceptions
ConvertExceptionIf any Convert error occurs.
IOExceptionIf any I/O error occurs.

Implemented in org.openoffice.xmerge.converter.xml.sxc.SxcDocumentDeserializer, and org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.

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


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