com.jgoodies.validation
Interface Validator<T>
- Type Parameters:
T
- the type of the objects to be validated
public interface Validator<T>
Describes objects that can validate other objects.
In contrast a Validatable
can validate itself.
- Since:
- 2.0
- Version:
- $Revision: 1.14 $
- Author:
- Karsten Lentzsch
- See Also:
ValidationResult
validate
ValidationResult validate(T validationTarget)
- Validates the given validation target and returns the validation result
as an instance of
ValidationResult
.
- Parameters:
validationTarget
- the object to be validated
- Returns:
- the validation result
Copyright © 2003-2011 JGoodies Karsten Lentzsch. All Rights Reserved.