net.sf.doolin.template
Interface TemplateEngine

All Known Implementing Classes:
AbstractTemplateEngine, VelocityTemplateEngine

public interface TemplateEngine

Definition for a template engine.

Author:
Damien Coraboeuf

Field Summary
static String VELOCITY
          Predefined template engine: Velocity.
 
Method Summary
 Template getTemplate(String resourcePath)
          Creates a template for the given resource.
 void init()
          Initialization of the engine.
 

Field Detail

VELOCITY

static final String VELOCITY
Predefined template engine: Velocity.

See Also:
Constant Field Values
Method Detail

getTemplate

Template getTemplate(String resourcePath)
Creates a template for the given resource.

Parameters:
resourcePath - Path to the template resource definition
Returns:
Reusable remplate

init

void init()
Initialization of the engine.



Copyright © 2011. All Rights Reserved.