A - The annotation typeT - The argument typeS - The binding source typepublic abstract class AbstractAnnotatedArgumentBinder<A extends java.lang.annotation.Annotation,T,S> extends java.lang.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,
java.lang.String annotationValue)
Do binding.
|
protected ArgumentBinder.BindingResult<T> |
doBind(ArgumentConversionContext<T> context,
ConvertibleValues<?> values,
java.lang.String annotationValue,
ArgumentBinder.BindingResult<T> defaultResult)
Do binding.
|
protected ArgumentBinder.BindingResult<T> |
doConvert(java.lang.Object value,
ArgumentConversionContext<T> context)
Convert the value and return a binding result.
|
protected ArgumentBinder.BindingResult<T> |
doConvert(java.lang.Object value,
ArgumentConversionContext<T> context,
ArgumentBinder.BindingResult<T> defaultResult)
Convert the value and return a binding result.
|
protected java.lang.Object |
doResolve(ArgumentConversionContext<T> context,
ConvertibleValues<?> values,
java.lang.String annotationValue)
Do resolve.
|
protected java.lang.String |
getFallbackFormat(Argument argument) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotationTypebindprotected AbstractAnnotatedArgumentBinder(ConversionService<?> conversionService)
conversionService - conversionServiceprotected ArgumentBinder.BindingResult<T> doBind(ArgumentConversionContext<T> context, ConvertibleValues<?> values, java.lang.String annotationValue)
context - contextvalues - valuesannotationValue - annotationValueprotected ArgumentBinder.BindingResult<T> doBind(ArgumentConversionContext<T> context, ConvertibleValues<?> values, java.lang.String annotationValue, ArgumentBinder.BindingResult<T> defaultResult)
context - contextvalues - valuesannotationValue - annotationValuedefaultResult - The default binding result if the value is null@Nullable protected java.lang.Object doResolve(ArgumentConversionContext<T> context, ConvertibleValues<?> values, java.lang.String annotationValue)
context - contextvalues - valuesannotationValue - annotationValueprotected java.lang.String getFallbackFormat(Argument argument)
argument - The argumentprotected ArgumentBinder.BindingResult<T> doConvert(java.lang.Object value, ArgumentConversionContext<T> context)
value - The value to convertcontext - The conversion contextprotected ArgumentBinder.BindingResult<T> doConvert(java.lang.Object value, ArgumentConversionContext<T> context, ArgumentBinder.BindingResult<T> defaultResult)
value - The value to convertcontext - The conversion contextdefaultResult - The binding result if the value is null