// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-hudson-3037-ea3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2007.07.27 at 11:06:51 PM CDT // package org.geoserver.wps.ppio.gpx; import java.util.ArrayList; import java.util.List; /** * * 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. * * * <p> * Java class for gpxType complex type. * * <p> * The following schema fragment specifies the expected content contained within this class. * * <pre> * <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="creator" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" fixed="1.1" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ public class GpxType { protected MetadataType metadata; protected List<WptType> wpt; protected List<RteType> rte; protected List<TrkType> trk; protected ExtensionsType extensions; protected String creator; protected String version; /** * Gets the value of the metadata property. * * @return possible object is {@link MetadataType } * */ public MetadataType getMetadata() { return metadata; } /** * Sets the value of the metadata property. * * @param value allowed object is {@link MetadataType } * */ public void setMetadata(MetadataType value) { this.metadata = value; } /** * Gets the value of the wpt property. * * <p> * 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 <CODE>set</CODE> method for the wpt property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getWpt().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list {@link WptType } * * */ public List<WptType> getWpt() { if (wpt == null) { wpt = new ArrayList<WptType>(); } return this.wpt; } /** * Gets the value of the rte property. * * <p> * 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 <CODE>set</CODE> method for the rte property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getRte().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list {@link RteType } * * */ public List<RteType> getRte() { if (rte == null) { rte = new ArrayList<RteType>(); } return this.rte; } /** * Gets the value of the trk property. * * <p> * 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 <CODE>set</CODE> method for the trk property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getTrk().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list {@link TrkType } * * */ public List<TrkType> getTrk() { if (trk == null) { trk = new ArrayList<TrkType>(); } return this.trk; } /** * Gets the value of the extensions property. * * @return possible object is {@link ExtensionsType } * */ public ExtensionsType getExtensions() { return extensions; } /** * Sets the value of the extensions property. * * @param value allowed object is {@link ExtensionsType } * */ public void setExtensions(ExtensionsType value) { this.extensions = value; } /** * Gets the value of the creator property. * * @return possible object is {@link String } * */ public String getCreator() { return creator; } /** * Sets the value of the creator property. * * @param value allowed object is {@link String } * */ public void setCreator(String value) { this.creator = value; } /** * Gets the value of the version property. * * @return possible object is {@link String } * */ public String getVersion() { if (version == null) { return "1.1"; } else { return version; } } /** * Sets the value of the version property. * * @param value allowed object is {@link String } * */ public void setVersion(String value) { this.version = value; } }