geirm 2002/06/13 09:09:33 Added: jexl/src/java/org/apache/commons/jexl JexlExprResolver.java Log: interface for custom expression resolvers Revision Changes Path 1.1 jakarta-commons-sandbox/jexl/src/java/org/apache/commons/jexl/JexlExprResolver.java Index: JexlExprResolver.java =================================================================== package org.apache.commons.jexl; /** * A Resolver allows custom resolution of the expression, and can be * added in front of the jexl engine, or after in the evaluation * * @author <a href="mailto:[EMAIL PROTECTED]">Geir Magnusson Jr.</a> * @version $Id: JexlExprResolver.java,v 1.1 2002/06/13 16:09:32 geirm Exp $ */ public interface JexlExprResolver { public static final Object NO_VALUE = new Object(); /** * evaluates an expression against the context * * @param context current data context * @param expression expression to evauluate * @return value (may be null) po the NO_VALUE object to * indicate no resolution. */ Object evaluate(JexlContext context, String expression); }
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
