public class XComponent extends CalendarComponent
EMPTY_VALIDATOR
Constructor and 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 and Description |
---|---|
Component |
copy()
Create a (deep) copy of this component.
|
protected Validator<CalendarComponent> |
getValidator(Method method) |
void |
validate(boolean recurse)
Perform validation on a component.
|
validate, validateAdd, validateCancel, validateCounter, validateDeclineCounter, validatePublish, validateRefresh, validateReply, validateRequest
calculateRecurrenceSet, equals, getName, getProperties, getProperties, getProperty, getRequiredProperty, hashCode, 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 Validator<CalendarComponent> getValidator(Method method)