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 36512 2010-08-18 14:04:05Z fgrilli $
Author:
pbracher

Constructor Summary
AbstractParagraphRenderer()
           
 
Method Summary
 void render(info.magnolia.cms.core.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(info.magnolia.cms.core.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-2010 Magnolia International Ltd.. All Rights Reserved.