| Modifier and Type | Field and Description |
|---|---|
| public static final ComponentValidator | |
| public static final ValidationRule | |
| public static final ComponentValidator | |
| public static final ComponentValidator | |
| public static final ComponentValidator | |
| public static final ComponentValidator | |
| public static final ComponentValidator | |
| public static final ComponentValidator | |
| public static final ComponentValidator | |
| public static final ComponentValidator | |
| public static final ComponentValidator | |
| public static final ComponentValidator | |
| public static final ComponentValidator | |
| public static final ComponentValidator | |
| public static final ComponentValidator | |
| public static final ComponentValidator | |
| public static final ComponentValidator |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | assertNone(String
a component name used in the assertion componentName, ComponentList<?> a list of components components)
Deprecated
see
ContentValidator#assertNone(String, java.
|
| public static void | assertOneOrLess(String
a component name used in the assertion componentName, ComponentList<?> a list of components components)
|
| public ValidationResult | validate(T
the target of validation target)Overrides net. Implements net. Validates the target content by applying validation rules. |
| AVAILABLE | back to summary |
|---|---|
| public static final ComponentValidator<Available> AVAILABLE | |
| NO_ALARMS | back to summary |
|---|---|
| public static final ValidationRule<ComponentContainer<?>> NO_ALARMS | |
| OBSERVANCE_ITIP | back to summary |
|---|---|
| public static final ComponentValidator<Observance> OBSERVANCE_ITIP | |
| PARTICIPANT | back to summary |
|---|---|
| public static final ComponentValidator<Participant> PARTICIPANT | |
| VALARM_AUDIO | back to summary |
|---|---|
| public static final ComponentValidator<VAlarm> VALARM_AUDIO | |
| VALARM_DISPLAY | back to summary |
|---|---|
| public static final ComponentValidator<VAlarm> VALARM_DISPLAY | |
| VALARM_EMAIL | back to summary |
|---|---|
| public static final ComponentValidator<VAlarm> VALARM_EMAIL | |
| VALARM_ITIP | back to summary |
|---|---|
| public static final ComponentValidator<VAlarm> VALARM_ITIP | |
| VAVAILABILITY | back to summary |
|---|---|
| public static final ComponentValidator<VAvailability> VAVAILABILITY | |
| VEVENT | back to summary |
|---|---|
| public static final ComponentValidator<VEvent> VEVENT | |
| VFREEBUSY | back to summary |
|---|---|
| public static final ComponentValidator<VFreeBusy> VFREEBUSY | |
| VJOURNAL | back to summary |
|---|---|
| public static final ComponentValidator<VJournal> VJOURNAL | |
| VLOCATION | back to summary |
|---|---|
| public static final ComponentValidator<VLocation> VLOCATION | |
| VRESOURCE | back to summary |
|---|---|
| public static final ComponentValidator<VResource> VRESOURCE | |
| VTIMEZONE | back to summary |
|---|---|
| public static final ComponentValidator<VTimeZone> VTIMEZONE | |
| VTODO | back to summary |
|---|---|
| public static final ComponentValidator<VToDo> VTODO | |
| VVENUE | back to summary |
|---|---|
| public static final ComponentValidator<VVenue> VVENUE | |
| ComponentValidator | back to summary |
|---|---|
public ComponentValidator(String context, ValidationRule<T>... rules)
| |
| ComponentValidator | back to summary |
|---|---|
| private ComponentValidator(String context, Set<ValidationRule<T>> rules) | |
| assertNone | back to summary |
|---|---|
| public static void assertNone(String componentName, ComponentList<?> components) throws ValidationException
Deprecated see
| |
| assertOneOrLess | back to summary |
|---|---|
public static void assertOneOrLess(String componentName, ComponentList<?> components) throws ValidationException
| |
| validate | back to summary |
|---|---|
| public ValidationResult validate(T target) throws ValidationException Overrides net. 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.
| |