public class AcceptTermsValidator extends Object implements org.springframework.validation.Validator
AcceptTermsController
Constructor and Description |
---|
AcceptTermsValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
supports(Class<?> clazz) |
void |
validate(Object object,
org.springframework.validation.Errors errors) |
public boolean supports(Class<?> clazz)
supports
in interface org.springframework.validation.Validator
Validator.supports(Class)
public void validate(Object object, org.springframework.validation.Errors errors)
validate
in interface org.springframework.validation.Validator
Validator.validate(Object,
org.springframework.validation.Errors)
Copyright © 2019 Communote team. All rights reserved.