Serializable
VAlarm
, VAvailability
, VEvent
, VFreeBusy
, VJournal
, VTimeZone
, VToDo
, VVenue
, XComponent
public abstract class CalendarComponent extends Component
Content.Factory
Modifier and Type | Field | Description |
---|---|---|
protected static Validator<CalendarComponent> |
EMPTY_VALIDATOR |
Validator instance that does nothing.
|
AVAILABLE, BEGIN, END, EXPERIMENTAL_PREFIX, properties, VALARM, VAVAILABILITY, VEVENT, VFREEBUSY, VJOURNAL, VTIMEZONE, VTODO, VVENUE
Constructor | Description |
---|---|
CalendarComponent(String name) |
|
CalendarComponent(String name,
PropertyList properties) |
Modifier and Type | Method | Description |
---|---|---|
void |
validate(Method method) |
Performs method-specific ITIP validation.
|
void |
validateAdd() |
Deprecated.
|
void |
validateCancel() |
Deprecated.
|
void |
validateCounter() |
Deprecated.
|
void |
validateDeclineCounter() |
Deprecated.
|
void |
validatePublish() |
Deprecated.
|
void |
validateRefresh() |
Deprecated.
|
void |
validateReply() |
Deprecated.
|
void |
validateRequest() |
Deprecated.
|
add, calculateRecurrenceSet, copy, equals, getName, getProperties, getProperties, getProperty, getRequiredProperty, getValue, hashCode, newFactory, remove, removeAll, replace, setProperties, toString, validate, validate, validateProperties
protected static final Validator<CalendarComponent> EMPTY_VALIDATOR
public CalendarComponent(String name)
name
- component namepublic CalendarComponent(String name, PropertyList properties)
name
- component nameproperties
- component propertiespublic void validate(Method method) throws ValidationException
method
- the applicable methodValidationException
- where the component does not comply with RFC2446public final void validatePublish() throws ValidationException
ValidationException
- where the component does not comply with RFC2446public final void validateRequest() throws ValidationException
ValidationException
- where the component does not comply with RFC2446public final void validateReply() throws ValidationException
ValidationException
- where the component does not comply with RFC2446public final void validateAdd() throws ValidationException
ValidationException
- where the component does not comply with RFC2446public final void validateCancel() throws ValidationException
ValidationException
- where the component does not comply with RFC2446public final void validateRefresh() throws ValidationException
ValidationException
- where the component does not comply with RFC2446public final void validateCounter() throws ValidationException
ValidationException
- where the component does not comply with RFC2446public final void validateDeclineCounter() throws ValidationException
ValidationException
- where the component does not comply with RFC2446