org.springframework.extensions.config.evaluator
Interface Evaluator

All Known Implementing Classes:
ObjectTypeEvaluator, StringEvaluator

public interface Evaluator

Definition of an evaluator, an object that decides whether the config section applies to the current object being looked up.

Author:
gavinc

Method Summary
 boolean applies(Object obj, String condition)
          Determines whether the given condition evaluates to true for the given object
 

Method Detail

applies

boolean applies(Object obj,
                String condition)
Determines whether the given condition evaluates to true for the given object

Parameters:
obj - The object to use as the basis for the test
condition - The condition to test
Returns:
true if this evaluator applies to the given object, false otherwise


Copyright © 2009 SpringSource, Inc. All Rights Reserved.