info.magnolia.module.templating.paragraphs
Class AbstractParagraphRenderer
java.lang.Object
info.magnolia.module.templating.AbstractRenderer
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 ParagraphRenderer
s.
- Version:
- $Id: AbstractParagraphRenderer.java 41137 2011-01-06 18:19:25Z gjoseph $
- Author:
- pbracher
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 |
AbstractParagraphRenderer
public AbstractParagraphRenderer()
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.