@Service public class UserValidator extends Object implements org.springframework.validation.Validator
| Constructor and Description |
|---|
UserValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
supports(Class<?> clazz) |
void |
validate(Object target,
org.springframework.validation.Errors errors) |
public void validate(Object target, org.springframework.validation.Errors errors)
validate in interface org.springframework.validation.Validatorpublic boolean supports(Class<?> clazz)
supports in interface org.springframework.validation.ValidatorCopyright © 2020. All rights reserved.