|
||||||||||
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
net.fortuna.ical4j.model.component.XComponent
public class XComponent
$Id: XComponent.java,v 1.9 2009/01/07 10:02:30 fortuna Exp $ Created on 3/11/2005 Implementation of an experimental component as defined in RFC2445.
Field Summary |
---|
Fields inherited from class net.fortuna.ical4j.model.Component |
---|
AVAILABLE, BEGIN, END, EXPERIMENTAL_PREFIX, VALARM, VAVAILABILITY, VEVENT, VFREEBUSY, VJOURNAL, VTIMEZONE, VTODO, VVENUE |
Constructor Summary | |
---|---|
XComponent(java.lang.String name)
Creates a new experimental component with the specified name. |
|
XComponent(java.lang.String name,
PropertyList properties)
Creates a new experimental component with the specified name and properties. |
Method Summary | |
---|---|
void |
validate(boolean recurse)
Perform validation on a component. |
void |
validateAdd()
Apply validation for METHOD=ADD. |
void |
validateCancel()
Apply validation for METHOD=CANCEL. |
void |
validateCounter()
Apply validation for METHOD=COUNTER. |
void |
validateDeclineCounter()
Apply validation for METHOD=DECLINE-COUNTER. |
void |
validatePublish()
Apply validation for METHOD=PUBLISH. |
void |
validateRefresh()
Apply validation for METHOD=REFRESH. |
void |
validateReply()
Apply validation for METHOD=REPLY. |
void |
validateRequest()
Apply validation for METHOD=REQUEST. |
Methods inherited from class net.fortuna.ical4j.model.Component |
---|
calculateRecurrenceSet, copy, equals, getName, getProperties, getProperties, getProperty, hashCode, toString, validate, validateProperties |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XComponent(java.lang.String name)
name
- the name of the experimental componentpublic XComponent(java.lang.String name, PropertyList properties)
name
- the name of the experimental componentproperties
- a list of propertiesMethod Detail |
---|
public final void validate(boolean recurse) throws ValidationException
Component
validate
in class Component
recurse
- indicates whether to validate the component's properties
ValidationException
- where the component is not in a valid statepublic void validatePublish() throws ValidationException
CalendarComponent
validatePublish
in class CalendarComponent
ValidationException
public void validateAdd() throws ValidationException
CalendarComponent
validateAdd
in class CalendarComponent
ValidationException
public void validateCancel() throws ValidationException
CalendarComponent
validateCancel
in class CalendarComponent
ValidationException
public void validateCounter() throws ValidationException
CalendarComponent
validateCounter
in class CalendarComponent
ValidationException
public void validateDeclineCounter() throws ValidationException
CalendarComponent
validateDeclineCounter
in class CalendarComponent
ValidationException
public void validateRefresh() throws ValidationException
CalendarComponent
validateRefresh
in class CalendarComponent
ValidationException
public void validateReply() throws ValidationException
CalendarComponent
validateReply
in class CalendarComponent
ValidationException
public void validateRequest() throws ValidationException
CalendarComponent
validateRequest
in class CalendarComponent
ValidationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |