public class InConstraintValidator extends CheckEmptyConstraintValidator<In,String>
列表匹配验证器
annotation| 构造器和说明 |
|---|
InConstraintValidator() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
check(String value)
验证的值不为空时,验证结果
|
protected boolean |
requestEmptyResult()
验证的值为空时,返回结果
|
isValiddoInitialize, getContext, getEmptyResult, getValidBasePath, initialize, isEmpty, isValid, removeEmptyResult, setEmptyprotected boolean check(String value)
check 在类中 CheckEmptyConstraintValidator<In,String>value - protected boolean requestEmptyResult()
requestEmptyResult 在类中 CheckEmptyConstraintValidator<In,String>Copyright © 2023. All rights reserved.