Package | Description |
---|---|
org.apache.commons.jexl |
Jexl-1.x compatible implementation.
|
org.apache.commons.jexl2 |
Provides a framework for evaluating JEXL expressions.
|
org.apache.commons.jexl2.scripting |
Contains the JSR-223 Scripting Engine for JEXL script.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Script
Jexl-1.x compatible script.
|
Modifier and Type | Class and Description |
---|---|
private static class |
JexlOne.JexlOneExpression
The specific Jexl-1.x expressions implementation.
|
Modifier and Type | Class and Description |
---|---|
class |
ExpressionImpl
Instances of ExpressionImpl are created by the
JexlEngine ,
and this is the default implementation of the Expression and
Script interface. |
Modifier and Type | Method and Description |
---|---|
protected Script |
JexlEngine.createScript(ASTJexlScript tree,
java.lang.String text)
An overridable through covariant return Script creator.
|
Script |
JexlEngine.createScript(java.io.File scriptFile)
Creates a Script from a
File containing valid JEXL syntax. |
Script |
JexlEngine.createScript(java.lang.String scriptText)
Creates a Script from a String containing valid JEXL syntax.
|
Script |
JexlEngine.createScript(java.lang.String scriptText,
JexlInfo info)
Deprecated.
|
Script |
JexlEngine.createScript(java.lang.String scriptText,
JexlInfo info,
java.lang.String[] names)
Creates a Script from a String containing valid JEXL syntax.
|
Script |
JexlEngine.createScript(java.lang.String scriptText,
java.lang.String... names)
Creates a Script from a String containing valid JEXL syntax.
|
Script |
JexlEngine.createScript(java.net.URL scriptUrl)
Creates a Script from a
URL containing valid JEXL syntax. |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String[] |
JexlEngine.getLocalVariables(Script script)
Gets the array of local variable from a script.
|
protected java.lang.String[] |
JexlEngine.getParameters(Script script)
Gets the array of parameters from a script.
|
java.util.Set<java.util.List<java.lang.String>> |
JexlEngine.getVariables(Script script)
Gets the list of variables accessed by a script.
|
Modifier and Type | Field and Description |
---|---|
private Script |
JexlScriptEngine.JexlCompiledScript.script
The underlying Jexl expression instance.
|
Constructor and Description |
---|
JexlCompiledScript(Script theScript)
Creates an instance.
|