Class VToDoValidator
- java.lang.Object
-
- net.fortuna.ical4j.validate.ComponentValidator<VToDo>
-
- net.fortuna.ical4j.validate.component.VToDoValidator
-
- All Implemented Interfaces:
Serializable
,Validator<VToDo>
public class VToDoValidator extends ComponentValidator<VToDo>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.fortuna.ical4j.validate.ComponentValidator
AVAILABLE, 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 VToDoValidator(boolean alarmsAllowed, ValidationRule... rules)
VToDoValidator(ValidationRule... rules)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate(VToDo target)
Validates the target content by applying validation rules.-
Methods inherited from class net.fortuna.ical4j.validate.ComponentValidator
assertNone, assertOneOrLess
-
-
-
-
Constructor Detail
-
VToDoValidator
public VToDoValidator(ValidationRule... rules)
-
VToDoValidator
public VToDoValidator(boolean alarmsAllowed, ValidationRule... rules)
-
-
Method Detail
-
validate
public void validate(VToDo target) throws ValidationException
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<VToDo>
- Overrides:
validate
in classComponentValidator<VToDo>
- Throws:
ValidationException
- indicates validation failure (implementation-specific)
-
-