info.magnolia.module.templating.renderers
Class AbstractTemplateRenderer

java.lang.Object
  extended by info.magnolia.module.templating.AbstractRenderer
      extended by info.magnolia.module.templating.renderers.AbstractTemplateRenderer
All Implemented Interfaces:
RenderingModelBasedRenderer, TemplateRenderer
Direct Known Subclasses:
FreemarkerTemplateRenderer, JspTemplateRenderer, PlainTextTemplateRenderer, ServletTemplateRenderer

public abstract class AbstractTemplateRenderer
extends AbstractRenderer
implements TemplateRenderer

Base class for implementing TemplateRenderers.

Version:
$Id: AbstractTemplateRenderer.java 45983 2011-06-07 15:21:04Z pbaerfuss $
Author:
pbracher

Constructor Summary
AbstractTemplateRenderer()
           
 
Method Summary
 void renderTemplate(Content content, Template template, Writer out)
          Generates the actual output using the selected template.
 
Methods inherited from class info.magnolia.module.templating.AbstractRenderer
determineTemplatePath, getAggregationStateSafely, getMagnoliaTemplatingUtilities, getMainContentSafely, getPageAttributeName, newContext, newModel, onRender, 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

AbstractTemplateRenderer

public AbstractTemplateRenderer()
Method Detail

renderTemplate

public void renderTemplate(Content content,
                           Template template,
                           Writer out)
                    throws RenderException,
                           IOException
Description copied from interface: TemplateRenderer
Generates the actual output using the selected template.

Specified by:
renderTemplate in interface TemplateRenderer
Throws:
RenderException
IOException


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