Constructor and Description |
---|
FreeMarkerTemplateImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
applyTemplate(java.lang.String ticket,
java.lang.String template,
java.lang.Object model)
Process a template against the supplied data model and return the transformed string.
|
public java.lang.String applyTemplate(java.lang.String ticket, java.lang.String template, java.lang.Object model)
ITemplate
applyTemplate
in interface ITemplate
template
- name of the template file to usemodel
- The data model that gets passed to the template for transformation