org.loom.converter
Class ConverterMetadataConverterFactory

java.lang.Object
  extended by org.loom.converter.ConverterMetadataConverterFactory
All Implemented Interfaces:
AnnotationDrivenConverterFactory<ConverterMetadata>

public class ConverterMetadataConverterFactory
extends java.lang.Object
implements AnnotationDrivenConverterFactory<ConverterMetadata>


Constructor Summary
ConverterMetadataConverterFactory()
           
 
Method Summary
 java.lang.Class<ConverterMetadata> getAnnotationClass()
           
 Converter getConverter(AnnotationContainer container, ConverterMetadata annotation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterMetadataConverterFactory

public ConverterMetadataConverterFactory()
Method Detail

getAnnotationClass

public java.lang.Class<ConverterMetadata> getAnnotationClass()
Specified by:
getAnnotationClass in interface AnnotationDrivenConverterFactory<ConverterMetadata>
Returns:
the annotation class processed by this factory

getConverter

public Converter getConverter(AnnotationContainer container,
                              ConverterMetadata annotation)
Specified by:
getConverter in interface AnnotationDrivenConverterFactory<ConverterMetadata>
annotation - the annotation that was found on this property
Returns:
The converter for this property.