public class RenderingService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected FreemarkerRender |
ftl |
protected MvelRender |
mvel |
| Constructor and Description |
|---|
RenderingService() |
| Modifier and Type | Method and Description |
|---|---|
static RenderingService |
getInstance() |
Renderer |
getRenderer(String type) |
String |
render(String type,
String uriOrContent,
OperationContext ctx) |
protected MvelRender mvel
protected FreemarkerRender ftl
public RenderingService()
public static RenderingService getInstance()
public String render(String type, String uriOrContent, OperationContext ctx) throws OperationException, RenderingException, freemarker.template.TemplateException, IOException
OperationExceptionRenderingExceptionfreemarker.template.TemplateExceptionIOExceptionpublic Renderer getRenderer(String type)
Copyright © 2018 Nuxeo. All rights reserved.