public class NoScriptRenderer
extends info.magnolia.rendering.renderer.AbstractRenderer
Modifier and Type | Field and Description |
---|---|
static String |
NO_SCRIPT_RENDERER |
Constructor and Description |
---|
NoScriptRenderer()
Deprecated.
since 5.0.2, use
NoScriptRenderer(RenderingEngine) |
NoScriptRenderer(info.magnolia.rendering.engine.RenderingEngine renderingEngine) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
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) |
void |
render(info.magnolia.rendering.context.RenderingContext renderingCtx,
Map<String,Object> contextObjects) |
addContextAttribute, getAggregationStateSafely, getContentType, getContentType, getContextAttributes, getMainContentSafely, getRenderingEngine, newModel, newModel, resolveTemplateScript, restoreContext, saveAttribute, saveContextState, setContentType, setContextAttribute, setContextAttributes, setupContext, wrapNodeForModel, wrapNodeForTemplate
public static final String NO_SCRIPT_RENDERER
@Deprecated public NoScriptRenderer()
NoScriptRenderer(RenderingEngine)
@Inject public NoScriptRenderer(info.magnolia.rendering.engine.RenderingEngine renderingEngine)
public void render(info.magnolia.rendering.context.RenderingContext renderingCtx, Map<String,Object> contextObjects) throws info.magnolia.rendering.engine.RenderException
render
in interface info.magnolia.rendering.renderer.Renderer
render
in class info.magnolia.rendering.renderer.AbstractRenderer
info.magnolia.rendering.engine.RenderException
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
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.