net.fortuna.ical4j.model.component
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:
- java.io.Serializable
public class VVenue
- extends CalendarComponent
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.
- Author:
- Ben Fortuna, Mike Douglass
- See Also:
- Serialized Form
Constructor Summary |
VVenue()
Default constructor. |
VVenue(PropertyList properties)
Constructs a new instance containing the specified properties. |
Method Summary |
java.lang.String |
toString()
|
void |
validate(boolean recurse)
Perform validation on a component. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
VVenue
public VVenue()
- Default constructor.
VVenue
public VVenue(PropertyList properties)
- Constructs a new instance containing the specified properties.
- Parameters:
properties
- a list of properties
toString
public final java.lang.String toString()
- Overrides:
toString
in class Component
- See Also:
Object.toString()
validate
public final void validate(boolean recurse)
throws ValidationException
- Description copied from class:
Component
- Perform validation on a component.
- Specified by:
validate
in class Component
- Parameters:
recurse
- indicates whether to validate the component's properties
- Throws:
ValidationException
- where the component is not in a valid state
Copyright © 2004-2007 Modularity. All Rights Reserved.