Class CalendarComponent
- java.lang.Object
-
- net.fortuna.ical4j.model.Content
-
- net.fortuna.ical4j.model.Component
-
- net.fortuna.ical4j.model.component.CalendarComponent
-
- All Implemented Interfaces:
Serializable,FluentComponent,PropertyContainer,PropertyListAccessor
- Direct Known Subclasses:
VAlarm,VAvailability,VEvent,VFreeBusy,VJournal,VTimeZone,VToDo,VVenue,XComponent
public abstract class CalendarComponent extends Component
$Id$ Created on 26/02/2006 Base class for components that may be added to a calendar.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.fortuna.ical4j.model.Content
Content.Factory
-
-
Field Summary
Fields Modifier and Type Field Description protected static Validator<CalendarComponent>EMPTY_VALIDATORValidator 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, VVENUE
-
-
Constructor Summary
Constructors Constructor Description CalendarComponent(String name)CalendarComponent(String name, PropertyList properties)CalendarComponent(String s, PropertyList p, ComponentList<? extends Component> c)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ValidationResultvalidate(Method method)Performs method-specific ITIP validation.voidvalidateAdd()Deprecated.voidvalidateCancel()Deprecated.voidvalidateCounter()Deprecated.voidvalidateDeclineCounter()Deprecated.voidvalidatePublish()Deprecated.voidvalidateRefresh()Deprecated.voidvalidateReply()Deprecated.voidvalidateRequest()Deprecated.-
Methods inherited from class net.fortuna.ical4j.model.Component
calculateRecurrenceSet, copy, equals, getFluentTarget, getName, getProperties, getPropertyList, getValue, hashCode, newFactory, setPropertyList, toString, validate, validate, validateProperties
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.fortuna.ical4j.model.FluentComponent
withProperty
-
Methods inherited from interface net.fortuna.ical4j.model.PropertyContainer
add, addAll, remove, removeAll, replace
-
Methods inherited from interface net.fortuna.ical4j.model.PropertyListAccessor
getProperties, getProperty, getRequiredProperty
-
-
-
-
Field Detail
-
EMPTY_VALIDATOR
protected static final Validator<CalendarComponent> EMPTY_VALIDATOR
Validator instance that does nothing.
-
-
Constructor Detail
-
CalendarComponent
public CalendarComponent(String name)
- Parameters:
name- component name
-
CalendarComponent
public CalendarComponent(String name, PropertyList properties)
- Parameters:
name- component nameproperties- component properties
-
CalendarComponent
public CalendarComponent(String s, PropertyList p, ComponentList<? extends Component> c)
-
-
Method Detail
-
validate
public ValidationResult validate(Method method) throws ValidationException
Performs method-specific ITIP validation.- Parameters:
method- the applicable method- Throws:
ValidationException- where the component does not comply with RFC2446
-
validatePublish
@Deprecated public final void validatePublish() throws ValidationException
Deprecated.Apply validation for METHOD=PUBLISH.- Throws:
ValidationException- where the component does not comply with RFC2446
-
validateRequest
@Deprecated public final void validateRequest() throws ValidationException
Deprecated.Apply validation for METHOD=REQUEST.- Throws:
ValidationException- where the component does not comply with RFC2446
-
validateReply
@Deprecated public final void validateReply() throws ValidationException
Deprecated.Apply validation for METHOD=REPLY.- Throws:
ValidationException- where the component does not comply with RFC2446
-
validateAdd
@Deprecated public final void validateAdd() throws ValidationException
Deprecated.Apply validation for METHOD=ADD.- Throws:
ValidationException- where the component does not comply with RFC2446
-
validateCancel
@Deprecated public final void validateCancel() throws ValidationException
Deprecated.Apply validation for METHOD=CANCEL.- Throws:
ValidationException- where the component does not comply with RFC2446
-
validateRefresh
@Deprecated public final void validateRefresh() throws ValidationException
Deprecated.Apply validation for METHOD=REFRESH.- Throws:
ValidationException- where the component does not comply with RFC2446
-
validateCounter
@Deprecated public final void validateCounter() throws ValidationException
Deprecated.Apply validation for METHOD=COUNTER.- Throws:
ValidationException- where the component does not comply with RFC2446
-
validateDeclineCounter
@Deprecated public final void validateDeclineCounter() throws ValidationException
Deprecated.Apply validation for METHOD=DECLINECOUNTER.- Throws:
ValidationException- where the component does not comply with RFC2446
-
-