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