org.apache.struts2.components.template
Class VelocityTemplateEngine
java.lang.Object
  
org.apache.struts2.components.template.BaseTemplateEngine
      
org.apache.struts2.components.template.VelocityTemplateEngine
- All Implemented Interfaces: 
 - TemplateEngine
 
public class VelocityTemplateEngine
- extends BaseTemplateEngine
 
Velocity based template engine.
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
LOG
private static final Logger LOG
velocityManager
private VelocityManager velocityManager
VelocityTemplateEngine
public VelocityTemplateEngine()
setVelocityManager
public void setVelocityManager(VelocityManager mgr)
 
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
 
 
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.