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

org.deegree.ogcwebservices.wms.operation
Class DimensionValues

java.lang.Object
  extended by org.deegree.ogcwebservices.wms.operation.DimensionValues

public class DimensionValues
extends java.lang.Object

DimensionValues

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Andreas Schmitz, last edited by: $Author: mschneider $

Nested Class Summary
 class DimensionValues.DimensionValue
          DimensionValue
 
Field Summary
 java.util.LinkedList<DimensionValues.DimensionValue> values
          The actual values.
 
Constructor Summary
DimensionValues(java.lang.String val)
           
 
Method Summary
 java.lang.String getNearestValue(java.lang.String value)
           
 boolean hasMultipleValues()
           
 boolean includes(DimensionValues elev)
           
 boolean includesValue(float value)
           
 boolean includesValue(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

values

public java.util.LinkedList<DimensionValues.DimensionValue> values
The actual values.

Constructor Detail

DimensionValues

public DimensionValues(java.lang.String val)
Parameters:
val -
Method Detail

hasMultipleValues

public boolean hasMultipleValues()
Returns:
if multiple values are contained

includesValue

public boolean includesValue(java.lang.String value)
Parameters:
value -
Returns:
true, if the given single value is contained

includesValue

public boolean includesValue(float value)
Parameters:
value -
Returns:
true, if the given single value is contained

includes

public boolean includes(DimensionValues elev)
Parameters:
elev -
Returns:
true, if the value(s) are valid

getNearestValue

public java.lang.String getNearestValue(java.lang.String value)
Parameters:
value -
Returns:
the nearest value

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