Class TrksegType

java.lang.Object
org.bremersee.gpx.model.TrksegType
All Implemented Interfaces:
Serializable

public class TrksegType extends Object implements 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 Details

  • Constructor Details

    • TrksegType

      public TrksegType()
  • Method Details

    • getTrkpts

      public List<WptType> 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 set method 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

      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 is ExtensionsType