org.apache.commons.jelly.expression.jexl
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: 1807798 $
 
- Author:
 
  - James Strachan
 
| 
Field Summary | 
private  org.apache.commons.jexl.Expression | 
expression
 
          The Jexl expression object | 
private static org.apache.commons.logging.Log | 
log
 
          The Log to which logging calls will be made. | 
 
 
| 
Constructor Summary | 
JexlExpression(org.apache.commons.jexl.Expression expression)
 
            | 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
log
private static final org.apache.commons.logging.Log log
- The Log to which logging calls will be made.
 
expression
private org.apache.commons.jexl.Expression expression
- The Jexl expression object
 
JexlExpression
public JexlExpression(org.apache.commons.jexl.Expression expression)
toString
public java.lang.String toString()
- Overrides:
 toString in class java.lang.Object
 
 
getExpressionText
public java.lang.String getExpressionText()
- Returns:
 - the textual representation of this expression
 
 
evaluate
public java.lang.Object evaluate(JellyContext context)
- Description copied from interface: 
Expression 
- Evaluates the expression with the given context
 and returns the result