public interface Validator
Title: Validator.java
Description:
bboss workgroup
Copyright (c) 2008
boolean supports(java.lang.Class clazz)
void validate(java.lang.Object target,
Errors errors)
target object, which must be
of a Class for which the supports(Class) method
typically has (or would) return true.
The supplied errors instance can be used to report
any resulting validation errors.
target - the object that is to be validated (can be null)errors - contextual state about the validation process (never null)ValidationUtils