org.deegree.ogcwebservices.wms.capabilities
Class Dimension
java.lang.Object
org.deegree.ogcwebservices.wms.capabilities.Dimension
public class Dimension
- extends 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: 9345 $
- Author:
- Katharina Lupp, Markus Schneider
Dimension
public Dimension(String name,
String units,
String unitSymbol)
- constructor initializing the class with the
- Parameters:
name
- units
- unitSymbol
-
getName
public String getName()
- Returns:
- the name of the dimension
setName
public void setName(String name)
- sets the name of the dimension
- Parameters:
name
-
getUnits
public String getUnits()
- Returns:
- the units the dimension is measured
setUnits
public void setUnits(String units)
- sets the units the dimension is measured
- Parameters:
units
-
getUnitSymbol
public String getUnitSymbol()
- Returns:
- the unit symbols
setUnitSymbol
public void setUnitSymbol(String unitSymbol)
- sets the unit symbols
- Parameters:
unitSymbol
-
toString
public String toString()
- Overrides:
toString
in class Object
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net