public interface ValidatorBuilder
ValueValidator
instances from
annotations (JSR 303).Modifier and Type | Method and Description |
---|---|
AbstractValidator<?> |
newValidator(Class<?> pojoType,
String property)
|
AbstractValidator<?> |
newValidator(Class<?> pojoType,
String property,
Class<?> propertyType)
|
<T> AbstractValidator<T> |
newValidator(Class<?> pojoType,
TypedProperty<T> property)
|
<T> AbstractValidator<T> |
newValidator(Class<?> pojoType,
TypedProperty<T> property,
Class<T> propertyType)
|
<V> AbstractValidator<V> |
newValidator(Class<V> pojoType)
Creates a new instance of
ValueValidator validating the specified
Pojo . |
<V> AbstractValidator<V> newValidator(Class<V> pojoType)
ValueValidator
validating the specified
Pojo
.V
- is the generic type of pojoType
.pojoType
- is the Class
reflecting to Pojo
to validate.ValueValidator
instance.AbstractValidator<?> newValidator(Class<?> pojoType, String property)
pojoType
- is the Class
reflecting to Pojo
to validate.property
- is the property to validate.ValueValidator
instance.AbstractValidator<?> newValidator(Class<?> pojoType, String property, Class<?> propertyType)
pojoType
- is the Class
reflecting to Pojo
to validate.property
- is the property to validate.propertyType
- is the property type
.ValueValidator
instance.<T> AbstractValidator<T> newValidator(Class<?> pojoType, TypedProperty<T> property)
T
- is the generic type of the property
.pojoType
- is the Class
reflecting to Pojo
to validate.property
- is the TypedProperty
to validate.ValueValidator
instance.<T> AbstractValidator<T> newValidator(Class<?> pojoType, TypedProperty<T> property, Class<T> propertyType)
T
- is the generic type of the property
.pojoType
- is the Class
reflecting to Pojo
to validate.property
- is the TypedProperty
to validate.propertyType
- is the property type
.ValueValidator
instance.Copyright © 2001–2016 mmm-Team. All rights reserved.