org.loom.converter
Interface AnnotationDrivenConverterFactory<T extends java.lang.annotation.Annotation>
- All Known Implementing Classes:
- ConverterMetadataConverterFactory, JsonConverterFactory, TemporalConverterFactory
public interface AnnotationDrivenConverterFactory<T extends java.lang.annotation.Annotation>
Factory of Converter
instances driven by the use of annotations on the affected property
getConverter
Converter getConverter(AnnotationContainer container,
T annotation)
- Parameters:
annotation
- the annotation that was found on this property
- Returns:
- The converter for this property.
getAnnotationClass
java.lang.Class<T> getAnnotationClass()
- Returns:
- the annotation class processed by this factory