java.lang.Object
net.fortuna.ical4j.model.Content
net.fortuna.ical4j.model.Component
net.fortuna.ical4j.model.component.CalendarComponent
- All Implemented Interfaces:
Serializable,Comparable<Component>,FluentComponent,PropertyContainer,PropertyListAccessor,Prototype<Component>
- Direct Known Subclasses:
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class net.fortuna.ical4j.model.Content
Content.Factory -
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, properties, VALARM, VAVAILABILITY, VEVENT, VFREEBUSY, VJOURNAL, VLOCATION, VRESOURCE, VTIMEZONE, VTODO, VVENUEFields inherited from interface net.fortuna.ical4j.model.PropertyContainer
ADD_IF_NOT_PRESENT -
Constructor Summary
ConstructorsConstructorDescriptionCalendarComponent(String name) CalendarComponent(String name, PropertyList properties) CalendarComponent(String s, PropertyList p, ComponentList<? extends Component> c) -
Method Summary
Modifier and TypeMethodDescriptionPerforms 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, compareTo, copy, equals, getFluentTarget, getName, getProperties, getPropertyList, getUid, getValue, hashCode, newFactory, setPropertyList, 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
add, addAll, remove, removeAll, removeIf, replace, withMethods inherited from interface net.fortuna.ical4j.model.PropertyListAccessor
getProperties, getProperty, getProperty, getRequiredProperty, getRequiredProperty
-
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
-
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
-