org.compass.core.converter.dynamic
Class GroovyDynamicConverter.GroovyExpressionEvaluator

java.lang.Object
  extended by org.compass.core.converter.dynamic.GroovyDynamicConverter.GroovyExpressionEvaluator
All Implemented Interfaces:
ExpressionEvaluator
Enclosing class:
GroovyDynamicConverter

public class GroovyDynamicConverter.GroovyExpressionEvaluator
extends Object
implements ExpressionEvaluator


Constructor Summary
GroovyDynamicConverter.GroovyExpressionEvaluator()
           
 
Method Summary
 Object evaluate(Object o, ResourcePropertyMapping resourcePropertyMapping)
          Evaluates an expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyDynamicConverter.GroovyExpressionEvaluator

public GroovyDynamicConverter.GroovyExpressionEvaluator()
Method Detail

evaluate

public Object evaluate(Object o,
                       ResourcePropertyMapping resourcePropertyMapping)
                throws ConversionException
Description copied from interface: ExpressionEvaluator
Evaluates an expression.

Specified by:
evaluate in interface ExpressionEvaluator
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.