public abstract class AbstractValidatorBuilder extends Object implements ValidatorBuilder
ValidatorBuilder
.Constructor and Description |
---|
AbstractValidatorBuilder()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
AbstractValidator<?> |
newValidator(Class<?> pojoType,
String property)
|
<T> AbstractValidator<T> |
newValidator(Class<?> pojoType,
TypedProperty<T> property)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newValidator, newValidator, newValidator
public AbstractValidator<?> newValidator(Class<?> pojoType, String property)
ValidatorBuilder
newValidator
in interface ValidatorBuilder
pojoType
- is the Class
reflecting to Pojo
to validate.property
- is the property to validate.ValueValidator
instance.public <T> AbstractValidator<T> newValidator(Class<?> pojoType, TypedProperty<T> property)
ValidatorBuilder
newValidator
in interface ValidatorBuilder
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.Copyright © 2001–2016 mmm-Team. All rights reserved.