Package org.camunda.templateengines
Class FreeMarkerScriptEngineFactory
java.lang.Object
org.camunda.templateengines.FreeMarkerScriptEngineFactory
- All Implemented Interfaces:
ScriptEngineFactory
ScriptEngineFactory
to create a JSR 223 compatible
wrapper of the FreeMarker template engine.- Author:
- Sebastian Menski
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMethodCallSyntax
(String object, String method, String... args) getNames()
getOutputStatement
(String toDisplay) getParameter
(String key) getProgram
(String... statements) protected String
joinStrings
(String delimiter, String[] values)
-
Field Details
-
NAME
- See Also:
-
VERSION
- See Also:
-
names
-
extensions
-
mimeTypes
-
-
Constructor Details
-
FreeMarkerScriptEngineFactory
public FreeMarkerScriptEngineFactory()
-
-
Method Details
-
getEngineName
- Specified by:
getEngineName
in interfaceScriptEngineFactory
-
getEngineVersion
- Specified by:
getEngineVersion
in interfaceScriptEngineFactory
-
getExtensions
- Specified by:
getExtensions
in interfaceScriptEngineFactory
-
getMimeTypes
- Specified by:
getMimeTypes
in interfaceScriptEngineFactory
-
getNames
- Specified by:
getNames
in interfaceScriptEngineFactory
-
getLanguageName
- Specified by:
getLanguageName
in interfaceScriptEngineFactory
-
getLanguageVersion
- Specified by:
getLanguageVersion
in interfaceScriptEngineFactory
-
getParameter
- Specified by:
getParameter
in interfaceScriptEngineFactory
-
getMethodCallSyntax
- Specified by:
getMethodCallSyntax
in interfaceScriptEngineFactory
-
getOutputStatement
- Specified by:
getOutputStatement
in interfaceScriptEngineFactory
-
getProgram
- Specified by:
getProgram
in interfaceScriptEngineFactory
-
joinStrings
-
getScriptEngine
- Specified by:
getScriptEngine
in interfaceScriptEngineFactory
-