org.shept.org.springframework.web.bind.support
Class FilterBindingInitializer
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
FilterBindingInitializer
public FilterBindingInitializer()
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 withinbinder - the DataBinder to initializecomponentPath - 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.