|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.rendering.template.FreemarkerRenderingEngine
public abstract class FreemarkerRenderingEngine
Base class for RenderingEngine implementation that will work with freemarker.
Constructor Summary | |
---|---|
FreemarkerRenderingEngine()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nuxeo.ecm.platform.rendering.RenderingEngine |
---|
getFormatName |
Constructor Detail |
---|
public FreemarkerRenderingEngine()
Method Detail |
---|
public freemarker.template.Configuration createConfiguration() throws java.lang.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 TODO
java.lang.Exception
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 process
RenderingException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |