FileDocCategorySizeDatePackage
ParameterAware.javaAPI DocExample1719Mon Jul 23 13:26:52 BST 2007org.apache.struts2.interceptor

ParameterAware

public interface ParameterAware
This interface gives actions an alternative way of receiving input parameters. The map will contain all input parameters as name/value entries. Actions that need this should simply implement it.

One common use for this is to have the action propagate parameters to internally instantiated data objects.

Note that all parameter values for a given name will be returned, so the type of the objects in the map is java.lang.String[].

Fields Summary
Constructors Summary
Methods Summary
public voidsetParameters(java.util.Map parameters)
Sets the map of input parameters in the implementing class.

param
parameters a Map of parameters (name/value Strings).