com.opensymphony.webwork.config_browser
Class ListValidatorsAction

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

public class ListValidatorsAction
extends ActionSupport

ListValidatorsAction loads the validations for a given class and context

Author:
Jason Carreira, Rainer Hermanns Date: May 31, 2004 5:06:16 PM
See Also:
Serialized Form

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
ListValidatorsAction()
           
 
Method Summary
 String execute()
          A default implementation that does nothing an returns "success".
 String getClazz()
           
 String getContext()
           
 List getValidators()
           
protected  void loadValidators()
           
 void setClazz(String clazz)
           
 void setContext(String context)
           
 String stripPackage(Class clazz)
           
 String stripPackage(String clazz)
           
 
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

ListValidatorsAction

public ListValidatorsAction()
Method Detail

getClazz

public String getClazz()

setClazz

public void setClazz(String clazz)

stripPackage

public String stripPackage(Class clazz)

stripPackage

public String stripPackage(String clazz)

getContext

public String getContext()

setContext

public void setContext(String context)

getValidators

public List getValidators()

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 ActionSupport
Returns:
returns Action.SUCCESS
Throws:
Exception - can be thrown by subclasses.

loadValidators

protected void loadValidators()

WebWork Project Page