Package org.nuxeo.template.processors
Class AbstractTemplateProcessor
- java.lang.Object
-
- org.nuxeo.template.processors.AbstractTemplateProcessor
-
- All Implemented Interfaces:
TemplateProcessor
- Direct Known Subclasses:
FreeMarkerProcessor
,IdentityProcessor
,JODReportTemplateProcessor
,JXLSTemplateProcessor
,WordXMLRawTemplateProcessor
,XDocReportProcessor
,XSLTProcessor
public abstract class AbstractTemplateProcessor extends Object implements TemplateProcessor
Common code between the implementations ofTemplateProcessor
- Author:
- Tiry ([email protected])
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
BUFFER_SIZE
protected static Log
log
-
Constructor Summary
Constructors Constructor Description AbstractTemplateProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Blob
getSourceTemplateBlob(TemplateBasedDocument templateBasedDocument, String templateName)
protected File
getWorkingDir()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.template.api.TemplateProcessor
getInitialParametersDefinition, renderTemplate
-
-
-
-
Field Detail
-
BUFFER_SIZE
protected static final int BUFFER_SIZE
- See Also:
- Constant Field Values
-
log
protected static final Log log
-
-
Method Detail
-
getWorkingDir
protected File getWorkingDir()
-
getSourceTemplateBlob
protected Blob getSourceTemplateBlob(TemplateBasedDocument templateBasedDocument, String templateName)
-
-