|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.fortuna.ical4j.model.Component
net.fortuna.ical4j.model.component.CalendarComponent
public abstract class CalendarComponent
$Id$ Created on 26/02/2006 Base class for components that may be added to a calendar.
Field Summary | |
---|---|
protected static Validator |
EMPTY_VALIDATOR
Validator instance that does nothing. |
Fields inherited from class net.fortuna.ical4j.model.Component |
---|
AVAILABLE, BEGIN, END, EXPERIMENTAL_PREFIX, VALARM, VAVAILABILITY, VEVENT, VFREEBUSY, VJOURNAL, VTIMEZONE, VTODO, VVENUE |
Constructor Summary | |
---|---|
CalendarComponent(String name)
|
|
CalendarComponent(String name,
PropertyList properties)
|
Method Summary | |
---|---|
protected abstract Validator |
getValidator(Method method)
|
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. |
Methods inherited from class net.fortuna.ical4j.model.Component |
---|
calculateRecurrenceSet, copy, equals, getName, getProperties, getProperties, getProperty, hashCode, toString, validate, validate, validateProperties |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final Validator EMPTY_VALIDATOR
Constructor Detail |
---|
public CalendarComponent(String name)
name
- component namepublic CalendarComponent(String name, PropertyList properties)
name
- component nameproperties
- component propertiesMethod Detail |
---|
public final void validate(Method method) throws ValidationException
method
- the applicable method
ValidationException
- where the component does not comply with RFC2446protected abstract Validator getValidator(Method method)
method
- a method to validate on
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |