public class BeanFieldsPatternValidator extends Object implements org.springframework.validation.Validator
Modifier and Type | Class and Description |
---|---|
class |
BeanFieldsPatternValidator.PropertyPatternRule |
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
clazz |
protected List<BeanFieldsPatternValidator.PropertyPatternRule> |
rules |
Constructor and Description |
---|
BeanFieldsPatternValidator(Class<?> clazz,
String... fieldsPatterns) |
protected Class<?> clazz
protected List<BeanFieldsPatternValidator.PropertyPatternRule> rules
public boolean supports(Class<?> cls)
supports
in interface org.springframework.validation.Validator
public void validate(Object target, org.springframework.validation.Errors errors)
validate
in interface org.springframework.validation.Validator
Copyright © 2003-2014 Internet Archive. All Rights Reserved.