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

org.deegree.ogcwebservices.wms.capabilities
Class Dimension

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

public class Dimension
extends java.lang.Object

The Dimension element declares the _existence_ of a dimension. The optional element is used in Capabilities XML to declare that one or more dimensional parameters are relevant to the information holdings of that server. The Dimension element does not provide valid values for a Dimension; that is the role of the Extent element described below. A Dimension element includes a required name, a required measurement units specifier, and an optional unitSymbol.

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

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

Constructor Summary
Dimension(org.w3c.dom.Element elem)
           
Dimension(java.lang.String name, java.lang.String units, java.lang.String unitSymbol)
          constructor initializing the class with the
 
Method Summary
 java.lang.String getDefaultValue()
           
 java.lang.String getName()
           
 java.lang.String getUnits()
           
 java.lang.String getUnitSymbol()
           
 java.lang.String getValues()
           
 boolean isCurrent()
           
 boolean isMultipleValues()
           
 boolean isNearestValue()
           
 void setCurrent(boolean current)
           
 void setDefaultValue(java.lang.String defaultValue)
           
 void setMultipleValues(boolean multipleValues)
           
 void setName(java.lang.String name)
          sets the name of the dimension
 void setNearestValue(boolean nearestValue)
           
 void setUnits(java.lang.String units)
          sets the units the dimension is measured
 void setUnitSymbol(java.lang.String unitSymbol)
          sets the unit symbols
 void setValues(java.lang.String values)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Dimension

public Dimension(java.lang.String name,
                 java.lang.String units,
                 java.lang.String unitSymbol)
constructor initializing the class with the

Parameters:
name -
units -
unitSymbol -

Dimension

public Dimension(org.w3c.dom.Element elem)
          throws XMLParsingException
Parameters:
elem -
Throws:
XMLParsingException
Method Detail

getName

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

setName

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

Parameters:
name -

getUnits

public java.lang.String getUnits()
Returns:
the units the dimension is measured

setUnits

public void setUnits(java.lang.String units)
sets the units the dimension is measured

Parameters:
units -

getUnitSymbol

public java.lang.String getUnitSymbol()
Returns:
the unit symbols

setUnitSymbol

public void setUnitSymbol(java.lang.String unitSymbol)
sets the unit symbols

Parameters:
unitSymbol -

toString

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

getDefaultValue

public java.lang.String getDefaultValue()
Returns:
the defaultValue

setDefaultValue

public void setDefaultValue(java.lang.String defaultValue)
Parameters:
defaultValue - the defaultValue to set

isMultipleValues

public boolean isMultipleValues()
Returns:
the multipleValues

setMultipleValues

public void setMultipleValues(boolean multipleValues)
Parameters:
multipleValues - the multipleValues to set

isNearestValue

public boolean isNearestValue()
Returns:
the nearestValue

setNearestValue

public void setNearestValue(boolean nearestValue)
Parameters:
nearestValue - the nearestValue to set

isCurrent

public boolean isCurrent()
Returns:
the current

setCurrent

public void setCurrent(boolean current)
Parameters:
current - the current to set

getValues

public java.lang.String getValues()
Returns:
the values

setValues

public void setValues(java.lang.String values)
Parameters:
values - the values to set

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