com.opensymphony.webwork.components.template
Class FreemarkerTemplateEngine

java.lang.Object
  extended by com.opensymphony.webwork.components.template.BaseTemplateEngine
      extended by com.opensymphony.webwork.components.template.FreemarkerTemplateEngine
All Implemented Interfaces:
TemplateEngine

public class FreemarkerTemplateEngine
extends BaseTemplateEngine

Freemarker based template engine.

Author:
CameronBraid, tm_jee

Field Summary
 
Fields inherited from class com.opensymphony.webwork.components.template.BaseTemplateEngine
DEFAULT_THEME_PROPERTIES_FILE_NAME
 
Constructor Summary
FreemarkerTemplateEngine()
           
 
Method Summary
protected  String getSuffix()
           
 void renderTemplate(TemplateRenderingContext templateContext)
          Renders the template
 
Methods inherited from class com.opensymphony.webwork.components.template.BaseTemplateEngine
getFinalTemplateName, getThemePropertiesFileName, getThemeProps
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreemarkerTemplateEngine

public FreemarkerTemplateEngine()
Method Detail

renderTemplate

public void renderTemplate(TemplateRenderingContext templateContext)
                    throws Exception
Description copied from interface: TemplateEngine
Renders the template

Parameters:
templateContext - context for the given template.
Throws:
Exception - is thrown if there is a failure when rendering.

getSuffix

protected String getSuffix()
Specified by:
getSuffix in class BaseTemplateEngine

WebWork Project Page