Package slash.navigation.gpx.osmand
Class RouteType
java.lang.Object
slash.navigation.gpx.osmand.RouteType
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the segment property.
-
Field Details
-
segment
-
-
Constructor Details
-
RouteType
public RouteType()
-
-
Method Details
-
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
setmethod 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.
-