| Package | Description |
|---|---|
| org.aoju.bus.validate.annotation |
| Modifier and Type | Class and Description |
|---|---|
interface |
Blank
字符串为空或为null
|
interface |
Chinese
判断是否为中文
|
interface |
CitizenId
判断是否为身份证号码
|
interface |
Date
判断是否为日期
|
interface |
Each
对数组、集合、Map元素进行校验, 注意,Map对象,只校验内部的值列表
|
interface |
Email
判断是否为邮箱
|
interface |
English
判断是否为英文
|
interface |
Equals
字符串equals
|
interface |
False
boolean校验, 当校验值为false时通过校验
|
interface |
In
字符串在数组中
|
interface |
InEnum
校验对象在枚举中,默认将对象与枚举名称匹配
|
interface |
IntRange
判断数字在int范围内
|
interface |
IPAddress
判断是否为IP地址
|
interface |
Length
字符串、数组、集合的长度校验
|
interface |
Mobile
判断是否为手机号码
|
interface |
Multi
多重校验器, 可以配置多个校验器
|
interface |
NotBlank
字符串不为空,不为null校验
|
interface |
NotIn
校验字符串不存在数组中
|
interface |
NotNull
对象不能为null
|
interface |
Null
校验对象只能为null
|
interface |
Phone
判断是否为固定电话
|
interface |
Reflect
通过反射调用被校验参数,并判断反射方法的结果
|
interface |
Regex
正则表达式校验
|
interface |
True
boolean校验, 当校验值为true时通过校验
|
Copyright © 2019. All rights reserved.