org.shept.org.springframework.web.bind.support
Class FilterBindingInitializer

java.lang.Object
  extended by org.shept.org.springframework.web.bind.support.FilterBindingInitializer
All Implemented Interfaces:
ComponentBindingInitializer

public class FilterBindingInitializer
extends Object
implements ComponentBindingInitializer

Version:
$$Id: FilterBindingInitializer.java 70 2010-11-04 17:28:46Z aha $$
Author:
Andi

Field Summary
private  ConfigurableLocaleDependentFormatResolver formatResolver
           
protected static org.apache.commons.logging.Log logger
          Logger that is available to subclasses
protected static Integer MAX_DEPTH
          specify a max depth to prevent recursive initializations
private  Integer maxDepth
           
 
Constructor Summary
FilterBindingInitializer()
           
 
Method Summary
 ConfigurableLocaleDependentFormatResolver getFormatResolver()
           
 void initBinder(org.springframework.web.context.request.WebRequest request, ComponentDataBinder binder, String componentPath)
          Initialize the given DataBinder for the given request.
private  void registerDependendEntities(ComponentDataBinder binder, Class clazz, String path)
           
 void setFormatResolver(ConfigurableLocaleDependentFormatResolver formatResolver)
           
 void setMaxDepth(Integer maxDepth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.apache.commons.logging.Log logger
Logger that is available to subclasses


MAX_DEPTH

protected static final Integer MAX_DEPTH
specify a max depth to prevent recursive initializations


maxDepth

private Integer maxDepth

formatResolver

private ConfigurableLocaleDependentFormatResolver formatResolver
Constructor Detail

FilterBindingInitializer

public FilterBindingInitializer()
Method Detail

initBinder

public void initBinder(org.springframework.web.context.request.WebRequest request,
                       ComponentDataBinder binder,
                       String componentPath)
Description copied from interface: ComponentBindingInitializer
Initialize the given DataBinder for the given request.

Specified by:
initBinder in interface ComponentBindingInitializer
Parameters:
request - the web request that the data binding happens within
binder - the DataBinder to initialize
componentPath - the path within the bound object

registerDependendEntities

private void registerDependendEntities(ComponentDataBinder binder,
                                       Class clazz,
                                       String path)

getFormatResolver

public ConfigurableLocaleDependentFormatResolver getFormatResolver()
Returns:
the formatResolver

setFormatResolver

public void setFormatResolver(ConfigurableLocaleDependentFormatResolver formatResolver)
Parameters:
formatResolver - the formatResolver to set

setMaxDepth

public void setMaxDepth(Integer maxDepth)
Parameters:
maxDepth - the maxDepth to set


Copyright © 2011. All Rights Reserved.