Class Gpx
- All Implemented Interfaces:
Serializable
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>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the creator property.Gets the value of the extensions property.Gets the value of the metadata property.getRtes()Gets the value of the rtes property.getTrks()Gets the value of the trks property.Gets the value of the version property.getWpts()Gets the value of the wpts 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 Details
-
metadata
-
wpts
-
rtes
-
trks
-
extensions
-
version
-
creator
-
-
Constructor Details
-
Gpx
public Gpx()
-
-
Method Details
-
getMetadata
Gets the value of the metadata property.- Returns:
- possible object is
MetadataType
-
setMetadata
Sets the value of the metadata property.- Parameters:
value- allowed object isMetadataType
-
getWpts
Gets the value of the wpts 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 wpts property.For example, to add a new item, do as follows:
getWpts().add(newItem);Objects of the following type(s) are allowed in the list
WptType- Returns:
- The value of the wpts property.
-
getRtes
Gets the value of the rtes 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 rtes property.For example, to add a new item, do as follows:
getRtes().add(newItem);Objects of the following type(s) are allowed in the list
RteType- Returns:
- The value of the rtes property.
-
getTrks
Gets the value of the trks 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 trks property.For example, to add a new item, do as follows:
getTrks().add(newItem);Objects of the following type(s) are allowed in the list
TrkType- Returns:
- The value of the trks property.
-
getExtensions
Gets the value of the extensions property.- Returns:
- possible object is
ExtensionsType
-
setExtensions
Sets the value of the extensions property.- Parameters:
value- allowed object isExtensionsType
-
getVersion
Gets the value of the version property.- Returns:
- possible object is
String
-
setVersion
Sets the value of the version property.- Parameters:
value- allowed object isString
-
getCreator
Gets the value of the creator property.- Returns:
- possible object is
String
-
setCreator
Sets the value of the creator property.- Parameters:
value- allowed object isString
-