Class ListValidatorsAction
java.lang.Object
com.opensymphony.xwork2.ActionSupport
org.apache.struts2.config_browser.ListValidatorsAction
- All Implemented Interfaces:
com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
- Direct Known Subclasses:
ShowValidatorAction
public class ListValidatorsAction
extends com.opensymphony.xwork2.ActionSupport
ListValidatorsAction loads the validations for a given class and context
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionexecute()
getClazz()
index()
Index action to support cooperation with REST pluginprotected void
void
setActionValidatorManager
(com.opensymphony.xwork2.validator.ActionValidatorManager mgr) void
void
setContext
(String context) stripPackage
(Class clazz) stripPackage
(String clazz) 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
-
Constructor Details
-
ListValidatorsAction
public ListValidatorsAction()
-
-
Method Details
-
setActionValidatorManager
public void setActionValidatorManager(com.opensymphony.xwork2.validator.ActionValidatorManager mgr) -
getClazz
-
setClazz
-
stripPackage
-
stripPackage
-
getContext
-
setContext
-
getValidators
-
execute
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classcom.opensymphony.xwork2.ActionSupport
- Throws:
Exception
-
index
Index action to support cooperation with REST plugin- Returns:
- action result
- Throws:
Exception
-
loadValidators
protected void loadValidators()
-