Package org.nuxeo.template.api
Interface TemplateProcessor
-
- All Known Subinterfaces:
BidirectionalTemplateProcessor
- All Known Implementing Classes:
AbstractTemplateProcessor,FreeMarkerProcessor,IdentityProcessor,JODReportTemplateProcessor,JXLSTemplateProcessor,WordXMLRawTemplateProcessor,XDocReportProcessor,XSLTProcessor
public interface TemplateProcessorInterface used to drive rendition of theTemplateBasedDocument- Author:
- Tiry ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<TemplateInput>getInitialParametersDefinition(Blob blob)Extract parameters from the Template file.BlobrenderTemplate(TemplateBasedDocument templateDocument, String templateName)Perform rendering of the named template against theTemplateBasedDocument
-
-
-
Method Detail
-
renderTemplate
Blob renderTemplate(TemplateBasedDocument templateDocument, String templateName) throws IOException
Perform rendering of the named template against theTemplateBasedDocument- Throws:
IOException
-
getInitialParametersDefinition
List<TemplateInput> getInitialParametersDefinition(Blob blob) throws IOException
Extract parameters from the Template file.- Returns:
- List of parameters for this template
- Throws:
IOException
-
-