Esri Geoportal Server
1.0

com.esri.gpt.server.csw.client
Class Envelope

java.lang.Object
  extended by com.esri.gpt.server.csw.client.Envelope

public class Envelope
extends Object

Envelope defined as in geographical coordinate system. Used for CSW search criteria. By default all values are Double.MIN_VALUE


Constructor Summary
Envelope()
          Envelope constructor
Envelope(double minX, double minY, double maxX, double maxY)
          Envelope constructor
 
Method Summary
 double getMaxX()
          Gets the max x.
 double getMaxY()
          Gets the max y.
 double getMinX()
          Gets the min x.
 double getMinY()
          Gets the min y.
 boolean isValid()
          Checks if Envelope is valid.
 void setMaxX(double maxX)
           
 void setMaxY(double maxY)
           
 void setMinX(double minX)
           
 void setMinY(double minY)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Envelope

public Envelope()
Envelope constructor


Envelope

public Envelope(double minX,
                double minY,
                double maxX,
                double maxY)
Envelope constructor

Parameters:
minX - Min longitude of the envelope
minY - Min latitude of the envelope
maxX - Max longitude of the envelope
maxY - Max latitude of the envelope
Method Detail

getMaxX

public double getMaxX()
Gets the max x.

Returns:
the max x

getMaxY

public double getMaxY()
Gets the max y.

Returns:
the max y

getMinX

public double getMinX()
Gets the min x.

Returns:
the min x

getMinY

public double getMinY()
Gets the min y.

Returns:
the min y

setMaxX

public void setMaxX(double maxX)
Parameters:
maxX -

setMaxY

public void setMaxY(double maxY)
Parameters:
maxY -

setMinX

public void setMinX(double minX)
Parameters:
minX -

setMinY

public void setMinY(double minY)
Parameters:
minY -

isValid

public boolean isValid()
Checks if Envelope is valid.

Returns:
true, if is valid

toString

public String toString()
Overrides:
toString in class Object

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.