net.sf.doolin.template.velocity
Class VelocityTemplateEngine

java.lang.Object
  extended by net.sf.doolin.template.support.AbstractTemplateEngine
      extended by net.sf.doolin.template.velocity.VelocityTemplateEngine
All Implemented Interfaces:
TemplateEngine

public class VelocityTemplateEngine
extends AbstractTemplateEngine

Template engine for Velocity

Author:
Damien Coraboeuf

Field Summary
 
Fields inherited from interface net.sf.doolin.template.TemplateEngine
VELOCITY
 
Constructor Summary
VelocityTemplateEngine()
           
 
Method Summary
 Template getTemplate(String resourcePath)
          Loads the resource as a Velocity template.
 void init()
          Initialization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityTemplateEngine

public VelocityTemplateEngine()
Method Detail

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.