A C D E F G I J M S T V

A

assign(Context, Object, Object[]) - Method in interface com.plotnix.jex.VariableExpression
Modifies a value in the specified context according to the expression and the supplied arguments.
assign(Context, Object, Object[]) - Method in class com.plotnix.jex.adapters.InterpretedExpression
 
assign(Context, Object, Object[]) - Method in class com.plotnix.jex.javascript.JavaScriptVariableExpression
 
assign(Context, Object, Object[]) - Method in class com.plotnix.jex.jxpath.JXPathCompiledExpression
 
assign(Context, String, Object, Object[]) - Method in class com.plotnix.jex.Interpreter
Modifies a value in the specified context according to the expression and the supplied arguments.
assign(Context, String, Object, Object[]) - Method in class com.plotnix.jex.MultilingualInterpreter
See evaluate
assign(Context, String, Object, Object[]) - Method in class com.plotnix.jex.adapters.CompilingInterpreter
 
assign(Context, String, Object, Object[]) - Method in class com.plotnix.jex.bexl.Interpreter
Invokes PropertyUtils.setProperty(target, expression, value), where target is passed as the first and only argument.
assign(String, Object, Object[]) - Method in class com.plotnix.jex.Context
Invokes the context's interpreter to modify the value described by the supplied left-hand side expression.

C

canConvert(Object, Class) - Static method in class com.plotnix.jex.util.TypeUtils
 
com.plotnix.jex - package com.plotnix.jex
 
com.plotnix.jex.adapters - package com.plotnix.jex.adapters
 
com.plotnix.jex.bexl - package com.plotnix.jex.bexl
 
com.plotnix.jex.javascript - package com.plotnix.jex.javascript
 
com.plotnix.jex.jxpath - package com.plotnix.jex.jxpath
 
com.plotnix.jex.util - package com.plotnix.jex.util
 
compileExpression(String) - Method in class com.plotnix.jex.Compiler
Compiles an expression intended for evaluation that produces a value.
compileExpression(String) - Method in class com.plotnix.jex.MultilingualCompiler
Compiles an expression intended for evaluation using the appropriate compiler.
compileExpression(String) - Method in class com.plotnix.jex.adapters.InterpretingCompiler
 
compileExpression(String) - Method in class com.plotnix.jex.javascript.Compiler
 
compileExpression(String) - Method in class com.plotnix.jex.jxpath.Compiler
 
compileIterationExpression(String) - Method in class com.plotnix.jex.Compiler
Compiles an expression describing an iteration.
compileIterationExpression(String) - Method in class com.plotnix.jex.MultilingualCompiler
Compiles an expression that describes an iteration.
compileIterationExpression(String) - Method in class com.plotnix.jex.adapters.InterpretingCompiler
 
compileIterationExpression(String) - Method in class com.plotnix.jex.javascript.Compiler
 
compileIterationExpression(String) - Method in class com.plotnix.jex.jxpath.Compiler
 
Compiler - class com.plotnix.jex.Compiler.
A compiler translates an expression string into an executable form.
Compiler - class com.plotnix.jex.javascript.Compiler.
Integrates ECMA-Script (aka JavaScript) with Jex.
Compiler - class com.plotnix.jex.jxpath.Compiler.
Integrates JXPath with Jex.
Compiler() - Constructor for class com.plotnix.jex.Compiler
 
Compiler() - Constructor for class com.plotnix.jex.javascript.Compiler
 
Compiler() - Constructor for class com.plotnix.jex.jxpath.Compiler
 
compileVariableExpression(String) - Method in class com.plotnix.jex.Compiler
Compiles an expression describing the left hand side of an assignment.
compileVariableExpression(String) - Method in class com.plotnix.jex.MultilingualCompiler
Compiles an expression intended to serve as the left hand side of an assignment.
compileVariableExpression(String) - Method in class com.plotnix.jex.adapters.InterpretingCompiler
 
compileVariableExpression(String) - Method in class com.plotnix.jex.javascript.Compiler
 
compileVariableExpression(String) - Method in class com.plotnix.jex.jxpath.Compiler
 
CompilingInterpreter - class com.plotnix.jex.adapters.CompilingInterpreter.
A wrapper for a compiler that makes it behave like an interpreter.
CompilingInterpreter(Compiler) - Constructor for class com.plotnix.jex.adapters.CompilingInterpreter
 
Context - class com.plotnix.jex.Context.
Expressions are evaluated in a Context, which provides access to shared pieces of the environment: variables, locale, expression language compilers etc.
Context() - Constructor for class com.plotnix.jex.Context
Creates a new Context
Context(Context) - Constructor for class com.plotnix.jex.Context
Creates a new Context with the given parent Context.
convert(Object, Class) - Static method in class com.plotnix.jex.util.TypeUtils
 

D

declareVariable(String, Object) - Method in interface com.plotnix.jex.Variables
Defines a new variable with the specified value or modifies the value of an existing variable.
declareVariable(String, Object) - Method in class com.plotnix.jex.jxpath.JXPathVariables
 

E

evaluate(Context, Object[]) - Method in interface com.plotnix.jex.Expression
Produces the value described by the expression in the specified context with the supplied arguments.
evaluate(Context, Object[]) - Method in class com.plotnix.jex.adapters.InterpretedExpression
 
evaluate(Context, Object[]) - Method in class com.plotnix.jex.javascript.JavaScriptValueExpression
 
evaluate(Context, Object[]) - Method in class com.plotnix.jex.jxpath.JXPathCompiledExpression
 
evaluate(Context, Object[], Class) - Method in interface com.plotnix.jex.Expression
Evaluates the expression and casts the result to the supplied type.
evaluate(Context, Object[], Class) - Method in class com.plotnix.jex.adapters.InterpretedExpression
 
evaluate(Context, Object[], Class) - Method in class com.plotnix.jex.javascript.JavaScriptValueExpression
 
evaluate(Context, Object[], Class) - Method in class com.plotnix.jex.jxpath.JXPathCompiledExpression
 
evaluate(Context, String, Object[]) - Method in class com.plotnix.jex.Interpreter
Evaluates the expression in the supplied context.
evaluate(Context, String, Object[]) - Method in class com.plotnix.jex.MultilingualInterpreter
Evaluates the expression using the appropriate Interpreter.
evaluate(Context, String, Object[]) - Method in class com.plotnix.jex.adapters.CompilingInterpreter
 
evaluate(Context, String, Object[]) - Method in class com.plotnix.jex.bexl.Interpreter
Invokes PropertyUtils.getProperty(target, expression), where target is passed as the first and only argument.
evaluate(Context, String, Object[], Class) - Method in class com.plotnix.jex.Interpreter
Evaluates the expression and casts the result to the supplied type.
evaluate(Context, String, Object[], Class) - Method in class com.plotnix.jex.MultilingualInterpreter
Evaluates the expression and casts the result to the supplied type.
evaluate(Context, String, Object[], Class) - Method in class com.plotnix.jex.adapters.CompilingInterpreter
 
evaluate(Context, String, Object[], Class) - Method in class com.plotnix.jex.bexl.Interpreter
Invokes PropertyUtils.getProperty(target, expression), where target is passed as the first and only argument.
evaluate(String, Object[]) - Method in class com.plotnix.jex.Context
Invokes the context's interpreter to evaluate the supplied expression.
evaluate(String, Object[], Class) - Method in class com.plotnix.jex.Context
Evaluates the expression and casts the result to the supplied type.
Expression - interface com.plotnix.jex.Expression.
Compiled form of a value expression, which can be evaluated in a Context.

F

findProperty(String) - Method in class com.plotnix.jex.Context
Returns the value of the specified property.

G

getCompiler() - Method in class com.plotnix.jex.Context
Returns the compiler for the Context's expression language or a multilingual compiler if the Context is multilingual.
getCompiler(String) - Static method in class com.plotnix.jex.Compiler
Locates and returns a Compiler for the specified language.
getCompilerImplementation(String) - Static method in class com.plotnix.jex.Compiler
Locates and returns a Compiler for the specified language.
getContextScope(Context, Context) - Method in class com.plotnix.jex.javascript.JavaScriptExpression
Creates a JavaScript scope for this JexContext.
getExpressionLanguage() - Method in class com.plotnix.jex.Context
Returns the name of this context's (default) expression language.
getGlobalScope(Context, Context) - Method in class com.plotnix.jex.javascript.JavaScriptExpression
Creates a global JavaScript scope.
getInterpreter() - Method in class com.plotnix.jex.Context
Returns the interpreter for the Context's expression language or a multilingual interpreter if the Context is multilingual.
getInterpreter(String) - Static method in class com.plotnix.jex.Interpreter
Locates and returns an Interpreter for the specified language.
getInterpreterImplementation(String) - Static method in class com.plotnix.jex.Interpreter
Locates and returns an Interpreter for the specified language.
getLength(Object) - Static method in class com.plotnix.jex.util.ValueUtils
 
getLocale() - Method in class com.plotnix.jex.Context
Returns the locale set with setLocale or, if none was set parent context's locale or Locale.getDefault().
getLocalScope(Context, Context, Object[]) - Method in class com.plotnix.jex.javascript.JavaScriptExpression
Creates a new scope for the evaluation of an expression.
getLocalScope(Context, Context, Object[], Object) - Method in class com.plotnix.jex.javascript.JavaScriptExpression
Creates a new scope for the evaluation of an expression.
getMultilingualCompiler(String) - Static method in class com.plotnix.jex.MultilingualCompiler
Returns a MultilingualCompiler with the specified default language.
getMultilingualInterpreter(String) - Static method in class com.plotnix.jex.MultilingualInterpreter
Returns a MultilingualInterpreter with the specified default language.
getParentContext() - Method in class com.plotnix.jex.Context
Returns the Context's parent.
getProperty(String) - Method in class com.plotnix.jex.Context
Returns the value of the specified property.
getScript() - Method in class com.plotnix.jex.javascript.JavaScriptExpression
 
getValue(Object, int) - Static method in class com.plotnix.jex.util.ValueUtils
 
getVariable(String) - Method in interface com.plotnix.jex.Variables
Returns the value of the specified variable.
getVariable(String) - Method in class com.plotnix.jex.jxpath.JXPathVariables
 
getVariables() - Method in class com.plotnix.jex.Context
Returns the variable pool associated with the context.

I

InterpretedExpression - class com.plotnix.jex.adapters.InterpretedExpression.
A wrapper for an expression string associated with an interpreter.
InterpretedExpression(Interpreter, String) - Constructor for class com.plotnix.jex.adapters.InterpretedExpression
 
Interpreter - class com.plotnix.jex.Interpreter.
An interpreter directly evaluates an expression string.
Interpreter - class com.plotnix.jex.bexl.Interpreter.
An Interpreter for the expression language introduced by Jakarta Commons BeanUtils.
Interpreter() - Constructor for class com.plotnix.jex.Interpreter
 
Interpreter() - Constructor for class com.plotnix.jex.bexl.Interpreter
 
InterpretingCompiler - class com.plotnix.jex.adapters.InterpretingCompiler.
A wrapper for an interpreter that makes it behave like a compiler.
InterpretingCompiler(Interpreter) - Constructor for class com.plotnix.jex.adapters.InterpretingCompiler
 
isCollection(Object) - Static method in class com.plotnix.jex.util.ValueUtils
 
isCollection(PropertyDescriptor) - Static method in class com.plotnix.jex.util.ValueUtils
 
isCollection(PropertyDescriptor, Object) - Static method in class com.plotnix.jex.util.ValueUtils
 
isDeclaredVariable(String) - Method in interface com.plotnix.jex.Variables
Returns true if the specified variable is declared.
isDeclaredVariable(String) - Method in class com.plotnix.jex.jxpath.JXPathVariables
 
isMultilingual() - Method in class com.plotnix.jex.Context
Returns true if the Context is multilingual.
iterate(Context, Object[]) - Method in interface com.plotnix.jex.IterationExpression
Produces the iterator described by the expression in the specified context with the supplied arguments.
iterate(Context, Object[]) - Method in class com.plotnix.jex.adapters.InterpretedExpression
 
iterate(Context, Object[]) - Method in class com.plotnix.jex.javascript.JavaScriptIterationExpression
 
iterate(Context, Object[]) - Method in class com.plotnix.jex.jxpath.JXPathCompiledExpression
 
iterate(Context, String, Object[]) - Method in class com.plotnix.jex.Interpreter
Produces the iterator described by the expression in the specified context.
iterate(Context, String, Object[]) - Method in class com.plotnix.jex.MultilingualInterpreter
See evaluate
iterate(Context, String, Object[]) - Method in class com.plotnix.jex.adapters.CompilingInterpreter
 
iterate(Context, String, Object[]) - Method in class com.plotnix.jex.bexl.Interpreter
Evaluates the expression, treats the result as a collection and returns an iterator of that collection.
iterate(Object) - Static method in class com.plotnix.jex.util.ValueUtils
 
iterate(String, Object[]) - Method in class com.plotnix.jex.Context
Invokes the context's interpreter to evaluate the supplied iteration expression.
IterationExpression - interface com.plotnix.jex.IterationExpression.
Compiled form of an iteration expression, which can be evaluated in a Context.

J

JavaScriptExpression - class com.plotnix.jex.javascript.JavaScriptExpression.
 
JavaScriptExpression(Script) - Constructor for class com.plotnix.jex.javascript.JavaScriptExpression
 
JavaScriptIterationExpression - class com.plotnix.jex.javascript.JavaScriptIterationExpression.
 
JavaScriptIterationExpression(Script) - Constructor for class com.plotnix.jex.javascript.JavaScriptIterationExpression
 
JavaScriptValueExpression - class com.plotnix.jex.javascript.JavaScriptValueExpression.
 
JavaScriptValueExpression(Script) - Constructor for class com.plotnix.jex.javascript.JavaScriptValueExpression
 
JavaScriptVariableExpression - class com.plotnix.jex.javascript.JavaScriptVariableExpression.
 
JavaScriptVariableExpression(Script) - Constructor for class com.plotnix.jex.javascript.JavaScriptVariableExpression
 
JS_AUTODECLARE - Static variable in class com.plotnix.jex.javascript.JavaScriptExpression
By default, Jex does not allow assignment to undeclared variables.
JS_GLOBAL_SCOPE_PROPERTY - Static variable in class com.plotnix.jex.javascript.JavaScriptExpression
Jex stores the Global Scope for evaluation of JavaScript expressions in the root Jex Context as a property named JS_GLOBAL_SCOPE_PROPERTY
JS_PSEUDO_VARIABLE - Static variable in class com.plotnix.jex.javascript.JavaScriptExpression
Name of the pseudo-variable used by JavaScriptVariableExpression to hold the value to be assigned.
JS_SCOPE_PROPERTY - Static variable in class com.plotnix.jex.javascript.JavaScriptExpression
Jex stores the Local Scope for evaluation of JavaScript expressions in the current Jex Context as a property named JS_SCOPE_PROPERTY
JXPathCompiledExpression - class com.plotnix.jex.jxpath.JXPathCompiledExpression.
A trivial wrapper for JXPath CompiledExpression.
JXPathCompiledExpression(CompiledExpression) - Constructor for class com.plotnix.jex.jxpath.JXPathCompiledExpression
Wraps a jxpath CompiledExpression into a Jex Expression/IterationExpression/VariableExpression
JXPathVariables - class com.plotnix.jex.jxpath.JXPathVariables.
Wraps Jex variables into JXPath variables.
JXPathVariables(Context) - Constructor for class com.plotnix.jex.jxpath.JXPathVariables
 

M

MultilingualCompiler - class com.plotnix.jex.MultilingualCompiler.
A MultilingualCompiler determines the language for each expression and then compiles it using that language's compiler.
MultilingualInterpreter - class com.plotnix.jex.MultilingualInterpreter.
A MultilingualInterpreter determines the language for each expression and then interprets it using that language's interpreter.

S

setExpressionLanguage(String) - Method in class com.plotnix.jex.Context
Set the name of the expression language for this context.
setLocale(Locale) - Method in class com.plotnix.jex.Context
Set the locale for this context.
setMultilingual(boolean) - Method in class com.plotnix.jex.Context
If set to true, this context will support multiple expression languages.
setProperty(String, Object) - Method in class com.plotnix.jex.Context
Sets a configuration property that can be used by expression language implementations.
setValue(Object, int, Object) - Static method in class com.plotnix.jex.util.ValueUtils
 
setVariables(Variables) - Method in class com.plotnix.jex.Context
Install a custom implementation of a Variable pool.

T

TypeUtils - class com.plotnix.jex.util.TypeUtils.
 
TypeUtils() - Constructor for class com.plotnix.jex.util.TypeUtils
 

V

validateExpression(String) - Method in class com.plotnix.jex.Interpreter
Checks the syntax of an expression intended for evaluation with evaluate and throws an exception if there is an error.
validateExpression(String) - Method in class com.plotnix.jex.MultilingualInterpreter
Identifies the expression language and validates the expression syntax using the appropriate Interpreter See evaluate
validateExpression(String) - Method in class com.plotnix.jex.adapters.CompilingInterpreter
 
validateIterationExpression(String) - Method in class com.plotnix.jex.Interpreter
Checks the syntax of an expression intended for evaluation with iterate and throws an exception if there is an error.
validateIterationExpression(String) - Method in class com.plotnix.jex.MultilingualInterpreter
Identifies the expression language and validates the iteration expression syntax using the appropriate Interpreter See evaluate
validateIterationExpression(String) - Method in class com.plotnix.jex.adapters.CompilingInterpreter
 
validateVariableExpression(String) - Method in class com.plotnix.jex.Interpreter
Checks the syntax of an expression intended for evaluation with assign and throws an exception if there is an error.
validateVariableExpression(String) - Method in class com.plotnix.jex.MultilingualInterpreter
Identifies the expression language and validates the variable expression syntax using the appropriate Interpreter See evaluate
validateVariableExpression(String) - Method in class com.plotnix.jex.adapters.CompilingInterpreter
 
ValueUtils - class com.plotnix.jex.util.ValueUtils.
 
ValueUtils() - Constructor for class com.plotnix.jex.util.ValueUtils
 
VariableExpression - interface com.plotnix.jex.VariableExpression.
Compiled form of a left-hand side expression, which can be assigned a value.
Variables - interface com.plotnix.jex.Variables.
Variables provide access to a global set of values accessible via expressions.

A C D E F G I J M S T V

Copyright (c) 2002 - Plotnix, Inc