public class GpxType
extends java.lang.Object
Java class for gpxType complex type.
The following schema fragment specifies the expected content contained within this class.
<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 java.lang.String |
creator |
protected ExtensionsType |
extensions |
protected MetadataType |
metadata |
protected java.util.List<RteType> |
rte |
protected java.util.List<TrkType> |
trk |
protected java.lang.String |
version |
protected java.util.List<WptType> |
wpt |
Constructor and Description |
---|
GpxType() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCreator()
Gets the value of the creator property.
|
ExtensionsType |
getExtensions()
Gets the value of the extensions property.
|
MetadataType |
getMetadata()
Gets the value of the metadata property.
|
java.util.List<RteType> |
getRte()
Gets the value of the rte property.
|
java.util.List<TrkType> |
getTrk()
Gets the value of the trk property.
|
java.lang.String |
getVersion()
Gets the value of the version property.
|
java.util.List<WptType> |
getWpt()
Gets the value of the wpt property.
|
void |
setCreator(java.lang.String value)
Sets the value of the creator property.
|
void |
setExtensions(ExtensionsType value)
Sets the value of the extensions property.
|
void |
setMetadata(MetadataType value)
Sets the value of the metadata property.
|
void |
setVersion(java.lang.String value)
Sets the value of the version property.
|
protected MetadataType metadata
protected java.util.List<WptType> wpt
protected java.util.List<RteType> rte
protected java.util.List<TrkType> trk
protected ExtensionsType extensions
protected java.lang.String version
protected java.lang.String creator
public MetadataType getMetadata()
MetadataType
public void setMetadata(MetadataType value)
value
- allowed object is
MetadataType
public java.util.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 java.util.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 java.util.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()
ExtensionsType
public void setExtensions(ExtensionsType value)
value
- allowed object is
ExtensionsType
public java.lang.String getVersion()
String
public void setVersion(java.lang.String value)
value
- allowed object is
String
public java.lang.String getCreator()
String
public void setCreator(java.lang.String value)
value
- allowed object is
String