|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jsefa.common.validator.MapValidator
public final class MapValidator
A validator for Map
values.
It is thread-safe and immutable.
Method Summary | |
---|---|
static MapValidator |
create(ValidatorConfiguration configuration)
Constructs a new MapValidator . |
ValidationResult |
validate(Object value)
Validates the given value and returns a ValidationResult describing the result of the validation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MapValidator create(ValidatorConfiguration configuration)
MapValidator
.
configuration
- the validator configuration
public ValidationResult validate(Object value)
ValidationResult
describing the result of the validation.
validate
in interface Validator
value
- the value to validate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |