public class ExportTransformer extends Object
Document
using an XSL style sheet.Modifier and Type | Field and Description |
---|---|
protected org.apache.log4j.Logger |
mLogger |
Constructor and Description |
---|
ExportTransformer() |
Modifier and Type | Method and Description |
---|---|
boolean |
transform(ExportConfiguration pConfiguration,
IOObject pObject,
nu.xom.Document pDocument,
OutputStream pOut)
Transforms a
Document using an XSL style sheet. |
public boolean transform(ExportConfiguration pConfiguration, IOObject pObject, nu.xom.Document pDocument, OutputStream pOut)
Document
using an XSL style sheet.
The style sheet's filename is the IOObject
's type plus .xls
, i.e. article.xsl
for standard
content. It uses the ExportConfiguration
's template
directory
and caching specifier
.pConfiguration
- the export configuration to use.pObject
- the IOObject
to use to determine the type.pDocument
- the XML representation of the pObject.pOut
- the stream to write the result to.© 1998- 2021 Escenic AS