Class PtsegType

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

public class PtsegType extends Object
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>
 
  • Field Details

    • pt

      protected List<PtType> pt
      Ordered list of geographic points.
  • Constructor Details

    • PtsegType

      public PtsegType()
  • Method Details

    • getPt

      public List<PtType> getPt()
      Ordered list of geographic points. Gets the value of the pt 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 pt property.

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

       getPt().add(newItem);
       

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

      Returns:
      The value of the pt property.