A - type of annotation mentioning this converterT - conversion target typepublic interface Converter<A extends Annotation,T>
initialize(java.lang.annotation.Annotation) method| Modifier and Type | Method and Description |
|---|---|
T |
convert(Object param)
Converts param to desired type.
|
void |
initialize(A annotation)
Initializes this converter - you can read your annotation config here.
|
void initialize(A annotation)
T convert(Object param) throws ConversionFailedException
ConversionFailedExceptionCopyright © 2016 Pragmatists. All rights reserved.