dods.clients.importwizard.ECHO
Class SpatialQuery

java.lang.Object
  extended by dods.clients.importwizard.ECHO.SpatialQuery

public class SpatialQuery
extends Object

Author:
Sheila Jiang

Constructor Summary
SpatialQuery()
          Constructs a SpatialQuery
 
Method Summary
 void buildSpatialQuery(String easternmost, String westernmost, String northernmost, String southernmost, JList keywords)
          Builds the spatial query elements
 Element[] getSpatialQuery()
          Returns the elements of spatial query
protected  String toSigned(String input)
          Removes the letter (e, w, n, s) from a long/lat string and adds corresponding sign
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpatialQuery

public SpatialQuery()
Constructs a SpatialQuery

Method Detail

getSpatialQuery

public Element[] getSpatialQuery()
Returns the elements of spatial query

Returns:
the elements of spatial query

buildSpatialQuery

public void buildSpatialQuery(String easternmost,
                              String westernmost,
                              String northernmost,
                              String southernmost,
                              JList keywords)
Builds the spatial query elements

Parameters:
easternmost - the easternmost longitude of the rectangle
westernmost - the westernmost longitude of the rectangle
northernmost - the northernmost longitude of the rectangle
southernmost - the southernmost longitude of the rectangle
keywords - the spatial keyword list

toSigned

protected String toSigned(String input)
Removes the letter (e, w, n, s) from a long/lat string and adds corresponding sign

Parameters:
input - the input long/lat string