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:ConverterFactory
Creates aConverter
instance for converting one type of object to another.- Specified by:
createConverter
in 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
null
if one could not be found.
-