org.apache.struts2.config_browser

## Class ShowValidatorAction

- java.lang.Object
- - com.opensymphony.xwork2.ActionSupport
  - - org.apache.struts2.config_browser.ListValidatorsAction
    - - org.apache.struts2.config_browser.ShowValidatorAction

- All Implemented Interfaces:
    Action, ValidationAware, LocaleProvider, TextProvider, Validateable, Serializable

      public class ShowValidatorAction
      extends ListValidatorsAction

  ShowValidatorAction
  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `ShowValidatorAction.PropertyInfo`

  - ### Field Summary

    - ### Fields inherited from class com.opensymphony.xwork2.ActionSupport

      `container`

    - ### Fields inherited from interface com.opensymphony.xwork2.Action

      `ERROR, INPUT, LOGIN, NONE, SUCCESS`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ShowValidatorAction()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `execute()`
    `Set` | `getProperties()`
    `int` | `getSelected()`
    `Validator` | `getSelectedValidator()`
    `void` | `setReflectionContextFactory(ReflectionContextFactory fac)`
    `void` | `setReflectionProvider(ReflectionProvider prov)`
    `void` | `setSelected(int selected)`

    - ### Methods inherited from class org.apache.struts2.config_browser.ListValidatorsAction

      `getClazz, getContext, getValidators, index, loadValidators, setActionValidatorManager, setClazz, setContext, stripPackage, stripPackage`

    - ### Methods inherited from class com.opensymphony.xwork2.ActionSupport

      `addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getLocaleProvider, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate`

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ShowValidatorAction

          public ShowValidatorAction()

  - ### Method Detail

    - #### setReflectionProvider

          public void setReflectionProvider(ReflectionProvider prov)

    - #### setReflectionContextFactory

          public void setReflectionContextFactory(ReflectionContextFactory fac)

    - #### getSelected

          public int getSelected()

    - #### setSelected

          public void setSelected(int selected)

    - #### getProperties

          public Set getProperties()

    - #### getSelectedValidator

          public Validator getSelectedValidator()

    - #### execute

          public String execute()
                         throws Exception

      Specified by:
        `execute` in interface `Action`
      Overrides:
        `execute` in class `ListValidatorsAction`
      Throws:
        `Exception`

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