net.opengis.gml
Class PolygonType

java.lang.Object
  extended by net.opengis.gml.AbstractGMLType
      extended by net.opengis.gml.AbstractGeometryType
          extended by net.opengis.gml.AbstractGeometricPrimitiveType
              extended by net.opengis.gml.AbstractSurfaceType
                  extended by net.opengis.gml.PolygonType

public class PolygonType
extends AbstractSurfaceType

A Polygon is a special surface that is defined by a single surface patch. The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. It is backwards compatible with the Polygon of GML 2, GM_Polygon of ISO 19107 is implemented by PolygonPatch.

Java class for PolygonType complex type.

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

 <complexType name="PolygonType">
   <complexContent>
     <extension base="{http://www.opengis.net/gml}AbstractSurfaceType">
       <sequence>
         <element ref="{http://www.opengis.net/gml}exterior" minOccurs="0"/>
         <element ref="{http://www.opengis.net/gml}interior" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  AbstractRingPropertyType exterior
           
protected  List<AbstractRingPropertyType> interior
           
 
Fields inherited from class net.opengis.gml.AbstractGeometryType
axisLabels, gid, srsDimension, srsName, uomLabels
 
Fields inherited from class net.opengis.gml.AbstractGMLType
description, id, metaDataProperty, name
 
Constructor Summary
PolygonType()
           
 
Method Summary
 AbstractRingPropertyType getExterior()
          Gets the value of the exterior property.
 List<AbstractRingPropertyType> getInterior()
          Gets the value of the interior property.
 void setExterior(AbstractRingPropertyType value)
          Sets the value of the exterior property.
 
Methods inherited from class net.opengis.gml.AbstractGeometryType
getAxisLabels, getGid, getSrsDimension, getSrsName, getUomLabels, setGid, setSrsDimension, setSrsName
 
Methods inherited from class net.opengis.gml.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, setDescription, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exterior

protected AbstractRingPropertyType exterior

interior

protected List<AbstractRingPropertyType> interior
Constructor Detail

PolygonType

public PolygonType()
Method Detail

getExterior

public AbstractRingPropertyType getExterior()
Gets the value of the exterior property.

Returns:
possible object is AbstractRingPropertyType

setExterior

public void setExterior(AbstractRingPropertyType value)
Sets the value of the exterior property.

Parameters:
value - allowed object is AbstractRingPropertyType

getInterior

public List<AbstractRingPropertyType> getInterior()
Gets the value of the interior 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 interior property.

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

    getInterior().add(newItem);
 

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



Copyright © 2008. All Rights Reserved.