Uses of Interface
org.apache.commons.jexl3.JexlContext
Packages that use JexlContext
Package
Description
Provides a framework for evaluating JEXL expressions.
Provides utilities for introspection services.
Contains the JSR-223 Scripting Engine for JEXL script.
-
Uses of JexlContext in org.apache.commons.jexl3
Subinterfaces of JexlContext in org.apache.commons.jexl3Modifier and TypeInterfaceDescriptionstatic interface
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 JexlContextModifier and TypeClassDescriptionstatic final class
The empty context class, public for instrospection.class
Wraps a map in a context.class
Wraps an Object as a JEXL context and NamespaceResolver.Fields in org.apache.commons.jexl3 declared as JexlContextModifier and TypeFieldDescriptionstatic final 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 JexlContextModifier and TypeMethodDescriptionJexlExpression.callable
(JexlContext context) Creates a Callable from this expression.JexlScript.callable
(JexlContext context) Creates a Callable from this script.JexlScript.callable
(JexlContext context, Object... args) Creates a Callable from this script.JexlContext.NamespaceFunctor.createFunctor
(JexlContext context) Creates the functor object that will be used instead of the namespace.JexlExpression.evaluate
(JexlContext context) Evaluates the expression with the variables contained in the suppliedJexlContext
.JxltEngine.Expression.evaluate
(JexlContext context) Evaluates this expression.void
JxltEngine.Template.evaluate
(JexlContext context, Writer writer) Evaluates this template.void
JxltEngine.Template.evaluate
(JexlContext context, Writer writer, Object... args) Evaluates this template.JexlScript.execute
(JexlContext context) Executes the script with the variables contained in the suppliedJexlContext
.JexlScript.execute
(JexlContext context, 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 Object
JexlEngine.getProperty
(JexlContext context, Object bean, String expr) Accesses properties of a bean using an expression.JexlArithmetic.options
(JexlContext context) Apply options to this arithmetic which eventually may create another instance.JxltEngine.Expression.prepare
(JexlContext context) Evaluates the immediate sub-expressions.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. -
Uses of JexlContext in org.apache.commons.jexl3.internal
Fields in org.apache.commons.jexl3.internal declared as JexlContextModifier and TypeFieldDescriptionprotected final 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 JexlContextModifier and TypeMethodDescriptionClosure.callable
(JexlContext context, Object... args) Script.callable
(JexlContext context) Creates a Callable from this script.Script.callable
(JexlContext context, 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.Closure.evaluate
(JexlContext context) Script.evaluate
(JexlContext context) final Object
TemplateEngine.TemplateExpression.evaluate
(JexlContext context) protected final Object
TemplateEngine.TemplateExpression.evaluate
(JexlContext context, Frame frame, JexlOptions options) Evaluates this expression.void
TemplateScript.evaluate
(JexlContext context, Writer writer) void
TemplateScript.evaluate
(JexlContext context, Writer writer, Object... args) Closure.execute
(JexlContext context) Closure.execute
(JexlContext context, Object... args) Script.execute
(JexlContext context) Script.execute
(JexlContext context, Object... args) Engine.getProperty
(JexlContext context, Object bean, String expr) protected JexlOptions
TemplateEngine.JexlBasedExpression.options
(JexlContext context) protected JexlOptions
TemplateEngine.TemplateExpression.options
(JexlContext context) The options to use during evaluation.TemplateEngine.TemplateExpression.prepare
(JexlContext context) protected final TemplateEngine.TemplateExpression
TemplateEngine.TemplateExpression.prepare
(JexlContext context, Frame frame, JexlOptions opts) Prepares this expression.TemplateScript.prepare
(JexlContext context) private void
Engine.processPragmaModule
(Map<String, Object> ns, String key, 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, Object bean, String expr, Object value) Constructors in org.apache.commons.jexl3.internal with parameters of type JexlContextModifierConstructorDescriptionprotected
Interpreter
(Engine engine, JexlOptions opts, JexlContext aContext, Frame eFrame) Creates an interpreter.protected
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 JexlContextModifier and TypeClassDescriptionprivate final class
Wrapper to help convert a JSR-223 ScriptContext into a JexlContext.