Class AbstractPropertyEditorConverterSupport<T>
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.data.gemfire.support.AbstractPropertyEditorConverterSupport<T>
- All Implemented Interfaces:
PropertyEditor
,org.springframework.core.convert.converter.Converter<String,
T>
- Direct Known Subclasses:
CustomEditorBeanFactoryPostProcessor.StringToConnectionEndpointConverter
,CustomEditorBeanFactoryPostProcessor.StringToConnectionEndpointListConverter
,EvictionActionConverter
,EvictionPolicyConverter
,ExpirationActionConverter
,IndexMaintenancePolicyConverter
,IndexTypeConverter
,InterestPolicyConverter
,InterestResultPolicyConverter
,OrderPolicyConverter
,ScopeConverter
,SubscriptionEvictionPolicyConverter
public abstract class AbstractPropertyEditorConverterSupport<T>
extends PropertyEditorSupport
implements org.springframework.core.convert.converter.Converter<String,T>
The
AbstractPropertyEditorConverterSupport
class is an abstract base class for Spring Converter
implementations that also implement the JavaBeans PropertyEditor
interface.- Since:
- 1.6.0
- See Also:
-
PropertyEditor
PropertyEditorSupport
Converter
-
Constructor Summary
-
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.core.convert.converter.Converter
andThen, convert
-
Constructor Details
-
AbstractPropertyEditorConverterSupport
public AbstractPropertyEditorConverterSupport()
-
-
Method Details
-
assertConverted
-
setAsText
- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
- Parameters:
text
-String
to convert.- Throws:
IllegalArgumentException
- if theString
could not be converted into an instance oftype
T.- See Also:
-
Converter.convert(Object)
PropertyEditorSupport.setValue(Object)
-