public class FreemarkerTemplateEngine extends AbstractTemplateEngine
| Modifier and Type | Class and Description |
|---|---|
static class |
FreemarkerTemplateEngine.LazyLoadingModel
A custom Freemarker model that avoids loading the whole documents into memory if not necessary.
|
config, db, destination, extractors, templatesPath| Constructor and Description |
|---|
FreemarkerTemplateEngine(org.apache.commons.configuration.CompositeConfiguration config,
ContentStore db,
java.io.File destination,
java.io.File templatesPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
renderDocument(java.util.Map<java.lang.String,java.lang.Object> model,
java.lang.String templateName,
java.io.Writer writer) |
public FreemarkerTemplateEngine(org.apache.commons.configuration.CompositeConfiguration config,
ContentStore db,
java.io.File destination,
java.io.File templatesPath)
public void renderDocument(java.util.Map<java.lang.String,java.lang.Object> model,
java.lang.String templateName,
java.io.Writer writer)
throws RenderingException
renderDocument in class AbstractTemplateEngineRenderingException