public class ValidatorBuilderNone extends AbstractValidatorBuilder
ValidatorBuilder
that may be used if JSR 303 is not available (missing
on classpath, configured wrongly, or the like).Constructor and Description |
---|
ValidatorBuilderNone()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
AbstractValidator<?> |
newValidator(Class<?> pojoType,
String property,
Class<?> propertyType)
|
<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 . |
newValidator, newValidator
public <V> AbstractValidator<V> newValidator(Class<V> pojoType)
ValidatorBuilder
ValueValidator
validating the specified
Pojo
.V
- is the generic type of pojoType
.pojoType
- is the Class
reflecting to Pojo
to validate.ValueValidator
instance.public AbstractValidator<?> newValidator(Class<?> pojoType, String property, Class<?> propertyType)
ValidatorBuilder
pojoType
- is the Class
reflecting to Pojo
to validate.property
- is the property to validate.propertyType
- is the property type
.ValueValidator
instance.public <T> AbstractValidator<T> newValidator(Class<?> pojoType, TypedProperty<T> property, Class<T> propertyType)
ValidatorBuilder
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.