Class RenderingService
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.rendering.RenderingService
-
public class RenderingService extends Object
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected FreemarkerRender
ftl
protected MvelRender
mvel
-
Constructor Summary
Constructors Constructor Description RenderingService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RenderingService
getInstance()
Renderer
getRenderer(String type)
String
render(String type, String uriOrContent, OperationContext ctx)
-
-
-
Field Detail
-
mvel
protected MvelRender mvel
-
ftl
protected FreemarkerRender ftl
-
-
Method Detail
-
getInstance
public static RenderingService getInstance()
-
render
public String render(String type, String uriOrContent, OperationContext ctx) throws OperationException, RenderingException, freemarker.template.TemplateException, IOException
- Throws:
OperationException
RenderingException
freemarker.template.TemplateException
IOException
-
-