public class FreemarkerRender extends FreemarkerEngine implements Renderer
cfg, loader, localeMessages, messages, RENDERING_ENGINE_KEY, wrapper
TEMPLATE_PREFIX
Constructor and Description |
---|
FreemarkerRender() |
Modifier and Type | Method and Description |
---|---|
String |
render(String uriOrContent,
Map<String,Object> root) |
void |
renderContent(String content,
Object ctx,
Writer writer) |
flushCache, getConfiguration, getLoader, getMessageBundle, getObjectWrapper, getResourceLocator, getView, getView, render, setMessageBundle, setResourceLocator, setSharedVariable
public FreemarkerRender()
public void renderContent(String content, Object ctx, Writer writer) throws IOException, freemarker.template.TemplateException
IOException
freemarker.template.TemplateException
public String render(String uriOrContent, Map<String,Object> root) throws RenderingException, freemarker.template.TemplateException, IOException
render
in interface Renderer
RenderingException
freemarker.template.TemplateException
IOException
Copyright © 2016 Nuxeo SA. All rights reserved.