org.springframework.binding.convert.converters
Class PropertyEditorConverter
java.lang.Object
org.springframework.binding.convert.converters.StringToObject
org.springframework.binding.convert.converters.PropertyEditorConverter
- All Implemented Interfaces:
- Converter, TwoWayConverter
public class PropertyEditorConverter
- extends StringToObject
Adapts a PropertyEditor to the TwoWayConverter
interface.
- Author:
- Keith Donald
PropertyEditorConverter
public PropertyEditorConverter(PropertyEditor propertyEditor,
Class targetClass)
- Creates a new property editor converter.
- Parameters:
propertyEditor
- the property editor to adapttargetClass
- the value class
this property editor converts to from string