info.magnolia.module.templating.renderers
Class AbstractTemplateRenderer
java.lang.Object
info.magnolia.module.templating.AbstractRenderer
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 TemplateRenderer
s.
- Version:
- $Id: AbstractTemplateRenderer.java 45983 2011-06-07 15:21:04Z pbaerfuss $
- Author:
- pbracher
Method Summary |
void |
renderTemplate(info.magnolia.cms.core.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 |
AbstractTemplateRenderer
public AbstractTemplateRenderer()
renderTemplate
public void renderTemplate(info.magnolia.cms.core.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-2011 Magnolia International Ltd.. All Rights Reserved.