public interface CascadingValidator
Modifier and Type | Method and Description |
---|---|
void |
validate(java.lang.Object obj,
Errors errors,
boolean cascade)
An extended version of the validate(errors,obj) method that takes an additional argument specifying whether
the Validator should cascade into associations or not.
|
void validate(java.lang.Object obj, Errors errors, boolean cascade)
obj
- The Object to validateerrors
- The Spring Errors instancecascade
- True if validation should cascade into associationsorg.springframework.validation.Errors
,
org.springframework.validation.Validator
,
org.springframework.validation.Validator#validate(Object, org.springframework.validation.Errors)