PARENT
- the generic type of the parent
.public class ObjectValidatorBuilderFactory<PARENT> extends Object
ObjectValidatorBuilder
.Modifier and Type | Class and Description |
---|---|
static class |
ObjectValidatorBuilderFactory.BuilderFactory
Implementation of
ObjectValidatorBuilderFactory without parent . |
Modifier and Type | Field and Description |
---|---|
private static ObjectValidatorBuilderFactory.BuilderFactory |
INSTANCE |
private PARENT |
parent |
Constructor and Description |
---|
ObjectValidatorBuilderFactory(PARENT parent)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
ValidatorBuilderBoolean<PARENT> |
create(Boolean v) |
ValidatorBuilderCharSequence<PARENT> |
create(CharSequence v) |
<E> ValidatorBuilderCollection<E,PARENT> |
create(Collection<E> v) |
<K,V> ValidatorBuilderMap<K,V,PARENT> |
create(Map<K,V> v) |
ValidatorBuilderString<PARENT> |
create(String v) |
<E> ValidatorBuilderCollection<E,PARENT> |
createCollection(E v) |
static ObjectValidatorBuilderFactory.BuilderFactory |
getInstance() |
protected PARENT |
getParent() |
private static final ObjectValidatorBuilderFactory.BuilderFactory INSTANCE
private final PARENT parent
public ObjectValidatorBuilderFactory(PARENT parent)
parent
- - see getParent()
.public ValidatorBuilderCharSequence<PARENT> create(CharSequence v)
v
- the value for type inference. Will be ignored and may be null
.ValidatorBuilderCharSequence
.public ValidatorBuilderString<PARENT> create(String v)
v
- the value for type inference. Will be ignored and may be null
.ValidatorBuilderString
.public ValidatorBuilderBoolean<PARENT> create(Boolean v)
v
- the value for type inference. Will be ignored and may be null
.ValidatorBuilderBoolean
.public <E> ValidatorBuilderCollection<E,PARENT> create(Collection<E> v)
E
- the generic type of the elements contained
in the Collection
to validate.v
- the value for type inference. Will be ignored and may be null
.ValidatorBuilderCollection
.public <K,V> ValidatorBuilderMap<K,V,PARENT> create(Map<K,V> v)
K
- the generic type of the keys
.V
- the generic type of the values
.v
- the value for type inference. Will be ignored and may be null
.ValidatorBuilderCollection
.public <E> ValidatorBuilderCollection<E,PARENT> createCollection(E v)
E
- the generic type of the elements contained
in the Collection
to validate.v
- the value for type inference. Will be ignored and may be null
.ValidatorBuilderCollection
.public static ObjectValidatorBuilderFactory.BuilderFactory getInstance()
parent
.Copyright © 2001–2016 mmm-Team. All rights reserved.