Class Gpx.Trk

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

public static class Gpx.Trk 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="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="number" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
         <element name="trkseg" maxOccurs="unbounded" minOccurs="0">
           <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>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Trk

      public Trk()
  • Method Details

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getCmt

      public String getCmt()
      Gets the value of the cmt property.
      Returns:
      possible object is String
    • setCmt

      public void setCmt(String value)
      Sets the value of the cmt property.
      Parameters:
      value - allowed object is String
    • getDesc

      public String getDesc()
      Gets the value of the desc property.
      Returns:
      possible object is String
    • setDesc

      public void setDesc(String value)
      Sets the value of the desc property.
      Parameters:
      value - allowed object is String
    • getSrc

      public String getSrc()
      Gets the value of the src property.
      Returns:
      possible object is String
    • setSrc

      public void setSrc(String value)
      Sets the value of the src property.
      Parameters:
      value - allowed object is String
    • getUrl

      public String getUrl()
      Gets the value of the url property.
      Returns:
      possible object is String
    • setUrl

      public void setUrl(String value)
      Sets the value of the url property.
      Parameters:
      value - allowed object is String
    • getUrlname

      public String getUrlname()
      Gets the value of the urlname property.
      Returns:
      possible object is String
    • setUrlname

      public void setUrlname(String value)
      Sets the value of the urlname property.
      Parameters:
      value - allowed object is String
    • getNumber

      public BigInteger getNumber()
      Gets the value of the number property.
      Returns:
      possible object is BigInteger
    • setNumber

      public void setNumber(BigInteger value)
      Sets the value of the number property.
      Parameters:
      value - allowed object is BigInteger
    • getAny

      public List<Object> getAny()
      Gets the value of the any 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 any property.

      For example, to add a new item, do as follows:

       getAny().add(newItem);
       

      Objects of the following type(s) are allowed in the list Object

      Returns:
      The value of the any property.
    • getTrkseg

      public List<Gpx.Trk.Trkseg> getTrkseg()
      Gets the value of the trkseg 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 trkseg property.

      For example, to add a new item, do as follows:

       getTrkseg().add(newItem);
       

      Objects of the following type(s) are allowed in the list Gpx.Trk.Trkseg

      Returns:
      The value of the trkseg property.