Class JexlScriptEngineFactory
java.lang.Object
org.apache.commons.jexl3.scripting.JexlScriptEngineFactory
- All Implemented Interfaces:
ScriptEngineFactory
Implements the JEXL ScriptEngineFactory for JSF-223.
Supports the following:
Language short names: "JEXL", "Jexl", "jexl", "JEXL2", "Jexl2", "jexl2", "JEXL3", "Jexl3", "jexl3"
File Extensions: ".jexl", ".jexl2", ".jexl3"
"jexl3" etc. were added for engineVersion="3.0".
See Java Scripting API Javadoc.
- Since:
- 2.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMethodCallSyntax
(String obj, String m, String... args) getNames()
getOutputStatement
(String toDisplay) getParameter
(String key) getProgram
(String... statements)
-
Constructor Details
-
JexlScriptEngineFactory
public JexlScriptEngineFactory()
-
-
Method Details
-
getEngineName
- Specified by:
getEngineName
in interfaceScriptEngineFactory
-
getEngineVersion
- Specified by:
getEngineVersion
in interfaceScriptEngineFactory
-
getExtensions
- Specified by:
getExtensions
in interfaceScriptEngineFactory
-
getLanguageName
- Specified by:
getLanguageName
in interfaceScriptEngineFactory
-
getLanguageVersion
- Specified by:
getLanguageVersion
in interfaceScriptEngineFactory
-
getMethodCallSyntax
- Specified by:
getMethodCallSyntax
in interfaceScriptEngineFactory
-
getMimeTypes
- Specified by:
getMimeTypes
in interfaceScriptEngineFactory
-
getNames
- Specified by:
getNames
in interfaceScriptEngineFactory
-
getOutputStatement
- Specified by:
getOutputStatement
in interfaceScriptEngineFactory
-
getParameter
- Specified by:
getParameter
in interfaceScriptEngineFactory
-
getProgram
- Specified by:
getProgram
in interfaceScriptEngineFactory
-
getScriptEngine
- Specified by:
getScriptEngine
in interfaceScriptEngineFactory
-