Class CalendarComponent
java.lang.Object
net.fortuna.ical4j.model.Component
net.fortuna.ical4j.model.component.CalendarComponent
- All Implemented Interfaces:
Serializable,FluentComponent,PropertyContainer
- Direct Known Subclasses:
VAlarm,VAvailability,VEvent,VFreeBusy,VJournal,VTimeZone,VToDo,VVenue,XComponent
$Id$
Created on 26/02/2006
Base class for components that may be added to a calendar.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Validator<CalendarComponent>Validator instance that does nothing.Fields inherited from class net.fortuna.ical4j.model.Component
AVAILABLE, BEGIN, components, END, EXPERIMENTAL_PREFIX, PARTICIPANT, VALARM, VAVAILABILITY, VEVENT, VFREEBUSY, VJOURNAL, VLOCATION, VRESOURCE, VTIMEZONE, VTODO, VVENUE -
Constructor Summary
ConstructorsConstructorDescriptionCalendarComponent(String name) CalendarComponent(String name, PropertyList properties) CalendarComponent(String s, PropertyList<Property> p, ComponentList<? extends Component> c) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract <T extends Validator<? extends CalendarComponent>>
TgetValidator(Method method) Performs method-specific ITIP validation.final voidDeprecated.final voidDeprecated.final voidDeprecated.final voidDeprecated.final voidDeprecated.final voidDeprecated.final voidDeprecated.final voidDeprecated.Methods inherited from class net.fortuna.ical4j.model.Component
calculateRecurrenceSet, copy, equals, getFluentTarget, getName, getProperties, getRequiredProperty, hashCode, toString, validate, validate, validatePropertiesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.fortuna.ical4j.model.FluentComponent
withPropertyMethods inherited from interface net.fortuna.ical4j.model.PropertyContainer
getProperties, getProperty
-
Field Details
-
EMPTY_VALIDATOR
Validator instance that does nothing.
-
-
Constructor Details
-
CalendarComponent
- Parameters:
name- component name
-
CalendarComponent
- Parameters:
name- component nameproperties- component properties
-
CalendarComponent
-
-
Method Details
-
validate
Performs method-specific ITIP validation.- Parameters:
method- the applicable method- Throws:
ValidationException- where the component does not comply with RFC2446
-
getValidator
- Parameters:
method- a method to validate on- Returns:
- a validator for the specified method or null if the method is not supported
-
validatePublish
Deprecated.Apply validation for METHOD=PUBLISH.- Throws:
ValidationException- where the component does not comply with RFC2446
-
validateRequest
Deprecated.Apply validation for METHOD=REQUEST.- Throws:
ValidationException- where the component does not comply with RFC2446
-
validateReply
Deprecated.Apply validation for METHOD=REPLY.- Throws:
ValidationException- where the component does not comply with RFC2446
-
validateAdd
Deprecated.Apply validation for METHOD=ADD.- Throws:
ValidationException- where the component does not comply with RFC2446
-
validateCancel
Deprecated.Apply validation for METHOD=CANCEL.- Throws:
ValidationException- where the component does not comply with RFC2446
-
validateRefresh
Deprecated.Apply validation for METHOD=REFRESH.- Throws:
ValidationException- where the component does not comply with RFC2446
-
validateCounter
Deprecated.Apply validation for METHOD=COUNTER.- Throws:
ValidationException- where the component does not comply with RFC2446
-
validateDeclineCounter
Deprecated.Apply validation for METHOD=DECLINECOUNTER.- Throws:
ValidationException- where the component does not comply with RFC2446
-