public class ValidatorMapStorageImpl extends Object implements ValidatorMapStorage
VALIDATOR_MAP_BEAN_NAME
Constructor and Description |
---|
ValidatorMapStorageImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addValidators(Validators validators)
添加验证器
|
Validator |
getValidator(String mapName)
根据映射名称找到该名称对应的校验器
|
void |
removeValidators(Validators validators)
移除验证器
|
public void addValidators(Validators validators)
ValidatorMapStorage
addValidators
in interface ValidatorMapStorage
public void removeValidators(Validators validators)
ValidatorMapStorage
removeValidators
in interface ValidatorMapStorage
public Validator getValidator(String mapName)
ValidatorMapStorage
getValidator
in interface ValidatorMapStorage
mapName
- 映射名称Copyright © 2006–2018 TinyGroup. All rights reserved.