public class PlainTextTemplateRenderer
extends info.magnolia.rendering.renderer.AbstractRenderer
Constructor and Description |
---|
PlainTextTemplateRenderer()
Deprecated.
since 5.0.2, use
PlainTextTemplateRenderer(RenderingEngine) |
PlainTextTemplateRenderer(info.magnolia.rendering.engine.RenderingEngine renderingEngine) |
Modifier and Type | Method and Description |
---|---|
protected Map |
newContext() |
protected void |
onRender(javax.jcr.Node content,
info.magnolia.rendering.template.RenderableDefinition definition,
info.magnolia.rendering.context.RenderingContext renderingCtx,
Map<String,Object> ctx,
String templateScript) |
protected String |
resolveTemplateScript(javax.jcr.Node content,
info.magnolia.rendering.template.RenderableDefinition definition,
info.magnolia.rendering.model.RenderingModel<?> model,
String actionResult) |
addContextAttribute, getAggregationStateSafely, getContentType, getContentType, getContextAttributes, getMainContentSafely, newModel, newModel, render, restoreContext, saveAttribute, saveContextState, setContentType, setContextAttribute, setContextAttributes, setupContext, wrapNodeForModel, wrapNodeForTemplate
public PlainTextTemplateRenderer()
PlainTextTemplateRenderer(RenderingEngine)
@Inject public PlainTextTemplateRenderer(info.magnolia.rendering.engine.RenderingEngine renderingEngine)
protected String resolveTemplateScript(javax.jcr.Node content, info.magnolia.rendering.template.RenderableDefinition definition, info.magnolia.rendering.model.RenderingModel<?> model, String actionResult)
resolveTemplateScript
in class info.magnolia.rendering.renderer.AbstractRenderer
protected void onRender(javax.jcr.Node content, info.magnolia.rendering.template.RenderableDefinition definition, info.magnolia.rendering.context.RenderingContext renderingCtx, Map<String,Object> ctx, String templateScript) throws info.magnolia.rendering.engine.RenderException
onRender
in class info.magnolia.rendering.renderer.AbstractRenderer
info.magnolia.rendering.engine.RenderException
protected Map newContext()
newContext
in class info.magnolia.rendering.renderer.AbstractRenderer
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.