public class DefaultConversionAnnotationProcessor extends Object implements ConversionAnnotationProcessor
ConversionAnnotationProcessor
Constructor and Description |
---|
DefaultConversionAnnotationProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
process(Map<String,Object> mapping,
TypeConversion tc,
String key)
Process annotation and build
TypeConverter base on provided annotation
and assigning it under given key |
void |
setTypeConverterCreator(TypeConverterCreator converterCreator) |
void |
setTypeConverterHolder(TypeConverterHolder converterHolder) |
public DefaultConversionAnnotationProcessor()
public void setTypeConverterCreator(TypeConverterCreator converterCreator)
public void setTypeConverterHolder(TypeConverterHolder converterHolder)
public void process(Map<String,Object> mapping, TypeConversion tc, String key)
ConversionAnnotationProcessor
TypeConverter
base on provided annotation
and assigning it under given keyprocess
in interface ConversionAnnotationProcessor
mapping
- keeps converters per given keytc
- annotation which keeps information about converterkey
- key under which converter should be registeredCopyright © 2000–2020 Apache Software Foundation. All rights reserved.