Package science.aist.gtf.template.impl
Class FreemarkerTemplateEngine
- java.lang.Object
 - 
- science.aist.gtf.template.impl.FreemarkerTemplateEngine
 
 
- 
- All Implemented Interfaces:
 TemplateEngine<Object>
public class FreemarkerTemplateEngine extends Object implements TemplateEngine<Object>
Freemarker implementation of the template engine
- Since:
 - 1.0
 - Author:
 - Andreas Pointner
 
 
- 
- 
Constructor Summary
Constructors Constructor Description FreemarkerTemplateEngine() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(Object data, @NonNull String templateFile, @NonNull Writer destinationWriter)Runs the engine 
 - 
 
- 
- 
Method Detail
- 
process
public void process(Object data, @NonNull @NonNull String templateFile, @NonNull @NonNull Writer destinationWriter) throws TemplateEngineException
Description copied from interface:TemplateEngineRuns the engine- Specified by:
 processin interfaceTemplateEngine<Object>- Parameters:
 data- the context in which this should happentemplateFile- the template filedestinationWriter- the writer for the result- Throws:
 TemplateEngineException- template exception if something fails during processing
 
 - 
 
 -