public interface ConfigurablePropertyAccessor extends PropertyAccessor, PropertyEditorRegistry, TypeConverter
Serves as base interface for BeanWrapper
.
BeanWrapper
NESTED_PROPERTY_SEPARATOR, NESTED_PROPERTY_SEPARATOR_CHAR, PROPERTY_KEY_PREFIX, PROPERTY_KEY_PREFIX_CHAR, PROPERTY_KEY_SUFFIX, PROPERTY_KEY_SUFFIX_CHAR
Modifier and Type | Method and Description |
---|---|
ConversionService |
getConversionService()
Return the associated ConversionService, if any.
|
boolean |
isAutoGrowNestedPaths()
Return whether "auto-growing" of nested paths has been activated.
|
boolean |
isExtractOldValueForEditor()
Return whether to extract the old property value when applying a
property editor to a new value for a property.
|
void |
setAutoGrowNestedPaths(boolean autoGrowNestedPaths)
Set whether this instance should attempt to "auto-grow" a
nested path that contains a
null value. |
void |
setConversionService(ConversionService conversionService)
Specify a Spring 3.0 ConversionService to use for converting
property values, as an alternative to JavaBeans PropertyEditors.
|
void |
setExtractOldValueForEditor(boolean extractOldValueForEditor)
Set whether to extract the old property value when applying a
property editor to a new value for a property.
|
getPropertyType, getPropertyTypeDescriptor, getPropertyValue, isReadableProperty, isWritableProperty, setPropertyValue, setPropertyValue, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValues
findCustomEditor, registerCustomEditor, registerCustomEditor
convertIfNecessary, convertIfNecessary, convertIfNecessary, convertIfNecessary
void setConversionService(@Nullable ConversionService conversionService)
@Nullable ConversionService getConversionService()
void setExtractOldValueForEditor(boolean extractOldValueForEditor)
boolean isExtractOldValueForEditor()
void setAutoGrowNestedPaths(boolean autoGrowNestedPaths)
null
value.
If true
, a null
path location will be populated
with a default object value and traversed instead of resulting in a
NullValueInNestedPathException
.
Default is false
on a plain PropertyAccessor instance.
boolean isAutoGrowNestedPaths()