|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.templating.AbstractRenderer info.magnolia.module.templating.renderers.AbstractTemplateRenderer info.magnolia.module.templating.renderers.FreemarkerTemplateRenderer
public class FreemarkerTemplateRenderer
Template renderer for freemarker.
Constructor Summary | |
---|---|
FreemarkerTemplateRenderer()
Constructs a FreemarkerTemplateRenderer that uses the default (singleton) instance of FreemarkerHelper. |
Method Summary | |
---|---|
protected java.util.Map |
newContext()
Create a new context object which is a map. |
protected void |
onRender(Content content,
RenderableDefinition definition,
java.io.Writer out,
java.util.Map ctx,
java.lang.String templatePath)
Finally execute the rendering. |
Methods inherited from class info.magnolia.module.templating.renderers.AbstractTemplateRenderer |
---|
renderTemplate, renderTemplate |
Methods inherited from class info.magnolia.module.templating.AbstractRenderer |
---|
determineTemplatePath, getAggregationStateSafely, getAggrigationStateSafely, getMagnoliaTemplatingUtilities, getMainContentSafely, getPageAttributeName, newModel, render, restoreContext, saveAttribute, saveContextState, setContextAttribute, setupContext, wrapNodeForModel, wrapNodeForTemplate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FreemarkerTemplateRenderer()
Method Detail |
---|
protected void onRender(Content content, RenderableDefinition definition, java.io.Writer out, java.util.Map ctx, java.lang.String templatePath) throws RenderException
AbstractRenderer
onRender
in class AbstractRenderer
content
- TODO
RenderException
protected java.util.Map newContext()
AbstractRenderer
newContext
in class AbstractRenderer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |