public class SimpleTypeConverter extends TypeConverterSupport
TypeConverter
interface that does not operate on
a specific target object. This is an alternative to using a full-blown BeanWrapperImpl
instance for arbitrary type conversion needs, while using the very same conversion
algorithm (including delegation to PropertyEditor
and
ConversionService
) underneath.
Note: Due to its reliance on PropertyEditors
,
SimpleTypeConverter is not thread-safe. Use a separate instance for each thread.
BeanWrapperImpl
Constructor and Description |
---|
SimpleTypeConverter() |
convertIfNecessary, convertIfNecessary, convertIfNecessary
copyCustomEditorsTo, copyDefaultEditorsTo, findCustomEditor, getConversionService, getDefaultEditor, getPropertyType, guessPropertyTypeFromEditors, hasCustomEditorForElement, overrideDefaultEditor, registerCustomEditor, registerCustomEditor, registerDefaultEditors, setConversionService, useConfigValueEditors