Class MvelRender
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.rendering.MvelRender
-
- All Implemented Interfaces:
Renderer
public class MvelRender extends Object implements Renderer
MVEL rendering using a simple cache of compiled template.- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,org.mvel2.templates.CompiledTemplate>
cache
-
Fields inherited from interface org.nuxeo.ecm.automation.core.rendering.Renderer
TEMPLATE_PREFIX
-
-
Constructor Summary
Constructors Constructor Description MvelRender()
-
-
-
Method Detail
-
render
public String render(String uriOrContent, Map<String,Object> root) throws OperationException, IOException
- Specified by:
render
in interfaceRenderer
- Throws:
OperationException
IOException
-
-