public abstract class FreemarkerRenderingEngine extends Object implements RenderingEngine
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. |
RenderingResult |
process(RenderingContext ctx)
Processes the given context and return a rendering result.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFormatName
public freemarker.template.Configuration createConfiguration() throws Exception
new Configuration()
There should be a class that
extends this class and overrides this but that brokes it right now.
TODO: write a clear TODOException
public RenderingResult process(RenderingContext ctx) throws RenderingException
RenderingEngine
The processing must never return null. If some error occurs it must throw an exception.
process
in interface RenderingEngine
ctx
- the context to processRenderingException
Copyright © 2011 Nuxeo SA. All Rights Reserved.