deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wms.capabilities
Class Extent

java.lang.Object
  extended by org.deegree.ogcwebservices.wms.capabilities.Extent

public class Extent
extends java.lang.Object

The Extent element indicates what _values_ along a dimension are valid.

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

Version:
$Revision: 18195 $
Author:
Katharina Lupp, Markus Schneider

Constructor Summary
Extent(java.lang.String name, java.lang.String default_, boolean useNearestValue)
          constructor initializing the class with the
Extent(java.lang.String name, java.lang.String default_, boolean useNearestValue, java.lang.String value)
          constructor initializing the class with the
 
Method Summary
 java.lang.String getDefault()
           
 java.lang.String getName()
           
 java.lang.String getValue()
           
 void setDefault(java.lang.String default_)
          sets the default extent
 void setName(java.lang.String name)
          sets the name of the extent
 void setUseNearestValue(boolean useNearestValue)
          sets true if a WMS should use the extent that is nearest to the requested level.
 void setValue(java.lang.String value)
           
 java.lang.String toString()
           
 boolean useNearestValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Extent

Extent(java.lang.String name,
       java.lang.String default_,
       boolean useNearestValue)
constructor initializing the class with the


Extent

public Extent(java.lang.String name,
              java.lang.String default_,
              boolean useNearestValue,
              java.lang.String value)
constructor initializing the class with the

Parameters:
name -
default_ -
useNearestValue -
value -
Method Detail

getName

public java.lang.String getName()
Returns:
the name of the extent

setName

public void setName(java.lang.String name)
sets the name of the extent

Parameters:
name -

getDefault

public java.lang.String getDefault()
Returns:
the default extent

setDefault

public void setDefault(java.lang.String default_)
sets the default extent

Parameters:
default_ -

useNearestValue

public boolean useNearestValue()
Returns:
true if a WMS should use the extent that is nearest to the requested level.

setUseNearestValue

public void setUseNearestValue(boolean useNearestValue)
sets true if a WMS should use the extent that is nearest to the requested level.

Parameters:
useNearestValue -

getValue

public java.lang.String getValue()
Returns:
the value

setValue

public void setValue(java.lang.String value)
Parameters:
value -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org