net.fortuna.ical4j.model.component
public abstract class CalendarComponent extends Component
| Modifier and Type | Field and Description |
|---|---|
protected static Validator |
EMPTY_VALIDATOR
Validator instance that does nothing.
|
| Constructor and Description |
|---|
CalendarComponent(java.lang.String name) |
CalendarComponent(java.lang.String name,
PropertyList properties) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
calculateRecurrenceSet, copy, equals, getName, getProperties, getProperties, getProperty, hashCode, toString, validate, validate, validatePropertiesprotected static final Validator EMPTY_VALIDATOR
public CalendarComponent(java.lang.String name)
name - component namepublic CalendarComponent(java.lang.String name,
PropertyList properties)
name - component nameproperties - component propertiespublic final void validate(Method method) throws ValidationException
method - the applicable methodValidationException - where the component does not comply with RFC2446protected abstract Validator getValidator(Method method)
method - a method to validate onpublic 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 RFC2446Copyright © 2004-2014 Micronode. All Rights Reserved.