java.lang.Object
net.fortuna.ical4j.validate.AbstractValidator<T>
- All Implemented Interfaces:
Serializable,Validator<T>
- Direct Known Subclasses:
ComponentValidator,PropertyValidator
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractValidator(String context, AbstractValidationRuleSet<? super T>... ruleSets) -
Method Summary
Modifier and TypeMethodDescriptionValidates the target content by applying validation rules.
-
Constructor Details
-
AbstractValidator
@SafeVarargs public AbstractValidator(String context, AbstractValidationRuleSet<? super T>... ruleSets)
-
-
Method Details
-
validate
Description copied from interface:ValidatorValidates the target content by applying validation rules. When content fails validation the validator may throw an exception depending on the implementation.- Specified by:
validatein interfaceValidator<T>- Parameters:
target- the target of validation- Returns:
- the result of validation applied to the specified target
- Throws:
ValidationException- indicates validation failure (implementation-specific)
-