Class LocationType
Java class for LocationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LocationType">
<complexContent>
<extension base="{http://www.opengis.net/kml/2.2}AbstractObjectType">
<sequence>
<element ref="{http://www.opengis.net/kml/2.2}longitude" minOccurs="0"/>
<element ref="{http://www.opengis.net/kml/2.2}latitude" minOccurs="0"/>
<element ref="{http://www.opengis.net/kml/2.2}altitude" minOccurs="0"/>
<element ref="{http://www.opengis.net/kml/2.2}LocationSimpleExtensionGroup" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.opengis.net/kml/2.2}LocationObjectExtensionGroup" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Doubleprotected Doubleprotected List<AbstractObjectType> protected DoubleFields inherited from class slash.navigation.kml.binding22.AbstractObjectType
id, objectSimpleExtensionGroup, targetId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the altitude property.Gets the value of the latitude property.Gets the value of the locationObjectExtensionGroup property.Gets the value of the locationSimpleExtensionGroup property.Gets the value of the longitude property.voidsetAltitude(Double value) Sets the value of the altitude property.voidsetLatitude(Double value) Sets the value of the latitude property.voidsetLongitude(Double value) Sets the value of the longitude property.Methods inherited from class slash.navigation.kml.binding22.AbstractObjectType
getId, getObjectSimpleExtensionGroup, getTargetId, setId, setTargetId
-
Field Details
-
longitude
-
latitude
-
altitude
-
locationSimpleExtensionGroup
-
locationObjectExtensionGroup
-
-
Constructor Details
-
LocationType
public LocationType()
-
-
Method Details
-
getLongitude
Gets the value of the longitude property.- Returns:
- possible object is
Double
-
setLongitude
Sets the value of the longitude property.- Parameters:
value- allowed object isDouble
-
getLatitude
Gets the value of the latitude property.- Returns:
- possible object is
Double
-
setLatitude
Sets the value of the latitude property.- Parameters:
value- allowed object isDouble
-
getAltitude
Gets the value of the altitude property.- Returns:
- possible object is
Double
-
setAltitude
Sets the value of the altitude property.- Parameters:
value- allowed object isDouble
-
getLocationSimpleExtensionGroup
Gets the value of the locationSimpleExtensionGroup property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the locationSimpleExtensionGroup property.For example, to add a new item, do as follows:
getLocationSimpleExtensionGroup().add(newItem);Objects of the following type(s) are allowed in the list
Object -
getLocationObjectExtensionGroup
Gets the value of the locationObjectExtensionGroup property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the locationObjectExtensionGroup property.For example, to add a new item, do as follows:
getLocationObjectExtensionGroup().add(newItem);Objects of the following type(s) are allowed in the list
AbstractObjectType
-