|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.module.templating.engine.DefaultRenderingEngine
DefaultRenderingEngine
@Deprecated public class DefaultRenderingEngine
Default implementation which determines the definition (template/paragraph) from the content's meta data. Based on the node type (mgln:contentNode for paragraphs) a paragraph rendering or a template rendering is performed.
Nested Class Summary | |
---|---|
protected static class |
DefaultRenderingEngine.RenderingHelper
Deprecated. A helper enumeration usable by subclasses. |
Constructor Summary | |
---|---|
DefaultRenderingEngine()
Deprecated. |
Method Summary | |
---|---|
protected String |
determineAssignedDefinitionName(Content content)
Deprecated. Reads the template name from the meta data. |
protected static AggregationState |
getAggregationStateSafely()
Deprecated. |
protected void |
render(Content content,
String definitionName,
DefaultRenderingEngine.RenderingHelper helper,
Writer out)
Deprecated. Will update the aggregation state and perform the rendering by using the helper. |
void |
render(Content content,
String definitionName,
Writer out)
Deprecated. Render the content by using the passed definition . |
void |
render(Content content,
Writer out)
Deprecated. Determines the definition to use from the passed content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRenderingEngine()
Method Detail |
---|
public void render(Content content, Writer out) throws RenderException
RenderingEngine
definition
to use from the passed content.
render
in interface RenderingEngine
RenderException
public void render(Content content, String definitionName, Writer out) throws RenderException
RenderingEngine
definition
.
render
in interface RenderingEngine
RenderException
protected String determineAssignedDefinitionName(Content content)
protected void render(Content content, String definitionName, DefaultRenderingEngine.RenderingHelper helper, Writer out) throws RenderException
RenderException
protected static AggregationState getAggregationStateSafely()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |