info.magnolia.module.templating.engine
Class DefaultRenderingEngine

java.lang.Object
  extended by info.magnolia.module.templating.engine.DefaultRenderingEngine
All Implemented Interfaces:
RenderingEngine

Deprecated. since 4.5, replaced by DefaultRenderingEngine

@Deprecated
public class DefaultRenderingEngine
extends Object
implements RenderingEngine

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.

Version:
$Id$

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

DefaultRenderingEngine

public DefaultRenderingEngine()
Deprecated. 
Method Detail

render

public void render(Content content,
                   Writer out)
            throws RenderException
Deprecated. 
Description copied from interface: RenderingEngine
Determines the definition to use from the passed content.

Specified by:
render in interface RenderingEngine
Throws:
RenderException

render

public void render(Content content,
                   String definitionName,
                   Writer out)
            throws RenderException
Deprecated. 
Description copied from interface: RenderingEngine
Render the content by using the passed definition.

Specified by:
render in interface RenderingEngine
Throws:
RenderException

determineAssignedDefinitionName

protected String determineAssignedDefinitionName(Content content)
Deprecated. 
Reads the template name from the meta data.


render

protected void render(Content content,
                      String definitionName,
                      DefaultRenderingEngine.RenderingHelper helper,
                      Writer out)
               throws RenderException
Deprecated. 
Will update the aggregation state and perform the rendering by using the helper.

Throws:
RenderException

getAggregationStateSafely

protected static AggregationState getAggregationStateSafely()
Deprecated. 


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.