info.magnolia.rendering.renderer
Interface Renderer

All Known Subinterfaces:
RenderingModelBasedRenderer
All Known Implementing Classes:
AbstractRenderer, FreemarkerRenderer, JspRenderer

public interface Renderer

Responsible for rendering a renderable.

Version:
$Id$
See Also:
RendererRegistry, RenderingEngine

Method Summary
 void render(RenderingContext ctx, Map<String,Object> contextObjects)
          Called by RenderingEngine after it has setup the RenderingContext.
 

Method Detail

render

void render(RenderingContext ctx,
            Map<String,Object> contextObjects)
            throws RenderException
Called by RenderingEngine after it has setup the RenderingContext.

Parameters:
ctx - rendering context prepared by the caller
contextObjects - objects to expose to the template script
Throws:
RenderException


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.