Top Description Fields Constructors Methods
net.fortuna.ical4j.model.component

public abstract Class CalendarComponent

extends Component
Class Inheritance
Known Direct Subclasses
net.fortuna.ical4j.model.component.VAvailability, net.fortuna.ical4j.model.component.VEvent, net.fortuna.ical4j.model.component.VFreeBusy, net.fortuna.ical4j.model.component.VJournal, net.fortuna.ical4j.model.component.VTimeZone, net.fortuna.ical4j.model.component.VToDo, net.fortuna.ical4j.model.component.VVenue, net.fortuna.ical4j.model.component.XComponent
Imports
net.fortuna.ical4j.model.Component, .ComponentList, .PropertyList, net.fortuna.ical4j.model.property.Method, net.fortuna.ical4j.validate.EmptyValidator, .ValidationException, .ValidationResult, .Validator

$Id$ Created on 26/02/2006 Base class for components that may be added to a calendar.
Author
Ben Fortuna

Field Summary

Modifier and TypeField and Description
protected static final Validator<CalendarComponent>
EMPTY_VALIDATOR

Validator instance that does nothing.

private static final long
Inherited from net.fortuna.ical4j.model.Component:
AVAILABLEBEGINcomponentsENDEXPERIMENTAL_PREFIXPARTICIPANTpropertiesVALARMVAVAILABILITYVEVENTVFREEBUSYVJOURNALVLOCATIONVRESOURCEVTIMEZONEVTODOVVENUE

Constructor Summary

AccessConstructor and Description
public
CalendarComponent(final String
component name
name
)

public
CalendarComponent(final String
component name
name
,
final PropertyList
component properties
properties
)

public

Method Summary

Modifier and TypeMethod and Description
public ValidationResult
validate(Method
the applicable method
method
)

Performs method-specific ITIP validation.

public final void
validateAdd()
Deprecated

Apply validation for METHOD=ADD.

public final void
validateCancel()
Deprecated

Apply validation for METHOD=CANCEL.

public final void
validateCounter()
Deprecated

Apply validation for METHOD=COUNTER.

public final void
validateDeclineCounter()
Deprecated

Apply validation for METHOD=DECLINECOUNTER.

public final void
validatePublish()
Deprecated

Apply validation for METHOD=PUBLISH.

public final void
validateRefresh()
Deprecated

Apply validation for METHOD=REFRESH.

public final void
validateReply()
Deprecated

Apply validation for METHOD=REPLY.

public final void
validateRequest()
Deprecated

Apply validation for METHOD=REQUEST.

Inherited from net.fortuna.ical4j.model.Component:
calculateRecurrenceSetcompareTocopyequalsgetFluentTargetgetNamegetPropertiesgetPropertyListgetUidgetValuehashCodenewFactorysetPropertyListtoStringvalidatevalidatevalidateProperties

Field Detail

EMPTY_VALIDATORback to summary
protected static final Validator<CalendarComponent> EMPTY_VALIDATOR

Validator instance that does nothing.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides net.fortuna.ical4j.model.Component.serialVersionUID.

Constructor Detail

CalendarComponentback to summary
public CalendarComponent(final String name)
Parameters
name:String

component name

CalendarComponentback to summary
public CalendarComponent(final String name, final PropertyList properties)
Parameters
name:String

component name

properties:PropertyList

component properties

CalendarComponentback to summary
public CalendarComponent(String s, PropertyList p, ComponentList<? extends Component> c)

Method Detail

validateback to summary
public ValidationResult validate(Method method) throws ValidationException

Performs method-specific ITIP validation.

Parameters
method:Method

the applicable method

Exceptions
ValidationException:
where the component does not comply with RFC2446
validateAddback to summary
public final void validateAdd() throws ValidationException

Deprecated

Apply validation for METHOD=ADD.

Annotations
@Deprecated
Exceptions
ValidationException:
where the component does not comply with RFC2446
validateCancelback to summary
public final void validateCancel() throws ValidationException

Deprecated

Apply validation for METHOD=CANCEL.

Annotations
@Deprecated
Exceptions
ValidationException:
where the component does not comply with RFC2446
validateCounterback to summary
public final void validateCounter() throws ValidationException

Deprecated

Apply validation for METHOD=COUNTER.

Annotations
@Deprecated
Exceptions
ValidationException:
where the component does not comply with RFC2446
validateDeclineCounterback to summary
public final void validateDeclineCounter() throws ValidationException

Deprecated

Apply validation for METHOD=DECLINECOUNTER.

Annotations
@Deprecated
Exceptions
ValidationException:
where the component does not comply with RFC2446
validatePublishback to summary
public final void validatePublish() throws ValidationException

Deprecated

Apply validation for METHOD=PUBLISH.

Annotations
@Deprecated
Exceptions
ValidationException:
where the component does not comply with RFC2446
validateRefreshback to summary
public final void validateRefresh() throws ValidationException

Deprecated

Apply validation for METHOD=REFRESH.

Annotations
@Deprecated
Exceptions
ValidationException:
where the component does not comply with RFC2446
validateReplyback to summary
public final void validateReply() throws ValidationException

Deprecated

Apply validation for METHOD=REPLY.

Annotations
@Deprecated
Exceptions
ValidationException:
where the component does not comply with RFC2446
validateRequestback to summary
public final void validateRequest() throws ValidationException

Deprecated

Apply validation for METHOD=REQUEST.

Annotations
@Deprecated
Exceptions
ValidationException:
where the component does not comply with RFC2446