public class FreemarkerEngine extends Object
| Modifier and Type | Field and Description |
|---|---|
protected freemarker.template.Configuration |
cfg |
| Constructor and Description |
|---|
FreemarkerEngine() |
| Modifier and Type | Method and Description |
|---|---|
Object |
createInput(org.apache.tools.ant.Project project) |
freemarker.template.Configuration |
getConfiguration() |
protected freemarker.template.Configuration |
getDefaultConfiguration() |
freemarker.template.Template |
getTemplate(String name) |
void |
process(Object input,
String name,
Writer writer) |
void |
process(org.apache.tools.ant.Project project,
String name,
Writer writer) |
void |
setBaseDir(File baseDir) |
public void setBaseDir(File baseDir) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionpublic freemarker.template.Configuration getConfiguration()
protected freemarker.template.Configuration getDefaultConfiguration()
public Object createInput(org.apache.tools.ant.Project project)
public freemarker.template.Template getTemplate(String name)
Copyright © 2016 Nuxeo SA. All Rights Reserved.