info.magnolia.module.templating.paragraphs
Class AbstractParagraphRenderer

java.lang.Object
  extended by info.magnolia.module.templating.AbstractRenderer
      extended by info.magnolia.module.templating.paragraphs.AbstractParagraphRenderer
All Implemented Interfaces:
ParagraphRenderer, RenderingModelBasedRenderer
Direct Known Subclasses:
FreemarkerParagraphRenderer, JspParagraphRenderer

public abstract class AbstractParagraphRenderer
extends AbstractRenderer
implements ParagraphRenderer

Base class for implementing ParagraphRenderers.

Version:
$Id: AbstractParagraphRenderer.java 41137 2011-01-06 18:19:25Z gjoseph $
Author:
pbracher

Constructor Summary
AbstractParagraphRenderer()
           
 
Method Summary
 void render(Content content, Paragraph paragraph, Writer out)
           
 
Methods inherited from class info.magnolia.module.templating.AbstractRenderer
determineTemplatePath, getAggregationStateSafely, getAggrigationStateSafely, 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

AbstractParagraphRenderer

public AbstractParagraphRenderer()
Method Detail

render

public void render(Content content,
                   Paragraph paragraph,
                   Writer out)
            throws RenderException,
                   IOException
Specified by:
render in interface ParagraphRenderer
Parameters:
content - the content to render (usually passed to the appropriate templating engine)
paragraph - information about the rendering (template to use etc)
out - where the renderering happens
Throws:
RenderException
IOException


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