protected boolean evaluate ( String value ) { if ( ValidationMatcherUtils . isValidationMatcherExpression ( matchingValue ) ) { try { ValidationMatcherUtils . resolveValidationMatcher ( selectKey , value , matchingValue , context ) ; return true ; } catch ( ValidationException e ) { return false ; } } else { return value . equals ( matchingValue ) ; } }
Evaluates given value to match this selectors matching condition . Automatically supports validation matcher expressions .