Class MultiGeometryType


public class MultiGeometryType extends GeometryType

Java class for MultiGeometryType complex type.

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

 <complexType name="MultiGeometryType">
   <complexContent>
     <extension base="{http://earth.google.com/kml/2.1}GeometryType">
       <sequence>
         <element ref="{http://earth.google.com/kml/2.1}Geometry" maxOccurs="unbounded"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

    • geometry

      protected List<jakarta.xml.bind.JAXBElement<? extends GeometryType>> geometry
  • Constructor Details

    • MultiGeometryType

      public MultiGeometryType()
  • Method Details

    • getGeometry

      public List<jakarta.xml.bind.JAXBElement<? extends GeometryType>> getGeometry()
      Gets the value of the geometry 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 geometry property.

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

          getGeometry().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<PolygonType> JAXBElement<ModelType> JAXBElement<GeometryType> JAXBElement<MultiGeometryType> JAXBElement<PointType> JAXBElement<LineStringType> JAXBElement<LinearRingType>