com.opensymphony.webwork.interceptor.ParameterAware Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webwork Show documentation
Show all versions of webwork Show documentation
WebWork is a Java web-application development framework.
It is built specifically with developer productivity and
code simplicity in mind, providing robust support for building
reusable UI templates, such as form controls, UI themes,
internationalization, dynamic form parameter mapping to JavaBeans,
robust client and server side validation, and much more.
The newest version!
/*
* Copyright (c) 2002-2003 by OpenSymphony
* All rights reserved.
*/
/*
* WebWork, Web Application Framework
*
* Distributable under Apache license.
* See terms of license at opensource.org
*/
package com.opensymphony.webwork.interceptor;
import java.util.Map;
/**
* 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[].
*
* @author Rickard ?berg
*/
public interface ParameterAware {
/**
* Sets the map of input parameters in the implementing class.
*
* @param parameters a Map of parameters (name/value Strings).
*/
public void setParameters(Map parameters);
}