Class 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>
     
    • Constructor Detail

      • PtsegType

        public PtsegType()
    • Method Detail

      • getPt

        public List<PtType> getPt()
        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 JAXB 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