org.springframework.binding.convert.converters
Class PropertyEditorConverter

java.lang.Object
  extended by org.springframework.binding.convert.converters.StringToObject
      extended by 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

Constructor Summary
PropertyEditorConverter(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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyEditorConverter

public PropertyEditorConverter(PropertyEditor propertyEditor,
                               Class targetClass)
Creates a new property editor converter.

Parameters:
propertyEditor - the property editor to adapt
targetClass - the value class this property editor converts to from string