Package | Description |
---|---|
org.jsefa.common.validator |
Modifier and Type | Field and Description |
---|---|
static ValidationResult |
ValidationResult.VALID
The single
ValidationResult to be returned if a given value is valid. |
Modifier and Type | Method and Description |
---|---|
static ValidationResult |
ValidationResult.create(Collection<ValidationError> errors)
Creates a
ValidationResult . |
static ValidationResult |
ValidationResult.create(ValidationError... errors)
Creates a
ValidationResult . |
ValidationResult |
ValidationException.getValidationResult() |
ValidationResult |
Validator.validate(Object value)
Validates the given value and returns a
ValidationResult describing the result of the validation. |
ValidationResult |
StringValidator.validate(Object value)
Validates the given value and returns a
ValidationResult describing the result of the validation. |
ValidationResult |
NumberValidator.validate(Object value)
Validates the given value and returns a
ValidationResult describing the result of the validation. |
ValidationResult |
MapValidator.validate(Object value)
Validates the given value and returns a
ValidationResult describing the result of the validation. |
ValidationResult |
CollectionValidator.validate(Object value)
Validates the given value and returns a
ValidationResult describing the result of the validation. |
ValidationResult |
BigDecimalValidator.validate(Object value)
Validates the given value and returns a
ValidationResult describing the result of the validation. |
Constructor and Description |
---|
ValidationException(ValidationResult validationResult)
Constructs a new
ValidationException with the specified ValidationResult . |
Copyright © 2014. All rights reserved.