Package org.geotools.data.util
Class EnumerationConverterFactory
Object
EnumerationConverterFactory
- All Implemented Interfaces:
ConverterFactory
Converts between enumerations and strings
- Author:
- Andrea Aime - OpenGeo
-
Field Summary
Fields inherited from interface ConverterFactory
SAFE_CONVERSION -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EnumerationConverterFactory
public EnumerationConverterFactory()
-
-
Method Details
-
createConverter
Description copied from interface:ConverterFactoryCreates aConverterinstance for converting one type of object to another.- Specified by:
createConverterin interfaceConverterFactory- Parameters:
source- The type to convert from.target- The type to convert to.hints- Hints used to be used while creating a converter.- Returns:
- The converter, or
nullif one could not be found.
-