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.
| Modifier and Type | Class and Description |
|---|---|
static class |
VVenue.Factory |
EMPTY_VALIDATORAVAILABLE, BEGIN, END, EXPERIMENTAL_PREFIX, properties, VALARM, VAVAILABILITY, VEVENT, VFREEBUSY, VJOURNAL, VTIMEZONE, VTODO, VVENUE| Constructor and Description |
|---|
VVenue()
Default constructor.
|
VVenue(PropertyList properties)
Constructs a new instance containing the specified properties.
|
| Modifier and Type | Method and Description |
|---|---|
protected ComponentFactory<VVenue> |
newFactory()
Returns a new component factory used to create deep copies.
|
String |
toString() |
void |
validate(boolean recurse)
Perform validation on a component.
|
validate, validateAdd, validateCancel, validateCounter, validateDeclineCounter, validatePublish, validateRefresh, validateReply, validateRequestadd, calculateRecurrenceSet, copy, equals, getName, getProperties, getProperties, getProperty, getRequiredProperty, getValue, hashCode, remove, removeAll, replace, setProperties, validate, validatePropertiespublic VVenue()
public VVenue(PropertyList properties)
properties - a list of propertiespublic final void validate(boolean recurse)
throws ValidationException
validate in class Componentrecurse - indicates whether to validate the component's propertiesValidationException - where the component is not in a valid stateprotected ComponentFactory<VVenue> newFactory()
ComponentnewFactory in class Component