Package | Description |
---|---|
org.apache.commons.jexl3 |
Provides a framework for evaluating JEXL expressions.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
JexlContext.ThreadLocal
A marker interface of the JexlContext that indicates the interpreter to put this context
in the JexlEngine thread local context instance during evaluation.
|
Modifier and Type | Class and Description |
---|---|
static class |
JexlEngine.EmptyContext
The empty context class, public for instrospection.
|
class |
MapContext
Wraps a map in a context.
|
class |
ObjectContext<T>
Wraps an Object as a JEXL context and NamespaceResolver.
|
Modifier and Type | Field and Description |
---|---|
static JexlContext |
JexlEngine.EMPTY_CONTEXT
An empty/static/non-mutable JexlContext singleton used instead of null context.
|
Modifier and Type | Method and Description |
---|---|
Callable<Object> |
JexlScript.callable(JexlContext context)
Creates a Callable from this script.
|
Callable<Object> |
JexlExpression.callable(JexlContext context)
Creates a Callable from this expression.
|
Callable<Object> |
JexlScript.callable(JexlContext context,
Object... args)
Creates a Callable from this script.
|
Object |
JexlContext.NamespaceFunctor.createFunctor(JexlContext context)
Creates the functor object that will be used instead of the namespace.
|
Object |
JxltEngine.Expression.evaluate(JexlContext context)
Evaluates this expression.
|
Object |
JexlExpression.evaluate(JexlContext context)
Evaluates the expression with the variables contained in the
supplied
JexlContext . |
void |
JxltEngine.Template.evaluate(JexlContext context,
Writer writer)
Evaluates this template.
|
void |
JxltEngine.Template.evaluate(JexlContext context,
Writer writer,
Object... args)
Evaluates this template.
|
Object |
JexlScript.execute(JexlContext context)
Executes the script with the variables contained in the
supplied
JexlContext . |
Object |
JexlScript.execute(JexlContext context,
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. |
abstract Object |
JexlEngine.getProperty(JexlContext context,
Object bean,
String expr)
Accesses properties of a bean using an expression.
|
JexlArithmetic |
JexlArithmetic.options(JexlContext context)
Apply options to this arithmetic which eventually may create another instance.
|
JxltEngine.Expression |
JxltEngine.Expression.prepare(JexlContext context)
Evaluates the immediate sub-expressions.
|
JxltEngine.Template |
JxltEngine.Template.prepare(JexlContext context)
Prepares this template by expanding any contained deferred TemplateExpression.
|
abstract void |
JexlEngine.setProperty(JexlContext context,
Object bean,
String expr,
Object value)
Assign properties of a bean using an expression.
|
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.