| 类 | 说明 |
|---|---|
| BirthdayValidator |
生日格式校验器
|
| CarDrivingLicenceValidator |
驾驶证格式校验器
|
| CarVinValidator |
车架号校验器
|
| CellphoneValidator | |
| ChineseValidator | |
| CreditCodeValidator |
统一社会信用代码校验器
|
| EnglishValidator | |
| IdCardValidator | |
| IPV4Validator | |
| IPV6Validator | |
| MacAddressValidator | |
| PlateNumberValidator | |
| UUIDValidator | |
| ZipCodeValidator |
邮政编码(中国)校验器
|
| 注释类型 | 说明 |
|---|---|
| Birthday |
验证是否为生日
只支持以下几种格式: yyyyMMdd yyyy-MM-dd yyyy/MM/dd yyyyMMdd yyyy年MM月dd日 |
| Birthday.List |
Defines several
@Birthday annotations on the same element. |
| CarDrivingLicence |
验证是否为驾驶证(别名:驾驶证档案编号、行驶证编号)
仅限:中国驾驶证档案编号 只支持以下一种格式: 12位数字字符串,eg:430101758218 |
| CarDrivingLicence.List |
Defines several
@Date annotations on the same element. |
| CarVin |
验证是否为车架号(别名:行驶证编号、车辆识别代号、车辆识别码)
有效值必须是17位车架号;形如:LSJA24U62JG269225、LDC613P23A1305189
|
| CarVin.List |
Defines several
@CarVin annotations on the same element. |
| Cellphone |
验证是否为手机号码(中国)
|
| Cellphone.List |
Defines several
@Cellphone annotations on the same element. |
| Chinese |
验证是否为汉字
|
| Chinese.List |
Defines several
@Chinese annotations on the same element. |
| CreditCode |
是否是有效的统一社会信用代码
第一部分:登记管理部门代码1位 (数字或大写英文字母)
第二部分:机构类别代码1位 (数字或大写英文字母)
第三部分:登记管理机关行政区划码6位 (数字)
第四部分:主体标识码(组织机构代码)9位 (数字或大写英文字母)
第五部分:校验码1位 (数字或大写英文字母)
|
| CreditCode.List |
Defines several
@CreditCode annotations on the same element. |
| English |
验证该字符串是否是字母(包括大写和小写字母)
|
| English.List |
Defines several
@English annotations on the same element. |
| IdCard |
验证是否为身份证号码(18位中国)
出生日期只支持到到2999年 |
| IdCard.List |
Defines several
@IdCard annotations on the same element. |
| IPV4 |
验证是否为IPV4地址
|
| IPV4.List |
Defines several
@IPV4 annotations on the same element. |
| IPV6 |
验证是否为IPV6地址
|
| IPV6.List |
Defines several
@IPV6 annotations on the same element. |
| MacAddress |
验证是否为MAC地址
|
| MacAddress.List |
Defines several
@MacAddress annotations on the same element. |
| PlateNumber |
验证是否为中国车牌号
|
| PlateNumber.List |
Defines several
@PlateNumber annotations on the same element. |
| UUID |
验证是否为UUID
包括带横线标准格式和不带横线的简单模式 |
| UUID.List |
Defines several
@UUID annotations on the same element. |
| ZipCode |
验证是否为邮政编码(中国)
|
| ZipCode.List |
Defines several
@ZipCode annotations on the same element. |
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.