Class VVenue
java.lang.Object
net.fortuna.ical4j.model.Component
net.fortuna.ical4j.model.component.CalendarComponent
net.fortuna.ical4j.model.component.VVenue
- All Implemented Interfaces:
Serializable,FluentComponent,PropertyContainer
$Id $ [Apr 5, 2004]
Defines an iCalendar VVENUE component.
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.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class net.fortuna.ical4j.model.component.CalendarComponent
EMPTY_VALIDATORFields inherited from class net.fortuna.ical4j.model.Component
AVAILABLE, BEGIN, components, END, EXPERIMENTAL_PREFIX, PARTICIPANT, VALARM, VAVAILABILITY, VEVENT, VFREEBUSY, VJOURNAL, VLOCATION, VRESOURCE, VTIMEZONE, VTODO, VVENUE -
Constructor Summary
ConstructorsConstructorDescriptionVVenue()Default constructor.VVenue(PropertyList properties) Constructs a new instance containing the specified properties. -
Method Summary
Modifier and TypeMethodDescriptionprotected ValidatorgetValidator(Method method) validate(boolean recurse) Perform validation on a component.Methods inherited from class net.fortuna.ical4j.model.component.CalendarComponent
validate, validateAdd, validateCancel, validateCounter, validateDeclineCounter, validatePublish, validateRefresh, validateReply, validateRequestMethods inherited from class net.fortuna.ical4j.model.Component
calculateRecurrenceSet, copy, equals, getFluentTarget, getName, getProperties, getRequiredProperty, hashCode, toString, validate, validatePropertiesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.fortuna.ical4j.model.FluentComponent
withPropertyMethods inherited from interface net.fortuna.ical4j.model.PropertyContainer
getProperties, getProperty
-
Constructor Details
-
VVenue
public VVenue()Default constructor. -
VVenue
Constructs a new instance containing the specified properties.- Parameters:
properties- a list of properties
-
-
Method Details
-
validate
Perform validation on a component.- Specified by:
validatein classComponent- Parameters:
recurse- indicates whether to validate the component's properties- Throws:
ValidationException- where the component is not in a valid state
-
getValidator
- Specified by:
getValidatorin classCalendarComponent- Parameters:
method- a method to validate on- Returns:
- a validator for the specified method or null if the method is not supported
-