Class Gpx.Trk
- Enclosing class:
Gpx
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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAny()Gets the value of the any property.getCmt()Gets the value of the cmt property.getDesc()Gets the value of the desc property.getName()Gets the value of the name property.Gets the value of the number property.getSrc()Gets the value of the src property.Gets the value of the trkseg property.getUrl()Gets the value of the url property.Gets the value of the urlname property.voidSets the value of the cmt property.voidSets the value of the desc property.voidSets the value of the name property.voidsetNumber(BigInteger value) Sets the value of the number property.voidSets the value of the src property.voidSets the value of the url property.voidsetUrlname(String value) Sets the value of the urlname property.
-
Field Details
-
name
-
cmt
-
desc
-
src
-
url
-
urlname
-
number
-
any
-
trkseg
-
-
Constructor Details
-
Trk
public Trk()
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getCmt
Gets the value of the cmt property.- Returns:
- possible object is
String
-
setCmt
Sets the value of the cmt property.- Parameters:
value- allowed object isString
-
getDesc
Gets the value of the desc property.- Returns:
- possible object is
String
-
setDesc
Sets the value of the desc property.- Parameters:
value- allowed object isString
-
getSrc
Gets the value of the src property.- Returns:
- possible object is
String
-
setSrc
Sets the value of the src property.- Parameters:
value- allowed object isString
-
getUrl
Gets the value of the url property.- Returns:
- possible object is
String
-
setUrl
Sets the value of the url property.- Parameters:
value- allowed object isString
-
getUrlname
Gets the value of the urlname property.- Returns:
- possible object is
String
-
setUrlname
Sets the value of the urlname property.- Parameters:
value- allowed object isString
-
getNumber
Gets the value of the number property.- Returns:
- possible object is
BigInteger
-
setNumber
Sets the value of the number property.- Parameters:
value- allowed object isBigInteger
-
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
setmethod 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
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
setmethod 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.
-