Package slash.navigation.gpx.binding11
Class PtType
java.lang.Object
slash.navigation.gpx.binding11.PtType
A geographic point with optional elevation and time. Available for use by other schemas.
Java class for ptType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="ptType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ele" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="time" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
</sequence>
<attribute name="lat" use="required" type="{http://www.topografix.com/GPX/1/1}latitudeType" />
<attribute name="lon" use="required" type="{http://www.topografix.com/GPX/1/1}longitudeType" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BigDecimalThe elevation (in meters) of the point.protected BigDecimalThe latitude of the point.protected BigDecimalThe latitude of the point.protected XMLGregorianCalendarThe time that the point was recorded. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEle()The elevation (in meters) of the point.getLat()The latitude of the point.getLon()The latitude of the point.getTime()The time that the point was recorded.voidsetEle(BigDecimal value) Sets the value of the ele property.voidsetLat(BigDecimal value) Sets the value of the lat property.voidsetLon(BigDecimal value) Sets the value of the lon property.voidsetTime(XMLGregorianCalendar value) Sets the value of the time property.
-
Field Details
-
ele
The elevation (in meters) of the point. -
time
The time that the point was recorded. -
lat
The latitude of the point. Decimal degrees, WGS84 datum. -
lon
The latitude of the point. Decimal degrees, WGS84 datum.
-
-
Constructor Details
-
PtType
public PtType()
-
-
Method Details
-
getEle
The elevation (in meters) of the point.- Returns:
- possible object is
BigDecimal
-
setEle
Sets the value of the ele property.- Parameters:
value- allowed object isBigDecimal- See Also:
-
getTime
The time that the point was recorded.- Returns:
- possible object is
XMLGregorianCalendar
-
setTime
Sets the value of the time property.- Parameters:
value- allowed object isXMLGregorianCalendar- See Also:
-
getLat
The latitude of the point. Decimal degrees, WGS84 datum.- Returns:
- possible object is
BigDecimal
-
setLat
Sets the value of the lat property.- Parameters:
value- allowed object isBigDecimal- See Also:
-
getLon
The latitude of the point. Decimal degrees, WGS84 datum.- Returns:
- possible object is
BigDecimal
-
setLon
Sets the value of the lon property.- Parameters:
value- allowed object isBigDecimal- See Also:
-