org.apache.commons.jelly.expression.jexl
Class JexlExpressionFactory.ExpressionSupportLocal

java.lang.Object
  extended by org.apache.commons.jelly.expression.ExpressionSupport
      extended by org.apache.commons.jelly.expression.jexl.JexlExpressionFactory.ExpressionSupportLocal
All Implemented Interfaces:
Expression
Enclosing class:
JexlExpressionFactory

private class JexlExpressionFactory.ExpressionSupportLocal
extends ExpressionSupport


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

Field Detail

jexlExpression

protected Expression jexlExpression

text

protected java.lang.String text
Constructor Detail

JexlExpressionFactory.ExpressionSupportLocal

public JexlExpressionFactory.ExpressionSupportLocal(Expression jexlExpression,
                                                    java.lang.String text)
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


getExpressionText

public java.lang.String getExpressionText()
Returns:
the textual representation of this expression

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object