org.deegree_impl.gml
Class GMLMultiPolygon_Impl
java.lang.Object
org.deegree_impl.gml.GMLGeometry_Impl
org.deegree_impl.gml.GMLGeometryCollection_Impl
org.deegree_impl.gml.GMLMultiPolygon_Impl
- All Implemented Interfaces:
- GMLGeometry, GMLGeometryCollection, GMLMultiPolygon
- public class GMLMultiPolygon_Impl
- extends GMLGeometryCollection_Impl
- implements GMLMultiPolygon
----------------------------------------------------------
- Version:
- 07.02.2001
- Author:
- Andreas Poth
Constructor Summary |
GMLMultiPolygon_Impl(org.w3c.dom.Element element)
Creates a new GMLMultiPolygon_Impl object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GMLMultiPolygon_Impl
public GMLMultiPolygon_Impl(org.w3c.dom.Element element)
- Creates a new GMLMultiPolygon_Impl object.
- Parameters:
element
-
createGMLMultiPolygon
public static GMLMultiPolygon createGMLMultiPolygon(org.w3c.dom.Document doc)
- factory method to create a GMLMultiPolygon. the collection
that will be empty
getPolygons
public GMLPolygon[] getPolygons()
- returns all polygons contained within the collection
- Specified by:
getPolygons
in interface GMLMultiPolygon
addPolygon
public void addPolygon(GMLPolygon polygon)
- Specified by:
addPolygon
in interface GMLMultiPolygon
- See Also:
getPolygons()
getGeometries
public GMLGeometry[] getGeometries()
- returns the geometries contained within the collection
- Specified by:
getGeometries
in interface GMLGeometryCollection
addGeometry
public void addGeometry(GMLGeometry geometry)
- Specified by:
addGeometry
in interface GMLGeometryCollection
- See Also:
GMLGeometryCollection_Impl.getGeometries()