Class RteType

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

public class RteType extends Object
rte represents route - an ordered list of waypoints representing a series of turn points leading to a destination.

Java class for rteType complex type

.

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


 <complexType name="rteType">
   <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="cmt" 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="src" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="link" type="{http://www.topografix.com/GPX/1/1}linkType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="number" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="extensions" type="{http://www.topografix.com/GPX/1/1}extensionsType" minOccurs="0"/>
         <element name="rtept" type="{http://www.topografix.com/GPX/1/1}wptType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • name

      protected String name
      GPS name of route.
    • cmt

      protected String cmt
      GPS comment for route.
    • desc

      protected String desc
      Text description of route for user. Not sent to GPS.
    • src

      protected String src
      Source of data. Included to give user some idea of reliability and accuracy of data.
    • number

      protected BigInteger number
      GPS route number.
    • type

      protected String type
      Type (classification) of route.
    • extensions

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

      protected List<WptType> rtept
      A list of route points.
  • Constructor Details

    • RteType

      public RteType()
  • Method Details

    • getName

      public String getName()
      GPS name of route.
      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:
    • getCmt

      public String getCmt()
      GPS comment for route.
      Returns:
      possible object is String
    • setCmt

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

      public String getDesc()
      Text description of route for user. Not sent to GPS.
      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:
    • getSrc

      public String getSrc()
      Source of data. Included to give user some idea of reliability and accuracy of data.
      Returns:
      possible object is String
    • setSrc

      public void setSrc(String value)
      Sets the value of the src property.
      Parameters:
      value - allowed object is String
      See Also:
    • getLink

      public List<LinkType> getLink()
      Links to external information about the route. 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.
    • getNumber

      public BigInteger getNumber()
      GPS route number.
      Returns:
      possible object is BigInteger
    • setNumber

      public void setNumber(BigInteger value)
      Sets the value of the number property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getType

      public String getType()
      Type (classification) of route.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
      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:
    • getRtept

      public List<WptType> getRtept()
      A list of route points. Gets the value of the rtept 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 rtept property.

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

       getRtept().add(newItem);
       

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

      Returns:
      The value of the rtept property.