public interface ValidatorManager
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_TITLE_KEY |
static String |
VALIDATOR_MANAGER_BEAN_NAME |
static String |
XSTEAM_PACKAGE_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
setValidatorMapStorage(ValidatorMapStorage storage)
设置存储校验映射存储对象
|
void |
validate(Object object,
ValidateResult result)
校验接口
|
void |
validate(String scene,
Object object,
ValidateResult result)
校验接口
|
static final String VALIDATOR_MANAGER_BEAN_NAME
static final String XSTEAM_PACKAGE_NAME
static final String FIELD_TITLE_KEY
void setValidatorMapStorage(ValidatorMapStorage storage)
storage - void validate(String scene, Object object, ValidateResult result)
object - 校验场景object - 需要校验的对象result - 校验的结果void validate(Object object, ValidateResult result)
object - 需要校验的对象result - 校验的结果Copyright © 2006–2018 TinyGroup. All rights reserved.