org.shept.org.springframework.web.bind.support
public class DefaultWebBindingInitializer extends Object implements org.springframework.web.bind.support.WebBindingInitializer
| Modifier and Type | Field and Description |
|---|---|
private Map<Class<?>,PropertyEditorSupport> |
customEditorsForType |
private DateTimeLocaleConstants |
dateTimeFormat |
private static DateTimeLocaleConstants |
DEFAULT_DATE_TIME |
private ConfigurableLocaleDependentFormatResolver |
formatResolver |
protected org.apache.commons.logging.Log |
logger
Logger that is available to subclasses
|
private boolean |
registerDefaultEditors |
| Constructor and Description |
|---|
DefaultWebBindingInitializer() |
| Modifier and Type | Method and Description |
|---|---|
Map<Class<?>,PropertyEditorSupport> |
getCustomEditorsForType() |
DateTimeLocaleConstants |
getDateTimeFormat() |
ConfigurableLocaleDependentFormatResolver |
getFormatResolver() |
void |
initBinder(org.springframework.web.bind.WebDataBinder binder,
org.springframework.web.context.request.WebRequest request) |
boolean |
isRegisterDefaultEditors() |
void |
setCustomEditorsForType(Map<Class<?>,PropertyEditorSupport> customEditorsForType) |
void |
setDateTimeFormat(DateTimeLocaleConstants dateTimeFormat) |
void |
setFormatResolver(ConfigurableLocaleDependentFormatResolver formatResolver) |
void |
setRegisterDefaultEditors(boolean registerDefaultEditors) |
private static final DateTimeLocaleConstants DEFAULT_DATE_TIME
protected final org.apache.commons.logging.Log logger
private ConfigurableLocaleDependentFormatResolver formatResolver
private Map<Class<?>,PropertyEditorSupport> customEditorsForType
private boolean registerDefaultEditors
private DateTimeLocaleConstants dateTimeFormat
public void initBinder(org.springframework.web.bind.WebDataBinder binder,
org.springframework.web.context.request.WebRequest request)
initBinder in interface org.springframework.web.bind.support.WebBindingInitializerpublic ConfigurableLocaleDependentFormatResolver getFormatResolver()
public void setFormatResolver(ConfigurableLocaleDependentFormatResolver formatResolver)
formatResolver - the formatResolver to setpublic boolean isRegisterDefaultEditors()
public void setRegisterDefaultEditors(boolean registerDefaultEditors)
registerDefaultEditors - the registerDefaultEditors to setpublic Map<Class<?>,PropertyEditorSupport> getCustomEditorsForType()
public void setCustomEditorsForType(Map<Class<?>,PropertyEditorSupport> customEditorsForType)
customEditorsForType - the customEditorsForType to setpublic DateTimeLocaleConstants getDateTimeFormat()
public void setDateTimeFormat(DateTimeLocaleConstants dateTimeFormat)
dateTimeFormat - the dateTimeFormat to setCopyright © 2014. All Rights Reserved.