Interface | Description |
---|---|
InvalidElement |
Interface that represents an invalid element.
|
ValidationEngine |
Interface that defines an engine capable of validating elements of an object
and summarize it in a result that allows integration with other tools (like
web frameworks).
|
ValidationFactory |
A factory to create components for doing validations.
|
ValidationResult |
Interface that defines a validation result.
|
Validator<T> |
Interface that defines a validator for objects.
|
ValidatorFactory |
Interface that defines a factory to create
Validator objects. |
Class | Description |
---|---|
ArgumentsValidator |
A class to help validating arguments of methods and constructors using a
ValidatorFactory . |
Validation |
A class to handle validations of objects based on their element constraints.
|
Annotation Type | Description |
---|---|
MergeElements |
Indicates that this constraint perform validations that should merge the
invalid elements into the elements of the main validation.
|
Shared |
Indicates that the validator should be shared with all validations.
|
TargetElement |
Indicates that an element from the target object should be passed to the
validator.
|
TargetObject |
Indicates that the object being validated should be passed to the validator.
|
ValidatorClass |
Indicates the validator that implements the constraint.
|