Class Gpx.Trk.Trkseg

java.lang.Object
slash.navigation.gpx.binding10.Gpx.Trk.Trkseg
Enclosing class:
Gpx.Trk

public static class Gpx.Trk.Trkseg extends Object

Java class for anonymous complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="trkpt" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <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="course" type="{http://www.topografix.com/GPX/1/0}degreesType" minOccurs="0"/>
                   <element name="speed" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
                   <element name="magvar" type="{http://www.topografix.com/GPX/1/0}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="url" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
                   <element name="urlname" type="{http://www.w3.org/2001/XMLSchema}string" 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/0}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/0}dgpsStationType" minOccurs="0"/>
                   <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="lat" use="required" type="{http://www.topografix.com/GPX/1/0}latitudeType" />
                 <attribute name="lon" use="required" type="{http://www.topografix.com/GPX/1/0}longitudeType" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Trkseg

      public Trkseg()
  • Method Details

    • getTrkpt

      public List<Gpx.Trk.Trkseg.Trkpt> 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 Jakarta XML Binding object. This is why there is not a set method 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 Gpx.Trk.Trkseg.Trkpt

      Returns:
      The value of the trkpt property.