Class MultiPolygonType


  • public class MultiPolygonType
    extends AbstractGeometricAggregateType
    A MultiPolygon is defined by one or more Polygons, referenced through polygonMember elements. Deprecated with GML version 3.0. Use MultiSurfaceType instead.

    Java class for MultiPolygonType complex type.

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

     <complexType name="MultiPolygonType">
       <complexContent>
         <extension base="{http://www.opengis.net/gml}AbstractGeometricAggregateType">
           <sequence>
             <element ref="{http://www.opengis.net/gml}polygonMember" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>
     
    • Method Detail

      • getPolygonMember

        public List<PolygonMember> getPolygonMember()
        Gets the value of the polygonMember 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 polygonMember property.

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

            getPolygonMember().add(newItem);
         

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