cgl.ogc.wms.gml_Impl
Class GMLMultiPolygon_Impl

java.lang.Object
  extended bycgl.ogc.wms.gml_Impl.GMLGeometry_Impl
      extended bycgl.ogc.wms.gml_Impl.GMLGeometryCollection_Impl
          extended bycgl.ogc.wms.gml_Impl.GMLMultiPolygon_Impl
All Implemented Interfaces:
GMLGeometry, GMLGeometryCollection, GMLMultiPolygon

public class GMLMultiPolygon_Impl
extends GMLGeometryCollection_Impl
implements GMLMultiPolygon

Title:

Description:

Copyright: Copyright (c) 2005

Company: Indiana University - Computer Science Dept.

Version:
1.0
Author:
Ahmet Sayar

Field Summary
 
Fields inherited from class cgl.ogc.wms.gml_Impl.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.
 GMLGeometry[] getGeometries()
          returns the geometries contained within the collection
 GMLPolygon[] getPolygons()
          returns all polygons contained within the collection
 
Methods inherited from class cgl.ogc.wms.gml_Impl.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 cgl.ogc.wms.gml.GMLGeometryCollection
addGeometry, getGeometries
 
Methods inherited from interface cgl.ogc.wms.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 - 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

Parameters:
doc - Document
Returns:
GMLMultiPolygon

getPolygons

public GMLPolygon[] getPolygons()
returns all polygons contained within the collection

Specified by:
getPolygons in interface GMLMultiPolygon
Returns:
GMLPolygon[]

addPolygon

public void addPolygon(GMLPolygon polygon)
Specified by:
addPolygon in interface GMLMultiPolygon
Parameters:
polygon - GMLPolygon
See Also:
org.deegree_impl.gml.GMLMultiPolygon_Impl#getPolygons()

getGeometries

public GMLGeometry[] getGeometries()
returns the geometries contained within the collection

Specified by:
getGeometries in interface GMLGeometryCollection
Returns:
GMLGeometry[]

addGeometry

public void addGeometry(GMLGeometry geometry)
Specified by:
addGeometry in interface GMLGeometryCollection
Parameters:
geometry - GMLGeometry
See Also:
org.deegree_impl.gml.GMLGeometryCollection_Impl#getGeometries()