com.topografix.gpx._1._0
Class Gpx.Trk

java.lang.Object
  extended by com.topografix.gpx._1._0.Gpx.Trk
Enclosing class:
Gpx

public static class Gpx.Trk
extends java.lang.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/>
         <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/>
                           </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>
 


Nested Class Summary
static class Gpx.Trk.Trkseg
          Java class for anonymous complex type.
 
Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.String cmt
           
protected  java.lang.String desc
           
protected  java.lang.String name
           
protected  java.math.BigInteger number
           
protected  java.lang.String src
           
protected  java.util.List<Gpx.Trk.Trkseg> trkseg
           
protected  java.lang.String url
           
protected  java.lang.String urlname
           
 
Constructor Summary
Gpx.Trk()
           
 
Method Summary
 java.util.List<java.lang.Object> getAny()
          Gets the value of the any property.
 java.lang.String getCmt()
          Gets the value of the cmt property.
 java.lang.String getDesc()
          Gets the value of the desc property.
 java.lang.String getName()
          Gets the value of the name property.
 java.math.BigInteger getNumber()
          Gets the value of the number property.
 java.lang.String getSrc()
          Gets the value of the src property.
 java.util.List<Gpx.Trk.Trkseg> getTrkseg()
          Gets the value of the trkseg property.
 java.lang.String getUrl()
          Gets the value of the url property.
 java.lang.String getUrlname()
          Gets the value of the urlname property.
 void setCmt(java.lang.String value)
          Sets the value of the cmt property.
 void setDesc(java.lang.String value)
          Sets the value of the desc property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setNumber(java.math.BigInteger value)
          Sets the value of the number property.
 void setSrc(java.lang.String value)
          Sets the value of the src property.
 void setUrl(java.lang.String value)
          Sets the value of the url property.
 void setUrlname(java.lang.String value)
          Sets the value of the urlname property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

cmt

protected java.lang.String cmt

desc

protected java.lang.String desc

src

protected java.lang.String src

url

protected java.lang.String url

urlname

protected java.lang.String urlname

number

protected java.math.BigInteger number

any

protected java.util.List<java.lang.Object> any

trkseg

protected java.util.List<Gpx.Trk.Trkseg> trkseg
Constructor Detail

Gpx.Trk

public Gpx.Trk()
Method Detail

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getCmt

public java.lang.String getCmt()
Gets the value of the cmt property.

Returns:
possible object is String

setCmt

public void setCmt(java.lang.String value)
Sets the value of the cmt property.

Parameters:
value - allowed object is String

getDesc

public java.lang.String getDesc()
Gets the value of the desc property.

Returns:
possible object is String

setDesc

public void setDesc(java.lang.String value)
Sets the value of the desc property.

Parameters:
value - allowed object is String

getSrc

public java.lang.String getSrc()
Gets the value of the src property.

Returns:
possible object is String

setSrc

public void setSrc(java.lang.String value)
Sets the value of the src property.

Parameters:
value - allowed object is String

getUrl

public java.lang.String getUrl()
Gets the value of the url property.

Returns:
possible object is String

setUrl

public void setUrl(java.lang.String value)
Sets the value of the url property.

Parameters:
value - allowed object is String

getUrlname

public java.lang.String getUrlname()
Gets the value of the urlname property.

Returns:
possible object is String

setUrlname

public void setUrlname(java.lang.String value)
Sets the value of the urlname property.

Parameters:
value - allowed object is String

getNumber

public java.math.BigInteger getNumber()
Gets the value of the number property.

Returns:
possible object is BigInteger

setNumber

public void setNumber(java.math.BigInteger value)
Sets the value of the number property.

Parameters:
value - allowed object is BigInteger

getAny

public java.util.List<java.lang.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 JAXB 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


getTrkseg

public java.util.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 JAXB 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



Copyright © 2007 MotionBased subsidiary of Garmin Ltd.. All Rights Reserved.