Package net.opengis.gml._3
Class PolygonType
-
- All Implemented Interfaces:
Serializable
public class PolygonType extends AbstractSurfaceType implements Serializable
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/3.2}AbstractSurfaceType"> <sequence> <element ref="{http://www.opengis.net/gml/3.2}exterior" minOccurs="0"/> <element ref="{http://www.opengis.net/gml/3.2}interior" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractRingPropertyTypeexteriorprotected List<AbstractRingPropertyType>interiors-
Fields inherited from class net.opengis.gml._3.AbstractGeometryType
srsDimension, srsName
-
Fields inherited from class net.opengis.gml._3.AbstractGMLType
descriptionReference, id, identifier, names
-
-
Constructor Summary
Constructors Constructor Description PolygonType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractRingPropertyTypegetExterior()Gets the value of the exterior property.List<AbstractRingPropertyType>getInteriors()Gets the value of the interiors property.voidsetExterior(AbstractRingPropertyType value)Sets the value of the exterior property.-
Methods inherited from class net.opengis.gml._3.AbstractGeometryType
getSrsDimension, getSrsName, setSrsDimension, setSrsName
-
Methods inherited from class net.opengis.gml._3.AbstractGMLType
getDescriptionReference, getId, getIdentifier, getNames, setDescriptionReference, setId, setIdentifier
-
-
-
-
Field Detail
-
exterior
protected AbstractRingPropertyType exterior
-
interiors
protected List<AbstractRingPropertyType> interiors
-
-
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 isAbstractRingPropertyType
-
getInteriors
public List<AbstractRingPropertyType> getInteriors()
Gets the value of the interiors 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 Jakarta XML Binding object. This is why there is not a
setmethod for the interiors property.For example, to add a new item, do as follows:
getInteriors().add(newItem);Objects of the following type(s) are allowed in the list
AbstractRingPropertyType
-
-