net.opengis.gml
Class PolygonType
java.lang.Object
net.opengis.gml.AbstractGMLType
net.opengis.gml.AbstractGeometryType
net.opengis.gml.AbstractGeometricPrimitiveType
net.opengis.gml.AbstractSurfaceType
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exterior
protected AbstractRingPropertyType exterior
interior
protected List<AbstractRingPropertyType> interior
PolygonType
public PolygonType()
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.