objectivehtml.struts
Class MethodParams

java.lang.Object
  |
  +--objectivehtml.struts.MethodParams

public class MethodParams
extends java.lang.Object

This class holds a list of method parameters.


Constructor Summary
MethodParams()
           
 
Method Summary
 void addRequestObj()
          Adds a new request-obj type parameter.
 void addRequestObj(java.lang.String sDummy)
          Adds a new request-obj type parameter.
 void addRequestParam(java.lang.String sRequestParam)
          Adds a new request-param type parameter.
 void addSessionParam(java.lang.String sSessionParam)
          Adds a new session-param type parameter.
 java.util.Collection getMethodParams()
          Returns a collection of the MethodParam objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodParams

public MethodParams()
Method Detail

addRequestParam

public void addRequestParam(java.lang.String sRequestParam)
Adds a new request-param type parameter.
Parameters:
sRequestParam - the name of the request parameter

addSessionParam

public void addSessionParam(java.lang.String sSessionParam)
Adds a new session-param type parameter.
Parameters:
sSessionParam - the name of the session parameter

addRequestObj

public void addRequestObj()
Adds a new request-obj type parameter.

addRequestObj

public void addRequestObj(java.lang.String sDummy)
Adds a new request-obj type parameter. This version was needed so that the Struts digester would work properly. The sDummy variable can be anything, it is not used.
Parameters:
sDummy - the string does nothing

getMethodParams

public java.util.Collection getMethodParams()
Returns a collection of the MethodParam objects.
Returns:
a shallow copy of the list