Package net.wirelabs.jmaps.example.gpx
Class TrksegType
- java.lang.Object
-
- net.wirelabs.jmaps.example.gpx.TrksegType
-
public class TrksegType extends Object
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
Fields Modifier and Type Field Description protected ExtensionsTypeextensionsprotected List<WptType>trkpt
-
Constructor Summary
Constructors Constructor Description TrksegType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionsTypegetExtensions()Gets the value of the extensions property.List<WptType>getTrkpt()Gets the value of the trkpt property.voidsetExtensions(ExtensionsType value)Sets the value of the extensions property.
-
-
-
Field Detail
-
extensions
protected ExtensionsType extensions
-
-
Method Detail
-
getTrkpt
public List<WptType> getTrkpt()
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 JAXB 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
-
getExtensions
public ExtensionsType getExtensions()
Gets the value of the extensions property.- Returns:
- possible object is
ExtensionsType
-
setExtensions
public void setExtensions(ExtensionsType value)
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensionsType
-
-