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 45983 2011-06-07 15:21:04Z pbaerfuss $
- Author:
- pbracher
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 |
AbstractParagraphRenderer
public AbstractParagraphRenderer()
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-2011 Magnolia International Ltd.. All Rights Reserved.