Java org.springframework.beans BeanWrapperImpl fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.beans BeanWrapperImpl fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.beans BeanWrapperImpl.

The text is from its open source code.

Subclass

org.springframework.beans.BeanWrapperImpl has subclasses.
Click this link to see all its subclasses.

Constructor

BeanWrapperImpl(boolean registerDefaultEditors)
Create a new empty BeanWrapperImpl.
BeanWrapperImpl(Object object)
Create a new BeanWrapperImpl for the given object.
BeanWrapperImpl(Class clazz)
Create a new BeanWrapperImpl, wrapping a new instance of the specified class.
BeanWrapperImpl()
Create a new empty BeanWrapperImpl.
BeanWrapperImpl(Object object, String nestedPath, Object rootObject)
Create a new BeanWrapperImpl for the given object, registering a nested path that the object is in.
BeanWrapperImpl(Object object, String nestedPath, BeanWrapperImpl parent)
Create a new BeanWrapperImpl for the given object, registering a nested path that the object is in.

Method

ObjectconvertForProperty(@Nullable Object value, String propertyName)
Convert the given value for the specified property to the latter's type.
TconvertIfNecessary(@Nullable Object value, @Nullable Class requiredType)
PropertyEditorfindCustomEditor(@Nullable Class requiredType, @Nullable String propertyPath)
intgetAutoGrowCollectionLimit()
Return the limit for array and collection auto-growing.
CachedIntrospectionResultsgetCachedIntrospectionResults()
Obtain a lazily initialized CachedIntrospectionResults instance for the wrapped object.
ConversionServicegetConversionService()
Return the associated ConversionService, if any.
PropertyEditorgetDefaultEditor(Class requiredType)
Retrieve the default editor for the given property type, if any.
StringgetNestedPath()
Return the nested path of the object wrapped by this accessor.
PropertyDescriptorgetPropertyDescriptor(String propertyName)
PropertyDescriptor[]getPropertyDescriptors()
ClassgetPropertyType(String propertyName)
TypeDescriptorgetPropertyTypeDescriptor(String propertyName)
ObjectgetPropertyValue(String propertyName)
ObjectgetRootInstance()
Return the root object at the top of the path of this accessor.
ClassgetWrappedClass()
ObjectgetWrappedInstance()
booleanisAutoGrowNestedPaths()
booleanisExtractOldValueForEditor()
booleanisReadableProperty(String propertyName)
booleanisWritableProperty(String propertyName)
voidregisterCustomEditor(Class requiredType, PropertyEditor propertyEditor)
voidregisterCustomEditor(@Nullable Class requiredType, @Nullable String propertyPath, PropertyEditor propertyEditor)
voidsetAutoGrowNestedPaths(boolean autoGrowNestedPaths)
voidsetBeanInstance(Object object)
Set a bean instance to hold, without any unwrapping of java.util.Optional .
voidsetConversionService(@Nullable ConversionService conversionService)
Specify a Spring 3.0 ConversionService to use for converting property values, as an alternative to JavaBeans PropertyEditors.
voidsetPropertyValue(String propertyName, @Nullable Object value)
voidsetPropertyValues(PropertyValues pvs, boolean ignoreUnknown, boolean ignoreInvalid)
voidsetWrappedInstance(Object object)
Switch the target object, replacing the cached introspection results only if the class of the new object is different to that of the replaced object.
voiduseConfigValueEditors()
Activate config value editors which are only intended for configuration purposes, such as org.springframework.beans.propertyeditors.StringArrayPropertyEditor .