org.deegree_impl.gml
Class GMLMultiPoint_Impl

java.lang.Object
  extended byorg.deegree_impl.gml.GMLGeometry_Impl
      extended byorg.deegree_impl.gml.GMLGeometryCollection_Impl
          extended byorg.deegree_impl.gml.GMLMultiPoint_Impl
All Implemented Interfaces:
GMLGeometry, GMLGeometryCollection, GMLMultiPoint

public class GMLMultiPoint_Impl
extends GMLGeometryCollection_Impl
implements GMLMultiPoint

----------------------------------------------------------

Version:
07.02.2001

Author:
Andreas Poth

Field Summary
 
Fields inherited from class org.deegree_impl.gml.GMLGeometry_Impl
element
 
Constructor Summary
GMLMultiPoint_Impl(org.w3c.dom.Element element)
          Creates a new GMLMultiPoint_Impl object.
 
Method Summary
 void addGeometry(GMLGeometry geometry)
           
 void addPoint(GMLPoint point)
           
static GMLMultiPoint createGMLMultiPoint(org.w3c.dom.Document doc)
          factory method to create a GMLMultiPoint. the collection that will be empty
 GMLGeometry[] getGeometries()
          returns the geometries contained within the collection
 GMLPoint[] getPoints()
          returns all points 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

GMLMultiPoint_Impl

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

Parameters:
element -
Method Detail

createGMLMultiPoint

public static GMLMultiPoint createGMLMultiPoint(org.w3c.dom.Document doc)
factory method to create a GMLMultiPoint. the collection that will be empty


getPoints

public GMLPoint[] getPoints()
returns all points contained within the collection

Specified by:
getPoints in interface GMLMultiPoint

addPoint

public void addPoint(GMLPoint point)
Specified by:
addPoint in interface GMLMultiPoint
See Also:
getPoints()

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