Class RouteType

java.lang.Object
slash.navigation.gpx.osmand.RouteType

public class RouteType extends Object

Java class for RouteType complex type

.

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


 <complexType name="RouteType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="segment" type="{https://osmand.net/docs/technical/osmand-file-formats/osmand-gpx}SegmentType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • RouteType

      public RouteType()
  • Method Details

    • getSegment

      public List<SegmentType> getSegment()
      Gets the value of the segment 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 JAXB object. This is why there is not a set method for the segment property.

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

       getSegment().add(newItem);
       

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

      Returns:
      The value of the segment property.