Package org.bremersee.gpx.model
Class PtsegType
java.lang.Object
org.bremersee.gpx.model.PtsegType
- All Implemented Interfaces:
Serializable
An ordered sequence of points. (for polygons or polylines, e.g.)
Java class for ptsegType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ptsegType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="pt" type="{http://www.topografix.com/GPX/1/1}ptType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
pts
-
-
Constructor Details
-
PtsegType
public PtsegType()
-
-
Method Details
-
getPts
Gets the value of the pts 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 pts property.For example, to add a new item, do as follows:
getPts().add(newItem);Objects of the following type(s) are allowed in the list
PtType- Returns:
- The value of the pts property.
-