private static final class WebMvcConfigurationSupport.NoOpValidator extends java.lang.Object implements Validator
Modifier | Constructor and Description |
---|---|
private |
WebMvcConfigurationSupport.NoOpValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
supports(java.lang.Class<?> clazz)
|
void |
validate(java.lang.Object target,
Errors errors)
Validate the supplied
target object, which must be
of a Class for which the Validator.supports(Class) method
typically has (or would) return true . |
private WebMvcConfigurationSupport.NoOpValidator()
public boolean supports(java.lang.Class<?> clazz)
Validator
public void validate(java.lang.Object target, Errors errors)
Validator
target
object, which must be
of a Class
for which the Validator.supports(Class)
method
typically has (or would) return true
.
The supplied errors
instance can be used to report
any resulting validation errors.
validate
in interface Validator
target
- the object that is to be validated (can be null
)errors
- contextual state about the validation process (never null
)ValidationUtils