Class LineStringType


public class LineStringType extends AbstractGeometryType

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.2}AbstractGeometryType">
       <sequence>
         <element ref="{http://earth.google.com/kml/2.2}extrude" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.2}tessellate" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.2}altitudeModeGroup" minOccurs="0"/>
         <element ref="{http://earth.google.com/kml/2.2}coordinates" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • extrude

      protected Boolean extrude
    • tessellate

      protected Boolean tessellate
    • altitudeModeGroup

      protected jakarta.xml.bind.JAXBElement<?> altitudeModeGroup
    • coordinates

      protected List<String> coordinates
  • Constructor Details

    • LineStringType

      public LineStringType()
  • Method Details

    • isExtrude

      public Boolean isExtrude()
      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
    • isTessellate

      public Boolean isTessellate()
      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
    • getAltitudeModeGroup

      public jakarta.xml.bind.JAXBElement<?> getAltitudeModeGroup()
      Gets the value of the altitudeModeGroup property.
      Returns:
      possible object is JAXBElement<AltitudeModeEnumType> JAXBElement<Object>
    • setAltitudeModeGroup

      public void setAltitudeModeGroup(jakarta.xml.bind.JAXBElement<?> value)
      Sets the value of the altitudeModeGroup property.
      Parameters:
      value - allowed object is JAXBElement<AltitudeModeEnumType> JAXBElement<Object>
    • 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