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: 1.9 $
Author:
James Strachan

Fields inherited from class org.apache.commons.jelly.expression.ExpressionSupport
EMPTY_ITERATOR
 
Constructor Summary
JexlExpression(org.apache.commons.jexl.Expression expression)
           
 
Method Summary
 java.lang.Object evaluate(JellyContext context)
          Evaluates the expression with the given context and returns the result
 
Methods inherited from class org.apache.commons.jelly.expression.ExpressionSupport
evaluateAsBoolean, evaluateAsIterator, evaluateAsString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JexlExpression

public JexlExpression(org.apache.commons.jexl.Expression expression)
Method Detail

evaluate

public java.lang.Object evaluate(JellyContext context)
Description copied from interface: Expression
Evaluates the expression with the given context and returns the result


Copyright © 2002-2002 Apache Software Foundation. All Rights Reserved.