Class MetadataType

java.lang.Object
slash.navigation.gpx.binding11.MetadataType

public class MetadataType extends Object
Information about the GPX file, author, and copyright restrictions goes in the metadata section. Providing rich, meaningful information about your GPX files allows others to search for and use your GPS data.

Java class for metadataType complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="metadataType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="desc" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="author" type="{http://www.topografix.com/GPX/1/1}personType" minOccurs="0"/>
         <element name="copyright" type="{http://www.topografix.com/GPX/1/1}copyrightType" minOccurs="0"/>
         <element name="link" type="{http://www.topografix.com/GPX/1/1}linkType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="time" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="keywords" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="bounds" type="{http://www.topografix.com/GPX/1/1}boundsType" minOccurs="0"/>
         <element name="extensions" type="{http://www.topografix.com/GPX/1/1}extensionsType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • name

      protected String name
      The name of the GPX file.
    • desc

      protected String desc
      A description of the contents of the GPX file.
    • author

      protected PersonType author
      The person or organization who created the GPX file.
    • time

      protected XMLGregorianCalendar time
      The creation date of the file.
    • keywords

      protected String keywords
      Keywords associated with the file. Search engines or databases can use this information to classify the data.
    • bounds

      protected BoundsType bounds
      Minimum and maximum coordinates which describe the extent of the coordinates in the file.
    • extensions

      protected ExtensionsType extensions
      You can add extend GPX by adding your own elements from another schema here.
  • Constructor Details

    • MetadataType

      public MetadataType()
  • Method Details

    • getName

      public String getName()
      The name of the GPX file.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
      See Also:
    • getDesc

      public String getDesc()
      A description of the contents of the GPX file.
      Returns:
      possible object is String
    • setDesc

      public void setDesc(String value)
      Sets the value of the desc property.
      Parameters:
      value - allowed object is String
      See Also:
    • getAuthor

      public PersonType getAuthor()
      The person or organization who created the GPX file.
      Returns:
      possible object is PersonType
    • setAuthor

      public void setAuthor(PersonType value)
      Sets the value of the author property.
      Parameters:
      value - allowed object is PersonType
      See Also:
    • getCopyright

      public CopyrightType getCopyright()
      Copyright and license information governing use of the file.
      Returns:
      possible object is CopyrightType
    • setCopyright

      public void setCopyright(CopyrightType value)
      Sets the value of the copyright property.
      Parameters:
      value - allowed object is CopyrightType
      See Also:
    • getLink

      public List<LinkType> getLink()
      URLs associated with the location described in the file. Gets the value of the link 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 set method for the link property.

      For example, to add a new item, do as follows:

       getLink().add(newItem);
       

      Objects of the following type(s) are allowed in the list LinkType

      Returns:
      The value of the link property.
    • getTime

      public XMLGregorianCalendar getTime()
      The creation date of the file.
      Returns:
      possible object is XMLGregorianCalendar
    • setTime

      public void setTime(XMLGregorianCalendar value)
      Sets the value of the time property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      See Also:
    • getKeywords

      public String getKeywords()
      Keywords associated with the file. Search engines or databases can use this information to classify the data.
      Returns:
      possible object is String
    • setKeywords

      public void setKeywords(String value)
      Sets the value of the keywords property.
      Parameters:
      value - allowed object is String
      See Also:
    • getBounds

      public BoundsType getBounds()
      Minimum and maximum coordinates which describe the extent of the coordinates in the file.
      Returns:
      possible object is BoundsType
    • setBounds

      public void setBounds(BoundsType value)
      Sets the value of the bounds property.
      Parameters:
      value - allowed object is BoundsType
      See Also:
    • getExtensions

      public ExtensionsType getExtensions()
      You can add extend GPX by adding your own elements from another schema here.
      Returns:
      possible object is ExtensionsType
    • setExtensions

      public void setExtensions(ExtensionsType value)
      Sets the value of the extensions property.
      Parameters:
      value - allowed object is ExtensionsType
      See Also: