|
OpenOffice.org XMerge API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openoffice.xmerge.converter.xml.sxw.pocketword.DocumentSerializerImpl
Pocket Word implementation of DocumentDeserializer
for use by PluginFactoryImpl
.
This converts an OpenOffice Writer XML files to a Pocket Word file<.
Constructor Summary | |
DocumentSerializerImpl(Document doc)
Initialises a new DocumentSerializerImpl using the.supplied Document |
Method Summary | |
ConvertData |
serialize()
Convert the data passed into the DocumentSerializerImpl
constructor into Pocket Word format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DocumentSerializerImpl(Document doc)
Initialises a new DocumentSerializerImpl
using the.
supplied Document
The supplied document should be an SxwDocument
object.
document
- The Document
to convert.Method Detail |
public ConvertData serialize() throws java.io.IOException, ConvertException
Convert the data passed into the DocumentSerializerImpl
constructor into Pocket Word 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.
serialize
in interface DocumentSerializer
ConvertData
object to pass back the
converted data.ConvertException
- If any conversion error occurs.java.io.IOException
- If any I/O error occurs.
|
OpenOffice.org XMerge API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |