|
LibreOffice Module xmerge (master) 1
|
Xslt implementation of org.openoffice.xmerge.DocumentSerializer for the PluginFactoryImpl.
More...
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 |
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.
|
inline |
Constructor that assigns the given ConvertData to this object.
| pf | A PluginFactoryImpl object. |
| cd | A 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.
|
inline |
This method performs the xslt transformation on the supplied Document and returns a ByteArrayOutputStream object.
Xslt transformation code.
ByteArrayOutputStream object containing the result of the Xslt transformation. Implements org.openoffice.xmerge.DocumentDeserializer.
Definition at line 81 of file DocumentDeserializerImpl.java.
References org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.cd, Exception, org.openoffice.xmerge.converter.dom.DOMDocument.getContentDOM(), org.openoffice.xmerge.ConvertData.getDocumentEnumeration(), org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.log(), org.openoffice.xmerge.merger.Iterator.next(), System, and org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.transform().
|
inlineprivate |
Sends message to the log object.
| str | Debug message. |
Definition at line 185 of file DocumentDeserializerImpl.java.
References org.openoffice.xmerge.util.Debug.log(), and org.openoffice.xmerge.util.Debug.TRACE.
Referenced by org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.deserialize(), and org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.transform().
|
inline |
Definition at line 108 of file DocumentDeserializerImpl.java.
References Exception, org.openoffice.xmerge.PluginFactory.getConverterInfo(), org.openoffice.xmerge.util.registry.ConverterInfo.getJarName(), org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.pluginFactory, Source, String, and System.
|
inlineprivate |
This method performs the xslt transformation on the supplied Dom Tree.
Xslt transformation code.
Definition at line 132 of file DocumentDeserializerImpl.java.
References Exception, org.openoffice.xmerge.PluginFactory.getConverterInfo(), org.openoffice.xmerge.util.registry.ConverterInfo.getJarName(), org.openoffice.xmerge.util.registry.ConverterInfo.getXsltDeserial(), org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.log(), org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.pluginFactory, String, and System.
Referenced by org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.deserialize().
|
private |
A ConvertData object assigned to this object.
Definition at line 57 of file DocumentDeserializerImpl.java.
Referenced by org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.deserialize(), and org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.DocumentDeserializerImpl().
|
private |
Definition at line 58 of file DocumentDeserializerImpl.java.
Referenced by org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.DocumentDeserializerImpl(), org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.resolve(), and org.openoffice.xmerge.converter.xml.xslt.DocumentDeserializerImpl.transform().