Package | Description |
---|---|
org.apache.commons.jexl2 |
Modifier and Type | Class | Description |
---|---|---|
class |
MapContext |
Wraps a map in a context.
|
class |
ObjectContext<T> |
Wraps an Object as a Jexl context.
|
class |
ReadonlyContext |
A readonly context wrapper.
|
class |
UnifiedJEXL.TemplateContext |
The type of context to use during evaluation of templates.
|
Modifier and Type | Field | Description |
---|---|---|
protected JexlContext |
Interpreter.context |
The context to store/retrieve variables.
|
static JexlContext |
JexlEngine.EMPTY_CONTEXT |
An empty/static/non-mutable JexlContext used instead of null context.
|
Modifier and Type | Method | Description |
---|---|---|
protected JexlContext |
Interpreter.getContext() |
Gets the context.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.concurrent.Callable<java.lang.Object> |
ExpressionImpl.callable(JexlContext context) |
Creates a Callable from this script.
|
java.util.concurrent.Callable<java.lang.Object> |
ExpressionImpl.callable(JexlContext context,
java.lang.Object... args) |
Creates a Callable from this script.
|
java.util.concurrent.Callable<java.lang.Object> |
Script.callable(JexlContext context) |
Creates a Callable from this script.
|
java.util.concurrent.Callable<java.lang.Object> |
Script.callable(JexlContext context,
java.lang.Object... args) |
Creates a Callable from this script.
|
protected Interpreter |
JexlEngine.createInterpreter(JexlContext context) |
Creates an interpreter.
|
protected Interpreter |
JexlEngine.createInterpreter(JexlContext context,
boolean strictFlag,
boolean silentFlag) |
Creates an interpreter.
|
java.lang.Object |
Expression.evaluate(JexlContext context) |
Evaluates the expression with the variables contained in the
supplied
JexlContext . |
java.lang.Object |
ExpressionImpl.evaluate(JexlContext context) |
Evaluates the expression with the variables contained in the
supplied
JexlContext . |
java.lang.Object |
UnifiedJEXL.Expression.evaluate(JexlContext context) |
Evaluates this expression.
|
void |
UnifiedJEXL.Template.evaluate(JexlContext context,
java.io.Writer writer) |
Evaluates this template.
|
void |
UnifiedJEXL.Template.evaluate(JexlContext context,
java.io.Writer writer,
java.lang.Object... args) |
Evaluates this template.
|
java.lang.Object |
ExpressionImpl.execute(JexlContext context) |
Executes the script with the variables contained in the
supplied
JexlContext . |
java.lang.Object |
ExpressionImpl.execute(JexlContext context,
java.lang.Object... args) |
Executes the script with the variables contained in the
supplied
JexlContext and a set of arguments corresponding to the
parameters used during parsing. |
java.lang.Object |
Script.execute(JexlContext context) |
Executes the script with the variables contained in the
supplied
JexlContext . |
java.lang.Object |
Script.execute(JexlContext context,
java.lang.Object... args) |
Executes the script with the variables contained in the
supplied
JexlContext and a set of arguments corresponding to the
parameters used during parsing. |
java.lang.Object |
JexlEngine.getProperty(JexlContext context,
java.lang.Object bean,
java.lang.String expr) |
Accesses properties of a bean using an expression.
|
UnifiedJEXL.Expression |
UnifiedJEXL.Expression.prepare(JexlContext context) |
Evaluates the immediate sub-expressions.
|
UnifiedJEXL.Template |
UnifiedJEXL.Template.prepare(JexlContext context) |
Prepares this template by expanding any contained deferred expression.
|
void |
JexlEngine.setProperty(JexlContext context,
java.lang.Object bean,
java.lang.String expr,
java.lang.Object value) |
Assign properties of a bean using an expression.
|
Constructor | Description |
---|---|
Interpreter(JexlEngine jexl,
JexlContext aContext) |
Deprecated.
|
Interpreter(JexlEngine jexl,
JexlContext aContext,
boolean strictFlag,
boolean silentFlag) |
Creates an interpreter.
|
ReadonlyContext(JexlContext context) |
Creates a new readonly context.
|
TemplateContext(JexlContext jcontext,
JexlEngine.Frame jframe,
UnifiedJEXL.Expression[] expressions,
java.io.Writer out) |
Creates a template context instance.
|