Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- access() - Method in class org.aoju.bus.validate.Validated
-
执行校验 如果校验环境设置了快速失败的属性为true,那么一旦出现校验失败,则会抛出异常
- addGroups(String...) - Method in class org.aoju.bus.validate.Context
-
添加校验组
- addParam(String, Object) - Method in class org.aoju.bus.validate.validators.Property
-
添加错误信息的字符串插值参数
- addParentProperty(Property) - Method in class org.aoju.bus.validate.validators.Property
-
添加父级校验注解属性
- AlwaysStrategy - Class in org.aoju.bus.validate.strategy
-
这个校验器的结果永远为true
- AlwaysStrategy() - Constructor for class org.aoju.bus.validate.strategy.AlwaysStrategy
- Array - Annotation Interface in org.aoju.bus.validate.annotation
-
检查是否为数组或集合
B
- Blank - Annotation Interface in org.aoju.bus.validate.annotation
-
字符串为空或为null
- BlankStrategy - Class in org.aoju.bus.validate.strategy
-
BLANK 校验
- BlankStrategy() - Constructor for class org.aoju.bus.validate.strategy.BlankStrategy
- build(Annotation, Object) - Method in class org.aoju.bus.validate.Validated
-
创建校验器属性对象
- Builder - Class in org.aoju.bus.validate
-
当前框架内预定义的校验器名称
- Builder() - Constructor for class org.aoju.bus.validate.Builder
C
- Checker - Class in org.aoju.bus.validate.validators
-
校验检查器
- Checker() - Constructor for class org.aoju.bus.validate.validators.Checker
- Chinese - Annotation Interface in org.aoju.bus.validate.annotation
-
判断是否为中文
- ChineseStrategy - Class in org.aoju.bus.validate.strategy
-
中文校验
- ChineseStrategy() - Constructor for class org.aoju.bus.validate.strategy.ChineseStrategy
- CitizenId - Annotation Interface in org.aoju.bus.validate.annotation
-
判断是否为身份证号码
- CitizenIdStrategy - Class in org.aoju.bus.validate.strategy
-
身份证号码校验
- CitizenIdStrategy() - Constructor for class org.aoju.bus.validate.strategy.CitizenIdStrategy
- classes() - Element in annotation interface org.aoju.bus.validate.annotation.Each
-
校验器类数组, 当校验器名称数组为空时,使用校验器类数组中的校验器
- classes() - Element in annotation interface org.aoju.bus.validate.annotation.Multi
-
校验器类数组, 当校验器名称数组为空时,使用校验器类数组中的校验器
- clazz() - Element in annotation interface org.aoju.bus.validate.annotation.Complex
-
校验器类, 优先使用类型匹配
- collect(Collector) - Method in class org.aoju.bus.validate.Collector
-
收集校验结果
- Collector - Class in org.aoju.bus.validate
-
校验结果收集器
- Collector(Collector) - Constructor for class org.aoju.bus.validate.Collector
- Collector(Validated) - Constructor for class org.aoju.bus.validate.Collector
- Collector(Validated, Property, boolean) - Constructor for class org.aoju.bus.validate.Collector
- Compare - Annotation Interface in org.aoju.bus.validate.annotation
-
参数值比较验证注解
- Compare.Cond - Enum Class in org.aoju.bus.validate.annotation
-
比较条件
- CompareStrategy - Class in org.aoju.bus.validate.strategy
-
数据长度校验
- CompareStrategy() - Constructor for class org.aoju.bus.validate.strategy.CompareStrategy
- Complex - Annotation Interface in org.aoju.bus.validate.annotation
-
自定义校验注解元注解,在任意的注解定义上,增加该注解标明这是一个校验注解
- cond() - Element in annotation interface org.aoju.bus.validate.annotation.Compare
- contains(String) - Method in class org.aoju.bus.validate.Registry
-
是否包含指定名称的校验器
- Context - Class in org.aoju.bus.validate
-
当前校验的上下文信息
- Context() - Constructor for class org.aoju.bus.validate.Context
D
- Date - Annotation Interface in org.aoju.bus.validate.annotation
-
判断是否为日期
- DateStrategy - Class in org.aoju.bus.validate.strategy
-
日期校验
- DateStrategy() - Constructor for class org.aoju.bus.validate.strategy.DateStrategy
- DEFAULT_ERRCODE - Static variable in class org.aoju.bus.validate.Builder
- DEFAULT_FIELD - Static variable in class org.aoju.bus.validate.Builder
E
- Each - Annotation Interface in org.aoju.bus.validate.annotation
-
对数组、集合、Map元素进行校验, 注意,Map对象,只校验内部的值列表
- EachStrategy - Class in org.aoju.bus.validate.strategy
-
容器元素内部校验
- EachStrategy() - Constructor for class org.aoju.bus.validate.strategy.EachStrategy
- Email - Annotation Interface in org.aoju.bus.validate.annotation
-
判断是否为邮箱
- EmailStrategy - Class in org.aoju.bus.validate.strategy
-
邮箱校验
- EmailStrategy() - Constructor for class org.aoju.bus.validate.strategy.EmailStrategy
- English - Annotation Interface in org.aoju.bus.validate.annotation
-
判断是否为英文
- EnglishStrategy - Class in org.aoju.bus.validate.strategy
-
英文校验
- EnglishStrategy() - Constructor for class org.aoju.bus.validate.strategy.EnglishStrategy
- enumClass() - Element in annotation interface org.aoju.bus.validate.annotation.InEnum
-
枚举类型
- EQ - Enum constant in enum class org.aoju.bus.validate.annotation.Compare.Cond
-
相等
- Equals - Annotation Interface in org.aoju.bus.validate.annotation
-
字符串equals
- EqualsStrategy - Class in org.aoju.bus.validate.strategy
-
EQUALS 校验
- EqualsStrategy() - Constructor for class org.aoju.bus.validate.strategy.EqualsStrategy
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.Blank
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.Chinese
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.CitizenId
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.Compare
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.Date
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.Each
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.Email
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.English
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.Equals
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.False
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.In
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.InEnum
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.IntRange
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.IPAddress
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.Length
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.Mobile
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.Multi
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.NotBlank
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.NotIn
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.NotNull
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.Null
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.Phone
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.Reflect
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.Regex
-
默认使用的异常码
- errcode() - Element in annotation interface org.aoju.bus.validate.annotation.True
-
默认使用的异常码
- ERRCODE - Static variable in class org.aoju.bus.validate.Builder
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.Blank
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.Chinese
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.CitizenId
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.Compare
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.Date
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.Each
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.Email
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.English
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.Equals
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.False
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.In
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.InEnum
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.IntRange
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.IPAddress
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.Length
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.Mobile
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.Multi
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.NotBlank
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.NotIn
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.NotNull
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.Null
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.Phone
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.Reflect
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.Regex
-
默认使用的异常信息
- errmsg() - Element in annotation interface org.aoju.bus.validate.annotation.True
-
默认使用的异常信息
- ERRMSG - Static variable in class org.aoju.bus.validate.Builder
F
- False - Annotation Interface in org.aoju.bus.validate.annotation
-
boolean校验, 当校验值为false时通过校验
- FalseStrategy - Class in org.aoju.bus.validate.strategy
-
FALSE 校验
- FalseStrategy() - Constructor for class org.aoju.bus.validate.strategy.FalseStrategy
- field() - Element in annotation interface org.aoju.bus.validate.annotation.Blank
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.Chinese
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.CitizenId
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.Compare
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.Date
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.Each
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.Email
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.English
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.Equals
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.False
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.In
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.InEnum
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.IntRange
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.IPAddress
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.Length
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.Mobile
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.Multi
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.NotBlank
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.NotIn
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.NotNull
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.Null
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.Phone
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.Reflect
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.Regex
-
被校验字段名称
- field() - Element in annotation interface org.aoju.bus.validate.annotation.True
-
被校验字段名称
- FIELD - Static variable in class org.aoju.bus.validate.Builder
- Filler - Annotation Interface in org.aoju.bus.validate.annotation
-
字段错误消息插值填充的功能注解 当前的框架内,默认提供的两个插值是: field: 注解内定义的字段名称, val: 被校验对象的字符串格式 在校验注解内部提供的方法上标记该注解,表示可以在校验注解的errmsg中使用该字符串插值
- format() - Element in annotation interface org.aoju.bus.validate.annotation.Date
-
日期格式
G
- getAnnotation(Class<?>) - Static method in class org.aoju.bus.validate.Provider
-
获取当前对象的注解信息
- getFormatted() - Method in class org.aoju.bus.validate.validators.Property
-
获取字符串插值后的验证信息
- getInstance() - Static method in class org.aoju.bus.validate.Registry
-
单例模型初始化
- getResult() - Method in class org.aoju.bus.validate.Collector
-
获取所有的基础校验结果
- getTarget() - Method in class org.aoju.bus.validate.Collector
- group() - Element in annotation interface org.aoju.bus.validate.annotation.Blank
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.Chinese
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.CitizenId
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.Compare
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.Date
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.Each
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.Email
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.English
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.Equals
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.False
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.In
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.InEnum
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.IntRange
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.IPAddress
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.Length
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.Mobile
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.Multi
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.NotBlank
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.NotIn
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.NotNull
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.Null
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.Phone
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.Reflect
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.Regex
-
校验器组
- group() - Element in annotation interface org.aoju.bus.validate.annotation.True
-
校验器组
- Group - Annotation Interface in org.aoju.bus.validate.annotation
-
校验组注解,标记当前位置被激活的校验组
- GROUP - Static variable in class org.aoju.bus.validate.Builder
- GT - Enum constant in enum class org.aoju.bus.validate.annotation.Compare.Cond
-
大于
- GT_EQ - Enum constant in enum class org.aoju.bus.validate.annotation.Compare.Cond
-
大于等于
I
- In - Annotation Interface in org.aoju.bus.validate.annotation
-
字符串在数组中
- InEnum - Annotation Interface in org.aoju.bus.validate.annotation
-
校验对象在枚举中,默认将对象与枚举名称匹配
- InEnumStrategy - Class in org.aoju.bus.validate.strategy
-
int enum 校验
- InEnumStrategy() - Constructor for class org.aoju.bus.validate.strategy.InEnumStrategy
- inside() - Element in annotation interface org.aoju.bus.validate.annotation.Valid
-
内部校验
- inside(Validated) - Method in class org.aoju.bus.validate.validators.Checker
-
校验对象内部的所有字段
- Inside - Annotation Interface in org.aoju.bus.validate.annotation
-
标记注解,是否校验对象内部
- InStrategy - Class in org.aoju.bus.validate.strategy
-
IN 校验
- InStrategy() - Constructor for class org.aoju.bus.validate.strategy.InStrategy
- IntRange - Annotation Interface in org.aoju.bus.validate.annotation
-
判断数字在int范围内
- IntRangeStrategy - Class in org.aoju.bus.validate.strategy
-
INT RANGE 校验
- IntRangeStrategy() - Constructor for class org.aoju.bus.validate.strategy.IntRangeStrategy
- IPAddress - Annotation Interface in org.aoju.bus.validate.annotation
-
判断是否为IP地址
- IPAddressStrategy - Class in org.aoju.bus.validate.strategy
-
IP地址校验
- IPAddressStrategy() - Constructor for class org.aoju.bus.validate.strategy.IPAddressStrategy
- isAnnotation(Annotation) - Static method in class org.aoju.bus.validate.Provider
-
是否为校验器注解
- isArray(Object) - Static method in class org.aoju.bus.validate.Provider
-
判断校验是否为数组
- isCollection(Object) - Static method in class org.aoju.bus.validate.Provider
-
判断校验是否为集合
- isGroup(String[], List<String>) - Static method in class org.aoju.bus.validate.Provider
-
判断校验组是否符合当前全局校验组范围
- isMap(Object) - Static method in class org.aoju.bus.validate.Provider
-
判断校验是否为Map
- isPass() - Method in class org.aoju.bus.validate.Collector
L
- Length - Annotation Interface in org.aoju.bus.validate.annotation
-
字符串、数组、集合的长度校验
- LengthStrategy - Class in org.aoju.bus.validate.strategy
-
数据长度校验
- LengthStrategy() - Constructor for class org.aoju.bus.validate.strategy.LengthStrategy
- LT - Enum constant in enum class org.aoju.bus.validate.annotation.Compare.Cond
-
小于
- LT_EQ - Enum constant in enum class org.aoju.bus.validate.annotation.Compare.Cond
-
小于等于
M
- Matcher<T,
K> - Interface in org.aoju.bus.validate.validators -
校验器接口
- max() - Element in annotation interface org.aoju.bus.validate.annotation.IntRange
-
大于等于
- max() - Element in annotation interface org.aoju.bus.validate.annotation.Length
-
最大长度,大于等于
- method() - Element in annotation interface org.aoju.bus.validate.annotation.InEnum
-
枚举中的方法,将枚举方法的结果与被校验参数进行equals判断校验结果
- method() - Element in annotation interface org.aoju.bus.validate.annotation.Reflect
-
反射要执行的方法
- min() - Element in annotation interface org.aoju.bus.validate.annotation.IntRange
-
小于等于
- min() - Element in annotation interface org.aoju.bus.validate.annotation.Length
-
最小长度, 小于等于
- Mobile - Annotation Interface in org.aoju.bus.validate.annotation
-
判断是否为手机号码
- MobileStrategy - Class in org.aoju.bus.validate.strategy
-
移动电话校验
- MobileStrategy() - Constructor for class org.aoju.bus.validate.strategy.MobileStrategy
- Multi - Annotation Interface in org.aoju.bus.validate.annotation
-
多重校验器, 可以配置多个校验器
- MultiStrategy - Class in org.aoju.bus.validate.strategy
-
多规则匹配校验
- MultiStrategy() - Constructor for class org.aoju.bus.validate.strategy.MultiStrategy
N
- newInstance() - Static method in class org.aoju.bus.validate.Context
-
提供一个包含默认校验器注册中心的校验器上下文
- not(Matcher<T, K>) - Static method in interface org.aoju.bus.validate.validators.Matcher
-
根据校验器,创建相对立的一个校验器
- not(Validator<T>) - Static method in interface org.aoju.bus.validate.validators.Validator
-
根据校验器,创建相对立的一个校验器
- NOT_EQ - Enum constant in enum class org.aoju.bus.validate.annotation.Compare.Cond
-
不相等
- NotBlank - Annotation Interface in org.aoju.bus.validate.annotation
-
字符串不为空,不为null校验
- NotBlankStrategy - Class in org.aoju.bus.validate.strategy
-
NOT blank 校验
- NotBlankStrategy() - Constructor for class org.aoju.bus.validate.strategy.NotBlankStrategy
- NotIn - Annotation Interface in org.aoju.bus.validate.annotation
-
校验字符串不存在数组中
- NotInStrategy - Class in org.aoju.bus.validate.strategy
-
NOT IN 校验
- NotInStrategy() - Constructor for class org.aoju.bus.validate.strategy.NotInStrategy
- NotNull - Annotation Interface in org.aoju.bus.validate.annotation
-
对象不能为null
- NotNullStrategy - Class in org.aoju.bus.validate.strategy
-
NOT NUll 校验
- NotNullStrategy() - Constructor for class org.aoju.bus.validate.strategy.NotNullStrategy
- Null - Annotation Interface in org.aoju.bus.validate.annotation
-
校验对象只能为null
- nullable() - Element in annotation interface org.aoju.bus.validate.annotation.False
-
当参数为null时,是否允许通过校验 true:校验通过
- nullable() - Element in annotation interface org.aoju.bus.validate.annotation.True
-
当参数为null时,是否允许通过校验 true:校验通过, false:校验不通过
- NullStrategy - Class in org.aoju.bus.validate.strategy
-
NULL校验
- NullStrategy() - Constructor for class org.aoju.bus.validate.strategy.NullStrategy
O
- object(Validated, Property) - Method in class org.aoju.bus.validate.validators.Checker
-
根据指定的校验器校验对象
- of(Validator<T>) - Static method in interface org.aoju.bus.validate.validators.Matcher
-
将Validator转为Matcher
- on(Boolean, False, Context) - Method in class org.aoju.bus.validate.strategy.FalseStrategy
- on(Boolean, True, Context) - Method in class org.aoju.bus.validate.strategy.TrueStrategy
- on(Object) - Static method in class org.aoju.bus.validate.Builder
-
被校验对象 每次都创建一个新的对象,避免线程问题 可以使用
ThreadLocal简单优化 - on(Object) - Static method in class org.aoju.bus.validate.Provider
-
被校验对象
- on(Object, Annotation[]) - Static method in class org.aoju.bus.validate.Builder
-
被校验对象
- on(Object, Annotation[]) - Static method in class org.aoju.bus.validate.Provider
-
被校验对象
- on(Object, Annotation[], Context) - Static method in class org.aoju.bus.validate.Builder
-
被校验对象
- on(Object, Annotation[], Context) - Static method in class org.aoju.bus.validate.Provider
-
被校验对象
- on(Object, Annotation[], Context, String) - Static method in class org.aoju.bus.validate.Builder
-
被校验对象
- on(Object, Annotation[], Context, String) - Static method in class org.aoju.bus.validate.Provider
-
被校验对象
- on(Object, Object, Context) - Method in class org.aoju.bus.validate.strategy.AlwaysStrategy
- on(Object, Compare, Context) - Method in class org.aoju.bus.validate.strategy.CompareStrategy
- on(Object, Date, Context) - Method in class org.aoju.bus.validate.strategy.DateStrategy
- on(Object, Each, Context) - Method in class org.aoju.bus.validate.strategy.EachStrategy
- on(Object, English, Context) - Method in class org.aoju.bus.validate.strategy.EnglishStrategy
- on(Object, InEnum, Context) - Method in class org.aoju.bus.validate.strategy.InEnumStrategy
- on(Object, IntRange, Context) - Method in class org.aoju.bus.validate.strategy.IntRangeStrategy
- on(Object, IPAddress, Context) - Method in class org.aoju.bus.validate.strategy.IPAddressStrategy
- on(Object, Length, Context) - Method in class org.aoju.bus.validate.strategy.LengthStrategy
- on(Object, Mobile, Context) - Method in class org.aoju.bus.validate.strategy.MobileStrategy
- on(Object, Multi, Context) - Method in class org.aoju.bus.validate.strategy.MultiStrategy
- on(Object, NotNull, Context) - Method in class org.aoju.bus.validate.strategy.NotNullStrategy
- on(Object, Null, Context) - Method in class org.aoju.bus.validate.strategy.NullStrategy
- on(Object, Phone, Context) - Method in class org.aoju.bus.validate.strategy.PhoneStrategy
- on(Object, Reflect, Context) - Method in class org.aoju.bus.validate.strategy.ReflectStrategy
- on(Object, Context) - Static method in class org.aoju.bus.validate.Builder
-
被校验对象 每次都创建一个新的对象,避免线程问题 可以使用
ThreadLocal简单优化 - on(Object, Context) - Static method in class org.aoju.bus.validate.Provider
-
被校验对象
- on(Object, Context) - Method in class org.aoju.bus.validate.strategy.NullStrategy
- on(String, Blank, Context) - Method in class org.aoju.bus.validate.strategy.BlankStrategy
- on(String, Chinese, Context) - Method in class org.aoju.bus.validate.strategy.ChineseStrategy
- on(String, CitizenId, Context) - Method in class org.aoju.bus.validate.strategy.CitizenIdStrategy
- on(String, Email, Context) - Method in class org.aoju.bus.validate.strategy.EmailStrategy
- on(String, Equals, Context) - Method in class org.aoju.bus.validate.strategy.EqualsStrategy
- on(String, In, Context) - Method in class org.aoju.bus.validate.strategy.InStrategy
- on(String, NotBlank, Context) - Method in class org.aoju.bus.validate.strategy.NotBlankStrategy
- on(String, NotIn, Context) - Method in class org.aoju.bus.validate.strategy.NotInStrategy
- on(String, Regex, Context) - Method in class org.aoju.bus.validate.strategy.RegexStrategy
- on(String, Context) - Method in class org.aoju.bus.validate.strategy.BlankStrategy
- on(String, Context) - Method in class org.aoju.bus.validate.strategy.NotBlankStrategy
- on(T, K, Context) - Method in interface org.aoju.bus.validate.validators.Matcher
-
校验对象
- on(T, Context) - Method in interface org.aoju.bus.validate.validators.Validator
-
校验对象
- org.aoju.bus.validate - package org.aoju.bus.validate
-
一个校验器框架,提供注解校验方法参数和对象属性的功能,在方法运行前,拦截方法并执行参数校验,如果校验失败可以抛出自定义异常和信息;便于拓展自定义校验器 开发时,参考了Hibernate-Validator 5.x,但是没有做到兼容,因为JSR-303提供的注解的方法太少,不方便拓展,所以写了这个框架。
- org.aoju.bus.validate.annotation - package org.aoju.bus.validate.annotation
-
校验类型、方式等注解
- org.aoju.bus.validate.strategy - package org.aoju.bus.validate.strategy
-
校验规则实现
- org.aoju.bus.validate.validators - package org.aoju.bus.validate.validators
-
校验器等规则匹配
P
- pattern() - Element in annotation interface org.aoju.bus.validate.annotation.Regex
- Phone - Annotation Interface in org.aoju.bus.validate.annotation
-
判断是否为固定电话
- PhoneStrategy - Class in org.aoju.bus.validate.strategy
-
固定电话校验
- PhoneStrategy() - Constructor for class org.aoju.bus.validate.strategy.PhoneStrategy
- Property - Class in org.aoju.bus.validate.validators
-
校验注解所包含的通用属性
- Property() - Constructor for class org.aoju.bus.validate.validators.Property
- Provider - Class in org.aoju.bus.validate
-
服务提供者
- Provider() - Constructor for class org.aoju.bus.validate.Provider
R
- Reflect - Annotation Interface in org.aoju.bus.validate.annotation
-
通过反射调用被校验参数,并判断反射方法的结果
- ReflectStrategy - Class in org.aoju.bus.validate.strategy
-
反射信息校验
- ReflectStrategy() - Constructor for class org.aoju.bus.validate.strategy.ReflectStrategy
- Regex - Annotation Interface in org.aoju.bus.validate.annotation
-
正则表达式校验
- RegexStrategy - Class in org.aoju.bus.validate.strategy
-
正则匹配校验
- RegexStrategy() - Constructor for class org.aoju.bus.validate.strategy.RegexStrategy
- register(String, Object) - Static method in class org.aoju.bus.validate.Registry
-
注册组件
- Registry - Class in org.aoju.bus.validate
-
校验器注册中心
- Registry() - Constructor for class org.aoju.bus.validate.Registry
- require(String) - Method in class org.aoju.bus.validate.Registry
-
根据校验器名称获取校验器
- require(String, Class<?>) - Method in class org.aoju.bus.validate.Registry
-
优先根据校验器名称获取校验器,找不到时,根据类型获取校验器对象
- resolve(Property, Context) - Static method in class org.aoju.bus.validate.Provider
-
解析校验异常
S
- skip() - Element in annotation interface org.aoju.bus.validate.annotation.Valid
-
忽略属性 例如: {"created","creator"}
T
- target() - Element in annotation interface org.aoju.bus.validate.annotation.Reflect
-
反射要执行的类
- True - Annotation Interface in org.aoju.bus.validate.annotation
-
boolean校验, 当校验值为true时通过校验
- TrueStrategy - Class in org.aoju.bus.validate.strategy
-
Boolean true 校验
- TrueStrategy() - Constructor for class org.aoju.bus.validate.strategy.TrueStrategy
V
- VAL - Static variable in class org.aoju.bus.validate.Builder
- Valid - Annotation Interface in org.aoju.bus.validate.annotation
-
标记注解,标明要被拦截的类或方法或者参数
- Validated - Class in org.aoju.bus.validate
-
被校验对象
- Validated(Object) - Constructor for class org.aoju.bus.validate.Validated
-
被校验对象
- Validated(Object, Annotation[]) - Constructor for class org.aoju.bus.validate.Validated
-
被校验对象
- Validated(Object, Annotation[], Context) - Constructor for class org.aoju.bus.validate.Validated
-
被校验对象
- Validated(Object, Annotation[], Context, String) - Constructor for class org.aoju.bus.validate.Validated
-
被校验对象
- Validated(Object, Context) - Constructor for class org.aoju.bus.validate.Validated
-
被校验对象
- validator() - Element in annotation interface org.aoju.bus.validate.annotation.Reflect
-
校验器名称数组,将会校验反射的执行结果
- Validator<T> - Interface in org.aoju.bus.validate.validators
-
校验器接口
- ValidEx - Annotation Interface in org.aoju.bus.validate.annotation
-
校验异常注解,校验失败时将ValidateException替换为指定的异常并抛出.
- value() - Element in annotation interface org.aoju.bus.validate.annotation.Complex
-
校验器名称, 优先使用类型匹配
- value() - Element in annotation interface org.aoju.bus.validate.annotation.Each
-
校验器名称数组,优先使用校验器名称中的校验器,并忽略校验器类中的校验器
- value() - Element in annotation interface org.aoju.bus.validate.annotation.Equals
- value() - Element in annotation interface org.aoju.bus.validate.annotation.Filler
- value() - Element in annotation interface org.aoju.bus.validate.annotation.Group
-
表示被激活的校验组
- value() - Element in annotation interface org.aoju.bus.validate.annotation.In
- value() - Element in annotation interface org.aoju.bus.validate.annotation.Multi
-
校验器名称数组,优先使用校验器名称中的校验器,并忽略校验器类中的校验器
- value() - Element in annotation interface org.aoju.bus.validate.annotation.NotIn
- value() - Element in annotation interface org.aoju.bus.validate.annotation.Valid
-
校验属性 例如: {"id","name"}
- value() - Element in annotation interface org.aoju.bus.validate.annotation.ValidEx
-
异常类
- valueOf(String) - Static method in enum class org.aoju.bus.validate.annotation.Compare.Cond
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.aoju.bus.validate.annotation.Compare.Cond
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
Z
- zeroAble() - Element in annotation interface org.aoju.bus.validate.annotation.Length
-
如果长度为0,判断能否通过校验 默认为false true:表示长度为零,默认通过校验;false:表示长度为0,仍然要进行长度验证
- zeroAble() - Element in annotation interface org.aoju.bus.validate.annotation.Regex
-
如果长度为0,判断能否通过校验 默认为false true:表示长度为零,默认通过校验;false:表示长度为0,仍然要进行正则验证
_
- _ALWAYS - Static variable in class org.aoju.bus.validate.Builder
-
参数校验
- _BLANK - Static variable in class org.aoju.bus.validate.Builder
- _CHINESE - Static variable in class org.aoju.bus.validate.Builder
- _CITIZENID - Static variable in class org.aoju.bus.validate.Builder
- _DATE - Static variable in class org.aoju.bus.validate.Builder
- _EACH - Static variable in class org.aoju.bus.validate.Builder
- _EMAIL - Static variable in class org.aoju.bus.validate.Builder
- _ENGLISH - Static variable in class org.aoju.bus.validate.Builder
- _EQUALS - Static variable in class org.aoju.bus.validate.Builder
- _FALSE - Static variable in class org.aoju.bus.validate.Builder
- _IN - Static variable in class org.aoju.bus.validate.Builder
- _IN_ENUM - Static variable in class org.aoju.bus.validate.Builder
- _INT_RANGE - Static variable in class org.aoju.bus.validate.Builder
- _IP_ADDRESS - Static variable in class org.aoju.bus.validate.Builder
- _LENGTH - Static variable in class org.aoju.bus.validate.Builder
- _MOBILE - Static variable in class org.aoju.bus.validate.Builder
- _MULTI - Static variable in class org.aoju.bus.validate.Builder
- _NOT_BLANK - Static variable in class org.aoju.bus.validate.Builder
- _NOT_IN - Static variable in class org.aoju.bus.validate.Builder
- _NOT_NULL - Static variable in class org.aoju.bus.validate.Builder
- _NULL - Static variable in class org.aoju.bus.validate.Builder
- _PHONE - Static variable in class org.aoju.bus.validate.Builder
- _REFLECT - Static variable in class org.aoju.bus.validate.Builder
- _REGEX - Static variable in class org.aoju.bus.validate.Builder
- _TRUE - Static variable in class org.aoju.bus.validate.Builder
All Classes and Interfaces|All Packages|Constant Field Values