Package net.opengis.gml.v32.impl
Class PolygonImpl
java.lang.Object
net.opengis.gml.v32.impl.AbstractGMLImpl
net.opengis.gml.v32.impl.AbstractGeometryImpl
net.opengis.gml.v32.impl.PolygonImpl
- All Implemented Interfaces:
Serializable
,AbstractGeometry
,AbstractGML
,AbstractSurface
,Polygon
POJO class for XML type PolygonType(@http://www.opengis.net/gml/3.2).
This is a complex type.
- See Also:
-
Field Summary
FieldsFields inherited from class net.opengis.gml.v32.impl.AbstractGeometryImpl
axisLabels, srsDimension, srsName, uomLabels
Fields inherited from class net.opengis.gml.v32.impl.AbstractGMLImpl
description, descriptionReference, id, identifier, metaDataPropertyList, nameList, UUID_CODE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInterior
(LinearRing interior) Adds a new interior propertyGets the exterior propertyGets the list of interior propertiesint
Returns number of interior propertiesboolean
Checks if exterior is setvoid
setExterior
(LinearRing exterior) Sets the exterior propertytoString()
Methods inherited from class net.opengis.gml.v32.impl.AbstractGeometryImpl
addCoordinatesToEnvelope, getAxisLabels, getSrsDimension, getSrsName, getUomLabels, isSetAxisLabels, isSetSrsDimension, isSetSrsName, isSetUomLabels, setAxisLabels, setSrsDimension, setSrsName, setUomLabels, unSetSrsDimension
Methods inherited from class net.opengis.gml.v32.impl.AbstractGMLImpl
addName, getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataPropertyList, getName, getNameList, getNumNames, getUniqueIdentifier, isSetDescription, isSetDescriptionReference, isSetIdentifier, setDescription, setDescriptionReference, setId, setIdentifier, setName, setUniqueIdentifier
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.opengis.gml.v32.AbstractGeometry
getAxisLabels, getSrsDimension, getSrsName, getUomLabels, isSetAxisLabels, isSetSrsDimension, isSetSrsName, isSetUomLabels, setAxisLabels, setSrsDimension, setSrsName, setUomLabels, unSetSrsDimension
Methods inherited from interface net.opengis.gml.v32.AbstractGML
addName, getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataPropertyList, getName, getNameList, getNumNames, getUniqueIdentifier, isSetDescription, isSetDescriptionReference, isSetIdentifier, setDescription, setDescriptionReference, setId, setIdentifier, setName, setUniqueIdentifier
-
Field Details
-
exterior
-
interiorList
-
-
Constructor Details
-
PolygonImpl
public PolygonImpl(int numDims)
-
-
Method Details
-
getExterior
Gets the exterior property- Specified by:
getExterior
in interfacePolygon
-
isSetExterior
public boolean isSetExterior()Checks if exterior is set- Specified by:
isSetExterior
in interfacePolygon
-
setExterior
Sets the exterior property- Specified by:
setExterior
in interfacePolygon
-
getInteriorList
Gets the list of interior properties- Specified by:
getInteriorList
in interfacePolygon
-
getNumInteriors
public int getNumInteriors()Returns number of interior properties- Specified by:
getNumInteriors
in interfacePolygon
-
addInterior
Adds a new interior property- Specified by:
addInterior
in interfacePolygon
-
getGeomEnvelope
- Specified by:
getGeomEnvelope
in interfaceAbstractGeometry
- Overrides:
getGeomEnvelope
in classAbstractGeometryImpl
- Returns:
- the geometry bounding (hyper)rectangle
-
toString
-