org.deegree_impl.gml
Class GMLGeometry_Impl

java.lang.Object
  extended byorg.deegree_impl.gml.GMLGeometry_Impl
All Implemented Interfaces:
GMLGeometry
Direct Known Subclasses:
GMLBox_Impl, GMLGeometryCollection_Impl, GMLLinearRing_Impl, GMLLineString_Impl, GMLPoint_Impl, GMLPolygon_Impl

public class GMLGeometry_Impl
extends java.lang.Object
implements GMLGeometry

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

Version:
07.02.2001

Author:
Andreas Poth

Field Summary
protected  org.w3c.dom.Element element
           
 
Constructor Summary
protected GMLGeometry_Impl(org.w3c.dom.Element element)
          Creates a new GMLGeometry_Impl object.
 
Method Summary
 org.w3c.dom.Element getAsElement()
           
 java.lang.String getId()
          returns the ID of the geometry
 java.lang.String getName()
          returns the name of the Geometry.
 java.lang.String getSrs()
          returns the spatial reference system of the geometry The format is like EPSG:4326.
 void setId(java.lang.String id)
           
 void setSrs(java.lang.String srs)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

element

protected org.w3c.dom.Element element
Constructor Detail

GMLGeometry_Impl

protected GMLGeometry_Impl(org.w3c.dom.Element element)
Creates a new GMLGeometry_Impl object.

Parameters:
element -
Method Detail

getAsElement

public org.w3c.dom.Element getAsElement()
Returns:

getName

public java.lang.String getName()
returns the name of the Geometry. As default a geometry is named using the types specified within the geometry.xsd schema file. But the user is allowed to extend this types to create his own geometries with its own names

Specified by:
getName in interface GMLGeometry

getId

public java.lang.String getId()
returns the ID of the geometry

Specified by:
getId in interface GMLGeometry

setId

public void setId(java.lang.String id)
Specified by:
setId in interface GMLGeometry
See Also:
getId()

getSrs

public java.lang.String getSrs()
returns the spatial reference system of the geometry The format is like EPSG:4326.

Specified by:
getSrs in interface GMLGeometry

setSrs

public void setSrs(java.lang.String srs)
Specified by:
setSrs in interface GMLGeometry
See Also:
getSrs()

toString

public java.lang.String toString()
Returns: