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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org