org.deegree.tools
Interface ParameterList

All Known Implementing Classes:
ParameterList_Impl

public interface ParameterList

The interface defines the access to a list of paramters that can be used as submitted parameters to methods that may receive an variable list of parameters.

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

Version:
$Revision: 1.3 $ $Date: 2004/02/17 09:38:58 $
Author:
Andreas Poth

Method Summary
 void addParameter(Parameter param)
          adds a new Parameter to the list
 void addParameter(java.lang.String name, java.lang.Object value)
          adds a new Parameter to the list
 Parameter getParameter(java.lang.String name)
          returns the parameter that matches the submitted name. if no parameter can be found null will be returned.
 java.lang.String[] getParameterNames()
          returns an array of all Parameters names.
 Parameter[] getParameters()
          returns all Parameters contained within the list as array.
 java.lang.Object[] getParameterValues()
          returns an array of all Parameters values.
 Parameter removeParameter(java.lang.String name)
          removes a parameter from the list
 

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.


addParameter

public void addParameter(java.lang.String name,
                         java.lang.Object value)
adds a new Parameter to the list


addParameter

public void addParameter(Parameter param)
adds a new Parameter to the list


getParameters

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


getParameterNames

public java.lang.String[] getParameterNames()
returns an array of all Parameters names. it is guarenteered that the arrays isn't null


getParameterValues

public java.lang.Object[] getParameterValues()
returns an array of all Parameters values. it is guarenteered that the arrays isn't null


removeParameter

public Parameter removeParameter(java.lang.String name)
removes a parameter from the list

Parameters:
name - name of the parameter