Serializable
public class XComponent extends CalendarComponent
Content.Factory
EMPTY_VALIDATOR
AVAILABLE, BEGIN, END, EXPERIMENTAL_PREFIX, properties, VALARM, VAVAILABILITY, VEVENT, VFREEBUSY, VJOURNAL, VTIMEZONE, VTODO, VVENUE
Constructor | Description |
---|---|
XComponent(String name) |
Creates a new experimental component with the specified name.
|
XComponent(String name,
PropertyList properties) |
Creates a new experimental component with the specified name and properties.
|
Modifier and Type | Method | Description |
---|---|---|
protected ComponentFactory<XComponent> |
newFactory() |
Returns a new component factory used to create deep copies.
|
void |
validate(boolean recurse) |
Perform validation on a component.
|
validate, validateAdd, validateCancel, validateCounter, validateDeclineCounter, validatePublish, validateRefresh, validateReply, validateRequest
add, calculateRecurrenceSet, copy, equals, getName, getProperties, getProperties, getProperty, getRequiredProperty, getValue, hashCode, remove, removeAll, replace, setProperties, toString, validate, validateProperties
public XComponent(String name)
name
- the name of the experimental componentpublic XComponent(String name, PropertyList properties)
name
- the name of the experimental componentproperties
- a list of propertiespublic final void validate(boolean recurse) throws ValidationException
validate
in class Component
recurse
- indicates whether to validate the component's propertiesValidationException
- where the component is not in a valid stateprotected ComponentFactory<XComponent> newFactory()
Component
newFactory
in class Component