public class RelaxedDataBinder
extends org.springframework.validation.DataBinder
RelaxedNames
Constructor and Description |
---|
RelaxedDataBinder(Object target) |
RelaxedDataBinder(Object target,
String namePrefix) |
Modifier and Type | Method and Description |
---|---|
protected void |
doBind(org.springframework.beans.MutablePropertyValues propertyValues) |
protected String |
normalizePath(org.springframework.beans.BeanWrapper wrapper,
String path)
Normalize a bean property path to a format understood by a BeanWrapper.
|
void |
setIgnoreNestedProperties(boolean ignoreNestedProperties)
Flag to disable binding of nested properties (i.e.
|
addValidators, applyPropertyValues, bind, checkAllowedFields, checkRequiredFields, close, convertIfNecessary, convertIfNecessary, convertIfNecessary, findCustomEditor, getAllowedFields, getAutoGrowCollectionLimit, getBindingErrorProcessor, getBindingResult, getConversionService, getDisallowedFields, getInternalBindingResult, getObjectName, getPropertyAccessor, getPropertyEditorRegistry, getRequiredFields, getSimpleTypeConverter, getTarget, getTypeConverter, getValidator, getValidators, initBeanPropertyAccess, initDirectFieldAccess, isAllowed, isAutoGrowNestedPaths, isIgnoreInvalidFields, isIgnoreUnknownFields, registerCustomEditor, registerCustomEditor, replaceValidators, setAllowedFields, setAutoGrowCollectionLimit, setAutoGrowNestedPaths, setBindingErrorProcessor, setConversionService, setDisallowedFields, setExtractOldValueForEditor, setIgnoreInvalidFields, setIgnoreUnknownFields, setMessageCodesResolver, setRequiredFields, setValidator, validate, validate
public RelaxedDataBinder(Object target)
target
- the target into which properties are boundpublic void setIgnoreNestedProperties(boolean ignoreNestedProperties)
ignoreNestedProperties
- the flag to set (default false)protected void doBind(org.springframework.beans.MutablePropertyValues propertyValues)
doBind
in class org.springframework.validation.DataBinder
protected String normalizePath(org.springframework.beans.BeanWrapper wrapper, String path)
wrapper
- a bean wrapper for the object to bindpath
- the bean path to bindCopyright © 2014. All rights reserved.