info.magnolia.module.templatingkit.renderers
Class STKTemplateRenderer

java.lang.Object
  extended by info.magnolia.module.templating.AbstractRenderer
      extended by info.magnolia.module.templating.renderers.AbstractTemplateRenderer
          extended by info.magnolia.module.templating.renderers.FreemarkerTemplateRenderer
              extended by info.magnolia.module.templatingkit.renderers.STKTemplateRenderer
All Implemented Interfaces:
info.magnolia.module.templating.RenderingModelBasedRenderer, info.magnolia.module.templating.TemplateRenderer

Deprecated. since 4.5, use STKRenderer instead. FIXME this class should really not be used anymore

public class STKTemplateRenderer
extends info.magnolia.module.templating.renderers.FreemarkerTemplateRenderer

Expose the merged definition and set the site object on the model.

Version:
$Id: STKTemplateRenderer.java 50706 2011-11-02 16:18:44Z gjoseph $

Constructor Summary
STKTemplateRenderer()
          Deprecated.  
 
Method Summary
protected  Site getSite(info.magnolia.cms.core.Content content)
          Deprecated.  
 info.magnolia.module.templating.RenderingModel newModel(info.magnolia.cms.core.Content content, info.magnolia.module.templating.RenderableDefinition definition, info.magnolia.module.templating.RenderingModel parentModel)
          Deprecated.  
protected  void render(info.magnolia.cms.core.Content content, info.magnolia.module.templating.RenderableDefinition definition, Writer out)
          Deprecated.  
protected  void setupContext(Map ctx, info.magnolia.cms.core.Content content, info.magnolia.module.templating.RenderableDefinition definition, info.magnolia.module.templating.RenderingModel model, Object actionResult)
          Deprecated.  
protected  info.magnolia.cms.core.Content wrapNodeForTemplate(info.magnolia.cms.core.Content currentContent, info.magnolia.cms.core.Content mainContent)
          Deprecated.  
 
Methods inherited from class info.magnolia.module.templating.renderers.FreemarkerTemplateRenderer
newContext, onRender
 
Methods inherited from class info.magnolia.module.templating.renderers.AbstractTemplateRenderer
renderTemplate
 
Methods inherited from class info.magnolia.module.templating.AbstractRenderer
determineTemplatePath, getAggregationStateSafely, getMagnoliaTemplatingUtilities, getMainContentSafely, getPageAttributeName, restoreContext, saveAttribute, saveContextState, setContextAttribute, wrapNodeForModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

STKTemplateRenderer

public STKTemplateRenderer()
Deprecated. 
Method Detail

render

protected void render(info.magnolia.cms.core.Content content,
                      info.magnolia.module.templating.RenderableDefinition definition,
                      Writer out)
               throws info.magnolia.module.templating.RenderException
Deprecated. 
Overrides:
render in class info.magnolia.module.templating.AbstractRenderer
Throws:
info.magnolia.module.templating.RenderException

setupContext

protected void setupContext(Map ctx,
                            info.magnolia.cms.core.Content content,
                            info.magnolia.module.templating.RenderableDefinition definition,
                            info.magnolia.module.templating.RenderingModel model,
                            Object actionResult)
Deprecated. 
Overrides:
setupContext in class info.magnolia.module.templating.AbstractRenderer

newModel

public info.magnolia.module.templating.RenderingModel newModel(info.magnolia.cms.core.Content content,
                                                               info.magnolia.module.templating.RenderableDefinition definition,
                                                               info.magnolia.module.templating.RenderingModel parentModel)
                                                        throws info.magnolia.module.templating.RenderException
Deprecated. 
Specified by:
newModel in interface info.magnolia.module.templating.RenderingModelBasedRenderer
Overrides:
newModel in class info.magnolia.module.templating.AbstractRenderer
Throws:
info.magnolia.module.templating.RenderException

wrapNodeForTemplate

protected info.magnolia.cms.core.Content wrapNodeForTemplate(info.magnolia.cms.core.Content currentContent,
                                                             info.magnolia.cms.core.Content mainContent)
Deprecated. 
Overrides:
wrapNodeForTemplate in class info.magnolia.module.templating.AbstractRenderer

getSite

protected Site getSite(info.magnolia.cms.core.Content content)
Deprecated. 


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