Package org.bremersee.gpx.model
Class TrksegType
java.lang.Object
org.bremersee.gpx.model.TrksegType
- All Implemented Interfaces:
Serializable
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>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the extensions property.Gets the value of the trkpts property.voidsetExtensions(ExtensionsType value) Sets the value of the extensions property.
-
Field Details
-
trkpts
-
extensions
-
-
Constructor Details
-
TrksegType
public TrksegType()
-
-
Method Details
-
getTrkpts
Gets the value of the trkpts 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 trkpts property.For example, to add a new item, do as follows:
getTrkpts().add(newItem);Objects of the following type(s) are allowed in the list
WptType- Returns:
- The value of the trkpts property.
-
getExtensions
Gets the value of the extensions property.- Returns:
- possible object is
ExtensionsType
-
setExtensions
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensionsType
-