public class EnglishHandler extends AbstractValidateHandler
Constructor and Description |
---|
EnglishHandler() |
Modifier and Type | Method and Description |
---|---|
protected ErrorMessage |
handle(Annotation annotation,
Object value)
所有继承这个类的类才会是对应注解验证类型的验证类,验证的时候都调用这个方法
|
getMessage, validate
public EnglishHandler() throws IOException
IOException
protected ErrorMessage handle(Annotation annotation, Object value)
AbstractValidateHandler
handle
in class AbstractValidateHandler
annotation
- 待验证字段的注解value
- 待验证字段的值Copyright © 2018 lodsve. All rights reserved.