public abstract class FreemarkerRenderingEngine extends Object implements RenderingEngine
| Modifier and Type | Field and Description | 
|---|---|
protected freemarker.template.Configuration | 
cfg  | 
| Constructor and Description | 
|---|
FreemarkerRenderingEngine()  | 
| Modifier and Type | Method and Description | 
|---|---|
freemarker.template.Configuration | 
createConfiguration()
TODO : It works like this but this default implementation should return just a  
new Configuration()
 There should be a class that extends this class and overrides this but that brokes it right now. | 
protected abstract FreemarkerRenderingJob | 
createJob(RenderingContext ctx)  | 
RenderingResult | 
process(RenderingContext ctx)
Processes the given context and return a rendering result. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatNameprotected freemarker.template.Configuration cfg
public FreemarkerRenderingEngine()
public freemarker.template.Configuration createConfiguration()
new Configuration()
 There should be a class that extends this class and overrides this but that brokes it right now. TODO: write a
 clear TODOprotected abstract FreemarkerRenderingJob createJob(RenderingContext ctx)
public RenderingResult process(RenderingContext ctx) throws RenderingException
RenderingEngineThe processing must never return null. If some error occurs it must throw an exception.
process in interface RenderingEnginectx - the context to processRenderingExceptionCopyright © 2019 Nuxeo. All rights reserved.