LibreOffice Module xmerge (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl Class Reference

Xslt implementation of org.openoffice.xmerge.DocumentSerializer for the PluginFactoryImpl. More...

Inheritance diagram for org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl:
[legend]
Collaboration diagram for org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl:
[legend]

Public Member Functions

 DocumentDeserializerImpl (PluginFactoryImpl pf, ConvertData cd)
 Constructor that assigns the given ConvertData to this object. More...
 
Document deserialize () throws ConvertException, IOException
 This method performs the xslt transformation on the supplied Document and returns a ByteArrayOutputStream object. More...
 
Source resolve (String href, String base) throws TransformerException
 
Document deserialize () throws ConvertException, IOException
 Convert the data passed into the DocumentDeserializer constructor into the "Office" Document format. More...
 

Private Member Functions

ByteArrayOutputStream transform (org.w3c.dom.Document xmlDoc)
 This method performs the xslt transformation on the supplied Dom Tree. More...
 
void log (String str)
 Sends message to the log object. More...
 

Private Attributes

final ConvertData cd
 A ConvertData object assigned to this object. More...
 
final PluginFactoryImpl pluginFactory
 

Detailed Description

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.

Definition at line 53 of file DocumentDeserializerImpl.java.

Constructor & Destructor Documentation

◆ DocumentDeserializerImpl()

org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.DocumentDeserializerImpl ( PluginFactoryImpl  pf,
ConvertData  cd 
)
inline

Constructor that assigns the given ConvertData to this object.

Parameters
pfA PluginFactoryImpl object.
cdA ConvertData object to read data for the conversion process by the deserialize method.

Definition at line 67 of file DocumentDeserializerImpl.java.

References org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.cd, and org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.pluginFactory.

Member Function Documentation

◆ deserialize()

Document org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.deserialize ( ) throws ConvertException, IOException
inline

◆ log()

void org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.log ( String  str)
inlineprivate

◆ resolve()

Source org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.resolve ( String  href,
String  base 
) throws TransformerException
inline

◆ transform()

ByteArrayOutputStream org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.transform ( org.w3c.dom.Document  xmlDoc)
inlineprivate

Member Data Documentation

◆ cd

final ConvertData org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.cd
private

◆ pluginFactory

final PluginFactoryImpl org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.pluginFactory
private

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