Class JexlExpression
- java.lang.Object
-
- org.apache.commons.jelly.expression.ExpressionSupport
-
- org.apache.commons.jelly.expression.jexl.JexlExpression
-
- All Implemented Interfaces:
Expression
public class JexlExpression extends ExpressionSupport
Represents a Jexl expression which fully supports the Expression Language in JSTL and JSP along with some extra features like object method invocation.- Version:
- $Revision: 155420 $
- Author:
- James Strachan
-
-
Field Summary
-
Fields inherited from class org.apache.commons.jelly.expression.ExpressionSupport
EMPTY_ITERATOR
-
Fields inherited from interface org.apache.commons.jelly.expression.Expression
NULL
-
-
Constructor Summary
Constructors Constructor Description JexlExpression(org.apache.commons.jexl.Expression expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
evaluate(JellyContext context)
Evaluates the expression with the given context and returns the resultString
getExpressionText()
String
toString()
-
Methods inherited from class org.apache.commons.jelly.expression.ExpressionSupport
evaluateAsBoolean, evaluateAsIterator, evaluateAsString, evaluateRecurse
-
-
-
-
Method Detail
-
getExpressionText
public String getExpressionText()
- Returns:
- the textual representation of this expression
-
evaluate
public Object evaluate(JellyContext context)
Description copied from interface:Expression
Evaluates the expression with the given context and returns the result
-
-