public class DefaultFormValidator extends Object implements ComponentValidator
Form
implementing Component
include at least one child component
and that all children are extensions of FormComponent
.Constructor and Description |
---|
DefaultFormValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
supports(Class<?> clazz) |
void |
validate(Component<?> target,
org.springframework.validation.Errors errors,
ComponentValidatorManager manager) |
public boolean supports(Class<?> clazz)
supports
in interface ComponentValidator
public void validate(Component<?> target, org.springframework.validation.Errors errors, ComponentValidatorManager manager)
validate
in interface ComponentValidator
Copyright © 2021. All rights reserved.