A
- The annotation typeT
- The argument typeS
- The binding source typepublic abstract class AbstractAnnotatedArgumentBinder<A extends Annotation,T,S> extends Object implements AnnotatedArgumentBinder<A,T,S>
AnnotatedArgumentBinder
implementation.ArgumentBinder.BindingResult<T>
Modifier | Constructor and Description |
---|---|
protected |
AbstractAnnotatedArgumentBinder(ConversionService<?> conversionService)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ArgumentBinder.BindingResult<T> |
doBind(ArgumentConversionContext<T> context,
ConvertibleValues<?> values,
String annotationValue)
Do binding.
|
protected ArgumentBinder.BindingResult<T> |
doConvert(Object value,
ArgumentConversionContext<T> context)
Convert the value and return a binding result.
|
protected Object |
doResolve(ArgumentConversionContext<T> context,
ConvertibleValues<?> values,
String annotationValue)
Do resolve.
|
protected String |
getFallbackFormat(Argument argument) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotationType
bind
protected AbstractAnnotatedArgumentBinder(ConversionService<?> conversionService)
conversionService
- conversionServiceprotected ArgumentBinder.BindingResult<T> doBind(ArgumentConversionContext<T> context, ConvertibleValues<?> values, String annotationValue)
context
- contextvalues
- valuesannotationValue
- annotationValue@Nullable protected Object doResolve(ArgumentConversionContext<T> context, ConvertibleValues<?> values, String annotationValue)
context
- contextvalues
- valuesannotationValue
- annotationValueprotected String getFallbackFormat(Argument argument)
argument
- The argumentprotected ArgumentBinder.BindingResult<T> doConvert(Object value, ArgumentConversionContext<T> context)
value
- The value to convertcontext
- The conversion context