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.Configuration configuration  
    protected com.opensymphony.xwork2.ObjectFactory objectFactory  
  • Constructor Summary

    Constructors 
    Constructor Description
    NuitonDefaultUnknownHandler()  
  • Method Summary

    Modifier and Type Method Description
    com.opensymphony.xwork2.config.entities.ActionConfig handleUnknownAction​(java.lang.String namespace, java.lang.String actionName)  
    java.lang.Object handleUnknownActionMethod​(java.lang.Object action, java.lang.String methodName)  
    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)  
    void setConfiguration​(com.opensymphony.xwork2.config.Configuration configuration)  
    void setObjectFactory​(com.opensymphony.xwork2.ObjectFactory objectFactory)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • configuration

      protected com.opensymphony.xwork2.config.Configuration configuration
    • objectFactory

      protected com.opensymphony.xwork2.ObjectFactory objectFactory
  • Constructor Details

  • 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:
      handleUnknownAction in interface com.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:
      handleUnknownResult in interface com.opensymphony.xwork2.UnknownHandler
    • handleUnknownActionMethod

      public java.lang.Object handleUnknownActionMethod​(java.lang.Object action, java.lang.String methodName)
      Specified by:
      handleUnknownActionMethod in interface com.opensymphony.xwork2.UnknownHandler