OpenOffice.org
XMerge API

org.openoffice.xmerge
Interface DocumentSerializerFactory

All Known Implementing Classes:
PluginFactoryImpl, PluginFactoryImpl, PluginFactoryImpl, PluginFactoryImpl

public interface DocumentSerializerFactory

A DocumentSerializer object is used to convert from the "Office" Document format to the "Device" Document format.

All plug-in implementations of the PluginFactory interface that also support serialization must also implement this interface.

See Also:
PluginFactory, DocumentSerializer

Method Summary
 DocumentSerializer createDocumentSerializer(Document doc)
          The DocumentSerializer is used to convert from the "Office" Document format to the "Device" Document format.
 

Method Detail

createDocumentSerializer

public DocumentSerializer createDocumentSerializer(Document doc)

The DocumentSerializer is used to convert from the "Office" Document format to the "Device" Document format.

The ConvertData object is passed along to the created DocumentSerializer via its constructor. The ConvertData is read and converted when the the DocumentSerializer object's serialize method is called.
Parameters:
doc - Document object that the created DocumentSerializer object uses as input.
Returns:
A DocumentSerializer object.

OpenOffice.org
XMerge API

Copyright © 2002 OpenOffice.org