Package org.springframework.beans
Interface ConfigurablePropertyAccessor
- All Superinterfaces:
- PropertyAccessor,- PropertyEditorRegistry,- TypeConverter
- All Known Subinterfaces:
- BeanWrapper
- All Known Implementing Classes:
- AbstractNestablePropertyAccessor,- AbstractPropertyAccessor,- BeanWrapperImpl,- DirectFieldAccessor
public interface ConfigurablePropertyAccessor
extends PropertyAccessor, PropertyEditorRegistry, TypeConverter
Interface that encapsulates configuration methods for a PropertyAccessor.
 Also extends the PropertyEditorRegistry interface, which defines methods
 for PropertyEditor management.
 
Serves as base interface for BeanWrapper.
- Since:
- 2.0
- Author:
- Juergen Hoeller, Stephane Nicoll
- See Also:
- 
Field SummaryFields inherited from interface org.springframework.beans.PropertyAccessorNESTED_PROPERTY_SEPARATOR, NESTED_PROPERTY_SEPARATOR_CHAR, PROPERTY_KEY_PREFIX, PROPERTY_KEY_PREFIX_CHAR, PROPERTY_KEY_SUFFIX, PROPERTY_KEY_SUFFIX_CHAR
- 
Method SummaryModifier and TypeMethodDescriptionReturn the associated ConversionService, if any.booleanReturn whether "auto-growing" of nested paths has been activated.booleanReturn whether to extract the old property value when applying a property editor to a new value for a property.voidsetAutoGrowNestedPaths(boolean autoGrowNestedPaths) Set whether this instance should attempt to "auto-grow" a nested path that contains anullvalue.voidsetConversionService(ConversionService conversionService) Specify aConversionServiceto use for converting property values, as an alternative to JavaBeans PropertyEditors.voidsetExtractOldValueForEditor(boolean extractOldValueForEditor) Set whether to extract the old property value when applying a property editor to a new value for a property.Methods inherited from interface org.springframework.beans.PropertyAccessorgetPropertyType, getPropertyTypeDescriptor, getPropertyValue, isReadableProperty, isWritableProperty, setPropertyValue, setPropertyValue, setPropertyValues, setPropertyValues, setPropertyValues, setPropertyValuesMethods inherited from interface org.springframework.beans.PropertyEditorRegistryfindCustomEditor, registerCustomEditor, registerCustomEditorMethods inherited from interface org.springframework.beans.TypeConverterconvertIfNecessary, convertIfNecessary, convertIfNecessary, convertIfNecessary
- 
Method Details- 
setConversionServiceSpecify aConversionServiceto use for converting property values, as an alternative to JavaBeans PropertyEditors.
- 
getConversionServiceReturn the associated ConversionService, if any.
- 
setExtractOldValueForEditorvoid setExtractOldValueForEditor(boolean extractOldValueForEditor) Set whether to extract the old property value when applying a property editor to a new value for a property.
- 
isExtractOldValueForEditorboolean isExtractOldValueForEditor()Return whether to extract the old property value when applying a property editor to a new value for a property.
- 
setAutoGrowNestedPathsvoid setAutoGrowNestedPaths(boolean autoGrowNestedPaths) Set whether this instance should attempt to "auto-grow" a nested path that contains anullvalue.If true, anullpath location will be populated with a default object value and traversed instead of resulting in aNullValueInNestedPathException.Default is falseon a plain PropertyAccessor instance.
- 
isAutoGrowNestedPathsboolean isAutoGrowNestedPaths()Return whether "auto-growing" of nested paths has been activated.
 
-