Home » xwork-2.1.5 » com.opensymphony » xwork2 » interceptor » [javadoc | source]
com.opensymphony.xwork2.interceptor
public interface: ParameterNameAware [javadoc | source] This interface is implemented by actions that want to declare acceptable parameters. Works in conjunction with ParametersInterceptor . For example, actions may want to create a whitelist of parameters they will accept or a blacklist of paramters they will reject to prevent clients from setting other unexpected (and possibly dangerous) parameters.
Method from com.opensymphony.xwork2.interceptor.ParameterNameAware Summary:
acceptableParameterName
Method from com.opensymphony.xwork2.interceptor.ParameterNameAware Detail:
 public boolean acceptableParameterName(String parameterName)
    Tests if the the action will accept the parameter with the given name.