Uses of Interface
org.apache.commons.jexl3.JexlContext
-
Packages that use JexlContext Package Description org.apache.commons.jexl3 Provides a framework for evaluating JEXL expressions.org.apache.commons.jexl3.internal Provides utilities for introspection services.org.apache.commons.jexl3.scripting Contains the JSR-223 Scripting Engine for JEXL script. -
-
Uses of JexlContext in org.apache.commons.jexl3
Subinterfaces of JexlContext in org.apache.commons.jexl3 Modifier and Type Interface 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.Classes in org.apache.commons.jexl3 that implement JexlContext Modifier and Type Class 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.Fields in org.apache.commons.jexl3 declared as JexlContext Modifier and Type Field Description static JexlContext
JexlEngine. EMPTY_CONTEXT
An empty/static/non-mutable JexlContext singleton used instead of null context.Methods in org.apache.commons.jexl3 with parameters of type JexlContext Modifier and Type Method Description java.util.concurrent.Callable<java.lang.Object>
JexlExpression. callable(JexlContext context)
Creates a Callable from this expression.java.util.concurrent.Callable<java.lang.Object>
JexlScript. callable(JexlContext context)
Creates a Callable from this script.java.util.concurrent.Callable<java.lang.Object>
JexlScript. callable(JexlContext context, java.lang.Object... args)
Creates a Callable from this script.java.lang.Object
JexlContext.NamespaceFunctor. createFunctor(JexlContext context)
Creates the functor object that will be used instead of the namespace.java.lang.Object
JexlExpression. evaluate(JexlContext context)
Evaluates the expression with the variables contained in the suppliedJexlContext
.java.lang.Object
JxltEngine.Expression. evaluate(JexlContext context)
Evaluates this expression.void
JxltEngine.Template. evaluate(JexlContext context, java.io.Writer writer)
Evaluates this template.void
JxltEngine.Template. evaluate(JexlContext context, java.io.Writer writer, java.lang.Object... args)
Evaluates this template.java.lang.Object
JexlScript. execute(JexlContext context)
Executes the script with the variables contained in the suppliedJexlContext
.java.lang.Object
JexlScript. execute(JexlContext context, java.lang.Object... args)
Executes the script with the variables contained in the suppliedJexlContext
and a set of arguments corresponding to the parameters used during parsing.abstract java.lang.Object
JexlEngine. getProperty(JexlContext context, java.lang.Object bean, java.lang.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, java.lang.Object bean, java.lang.String expr, java.lang.Object value)
Assign properties of a bean using an expression. -
Uses of JexlContext in org.apache.commons.jexl3.internal
Fields in org.apache.commons.jexl3.internal declared as JexlContext Modifier and Type Field Description protected JexlContext
InterpreterBase. context
The context to store/retrieve variables.(package private) JexlContext
TemplateInterpreter.Arguments. jcontext
The context.Methods in org.apache.commons.jexl3.internal with parameters of type JexlContext Modifier and Type Method Description Script.Callable
Closure. callable(JexlContext context, java.lang.Object... args)
Script.Callable
Script. callable(JexlContext context)
Creates a Callable from this script.Script.Callable
Script. callable(JexlContext context, java.lang.Object... args)
Creates a Callable from this script.(package private) TemplateInterpreter.Arguments
TemplateInterpreter.Arguments. context(JexlContext j)
Sets the context.protected Interpreter
Engine. createInterpreter(JexlContext context, Frame frame, JexlOptions opts)
Creates an interpreter.protected Interpreter
Engine32. createInterpreter(JexlContext context, Frame frame, JexlOptions opts)
protected Interpreter
Script. createInterpreter(JexlContext context, Frame frame)
Creates this script interpreter.protected Interpreter
Script. createInterpreter(JexlContext context, Frame frame, JexlOptions options)
Creates this script interpreter.protected JexlOptions
Engine. evalOptions(JexlContext context)
Extracts the engine evaluation options from context if available, the engine options otherwise.protected JexlOptions
Engine. evalOptions(ASTJexlScript script, JexlContext context)
Compute a script options for evaluation.java.lang.Object
Closure. evaluate(JexlContext context)
java.lang.Object
Script. evaluate(JexlContext context)
java.lang.Object
TemplateEngine.TemplateExpression. evaluate(JexlContext context)
protected java.lang.Object
TemplateEngine.TemplateExpression. evaluate(JexlContext context, Frame frame, JexlOptions options)
Evaluates this expression.void
TemplateScript. evaluate(JexlContext context, java.io.Writer writer)
void
TemplateScript. evaluate(JexlContext context, java.io.Writer writer, java.lang.Object... args)
java.lang.Object
Closure. execute(JexlContext context)
java.lang.Object
Closure. execute(JexlContext context, java.lang.Object... args)
java.lang.Object
Script. execute(JexlContext context)
java.lang.Object
Script. execute(JexlContext context, java.lang.Object... args)
java.lang.Object
Engine. getProperty(JexlContext context, java.lang.Object bean, java.lang.String expr)
protected JexlOptions
TemplateEngine.JexlBasedExpression. options(JexlContext context)
protected JexlOptions
TemplateEngine.TemplateExpression. options(JexlContext context)
The options to use during evaluation.TemplateEngine.TemplateExpression
TemplateEngine.TemplateExpression. prepare(JexlContext context)
protected TemplateEngine.TemplateExpression
TemplateEngine.TemplateExpression. prepare(JexlContext context, Frame frame, JexlOptions opts)
Prepares this expression.TemplateScript
TemplateScript. prepare(JexlContext context)
private void
Engine. processPragmaModule(java.util.Map<java.lang.String,java.lang.Object> ns, java.lang.String key, java.lang.Object value, JexlInfo info, JexlContext context)
Processes jexl.module.ns pragma.protected void
Engine. processPragmas(ASTJexlScript script, JexlContext context, JexlOptions opts)
Processes a script pragmas.void
Engine. setProperty(JexlContext context, java.lang.Object bean, java.lang.String expr, java.lang.Object value)
Constructors in org.apache.commons.jexl3.internal with parameters of type JexlContext Constructor Description Interpreter(Engine engine, JexlOptions opts, JexlContext aContext, Frame eFrame)
Creates an interpreter.InterpreterBase(Engine engine, JexlOptions opts, JexlContext aContext)
Creates an interpreter base. -
Uses of JexlContext in org.apache.commons.jexl3.scripting
Classes in org.apache.commons.jexl3.scripting that implement JexlContext Modifier and Type Class Description private class
JexlScriptEngine.JexlContextWrapper
Wrapper to help convert a JSR-223 ScriptContext into a JexlContext.
-