org.openoffice.xmerge.converter.xml.xslt
Class DocumentDeserializerImpl
java.lang.Object
|
+--org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl
- All Implemented Interfaces:
- DocumentDeserializer
- public final class DocumentDeserializerImpl
- extends java.lang.Object
- implements DocumentDeserializer
Xslt implementation of
org.openoffice.xmerge.DocumentSerializer
for the PluginFactoryImpl
.
The serialize
method transforms the DOM
document from the given Document
object by
means of a supplied Xsl Stylesheet.
Method Summary |
Document |
deserialize()
Convert the given DOMDocument format object
into a SxwDocument object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentDeserializerImpl
public DocumentDeserializerImpl(PluginFactoryImpl pf,
ConvertData cd)
- Constructor that assigns the given
ConvertData
to this object.
- Parameters:
pf
- A PluginFactoryImpl
object.cd
- A ConvertData
object to read data for
the conversion process by the deserialize
method.
deserialize
public Document deserialize()
throws ConvertException,
java.io.IOException
- Convert the given
DOMDocument
format object
into a SxwDocument
object.
- Specified by:
deserialize
in interface DocumentDeserializer
- Returns:
- Resulting
SxwDocument
object. - Throws:
ConvertException
- If any conversion error occurs.java.io.IOException
- If any I/O error occurs.
Copyright © 2002 OpenOffice.org