public class JODReportTemplateProcessor extends AbstractTemplateProcessor implements TemplateProcessor
TemplateProcessor for ODT based templates. Using JODReports but also custom ODT hacks. May be migrated to
pure ODT + Custom Freemarker soon.| Modifier and Type | Field and Description |
|---|---|
static String |
TEMPLATE_TYPE |
| Constructor and Description |
|---|
JODReportTemplateProcessor() |
| Modifier and Type | Method and Description |
|---|---|
List<TemplateInput> |
getInitialParametersDefinition(Blob blob)
Extract parameters from the Template file.
|
String |
readXMLContent(Blob blob) |
Blob |
renderTemplate(TemplateBasedDocument templateBasedDocument,
String templateName)
Perform rendering of the named template against the
TemplateBasedDocument |
public static final String TEMPLATE_TYPE
public List<TemplateInput> getInitialParametersDefinition(Blob blob) throws Exception
TemplateProcessorgetInitialParametersDefinition in interface TemplateProcessorExceptionpublic Blob renderTemplate(TemplateBasedDocument templateBasedDocument, String templateName) throws Exception
TemplateProcessorTemplateBasedDocumentrenderTemplate in interface TemplateProcessorExceptionCopyright © 2015 Nuxeo SA. All rights reserved.