info.magnolia.module.templating
Interface TemplateRenderer

All Known Implementing Classes:
AbstractTemplateRenderer, FreemarkerTemplateRenderer, JspTemplateRenderer, PlainTextTemplateRenderer, ServletTemplateRenderer

public interface TemplateRenderer

A TemplateRenderer implementation is responsible for generating the actual response from request data and a template. A typical jsp implementation will simply forward the request to the jsp through request dispatcher, but anybody is free to bind a specific implementation to a template type.

Version:
$Revision: 45983 $ ($Author: pbaerfuss $)
Author:
Fabrizio Giustina

Method Summary
 void renderTemplate(Content content, Template template, Writer out)
          Generates the actual output using the selected template.
 

Method Detail

renderTemplate

void renderTemplate(Content content,
                    Template template,
                    Writer out)
                    throws RenderException,
                           IOException
Generates the actual output using the selected template.

Throws:
RenderException
IOException


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