net.sf.doolin.template.velocity
Class VelocityTemplateEngine
java.lang.Object
net.sf.doolin.template.support.AbstractTemplateEngine
net.sf.doolin.template.velocity.VelocityTemplateEngine
- All Implemented Interfaces:
- TemplateEngine
public class VelocityTemplateEngine
- extends AbstractTemplateEngine
Template engine for Velocity
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityTemplateEngine
public VelocityTemplateEngine()
getTemplate
public Template getTemplate(String resourcePath)
- Loads the resource as a Velocity template.
- Parameters:
resourcePath - Path to the template resource definition
- Returns:
- Reusable remplate
- See Also:
TemplateEngine.getTemplate(java.lang.String)
init
public void init()
- Initialization
Copyright © 2011. All Rights Reserved.