Class LineStringType

  • All Implemented Interfaces:
    Serializable

    public class LineStringType
    extends AbstractCurveType
    implements Serializable

    Java class for LineStringType complex type.

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

     <complexType name="LineStringType">
       <complexContent>
         <extension base="{http://www.opengis.net/gml/3.2}AbstractCurveType">
           <sequence>
             <choice>
               <choice maxOccurs="unbounded" minOccurs="2">
                 <element ref="{http://www.opengis.net/gml/3.2}pos"/>
                 <element ref="{http://www.opengis.net/gml/3.2}pointProperty"/>
               </choice>
               <element ref="{http://www.opengis.net/gml/3.2}posList"/>
             </choice>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • LineStringType

        public LineStringType()
    • Method Detail

      • getPosList

        public PosList getPosList()
        Gets the value of the posList property.
        Returns:
        possible object is PosList
      • setPosList

        public void setPosList​(PosList value)
        Sets the value of the posList property.
        Parameters:
        value - allowed object is PosList
      • getPosAndPointProperties

        public List<Serializable> getPosAndPointProperties()
        Gets the value of the posAndPointProperties 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 posAndPointProperties property.

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

            getPosAndPointProperties().add(newItem);
         

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