org.springframework.binding.validation
Interface RichValidator
- All Superinterfaces:
- Validator
- All Known Implementing Classes:
- CompositeRichValidator, HibernateRulesValidator, RulesValidator, ValangRichValidator
public interface RichValidator
- extends Validator
Interface to be implemented by classes capable of incrementally validating
domain objects. This interface is intended for validators that are able to
validate a subset of the domain objects properties.
- Author:
- Oliver Hutchison
Methods inherited from interface org.springframework.binding.validation.Validator |
validate |
validate
ValidationResults validate(Object object,
String property)
- Validates the given property of the provided object.
- Parameters:
object
- the object to validate (may be an implementation ofproperty
- the name of the only property that has changed since the
last call to validate.
- Returns:
- the results on the validation
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.