com.opensymphony.webwork.config_browser
Class ShowValidatorAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.opensymphony.webwork.config_browser.ListValidatorsAction
          extended by com.opensymphony.webwork.config_browser.ShowValidatorAction
All Implemented Interfaces:
Action, LocaleProvider, TextProvider, Validateable, ValidationAware, com.uwyn.rife.continuations.ContinuableObject, Serializable, Cloneable

public class ShowValidatorAction
extends ListValidatorsAction

ShowValidatorAction

Author:
Jason Carreira Date: Jun 1, 2004 9:01:02 PM
See Also:
Serialized Form

Nested Class Summary
static class ShowValidatorAction.PropertyInfo
           
 
Field Summary
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ShowValidatorAction()
           
 
Method Summary
 String execute()
          A default implementation that does nothing an returns "success".
 Set getProperties()
           
 int getSelected()
           
 Validator getSelectedValidator()
           
 void setSelected(int selected)
           
 
Methods inherited from class com.opensymphony.webwork.config_browser.ListValidatorsAction
getClazz, getContext, getValidators, loadValidators, setClazz, setContext, stripPackage, stripPackage
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doDefault, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, 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

getSelected

public int getSelected()

setSelected

public void setSelected(int selected)

getProperties

public Set getProperties()

getSelectedValidator

public Validator getSelectedValidator()

execute

public String execute()
               throws Exception
Description copied from class: ActionSupport
A default implementation that does nothing an returns "success".

Subclasses should override this method to provide their business logic.

See also Action.execute().

Specified by:
execute in interface Action
Overrides:
execute in class ListValidatorsAction
Returns:
returns Action.SUCCESS
Throws:
Exception - can be thrown by subclasses.

WebWork Project Page