public class VVenue extends CalendarComponent
4. Venue Component
Component Name: "VVENUE"
Purpose: Provide a grouping of component properties that describe an
event venue.
Format Definition: A "VVENUE" calendar component is defined by the
following notation:
venuec = "BEGIN" ":" "VVENUE" CRLF
venueprop
"END" ":" "VVENUE" CRLF
venueprop = *(
; the following are all REQUIRED,
; but MUST NOT occur more than once
uid
; the following are optional,
; but MUST NOT occur more than once
name / description / street-address / extended-address /
locality / region / country / postal-code / tzid / geo /
location-type / categories
; the following are optional,
; and MAY occur more than once
tel / url
)
Description: A "VVENUE" calendar component is a grouping of component
properties that represent a venue where an event occurs. This
extends the "LOCATION" property of "VEVENT" and "TODO" components,
providing the ability to specify detailed information about the event
venue.
| Constructor and Description |
|---|
VVenue()
Default constructor.
|
VVenue(PropertyList properties)
Constructs a new instance containing the specified properties.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
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.
|
calculateRecurrenceSet, copy, equals, getName, getProperties, getProperties, getProperty, hashCode, validate, validatePropertiespublic VVenue()
public VVenue(PropertyList properties)
properties - a list of propertiespublic final java.lang.String toString()
public final void validate(boolean recurse)
throws ValidationException
Componentvalidate in class Componentrecurse - indicates whether to validate the component's propertiesValidationException - where the component is not in a valid statepublic void validateAdd()
throws ValidationException
CalendarComponentvalidateAdd in class CalendarComponentValidationExceptionpublic void validateCancel()
throws ValidationException
CalendarComponentvalidateCancel in class CalendarComponentValidationExceptionpublic void validateCounter()
throws ValidationException
CalendarComponentvalidateCounter in class CalendarComponentValidationExceptionpublic void validateDeclineCounter()
throws ValidationException
CalendarComponentvalidateDeclineCounter in class CalendarComponentValidationExceptionpublic void validatePublish()
throws ValidationException
CalendarComponentvalidatePublish in class CalendarComponentValidationExceptionpublic void validateRefresh()
throws ValidationException
CalendarComponentvalidateRefresh in class CalendarComponentValidationExceptionpublic void validateReply()
throws ValidationException
CalendarComponentvalidateReply in class CalendarComponentValidationExceptionpublic void validateRequest()
throws ValidationException
CalendarComponentvalidateRequest in class CalendarComponentValidationException