com.opensymphony.xwork2.interceptor

## Interface ParameterValueAware

-     public interface ParameterValueAware

  This interface is implemented by actions that want to declare acceptable parameter value. Works in conjunction with `ParametersInterceptor`. For example, actions may want to create a white list of parameter values they will accept or a blacklist of parameter values they will reject to prevent clients from setting other unexpected (and possibly dangerous) parameter values.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `acceptableParameterValue(String parameterValue)` Tests if the the action will accept the parameter with the given value.

- - ### Method Detail

    - #### acceptableParameterValue

          boolean acceptableParameterValue(String parameterValue)

      Tests if the the action will accept the parameter with the given value.
      Parameters:
        `parameterValue` - the parameter value
      Returns:
        `true` if accepted, `false` otherwise

Copyright © 2000–2023 Apache Software Foundation. All rights reserved.