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.3 2004/08/23 13:53:34 dion Exp $

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

Field Detail

NO_VALUE

public static final Object NO_VALUE
Method Detail

evaluate

public Object evaluate(JexlContext context,
                       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.


Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.