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

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

Introduction

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

The text is from its open source code.

Implementation

org.springframework.beans.BeanWrapper has the following implementations.
Click this link to see all its implementation.

Method

TconvertIfNecessary(@Nullable Object value, @Nullable Class requiredType)
Convert the value to the required type (if necessary from a String).
PropertyEditorfindCustomEditor(@Nullable Class requiredType, @Nullable String propertyPath)
Find a custom property editor for the given type and property.
ConversionServicegetConversionService()
Return the associated ConversionService, if any.
PropertyDescriptorgetPropertyDescriptor(String propertyName)
Obtain the property descriptor for a specific property of the wrapped object.
PropertyDescriptor[]getPropertyDescriptors()
Obtain the PropertyDescriptors for the wrapped object (as determined by standard JavaBeans introspection).
ClassgetPropertyType(String propertyName)
Determine the property type for the specified property, either checking the property descriptor or checking the value in case of an indexed or mapped element.
TypeDescriptorgetPropertyTypeDescriptor(String propertyName)
Return a type descriptor for the specified property: preferably from the read method, falling back to the write method.
ObjectgetPropertyValue(String propertyName)
Get the current value of the specified property.
ClassgetWrappedClass()
Return the type of the wrapped bean instance.
ObjectgetWrappedInstance()
Return the bean instance wrapped by this object.
booleanisReadableProperty(String propertyName)
Determine whether the specified property is readable.
booleanisWritableProperty(String propertyName)
Determine whether the specified property is writable.
voidregisterCustomEditor(Class requiredType, PropertyEditor propertyEditor)
Register the given custom property editor for all properties of the given type.
voidregisterCustomEditor(@Nullable Class requiredType, @Nullable String propertyPath, PropertyEditor propertyEditor)
Register the given custom property editor for the given type and property, or for all properties of the given type.
voidsetConversionService(@Nullable ConversionService conversionService)
Specify a Spring 3.0 ConversionService to 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.
voidsetPropertyValue(PropertyValue pv)
Set the specified value as current property value.
voidsetPropertyValue(String propertyName, @Nullable Object value)
Set the specified value as current property value.
voidsetPropertyValues(Map map)
Perform a batch update from a Map.
voidsetPropertyValues(PropertyValues pvs, boolean ignoreUnknown)
Perform a batch update with more control over behavior.
voidsetPropertyValues(PropertyValues pvs, boolean ignoreUnknown, boolean ignoreInvalid)
Perform a batch update with full control over behavior.