Class PropertyEditorConverter
java.lang.Object
org.springframework.binding.convert.converters.StringToObject
org.springframework.binding.convert.converters.PropertyEditorConverter
- All Implemented Interfaces:
Converter
,TwoWayConverter
Adapts a PropertyEditor to the
TwoWayConverter
interface.- Author:
- Keith Donald
-
Constructor Summary
ConstructorDescriptionPropertyEditorConverter
(PropertyEditor propertyEditor, Class<?> targetClass) Creates a new property editor converter. -
Method Summary
Methods inherited from class org.springframework.binding.convert.converters.StringToObject
convertSourceToTargetClass, convertTargetToSourceClass, getSourceClass, getTargetClass
-
Constructor Details
-
PropertyEditorConverter
Creates a new property editor converter.- Parameters:
propertyEditor
- the property editor to adapttargetClass
- thevalue class
this property editor converts to from string
-
-
Method Details
-
toObject
- Specified by:
toObject
in classStringToObject
-
toString
- Specified by:
toString
in classStringToObject
-