Package | Description |
---|---|
org.apache.commons.jexl |
Provides a framework for evaluating JEXL expressions.
|
org.apache.commons.jexl.context |
Simple JexlContext implementations.
|
org.apache.commons.jexl.parser |
Contains the Parser for JEXL script.
|
org.apache.commons.jexl.resolver |
Modifier and Type | Method and Description |
---|---|
static JexlContext |
JexlHelper.createContext()
Returns a new
JexlContext . |
protected JexlContext |
JexlHelper.newContext()
Creates and returns a new
JexlContext . |
Modifier and Type | Method and Description |
---|---|
Object |
Expression.evaluate(JexlContext context)
Evaluates the expression with the variables contained in the
supplied
JexlContext . |
Object |
JexlExprResolver.evaluate(JexlContext context,
String expression)
Evaluates an expression against the context.
|
Object |
Script.execute(JexlContext context)
Executes the script with the variables contained in the
supplied
JexlContext . |
Modifier and Type | Class and Description |
---|---|
class |
HashMapContext
Implementation of JexlContext based on a HashMap.
|
Modifier and Type | Method and Description |
---|---|
Object |
ASTSizeMethod.execute(Object obj,
JexlContext jc)
evaluate size as part of an expression on a base object.
|
Object |
ASTIdentifier.execute(Object obj,
JexlContext jc)
returns the value of itself applied to the object.
|
Object |
ASTArrayAccess.execute(Object obj,
JexlContext jc)
evaluate array access upon a base object.
|
Object |
ASTMethod.execute(Object obj,
JexlContext jc)
evaluate a method invocation upon a base object.
|
Object |
SimpleNode.execute(Object o,
JexlContext ctx)
Used to let a node calcuate it's value..
|
Object |
ASTIntegerLiteral.execute(Object obj,
JexlContext ctx)
Part of reference resolution - wierd...
|
Object |
ASTReference.execute(Object obj,
JexlContext jc)
evaluate each piece of the reference.
|
boolean |
SimpleNode.interpret(JexlContext pc)
basic interpret - just invoke interpret on all children.
|
Object |
SimpleNode.setValue(JexlContext context,
Object value)
Sets the value for the node - again, only makes sense for some nodes but
lazyness tempts me to put it here.
|
Object |
ASTEQNode.value(JexlContext pc)
Gets the value of this node.
|
Object |
ASTBitwiseAndNode.value(JexlContext context)
Gets the value of this node.
|
Object |
ASTUnaryMinusNode.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTAddNode.value(JexlContext context)
Gets the value of this node.
|
Object |
ASTExpression.value(JexlContext context)
Gets the value of this node.
|
Object |
ASTStringLiteral.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTTernaryNode.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTMulNode.value(JexlContext context)
Gets the value of this node.
|
Object |
ASTOrNode.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTTrueNode.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTMapLiteral.value(JexlContext context) |
Object |
ASTSubtractNode.value(JexlContext context)
Gets the value of this node.
|
Object |
ASTMapEntry.value(JexlContext context) |
Object |
ASTModNode.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTJexlScript.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTGENode.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTAndNode.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTWhileStatement.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTSizeFunction.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTElvisNode.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTBlock.value(JexlContext context) |
Object |
ASTLENode.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTIdentifier.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTFalseNode.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTNENode.value(JexlContext pc)
Gets the value of this node.
|
Object |
ASTBitwiseXorNode.value(JexlContext context)
Gets the value of this node.
|
Object |
ASTLTNode.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTDivNode.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTExpressionExpression.value(JexlContext context)
Gets the value of this node.
|
Object |
ASTReferenceExpression.value(JexlContext context)
Gets the value of this node.
|
Object |
ASTGTNode.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTIfStatement.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTAssignment.value(JexlContext context)
Gets the value of this node.
|
Object |
ASTFloatLiteral.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTNotNode.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTForeachStatement.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTArrayAccess.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTArrayLiteral.value(JexlContext context) |
Object |
SimpleNode.value(JexlContext context)
Gets the value of this node.
|
Object |
ASTIntegerLiteral.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTBitwiseComplNode.value(JexlContext context)
Gets the value of this node.
|
Object |
ASTReference.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTEmptyFunction.value(JexlContext jc)
Gets the value of this node.
|
Object |
ASTNullLiteral.value(JexlContext context)
Gets the value of this node.
|
Object |
ASTStatementExpression.value(JexlContext context)
Gets the value of this node.
|
Object |
ASTBitwiseOrNode.value(JexlContext context)
Gets the value of this node.
|
Modifier and Type | Method and Description |
---|---|
Object |
FlatResolver.evaluate(JexlContext context,
String expression)
Try to resolve expression as-is.
|
Copyright © 2014 The Apache Software Foundation. All rights reserved.