Package slash.navigation.gpx.binding11
Class TrksegType
java.lang.Object
slash.navigation.gpx.binding11.TrksegType
A Track Segment holds a list of Track Points which are logically connected in order. To represent a single GPS track where GPS reception was lost, or the GPS receiver was turned off, start a new Track Segment for each continuous span of track data.
Java class for trksegType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="trksegType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="trkpt" type="{http://www.topografix.com/GPX/1/1}wptType" maxOccurs="unbounded" minOccurs="0"/>
<element name="extensions" type="{http://www.topografix.com/GPX/1/1}extensionsType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ExtensionsTypeYou can add extend GPX by adding your own elements from another schema here.A Track Point holds the coordinates, elevation, timestamp, and metadata for a single point in a track. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionYou can add extend GPX by adding your own elements from another schema here.getTrkpt()A Track Point holds the coordinates, elevation, timestamp, and metadata for a single point in a track.voidsetExtensions(ExtensionsType value) Sets the value of the extensions property.
-
Field Details
-
trkpt
A Track Point holds the coordinates, elevation, timestamp, and metadata for a single point in a track. -
extensions
You can add extend GPX by adding your own elements from another schema here.
-
-
Constructor Details
-
TrksegType
public TrksegType()
-
-
Method Details
-
getTrkpt
A Track Point holds the coordinates, elevation, timestamp, and metadata for a single point in a track. Gets the value of the trkpt 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 trkpt property.For example, to add a new item, do as follows:
getTrkpt().add(newItem);
Objects of the following type(s) are allowed in the list
WptType- Returns:
- The value of the trkpt property.
-
getExtensions
You can add extend GPX by adding your own elements from another schema here.- Returns:
- possible object is
ExtensionsType
-