Package | Description |
---|---|
org.apache.commons.jexl2 |
Provides a framework for evaluating JEXL expressions.
|
Modifier and Type | Class and 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 and 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 and Description |
---|---|
protected JexlContext |
Interpreter.getContext()
Gets the context.
|
Modifier and Type | Method and Description |
---|---|
Callable<Object> |
ExpressionImpl.callable(JexlContext context)
Creates a Callable from this script.
|
Callable<Object> |
Script.callable(JexlContext context)
Creates a Callable from this script.
|
Callable<Object> |
ExpressionImpl.callable(JexlContext context,
Object... args)
Creates a Callable from this script.
|
Callable<Object> |
Script.callable(JexlContext context,
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.
|
Object |
ExpressionImpl.evaluate(JexlContext context)
Evaluates the expression with the variables contained in the
supplied
JexlContext . |
Object |
UnifiedJEXL.Expression.evaluate(JexlContext context)
Evaluates this expression.
|
Object |
Expression.evaluate(JexlContext context)
Evaluates the expression with the variables contained in the
supplied
JexlContext . |
void |
UnifiedJEXL.Template.evaluate(JexlContext context,
Writer writer)
Evaluates this template.
|
void |
UnifiedJEXL.Template.evaluate(JexlContext context,
Writer writer,
Object... args)
Evaluates this template.
|
Object |
ExpressionImpl.execute(JexlContext context)
Executes the script with the variables contained in the
supplied
JexlContext . |
Object |
Script.execute(JexlContext context)
Executes the script with the variables contained in the
supplied
JexlContext . |
Object |
ExpressionImpl.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. |
Object |
Script.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. |
Object |
JexlEngine.getProperty(JexlContext context,
Object bean,
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,
Object bean,
String expr,
Object value)
Assign properties of a bean using an expression.
|
Constructor and 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.
|
UnifiedJEXL.TemplateContext(JexlContext jcontext,
JexlEngine.Frame jframe,
UnifiedJEXL.Expression[] expressions,
Writer out)
Creates a template context instance.
|
Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.