Package | Description |
---|---|
org.foxlabs.validation.constraint |
Modifier and Type | Method and Description |
---|---|
protected <T> Collection<V> |
CollectionElementConstraint.doValidate(Collection<V> collection,
ValidationContext<T> context,
List<ConstraintViolationException> violations)
Checks whether all elements of the specified collection conforms to the
constraint of collection elements.
|
protected <T> Map<Object,V> |
MapValueConstraint.doValidate(Map<Object,V> map,
ValidationContext<T> context,
List<ConstraintViolationException> violations)
Checks whether all values of the specified map conforms to the constraint
of map values.
|
protected <T> Map<V,Object> |
MapKeyConstraint.doValidate(Map<V,Object> map,
ValidationContext<T> context,
List<ConstraintViolationException> violations)
Checks whether all keys of the specified map conforms to the constraint
of map keys.
|
protected <T> Object |
ArrayElementConstraint.doValidate(Object array,
ValidationContext<T> context,
List<ConstraintViolationException> violations)
Checks whether all elements of the specified array conforms to the
constraint of array elements.
|
protected abstract <T> V |
SequenceElementConstraint.doValidate(V sequence,
ValidationContext<T> context,
List<ConstraintViolationException> violations)
Checks whether all elements of the specified sequence conforms to the
constraint of sequence elements.
|
Copyright © 2011–2020 FoxLabs. All rights reserved.