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