org.deegree_impl.gml
Class GMLBox_Impl

java.lang.Object
  extended byorg.deegree_impl.gml.GMLGeometry_Impl
      extended byorg.deegree_impl.gml.GMLBox_Impl
All Implemented Interfaces:
GMLBox, GMLGeometry

public class GMLBox_Impl
extends GMLGeometry_Impl
implements GMLBox

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

Version:
07.02.2001

Author:
Andreas Poth

Field Summary
 
Fields inherited from class org.deegree_impl.gml.GMLGeometry_Impl
element
 
Constructor Summary
GMLBox_Impl(org.w3c.dom.Element element)
          Creates a new GMLBox_Impl object.
 
Method Summary
static GMLBox createGMLBox(org.w3c.dom.Document doc)
          factory method to create an initial box tag. the upper left corner is set to [0,0] and the lower right corner to [1,1].
 GMLCoordinates[] getCoordinates()
          returns the coordinates of the box
 GMLCoord getMax()
          returns the coord with the maxx and maxy coordinate
 GMLCoord getMin()
          returns the coord with the minx and miny coordinate The method assumes that there exists a two dimensional coordinate system
 void setCoordinates(GMLCoordinates coordinates)
           
 void setMax(GMLCoord max)
           
 void setMin(GMLCoord min)
           
 
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

GMLBox_Impl

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

Parameters:
element -
Method Detail

createGMLBox

public static GMLBox createGMLBox(org.w3c.dom.Document doc)
factory method to create an initial box tag. the upper left corner is set to [0,0] and the lower right corner to [1,1].


getMin

public GMLCoord getMin()
returns the coord with the minx and miny coordinate The method assumes that there exists a two dimensional coordinate system

Specified by:
getMin in interface GMLBox

setMin

public void setMin(GMLCoord min)
Specified by:
setMin in interface GMLBox
See Also:
getMin()

getMax

public GMLCoord getMax()
returns the coord with the maxx and maxy coordinate

Specified by:
getMax in interface GMLBox

setMax

public void setMax(GMLCoord max)
Specified by:
setMax in interface GMLBox
See Also:
getMax()

getCoordinates

public GMLCoordinates[] getCoordinates()
returns the coordinates of the box

Specified by:
getCoordinates in interface GMLBox

setCoordinates

public void setCoordinates(GMLCoordinates coordinates)
Specified by:
setCoordinates in interface GMLBox
See Also:
getMin()