org.apache.commons.jexl
Interface JexlExprResolver

All Known Implementing Classes:
FlatResolver

public interface JexlExprResolver

A Resolver allows custom resolution of the expression, and can be added in front of the jexl engine, or after in the evaluation

Version:
$Id: JexlExprResolver.java,v 1.1 2002/06/13 16:09:32 geirm Exp $
Author:
Geir Magnusson Jr.

Field Summary
static java.lang.Object NO_VALUE
           
 
Method Summary
 java.lang.Object evaluate(JexlContext context, java.lang.String expression)
          evaluates an expression against the context
 

Field Detail

NO_VALUE

public static final java.lang.Object NO_VALUE
Method Detail

evaluate

public java.lang.Object evaluate(JexlContext context,
                                 java.lang.String expression)
evaluates an expression against the context

Parameters:
context - current data context
expression - expression to evauluate
Returns:
value (may be null) po the NO_VALUE object to indicate no resolution.