Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.deegree.ogcwebservices.wms.capabilities
Class Extent

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

    public class Extent

extends Object

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

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

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

Constructor Summary
`Extent(String name, String default_, boolean useNearestValue)` constructor initializing the class with the
`Extent(String name, String default_, boolean useNearestValue, String value)` constructor initializing the class with the

Method Summary
`String` | `getDefault()`
`String` | `getName()`
`String` | `getValue()`
`void` | `setDefault(String default_)` sets the default extent
`void` | `setName(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(String value)`
`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(String name,
           String default_,
           boolean useNearestValue)

  constructor initializing the class with the

### Extent

    public Extent(String name,
                  String default_,
                  boolean useNearestValue,
                  String value)

  constructor initializing the class with the

  Parameters:
    `name` -
    `default_` -
    `useNearestValue` -
    `value` -

Method Detail

### getName

    public String getName()

  Returns:
    the name of the extent

### setName

    public void setName(String name)

  sets the name of the extent

  Parameters:
    `name` -

### getDefault

    public String getDefault()

  Returns:
    the default extent

### setDefault

    public void setDefault(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 String getValue()

  Returns:
    the value

### setValue

    public void setValue(String value)

  Parameters:
    `value` -

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| deegree 2.4 (2010/11/11 10:47 build-27-official)
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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