org.deegree_impl.gml
Class GMLMultiPolygon_Impl

java.lang.Object
  extended byorg.deegree_impl.gml.GMLGeometry_Impl
      extended byorg.deegree_impl.gml.GMLGeometryCollection_Impl
          extended byorg.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

Field Summary
 
Fields inherited from class org.deegree_impl.gml.GMLGeometry_Impl
element
 
Constructor Summary
GMLMultiPolygon_Impl(org.w3c.dom.Element element)
          Creates a new GMLMultiPolygon_Impl object.
 
Method Summary
 void addGeometry(GMLGeometry geometry)
           
 void addPolygon(GMLPolygon polygon)
           
static GMLMultiPolygon createGMLMultiPolygon(org.w3c.dom.Document doc)
          factory method to create a GMLMultiPolygon. the collection that will be empty
 GMLGeometry[] getGeometries()
          returns the geometries contained within the collection
 GMLPolygon[] getPolygons()
          returns all polygons contained within the collection
 
Methods inherited from class org.deegree_impl.gml.GMLGeometry_Impl
getAsElement, getId, getName, getSrs, setId, setSrs, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.deegree.gml.GMLGeometryCollection
addGeometry, getGeometries
 
Methods inherited from interface org.deegree.gml.GMLGeometry
getId, getName, getSrs, setId, setSrs
 

Constructor Detail

GMLMultiPolygon_Impl

public GMLMultiPolygon_Impl(org.w3c.dom.Element element)
Creates a new GMLMultiPolygon_Impl object.

Parameters:
element -
Method Detail

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()