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_VALIDATOR
Constructor and Description |
---|
VVenue()
Default constructor.
|
VVenue(PropertyList properties)
Constructs a new instance containing the specified properties.
|
Modifier and Type | Method and Description |
---|---|
protected Validator |
getValidator(Method method) |
java.lang.String |
toString() |
void |
validate(boolean recurse)
Perform validation on a component.
|
validate, validateAdd, validateCancel, validateCounter, validateDeclineCounter, validatePublish, validateRefresh, validateReply, validateRequest
calculateRecurrenceSet, copy, equals, getName, getProperties, getProperties, getProperty, getRequiredProperty, hashCode, validate, validateProperties
public VVenue()
public VVenue(PropertyList properties)
properties
- 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 getValidator(Method method)
getValidator
in class CalendarComponent
method
- a method to validate on