cgl.ogc.wms.gml_Impl
Class GMLPoint_Impl

java.lang.Object
  extended bycgl.ogc.wms.gml_Impl.GMLGeometry_Impl
      extended bycgl.ogc.wms.gml_Impl.GMLPoint_Impl
All Implemented Interfaces:
GMLGeometry, GMLPoint

public class GMLPoint_Impl
extends GMLGeometry_Impl
implements GMLPoint

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
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 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.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 - 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]

Parameters:
doc - Document
Returns:
GMLPoint

getCoord

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

Specified by:
getCoord in interface GMLPoint
Returns:
GMLCoord

setCoord

public void setCoord(GMLCoord coord)
Specified by:
setCoord in interface GMLPoint
Parameters:
coord - GMLCoord
See Also:
org.deegree_impl.gml.GMLPoint_Impl#getCoord()

getCoordinates

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

Specified by:
getCoordinates in interface GMLPoint
Returns:
GMLCoordinates

setCoordinates

public void setCoordinates(GMLCoordinates coordinates)
Specified by:
setCoordinates in interface GMLPoint
Parameters:
coordinates - GMLCoordinates
See Also:
org.deegree_impl.gml.GMLPoint_Impl#getCoordinates()