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.

Since:
1.0
Version:
$Id: JexlExprResolver.java 397092 2006-04-26 05:11:28Z dion $

Field Summary
static Object NO_VALUE
          represents an expression result of 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
represents an expression result of 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) or the NO_VALUE object to indicate no resolution.


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