Package lumis.content.source.field.type
Class CategorizationDataType.CategorizationConverter
- java.lang.Object
-
- lumis.util.converter.AbstractConverter
-
- lumis.content.source.field.type.CategorizationDataType.CategorizationConverter
-
- All Implemented Interfaces:
IConverter
- Enclosing class:
- CategorizationDataType
public static class CategorizationDataType.CategorizationConverter extends AbstractConverter
Converter responsible for converting categorization.- Since:
- 9.0.0
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
-
-
Constructor Summary
Constructors Constructor Description CategorizationConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T> T
doConversion(Class<T> type, Object value, Locale locale, String pattern)
Converts the specified input object into an output object of the specified type.-
Methods inherited from class lumis.util.converter.AbstractConverter
convert, convert, convert, doesNullValueReturnNull, doesValueInstanceOfTypeReturnValue, getDefaultLocale, getDefaultPattern, setDefaultLocale, setDefaultPattern, setFallbackToRegisteredConverters, shouldFallbackToRegisteredConverters
-
-
-
-
Method Detail
-
doConversion
protected <T> T doConversion(Class<T> type, Object value, Locale locale, String pattern) throws UnsupportedConversionTypeException
Description copied from class:AbstractConverter
Converts the specified input object into an output object of the specified type.- Specified by:
doConversion
in classAbstractConverter
- Type Parameters:
T
- generics support for the data type specified.- Parameters:
type
- data type to which the value should be converted.value
- the input value to be converted.locale
- locale to be used during conversion, if necessary.pattern
- converter specific conversion pattern, to be used during conversion, if necessary.- Throws:
UnsupportedConversionTypeException
- if this converter does not supports converting to the specified type.
-
-