public class GpxType extends Object
Java-Klasse für gpxType complex type.
Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
<complexType name="gpxType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="metadata" type="{http://www.topografix.com/GPX/1/1}metadataType" minOccurs="0"/>
<element name="wpt" type="{http://www.topografix.com/GPX/1/1}wptType" maxOccurs="unbounded" minOccurs="0"/>
<element name="rte" type="{http://www.topografix.com/GPX/1/1}rteType" maxOccurs="unbounded" minOccurs="0"/>
<element name="trk" type="{http://www.topografix.com/GPX/1/1}trkType" maxOccurs="unbounded" minOccurs="0"/>
<element name="extensions" type="{http://www.topografix.com/GPX/1/1}extensionsType" minOccurs="0"/>
</sequence>
<attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="1.1" />
<attribute name="creator" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
creator |
protected ExtensionsType |
extensions |
protected MetadataType |
metadata |
protected List<RteType> |
rte |
protected List<TrkType> |
trk |
protected String |
version |
protected List<WptType> |
wpt |
| Constructor and Description |
|---|
GpxType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCreator()
Ruft den Wert der creator-Eigenschaft ab.
|
ExtensionsType |
getExtensions()
Ruft den Wert der extensions-Eigenschaft ab.
|
MetadataType |
getMetadata()
Ruft den Wert der metadata-Eigenschaft ab.
|
List<RteType> |
getRte()
Gets the value of the rte property.
|
List<TrkType> |
getTrk()
Gets the value of the trk property.
|
String |
getVersion()
Ruft den Wert der version-Eigenschaft ab.
|
List<WptType> |
getWpt()
Gets the value of the wpt property.
|
void |
setCreator(String value)
Legt den Wert der creator-Eigenschaft fest.
|
void |
setExtensions(ExtensionsType value)
Legt den Wert der extensions-Eigenschaft fest.
|
void |
setMetadata(MetadataType value)
Legt den Wert der metadata-Eigenschaft fest.
|
void |
setVersion(String value)
Legt den Wert der version-Eigenschaft fest.
|
protected MetadataType metadata
protected ExtensionsType extensions
protected String version
protected String creator
public MetadataType getMetadata()
MetadataTypepublic void setMetadata(MetadataType value)
value - allowed object is MetadataTypepublic List<WptType> getWpt()
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 wpt property.
For example, to add a new item, do as follows:
getWpt().add(newItem);
Objects of the following type(s) are allowed in the list WptType
public List<RteType> getRte()
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 rte property.
For example, to add a new item, do as follows:
getRte().add(newItem);
Objects of the following type(s) are allowed in the list RteType
public List<TrkType> getTrk()
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 trk property.
For example, to add a new item, do as follows:
getTrk().add(newItem);
Objects of the following type(s) are allowed in the list TrkType
public ExtensionsType getExtensions()
ExtensionsTypepublic void setExtensions(ExtensionsType value)
value - allowed object is ExtensionsTypepublic String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is Stringpublic String getCreator()
StringCopyright © 2012–2025 cismet GmbH. All rights reserved.