org.deegree_impl.services
Class RangeParamList_Impl

java.lang.Object
  extended byorg.deegree_impl.services.RangeParamList_Impl
All Implemented Interfaces:
RangeParamList

public final class RangeParamList_Impl
extends java.lang.Object
implements RangeParamList

The list of ranges in a URL request.

Author:
ETj

Field Summary
private  java.util.HashMap params
           
 
Constructor Summary
RangeParamList_Impl()
          Builds an empty ParameterList.
RangeParamList_Impl(java.util.HashMap model)
          Builds a ParameterList from the given model request, fetching time, elevation and all other declared ranges.
RangeParamList_Impl(java.lang.String request)
          Builds a ParameterList from the given URL request, fetching time, elevation and all other declared ranges.
 
Method Summary
 void addParameter(Parameter param)
          adds a new = new Parameter_Impl( name, value ); addParameter( p ); } /** adds a new Parameter to the list
 void addParameter(java.lang.String name, java.lang.String value)
           
 java.util.Set getNames()
           
 Parameter getParameter(java.lang.String name)
          returns the parameter that matches the submitted name. if no parameter can be found null will be returned.
 Parameter[] getParameters()
          returns all Parameters contained within the list as array.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

params

private java.util.HashMap params
Constructor Detail

RangeParamList_Impl

public RangeParamList_Impl()
Builds an empty ParameterList.


RangeParamList_Impl

public RangeParamList_Impl(java.util.HashMap model)
Builds a ParameterList from the given model request, fetching time, elevation and all other declared ranges. TODO: only time and elevation are retrieved.


RangeParamList_Impl

public RangeParamList_Impl(java.lang.String request)
Builds a ParameterList from the given URL request, fetching time, elevation and all other declared ranges. TODO: this constructor is a pure stub!

Method Detail

getParameter

public Parameter getParameter(java.lang.String name)
returns the parameter that matches the submitted name. if no parameter can be found null will be returned.

Specified by:
getParameter in interface RangeParamList

addParameter

public void addParameter(Parameter param)
adds a new = new Parameter_Impl( name, value ); addParameter( p ); } /** adds a new Parameter to the list

Specified by:
addParameter in interface RangeParamList

addParameter

public void addParameter(java.lang.String name,
                         java.lang.String value)
Specified by:
addParameter in interface RangeParamList
Parameters:
name -
value -

getParameters

public Parameter[] getParameters()
returns all Parameters contained within the list as array. it is guarenteered that the arrays isn't null

Specified by:
getParameters in interface RangeParamList

getNames

public java.util.Set getNames()
Specified by:
getNames in interface RangeParamList
Returns:

toString

public java.lang.String toString()
Returns: