Top Description Inners Fields Constructors Methods
net.fortuna.ical4j.model.component

public Class VLocation

extends Component
Class Inheritance
Imports
net.fortuna.ical4j.model.*, net.fortuna.ical4j.model.property.Description, .Geo, .LocationType, .Name, net.fortuna.ical4j.validate.ComponentValidator, .ValidationException, .ValidationResult, java.util.List, .Optional

$Id$ [May 1 2017] Defines an iCalendar VLOCATION component.
 Component name:  VLOCATION

 Purpose:  This component provides rich information about the location
 of an event using the structured data property or optionally a
 plain text typed value.

 Conformance:  This component can be specified multiple times in a
 "VEVENT", "VTODO", "VJOURNAL", "VFREEBUSY" or "PARTICIPANT"
 calendar component.

 Description:  There may be a number of locations associated with an
 event.  This component provides detailed information about a
 location.

 When used in a component the value of this property provides
 information about the event venue or of related services such as
 parking, dining, stations etc..

 STRUCTURED-DATA properties if present may refer to representations
 of the location - such as a vCard.

 Format Definition:

 This component is defined by the following notation:

 locationc    = "BEGIN" ":" "VLOCATION" CRLF
                locprop
                "END" ":" "VLOCATION" CRLF

 locprop      = ; the elements herein may appear in any order,
                ; and the order is not significant.

                uid

                (name)
                (description)
                (geo)
                (loctype)

sdataprop
iana-prop

 The NAME property is defined in [RFC7986]
 
Author
Mike Douglass

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
VLocation.Factory

Default factory.

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from net.fortuna.ical4j.model.Component:
AVAILABLEBEGINcomponentsENDEXPERIMENTAL_PREFIXPARTICIPANTpropertiesVALARMVAVAILABILITYVEVENTVFREEBUSYVJOURNALVLOCATIONVRESOURCEVTIMEZONEVTODOVVENUE

Constructor Summary

AccessConstructor and Description
public
VLocation()

Default constructor.

public
VLocation(final PropertyList
a list of properties
properties
)

Constructor.

public
VLocation(final PropertyList
a list of properties
properties
,
final ComponentList<Component> components)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public final Optional<Description>

Returns:

the DESCRIPTION property or null if not specified
getDescription
()

Returns the optional description property.

public final Optional<Geo>

Returns:

the optional geo property for a vlocation
getGeo
()

public Optional<LocationType>

Returns:

the LocationType property or null if not specified
getLocationType
()

Returns the optional LocationType property.

public final Optional<Name>

Returns:

the optional name property for a vlocation
getNameProp
()

public final List<Property>

Returns:

the optional structured data properties
getStructuredData
()

protected ComponentFactory<VLocation>
newFactory()

Implements abstract net.fortuna.ical4j.model.Component.newFactory.

Returns a new component factory used to create deep copies.

public ValidationResult
validate(final boolean
indicates whether to validate the component's properties
recurse
)

Implements abstract net.fortuna.ical4j.model.Component.validate.

Perform validation on a component.

Inherited from net.fortuna.ical4j.model.Component:
calculateRecurrenceSetcompareTocopyequalsgetFluentTargetgetNamegetPropertiesgetPropertyListgetUidgetValuehashCodesetPropertyListtoStringvalidatevalidateProperties

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides net.fortuna.ical4j.model.Component.serialVersionUID.

Constructor Detail

VLocationback to summary
public VLocation()

Default constructor.

VLocationback to summary
public VLocation(final PropertyList properties)

Constructor.

Parameters
properties:PropertyList

a list of properties

VLocationback to summary
public VLocation(final PropertyList properties, final ComponentList<Component> components)

Constructor.

Parameters
properties:PropertyList

a list of properties

Method Detail

getDescriptionback to summary
public final Optional<Description> getDescription()

Returns the optional description property.

Returns:Optional<Description>

the DESCRIPTION property or null if not specified

getGeoback to summary
public final Optional<Geo> getGeo()
Returns:Optional<Geo>

the optional geo property for a vlocation

getLocationTypeback to summary
public Optional<LocationType> getLocationType()

Returns the optional LocationType property.

Returns:Optional<LocationType>

the LocationType property or null if not specified

getNamePropback to summary
public final Optional<Name> getNameProp()
Returns:Optional<Name>

the optional name property for a vlocation

getStructuredDataback to summary
public final List<Property> getStructuredData()
Returns:List<Property>

the optional structured data properties

newFactoryback to summary
protected ComponentFactory<VLocation> newFactory()

Implements abstract net.fortuna.ical4j.model.Component.newFactory.

Doc from net.fortuna.ical4j.model.Component.newFactory.

Returns a new component factory used to create deep copies.

Returns:ComponentFactory<VLocation>

a component factory instance

Annotations
@Override
validateback to summary
public ValidationResult validate(final boolean recurse) throws ValidationException

Implements abstract net.fortuna.ical4j.model.Component.validate.

Doc from net.fortuna.ical4j.model.Component.validate.

Perform validation on a component.

Parameters
recurse:boolean

indicates whether to validate the component's properties

Exceptions
ValidationException:
where the component is not in a valid state
net.fortuna.ical4j.model.component back to summary

public Class VLocation.Factory

extends Factory
implements ComponentFactory<VLocation>
Class Inheritance
All Implemented Interfaces
net.fortuna.ical4j.model.ComponentFactory

Default factory.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public VLocation
public VLocation
Inherited from net.fortuna.ical4j.model.Content.Factory:
supports

Constructor Detail

Factoryback to summary
public Factory()

Method Detail

createComponentback to summary
public VLocation createComponent()

Implements net.fortuna.ical4j.model.ComponentFactory.createComponent.

Annotations
@Override
createComponentback to summary
public VLocation createComponent(final PropertyList properties)

Implements net.fortuna.ical4j.model.ComponentFactory.createComponent.

Annotations
@Override