@Handler(supports=Attribute.class, order=50) public class BaseAttributeValidator extends java.lang.Object implements org.springframework.validation.Validator
Constructor and Description |
---|
BaseAttributeValidator() |
Modifier and Type | Method and Description |
---|---|
boolean |
supports(java.lang.Class<?> clazz) |
void |
validate(java.lang.Object target,
org.springframework.validation.Errors errors) |
public boolean supports(java.lang.Class<?> clazz)
supports
in interface org.springframework.validation.Validator
Validator.supports(java.lang.Class)
public void validate(java.lang.Object target, org.springframework.validation.Errors errors)
validate
in interface org.springframework.validation.Validator
Validator.validate(java.lang.Object, org.springframework.validation.Errors)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.