Package org.nuiton.validator.xwork2
Class XWork2ValidatorUtil.NuitonDefaultUnknownHandler
java.lang.Object
org.nuiton.validator.xwork2.XWork2ValidatorUtil.NuitonDefaultUnknownHandler
- All Implemented Interfaces:
com.opensymphony.xwork2.UnknownHandler
- Enclosing class:
- XWork2ValidatorUtil
public static class XWork2ValidatorUtil.NuitonDefaultUnknownHandler
extends java.lang.Object
implements com.opensymphony.xwork2.UnknownHandler
A dummy unknown handler when we want to use for example visitor validators
which need a invocation handler.
Note: Do not use this for any purpose...
- Since:
- 3.0
- Author:
- Tony Chemit - chemit@codelutin.com
-
Field Summary
Fields Modifier and Type Field Description protected com.opensymphony.xwork2.config.Configurationconfigurationprotected com.opensymphony.xwork2.ObjectFactoryobjectFactory -
Constructor Summary
Constructors Constructor Description NuitonDefaultUnknownHandler() -
Method Summary
Modifier and Type Method Description com.opensymphony.xwork2.config.entities.ActionConfighandleUnknownAction(java.lang.String namespace, java.lang.String actionName)java.lang.ObjecthandleUnknownActionMethod(java.lang.Object action, java.lang.String methodName)com.opensymphony.xwork2.ResulthandleUnknownResult(com.opensymphony.xwork2.ActionContext actionContext, java.lang.String actionName, com.opensymphony.xwork2.config.entities.ActionConfig actionConfig, java.lang.String resultCode)voidsetConfiguration(com.opensymphony.xwork2.config.Configuration configuration)voidsetObjectFactory(com.opensymphony.xwork2.ObjectFactory objectFactory)
-
Field Details
-
configuration
protected com.opensymphony.xwork2.config.Configuration configuration -
objectFactory
protected com.opensymphony.xwork2.ObjectFactory objectFactory
-
-
Constructor Details
-
NuitonDefaultUnknownHandler
public NuitonDefaultUnknownHandler()
-
-
Method Details
-
setConfiguration
public void setConfiguration(com.opensymphony.xwork2.config.Configuration configuration) -
setObjectFactory
public void setObjectFactory(com.opensymphony.xwork2.ObjectFactory objectFactory) -
handleUnknownAction
public com.opensymphony.xwork2.config.entities.ActionConfig handleUnknownAction(java.lang.String namespace, java.lang.String actionName)- Specified by:
handleUnknownActionin interfacecom.opensymphony.xwork2.UnknownHandler
-
handleUnknownResult
public com.opensymphony.xwork2.Result handleUnknownResult(com.opensymphony.xwork2.ActionContext actionContext, java.lang.String actionName, com.opensymphony.xwork2.config.entities.ActionConfig actionConfig, java.lang.String resultCode)- Specified by:
handleUnknownResultin interfacecom.opensymphony.xwork2.UnknownHandler
-
handleUnknownActionMethod
public java.lang.Object handleUnknownActionMethod(java.lang.Object action, java.lang.String methodName)- Specified by:
handleUnknownActionMethodin interfacecom.opensymphony.xwork2.UnknownHandler
-