org.compass.core.converter.dynamic
Interface ExpressionEvaluator

All Known Implementing Classes:
GroovyDynamicConverter.GroovyExpressionEvaluator, ThreadSafeExpressionEvaluator

public interface ExpressionEvaluator

A general abstraction on top of an expression evaluator, mainly used with ThreadSafeExpressionEvaluator

Author:
kimchy

Method Summary
 Object evaluate(Object o, ResourcePropertyMapping resourcePropertyMapping)
          Evaluates an expression.
 

Method Detail

evaluate

Object evaluate(Object o,
                ResourcePropertyMapping resourcePropertyMapping)
                throws ConversionException
Evaluates an expression.

Parameters:
o - The data object to be used in the expression
resourcePropertyMapping - The resource mapping
Returns:
The evaluated object
Throws:
ConversionException


Copyright (c) 2004-2008 The Compass Project.