| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ValidationResult | validate(T
the target of validation target)Implements net. Validates the target content by applying validation rules. |
| context | back to summary |
|---|---|
| private final String context | |
| ruleSets | back to summary |
|---|---|
| private final List<AbstractValidationRuleSet<? super T>> ruleSets | |
| AbstractValidator | back to summary |
|---|---|
public AbstractValidator(@NotNull Enum<?> context, AbstractValidationRuleSet<? super T>... ruleSets)
| |
| AbstractValidator | back to summary |
|---|---|
public AbstractValidator(String context, AbstractValidationRuleSet<? super T>... ruleSets)
| |
| validate | back to summary |
|---|---|
| public ValidationResult validate(T target) throws ValidationException Implements net. Doc from net. Validates the target content by applying validation rules. When content fails validation the validator may throw an exception depending on the implementation.
| |