com.bstek.dorado.data.type.validator
public class DefaultValidatorTypeRegistry extends java.lang.Object implements ValidatorTypeRegistry
Constructor and Description |
---|
DefaultValidatorTypeRegistry() |
Modifier and Type | Method and Description |
---|---|
ValidatorTypeRegisterInfo |
getTypeRegisterInfo(java.lang.String type)
根据组件类型名称返回相应的Validator类型注册信息。
|
java.util.Collection<ValidatorTypeRegisterInfo> |
getTypes()
返回所有Validator类型的注册信息。
|
void |
registerType(ValidatorTypeRegisterInfo registryInfo)
注册一种Validator类型。
|
public void registerType(ValidatorTypeRegisterInfo registryInfo)
ValidatorTypeRegistry
registerType
in interface ValidatorTypeRegistry
registryInfo
- DataProvider的类型注册信息。public ValidatorTypeRegisterInfo getTypeRegisterInfo(java.lang.String type)
ValidatorTypeRegistry
getTypeRegisterInfo
in interface ValidatorTypeRegistry
type
- 类型名称。public java.util.Collection<ValidatorTypeRegisterInfo> getTypes()
ValidatorTypeRegistry
getTypes
in interface ValidatorTypeRegistry
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.