org.apache.commons.jexl

Interface JexlExprResolver

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 $

UNKNOWN: This needs to be explained in detail. Why do this?

Field Summary
ObjectNO_VALUE
represents an expression result of no value.
Method Summary
Objectevaluate(JexlContext context, String expression)
Evaluates an expression against the context.

Field Detail

NO_VALUE

public 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.

UNKNOWN: Must detail the expectations and effects of this resolver.

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