Package science.aist.gtf.template
Interface TemplateEngine<C>
-
- Type Parameters:
C- The context of the template engine
- All Known Implementing Classes:
ExceptionPrinter,FreemarkerPrinter,FreemarkerTemplateEngine
public interface TemplateEngine<C>The Template Engine
- Since:
- 1.0
- Author:
- Andreas Schuler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocess(C context, String templateFile, Writer destinationWriter)Runs the engine
-
-
-
Method Detail
-
process
void process(C context, String templateFile, Writer destinationWriter) throws TemplateEngineException
Runs the engine- Parameters:
context- the context in which this should happentemplateFile- the template filedestinationWriter- the writer for the result- Throws:
TemplateEngineException- template exception if something fails during processing
-
-