org.deegree_impl.services.wms.capabilities
Class Extent_Impl

java.lang.Object
  extended byorg.deegree_impl.services.wms.capabilities.Extent_Impl
All Implemented Interfaces:
Extent, Marshallable

class Extent_Impl
extends java.lang.Object
implements Extent, Marshallable

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

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

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

Field Summary
private  java.lang.String default_
           
private  java.lang.String name
           
private  boolean useNearestValue
           
 
Constructor Summary
(package private) Extent_Impl()
          default constructor
(package private) Extent_Impl(java.lang.String name, java.lang.String default_, boolean useNearestValue)
          constructor initializing the class with the
 
Method Summary
 java.lang.String exportAsXML()
          Returns an XML representation of this object.
 java.lang.String getDefault()
          returns the default extent
 java.lang.String getName()
          returns the name of the extent
 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.
 java.lang.String toString()
           
 boolean useNearestValue()
          returns true if a WMS should use the extent that is nearest to the requested level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

default_

private java.lang.String default_

name

private java.lang.String name

useNearestValue

private boolean useNearestValue
Constructor Detail

Extent_Impl

Extent_Impl()
default constructor


Extent_Impl

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

Method Detail

getName

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

Specified by:
getName in interface Extent

setName

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


getDefault

public java.lang.String getDefault()
returns the default extent

Specified by:
getDefault in interface Extent

setDefault

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


useNearestValue

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

Specified by:
useNearestValue in interface Extent

setUseNearestValue

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


toString

public java.lang.String toString()
Returns:

exportAsXML

public java.lang.String exportAsXML()
Returns an XML representation of this object.

Specified by:
exportAsXML in interface Marshallable
Returns:
XML-representation of this object