Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts2.interceptor
Interface 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[]`.

Method Summary
`void` | `setParameters(java.util.Map<java.lang.String,java.lang.String[]> parameters)` Sets the map of input parameters in the implementing class.

Method Detail

### setParameters

    void setParameters(java.util.Map<java.lang.String,java.lang.String[]> parameters)

  Sets the map of input parameters in the implementing class.

  Parameters:
    `parameters` - a Map of parameters (name/value Strings).

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.