org.deegree_impl.gml
Class GMLPoint_Impl

java.lang.Object
  extended byorg.deegree_impl.gml.GMLGeometry_Impl
      extended byorg.deegree_impl.gml.GMLPoint_Impl
All Implemented Interfaces:
GMLGeometry, GMLPoint

public class GMLPoint_Impl
extends GMLGeometry_Impl
implements GMLPoint

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

Version:
07.02.2001

Author:
Andreas Poth

Field Summary
 
Fields inherited from class org.deegree_impl.gml.GMLGeometry_Impl
element
 
Constructor Summary
GMLPoint_Impl(org.w3c.dom.Element element)
          Creates a new GMLPoint_Impl object.
 
Method Summary
static GMLPoint createGMLPoint(org.w3c.dom.Document doc)
          factory method to create a GMLPoint.
 GMLCoord getCoord()
          returns the coordinate (location) of the point as GMLCoord
 GMLCoordinates getCoordinates()
          returns the coordinate (location) of the point as GMLCoordinates
 void setCoord(GMLCoord coord)
           
 void setCoordinates(GMLCoordinates coordinates)
           
 
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.GMLGeometry
getId, getName, getSrs, setId, setSrs
 

Constructor Detail

GMLPoint_Impl

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

Parameters:
element -
Method Detail

createGMLPoint

public static GMLPoint createGMLPoint(org.w3c.dom.Document doc)
factory method to create a GMLPoint. The default location of the point is [-9E99,-9E99]


getCoord

public GMLCoord getCoord()
returns the coordinate (location) of the point as GMLCoord

Specified by:
getCoord in interface GMLPoint

setCoord

public void setCoord(GMLCoord coord)
Specified by:
setCoord in interface GMLPoint
See Also:
getCoord()

getCoordinates

public GMLCoordinates getCoordinates()
returns the coordinate (location) of the point as GMLCoordinates

Specified by:
getCoordinates in interface GMLPoint

setCoordinates

public void setCoordinates(GMLCoordinates coordinates)
Specified by:
setCoordinates in interface GMLPoint
See Also:
getCoordinates()