com.acciente.induction.init.config
Class Config.ControllerMapping

java.lang.Object
  extended by com.acciente.induction.init.config.Config.ControllerMapping
Enclosing class:
Config

public static class Config.ControllerMapping
extends Object

Modular configuration container


Nested Class Summary
static class Config.ControllerMapping.ErrorToClassMap
          Modular configuration container
static class Config.ControllerMapping.URLToClassMap
          Modular configuration container
 
Constructor Summary
Config.ControllerMapping()
           
 
Method Summary
 Config.ControllerMapping.ErrorToClassMap addErrorToClassMap(String sClassName, String sClassMethodName)
           
 Config.ControllerMapping.URLToClassMap addURLToClassMap(Pattern oURLPattern, String[] asClassPackages, Pattern oClassPattern)
           
 String getDefaultHandlerMethodName()
           
 List getErrorToClassMapList()
           
 List getURLToClassMapList()
           
 boolean isIgnoreMethodNameCase()
           
 void setDefaultHandlerMethodName(String sDefaultHandlerMethodName)
           
 void setIgnoreMethodNameCase(boolean bIgnoreMethodNameCase)
          Controls if the default resolver should respect method case when looking for a method.
 String toString()
           
 String toXML()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Config.ControllerMapping

public Config.ControllerMapping()
Method Detail

addURLToClassMap

public Config.ControllerMapping.URLToClassMap addURLToClassMap(Pattern oURLPattern,
                                                               String[] asClassPackages,
                                                               Pattern oClassPattern)

getURLToClassMapList

public List getURLToClassMapList()

addErrorToClassMap

public Config.ControllerMapping.ErrorToClassMap addErrorToClassMap(String sClassName,
                                                                   String sClassMethodName)

getErrorToClassMapList

public List getErrorToClassMapList()

getDefaultHandlerMethodName

public String getDefaultHandlerMethodName()

setDefaultHandlerMethodName

public void setDefaultHandlerMethodName(String sDefaultHandlerMethodName)

isIgnoreMethodNameCase

public boolean isIgnoreMethodNameCase()

setIgnoreMethodNameCase

public void setIgnoreMethodNameCase(boolean bIgnoreMethodNameCase)
Controls if the default resolver should respect method case when looking for a method. A resolver implementation is may choose to ignore this setting.

Parameters:
bIgnoreMethodNameCase - if true is specified, it tells the resolver implementation to search for a handler method name ignoring case.

toString

public String toString()
Overrides:
toString in class Object

toXML

public String toXML()


Copyright © 2008-2013 Acciente, LLC. All Rights Reserved.