Package org.springframework.data.gemfire
Class ScopeConverter
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.data.gemfire.support.AbstractPropertyEditorConverterSupport<Scope>
org.springframework.data.gemfire.ScopeConverter
- All Implemented Interfaces:
PropertyEditor
,Converter<String,
Scope>
The
ScopeConverter
class is a Spring Converter
and JavaBeans PropertyEditor
that converts a String
into a Scope
.- Since:
- 1.6.0
- Author:
- John Blum
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.data.gemfire.support.AbstractPropertyEditorConverterSupport
assertConverted, setAsText
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
ScopeConverter
public ScopeConverter()
-
-
Method Details
-
convert
- Parameters:
source
- the String to convert into a GemFire Scope.- Returns:
- a GemFire Scope for the given String.
- Throws:
IllegalArgumentException
- if the String is not a valid GemFire Scope.- See Also:
-