/** * Default implementation delegates handling of context conversion to Converters utility class. * * <p>Subclasses are expected to make use of the {@linkplain Converters} utility class (as the * easiest way to provide value morphing in conformance with the Filter specification). */ public <T> T evaluate(Object object, Class<T> context) { return Converters.convert(evaluate(object), context); } }
/** * Default implementation delegates handling of context * conversion to Value utility class. * <p> * Subclasses are expected to make use of the Value utility class * (as the easiest way to provide value morphing in confirmance with * the Filter specification). */ public Object evaluate(Object object, Class context) { return Converters.convert(evaluate( object ), context); }
/** * Default implementation delegates handling of context * conversion to Value utility class. * <p> * Subclasses are expected to make use of the Value utility class * (as the easiest way to provide value morphing in confirmance with * the Filter specification). * */ public Object evaluate(Object object, Class context) { Value value = new Value( evaluate( object ) ); return value.value( context ); }