|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.japano.action.Parametrized
public abstract class Parametrized
Abstract base class for classes which are parametrized by HTML parameters.
Field Summary | |
---|---|
protected java.lang.Class |
klass
Contains the class type. |
protected java.util.List |
parameters
Contains all parameters. |
Constructor Summary | |
---|---|
Parametrized()
|
Method Summary | |
---|---|
void |
addParameter(Parameter parameter)
Adds a given parameter to the parameter list after removing all parameters with the same name. |
abstract ActionMapping |
getActionMapping()
|
Parameter |
getParameter(java.lang.String name)
Returns the parameter with the given name |
int |
getParameterCount()
|
java.lang.Class |
getParametrizedClass()
|
java.util.Iterator |
parameters()
Returns an Iterator over all parameters in this action mapping. |
void |
removeParameter(java.lang.String name)
Removes all parameters with the given name. |
void |
setParametrizedClass(java.lang.String klass)
Setter for property actionClass. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List parameters
protected java.lang.Class klass
Constructor Detail |
---|
public Parametrized()
Method Detail |
---|
public void setParametrizedClass(java.lang.String klass)
klass
- Name of the parametrizedpublic java.lang.Class getParametrizedClass()
public void addParameter(Parameter parameter)
parameter
- Parameterpublic void removeParameter(java.lang.String name)
name
- parameter namepublic java.util.Iterator parameters()
public Parameter getParameter(java.lang.String name)
name
-
public int getParameterCount()
public abstract ActionMapping getActionMapping()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |