Package slash.navigation.gpx.binding11
Class WptType
java.lang.Object
slash.navigation.gpx.binding11.WptType
wpt represents a waypoint, point of interest, or named feature on a map.
Java class for wptType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="wptType">
<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"/>
<element name="magvar" type="{http://www.topografix.com/GPX/1/1}degreesType" minOccurs="0"/>
<element name="geoidheight" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="cmt" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="desc" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="src" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="link" type="{http://www.topografix.com/GPX/1/1}linkType" maxOccurs="unbounded" minOccurs="0"/>
<element name="sym" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="fix" type="{http://www.topografix.com/GPX/1/1}fixType" minOccurs="0"/>
<element name="sat" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
<element name="hdop" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="vdop" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="pdop" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="ageofdgpsdata" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="dgpsid" type="{http://www.topografix.com/GPX/1/1}dgpsStationType" minOccurs="0"/>
<element name="extensions" type="{http://www.topografix.com/GPX/1/1}extensionsType" 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 BigDecimalNumber of seconds since last DGPS update.protected StringGPS waypoint comment.protected StringA text description of the element.protected IntegerID of DGPS station used in differential correction.protected BigDecimalElevation (in meters) of the point.protected ExtensionsTypeYou can add extend GPX by adding your own elements from another schema here.protected StringType of GPX fix.protected BigDecimalHeight (in meters) of geoid (mean sea level) above WGS84 earth ellipsoid.protected BigDecimalHorizontal dilution of precision.protected BigDecimalThe latitude of the point.Link to additional information about the waypoint.protected BigDecimalThe latitude of the point.protected BigDecimalMagnetic variation (in degrees) at the pointprotected StringThe GPS name of the waypoint.protected BigDecimalPosition dilution of precision.protected BigIntegerNumber of satellites used to calculate the GPX fix.protected StringSource of data.protected StringText of GPS symbol name.protected XMLGregorianCalendarCreation/modification timestamp for element.protected StringType (classification) of the waypoint.protected BigDecimalVertical dilution of precision. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionNumber of seconds since last DGPS update.getCmt()GPS waypoint comment.getDesc()A text description of the element.ID of DGPS station used in differential correction.getEle()Elevation (in meters) of the point.You can add extend GPX by adding your own elements from another schema here.getFix()Type of GPX fix.Height (in meters) of geoid (mean sea level) above WGS84 earth ellipsoid.getHdop()Horizontal dilution of precision.getLat()The latitude of the point.getLink()Link to additional information about the waypoint.getLon()The latitude of the point.Magnetic variation (in degrees) at the pointgetName()The GPS name of the waypoint.getPdop()Position dilution of precision.getSat()Number of satellites used to calculate the GPX fix.getSrc()Source of data.getSym()Text of GPS symbol name.getTime()Creation/modification timestamp for element.getType()Type (classification) of the waypoint.getVdop()Vertical dilution of precision.voidsetAgeofdgpsdata(BigDecimal value) Sets the value of the ageofdgpsdata property.voidSets the value of the cmt property.voidSets the value of the desc property.voidSets the value of the dgpsid property.voidsetEle(BigDecimal value) Sets the value of the ele property.voidsetExtensions(ExtensionsType value) Sets the value of the extensions property.voidSets the value of the fix property.voidsetGeoidheight(BigDecimal value) Sets the value of the geoidheight property.voidsetHdop(BigDecimal value) Sets the value of the hdop property.voidsetLat(BigDecimal value) Sets the value of the lat property.voidsetLon(BigDecimal value) Sets the value of the lon property.voidsetMagvar(BigDecimal value) Sets the value of the magvar property.voidSets the value of the name property.voidsetPdop(BigDecimal value) Sets the value of the pdop property.voidsetSat(BigInteger value) Sets the value of the sat property.voidSets the value of the src property.voidSets the value of the sym property.voidsetTime(XMLGregorianCalendar value) Sets the value of the time property.voidSets the value of the type property.voidsetVdop(BigDecimal value) Sets the value of the vdop property.
-
Field Details
-
ele
Elevation (in meters) of the point. -
time
Creation/modification timestamp for element. Date and time in are in Univeral Coordinated Time (UTC), not local time! Conforms to ISO 8601 specification for date/time representation. Fractional seconds are allowed for millisecond timing in tracklogs. -
magvar
Magnetic variation (in degrees) at the point -
geoidheight
Height (in meters) of geoid (mean sea level) above WGS84 earth ellipsoid. As defined in NMEA GGA message. -
name
The GPS name of the waypoint. This field will be transferred to and from the GPS. GPX does not place restrictions on the length of this field or the characters contained in it. It is up to the receiving application to validate the field before sending it to the GPS. -
cmt
GPS waypoint comment. Sent to GPS as comment. -
desc
A text description of the element. Holds additional information about the element intended for the user, not the GPS. -
src
Source of data. Included to give user some idea of reliability and accuracy of data. "Garmin eTrex", "USGS quad Boston North", e.g. -
link
Link to additional information about the waypoint. -
sym
Text of GPS symbol name. For interchange with other programs, use the exact spelling of the symbol as displayed on the GPS. If the GPS abbreviates words, spell them out. -
type
Type (classification) of the waypoint. -
fix
Type of GPX fix. -
sat
Number of satellites used to calculate the GPX fix. -
hdop
Horizontal dilution of precision. -
vdop
Vertical dilution of precision. -
pdop
Position dilution of precision. -
ageofdgpsdata
Number of seconds since last DGPS update. -
dgpsid
ID of DGPS station used in differential correction. -
extensions
You can add extend GPX by adding your own elements from another schema here. -
lat
The latitude of the point. Decimal degrees, WGS84 datum. -
lon
The latitude of the point. Decimal degrees, WGS84 datum.
-
-
Constructor Details
-
WptType
public WptType()
-
-
Method Details
-
getEle
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
Creation/modification timestamp for element. Date and time in are in Univeral Coordinated Time (UTC), not local time! Conforms to ISO 8601 specification for date/time representation. Fractional seconds are allowed for millisecond timing in tracklogs.- Returns:
- possible object is
XMLGregorianCalendar
-
setTime
Sets the value of the time property.- Parameters:
value- allowed object isXMLGregorianCalendar- See Also:
-
getMagvar
Magnetic variation (in degrees) at the point- Returns:
- possible object is
BigDecimal
-
setMagvar
Sets the value of the magvar property.- Parameters:
value- allowed object isBigDecimal- See Also:
-
getGeoidheight
Height (in meters) of geoid (mean sea level) above WGS84 earth ellipsoid. As defined in NMEA GGA message.- Returns:
- possible object is
BigDecimal
-
setGeoidheight
Sets the value of the geoidheight property.- Parameters:
value- allowed object isBigDecimal- See Also:
-
getName
The GPS name of the waypoint. This field will be transferred to and from the GPS. GPX does not place restrictions on the length of this field or the characters contained in it. It is up to the receiving application to validate the field before sending it to the GPS.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString- See Also:
-
getCmt
GPS waypoint comment. Sent to GPS as comment.- Returns:
- possible object is
String
-
setCmt
Sets the value of the cmt property.- Parameters:
value- allowed object isString- See Also:
-
getDesc
A text description of the element. Holds additional information about the element intended for the user, not the GPS.- Returns:
- possible object is
String
-
setDesc
Sets the value of the desc property.- Parameters:
value- allowed object isString- See Also:
-
getSrc
Source of data. Included to give user some idea of reliability and accuracy of data. "Garmin eTrex", "USGS quad Boston North", e.g.- Returns:
- possible object is
String
-
setSrc
Sets the value of the src property.- Parameters:
value- allowed object isString- See Also:
-
getLink
Link to additional information about the waypoint. Gets the value of the link 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 Jakarta XML Binding object. This is why there is not a
setmethod for the link property.For example, to add a new item, do as follows:
getLink().add(newItem);
Objects of the following type(s) are allowed in the list
LinkType- Returns:
- The value of the link property.
-
getSym
Text of GPS symbol name. For interchange with other programs, use the exact spelling of the symbol as displayed on the GPS. If the GPS abbreviates words, spell them out.- Returns:
- possible object is
String
-
setSym
Sets the value of the sym property.- Parameters:
value- allowed object isString- See Also:
-
getType
Type (classification) of the waypoint.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString- See Also:
-
getFix
Type of GPX fix.- Returns:
- possible object is
String
-
setFix
Sets the value of the fix property.- Parameters:
value- allowed object isString- See Also:
-
getSat
Number of satellites used to calculate the GPX fix.- Returns:
- possible object is
BigInteger
-
setSat
Sets the value of the sat property.- Parameters:
value- allowed object isBigInteger- See Also:
-
getHdop
Horizontal dilution of precision.- Returns:
- possible object is
BigDecimal
-
setHdop
Sets the value of the hdop property.- Parameters:
value- allowed object isBigDecimal- See Also:
-
getVdop
Vertical dilution of precision.- Returns:
- possible object is
BigDecimal
-
setVdop
Sets the value of the vdop property.- Parameters:
value- allowed object isBigDecimal- See Also:
-
getPdop
Position dilution of precision.- Returns:
- possible object is
BigDecimal
-
setPdop
Sets the value of the pdop property.- Parameters:
value- allowed object isBigDecimal- See Also:
-
getAgeofdgpsdata
Number of seconds since last DGPS update.- Returns:
- possible object is
BigDecimal
-
setAgeofdgpsdata
Sets the value of the ageofdgpsdata property.- Parameters:
value- allowed object isBigDecimal- See Also:
-
getDgpsid
ID of DGPS station used in differential correction.- Returns:
- possible object is
Integer
-
setDgpsid
Sets the value of the dgpsid property.- Parameters:
value- allowed object isInteger- See Also:
-
getExtensions
You can add extend GPX by adding your own elements from another schema here.- Returns:
- possible object is
ExtensionsType
-
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:
-