Class VEventValidator
- java.lang.Object
-
- net.fortuna.ical4j.validate.AbstractValidator<T>
-
- net.fortuna.ical4j.validate.ComponentValidator<VEvent>
-
- net.fortuna.ical4j.validate.component.VEventValidator
-
- All Implemented Interfaces:
Serializable
,Validator<VEvent>
@Deprecated public class VEventValidator extends ComponentValidator<VEvent>
Deprecated.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.fortuna.ical4j.validate.ComponentValidator
AVAILABLE, NO_ALARMS, OBSERVANCE_ITIP, PARTICIPANT, VALARM_AUDIO, VALARM_DISPLAY, VALARM_EMAIL, VALARM_ITIP, VAVAILABILITY, VEVENT, VFREEBUSY, VJOURNAL, VLOCATION, VRESOURCE, VTIMEZONE, VTODO, VVENUE
-
-
Constructor Summary
Constructors Constructor Description VEventValidator(boolean alarmsAllowed, ValidationRule<VEvent>... rules)
Deprecated.VEventValidator(ValidationRule<VEvent>... rules)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ValidationResult
validate(VEvent target)
Deprecated.Validates the target content by applying validation rules.-
Methods inherited from class net.fortuna.ical4j.validate.ComponentValidator
assertNone, assertOneOrLess
-
-
-
-
Constructor Detail
-
VEventValidator
@SafeVarargs public VEventValidator(ValidationRule<VEvent>... rules)
Deprecated.
-
VEventValidator
@SafeVarargs public VEventValidator(boolean alarmsAllowed, ValidationRule<VEvent>... rules)
Deprecated.
-
-
Method Detail
-
validate
public ValidationResult validate(VEvent target) throws ValidationException
Deprecated.Description copied from interface:Validator
Validates the target content by applying validation rules. When content fails validation the validator may throw an exception depending on the implementation.- Specified by:
validate
in interfaceValidator<VEvent>
- Overrides:
validate
in classComponentValidator<VEvent>
- Parameters:
target
- the target of validation- Returns:
- the result of validation applied to the specified target
- Throws:
ValidationException
- indicates validation failure (implementation-specific)
-
-