cgl.ogc.wms.gml_Impl
Class GMLBox_Impl

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

public class GMLBox_Impl
extends GMLGeometry_Impl
implements GMLBox

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

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
Returns:
GMLCoord

setMin

public void setMin(GMLCoord min)
Specified by:
setMin in interface GMLBox
Parameters:
min - GMLCoord
See Also:
org.deegree_impl.gml.GMLBox_Impl#getMin()

getMax

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

Specified by:
getMax in interface GMLBox
Returns:
GMLCoord

setMax

public void setMax(GMLCoord max)
Specified by:
setMax in interface GMLBox
Parameters:
max - GMLCoord
See Also:
org.deegree_impl.gml.GMLBox_Impl#getMax()

getCoordinates

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

Specified by:
getCoordinates in interface GMLBox
Returns:
GMLCoordinates[]

setCoordinates

public void setCoordinates(GMLCoordinates coordinates)
Specified by:
setCoordinates in interface GMLBox
Parameters:
coordinates - GMLCoordinates
See Also:
org.deegree_impl.gml.GMLBox_Impl#getMin()