Package slash.navigation.gpx.binding11
Class MetadataType
java.lang.Object
slash.navigation.gpx.binding11.MetadataType
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 Summary
FieldsModifier and TypeFieldDescriptionprotected PersonTypeThe person or organization who created the GPX file.protected BoundsTypeMinimum and maximum coordinates which describe the extent of the coordinates in the file.protected CopyrightTypeCopyright and license information governing use of the file.protected StringA description of the contents of the GPX file.protected ExtensionsTypeYou can add extend GPX by adding your own elements from another schema here.protected StringKeywords associated with the file.URLs associated with the location described in the file.protected StringThe name of the GPX file.protected XMLGregorianCalendarThe creation date of the file. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe person or organization who created the GPX file.Minimum and maximum coordinates which describe the extent of the coordinates in the file.Copyright and license information governing use of the file.getDesc()A description of the contents of the GPX file.You can add extend GPX by adding your own elements from another schema here.Keywords associated with the file.getLink()URLs associated with the location described in the file.getName()The name of the GPX file.getTime()The creation date of the file.voidsetAuthor(PersonType value) Sets the value of the author property.voidsetBounds(BoundsType value) Sets the value of the bounds property.voidsetCopyright(CopyrightType value) Sets the value of the copyright property.voidSets the value of the desc property.voidsetExtensions(ExtensionsType value) Sets the value of the extensions property.voidsetKeywords(String value) Sets the value of the keywords property.voidSets the value of the name property.voidsetTime(XMLGregorianCalendar value) Sets the value of the time property.
-
Field Details
-
name
The name of the GPX file. -
desc
A description of the contents of the GPX file. -
author
The person or organization who created the GPX file. -
copyright
Copyright and license information governing use of the file. -
link
URLs associated with the location described in the file. -
time
The creation date of the file. -
keywords
Keywords associated with the file. Search engines or databases can use this information to classify the data. -
bounds
Minimum and maximum coordinates which describe the extent of the coordinates in the file. -
extensions
You can add extend GPX by adding your own elements from another schema here.
-
-
Constructor Details
-
MetadataType
public MetadataType()
-
-
Method Details
-
getName
The name of the GPX file.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString- See Also:
-
getDesc
A description of the contents of the GPX file.- Returns:
- possible object is
String
-
setDesc
Sets the value of the desc property.- Parameters:
value- allowed object isString- See Also:
-
getAuthor
The person or organization who created the GPX file.- Returns:
- possible object is
PersonType
-
getCopyright
Copyright and license information governing use of the file.- Returns:
- possible object is
CopyrightType
-
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
setmethod 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
The creation date of the file.- Returns:
- possible object is
XMLGregorianCalendar
-
setTime
Sets the value of the time property.- Parameters:
value- allowed object isXMLGregorianCalendar- See Also:
-
getKeywords
Keywords associated with the file. Search engines or databases can use this information to classify the data.- Returns:
- possible object is
String
-
setKeywords
Sets the value of the keywords property.- Parameters:
value- allowed object isString- See Also:
-
getBounds
Minimum and maximum coordinates which describe the extent of the coordinates in the file.- Returns:
- possible object is
BoundsType
-
getExtensions
You can add extend GPX by adding your own elements from another schema here.- Returns:
- possible object is
ExtensionsType
-