net.sf.doolin.template
Interface Template

All Known Implementing Classes:
AbstractTemplate, VelocityTemplate

public interface Template

Reusable template.

Author:
Damien Coraboeuf

Method Summary
 void generate(Writer out, Map<String,Object> context)
          Generates the template to an output stream using a given context.
 

Method Detail

generate

void generate(Writer out,
              Map<String,Object> context)
Generates the template to an output stream using a given context.

Parameters:
out - Writer to generate the template in.
context - Template context, containing all needed variables.


Copyright © 2011. All Rights Reserved.