Class GpxType
- java.lang.Object
-
- net.wirelabs.jmaps.example.gpx.GpxType
-
public class GpxType extends Object
GPX documents contain a metadata header, followed by waypoints, routes, and tracks. You can add your own elements to the extensions section of the GPX document.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>
-
-
Constructor Summary
Constructors Constructor Description GpxType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCreator()Gets the value of the creator property.ExtensionsTypegetExtensions()Gets the value of the extensions property.MetadataTypegetMetadata()Gets the value of the metadata property.List<RteType>getRte()Gets the value of the rte property.List<TrkType>getTrk()Gets the value of the trk property.StringgetVersion()Gets the value of the version property.List<WptType>getWpt()Gets the value of the wpt property.voidsetCreator(String value)Sets the value of the creator property.voidsetExtensions(ExtensionsType value)Sets the value of the extensions property.voidsetMetadata(MetadataType value)Sets the value of the metadata property.voidsetVersion(String value)Sets the value of the version property.
-
-
-
Field Detail
-
metadata
protected MetadataType metadata
-
extensions
protected ExtensionsType extensions
-
version
protected String version
-
creator
protected String creator
-
-
Method Detail
-
getMetadata
public MetadataType getMetadata()
Gets the value of the metadata property.- Returns:
- possible object is
MetadataType
-
setMetadata
public void setMetadata(MetadataType value)
Sets the value of the metadata property.- Parameters:
value- allowed object isMetadataType
-
getWpt
public List<WptType> getWpt()
Gets the value of the wpt 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
setmethod 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
-
getRte
public List<RteType> getRte()
Gets the value of the rte 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
setmethod 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
-
getTrk
public List<TrkType> getTrk()
Gets the value of the trk 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
setmethod 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
-
getExtensions
public ExtensionsType getExtensions()
Gets the value of the extensions property.- Returns:
- possible object is
ExtensionsType
-
setExtensions
public void setExtensions(ExtensionsType value)
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensionsType
-
getVersion
public String getVersion()
Gets the value of the version property.- Returns:
- possible object is
String
-
setVersion
public void setVersion(String value)
Sets the value of the version property.- Parameters:
value- allowed object isString
-
getCreator
public String getCreator()
Gets the value of the creator property.- Returns:
- possible object is
String
-
-