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
ConstructorsConstructorDescriptionPropertyEditorConverter(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 classthis property editor converts to from string
-
-
Method Details
-
toObject
- Specified by:
toObjectin classStringToObject
-
toString
- Specified by:
toStringin classStringToObject
-