org.shept.org.springframework.web.bind.support
public class FilterBindingInitializer extends Object implements ComponentBindingInitializer
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
FilterBindingInitializer() |
| Modifier and Type | Method and Description |
|---|---|
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) |
protected static final org.apache.commons.logging.Log logger
protected static final Integer MAX_DEPTH
private Integer maxDepth
private ConfigurableLocaleDependentFormatResolver formatResolver
public void initBinder(org.springframework.web.context.request.WebRequest request,
ComponentDataBinder binder,
String componentPath)
ComponentBindingInitializerinitBinder in interface ComponentBindingInitializerrequest - the web request that the data binding happens withinbinder - the DataBinder to initializecomponentPath - the path within the bound objectprivate void registerDependendEntities(ComponentDataBinder binder, Class clazz, String path)
public ConfigurableLocaleDependentFormatResolver getFormatResolver()
public void setFormatResolver(ConfigurableLocaleDependentFormatResolver formatResolver)
formatResolver - the formatResolver to setpublic void setMaxDepth(Integer maxDepth)
maxDepth - the maxDepth to setCopyright © 2014. All Rights Reserved.