Class LineStringType


public class LineStringType extends GeometryType

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://earth.google.com/kml/2.1}GeometryType">
       <sequence>
         <group ref="{http://earth.google.com/kml/2.1}geometryElements"/>
         <element ref="{http://earth.google.com/kml/2.1}coordinates"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • LineStringType

      public LineStringType()
  • Method Details

    • getExtrude

      public Boolean getExtrude()
      Gets the value of the extrude property.
      Returns:
      possible object is Boolean
    • setExtrude

      public void setExtrude(Boolean value)
      Sets the value of the extrude property.
      Parameters:
      value - allowed object is Boolean
    • getTessellate

      public Boolean getTessellate()
      Gets the value of the tessellate property.
      Returns:
      possible object is Boolean
    • setTessellate

      public void setTessellate(Boolean value)
      Sets the value of the tessellate property.
      Parameters:
      value - allowed object is Boolean
    • getAltitudeMode

      public AltitudeModeEnum getAltitudeMode()
      Gets the value of the altitudeMode property.
      Returns:
      possible object is AltitudeModeEnum
    • setAltitudeMode

      public void setAltitudeMode(AltitudeModeEnum value)
      Sets the value of the altitudeMode property.
      Parameters:
      value - allowed object is AltitudeModeEnum
    • getCoordinates

      public List<String> getCoordinates()
      Gets the value of the coordinates 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 coordinates property.

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

          getCoordinates().add(newItem);
       

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