Interface Policy<A extends Annotation>
- All Known Subinterfaces:
Adjuster<A>,Converter<A,,T> ListConverter<A,,T> ListPostConversionAdjuster<A,,T> ListPostConversionValidator<A,,T> NonConversionValidator<A>,PostConversionAdjuster<A,,T> PostConversionValidator<A,T>
- All Known Implementing Classes:
AbstractAdjusterSupport,AbstractConverterSupport,AbstractCustomAdjusterSupport,AbstractCustomConverterSupport,AbstractCustomFormatterSupport,AbstractCustomListConverterSupport,AbstractCustomListFormatterSupport,AbstractCustomListPostConversionAdjusterSupport,AbstractCustomListPostConversionValidatorSupport,AbstractCustomNonConversionValidatorSupport,AbstractCustomPostConversionAdjusterSupport,AbstractCustomPostConversionValidatorSupport,AbstractDefaultConverterSupport,AbstractFormatterSupport,AbstractListConverterSupport,AbstractListFormatterSupport,AbstractListPostConversionAdjusterSupport,AbstractListPostConversionValidatorSupport,AbstractNonConversionValidatorSupport,AbstractPolicySupport,AbstractPostConversionAdjusterSupport,AbstractPostConversionValidatorSupport,BigDecimalConverter,BooleanConverter,ByteConverter,CharacterConverter,DateConverter,DoubleConverter,EnumConverter,FloatConverter,IntegerConverter,IntegerCSVConverter,IntegerRangeValidator,LongConverter,MaxLengthValidator,MinIntegerEntryCountListPostConversionValidator,MinIntegerValidator,MinStringEntryCountListPostConversionValidator,RegexValidator,RemoveEmptyStringEntriesListPostConversionAdjuster,RemoveNullIntegerEntriesListPostConversionAdjuster,RequiredIntegerEntriesValidator,RequiredStringEntriesValidator,RequiredValidator,ShortConverter,SortIntegerEntriesListPostConversionAdjuster,SortStringEntriesListPostConversionAdjuster,StringCSVConverter,ToEndOfDayAdjuster,ToLowerCaseAdjuster,ToStartOfDayAdjuster,ToUpperCaseAdjuster,TrimAdjuster,TrimEntriesPostConversionAdjuster
public interface Policy<A extends Annotation>
Base interface for form field converters, validators and adjusters used by
AnnotationValidationInterceptor
and AnnotationValidationInterceptor2.-
Method Summary
Modifier and TypeMethodDescriptionReturns annotation that configures this policy.voidsetAnnotation(A annotation) Sets annotation that configures this policy.
-
Method Details
-
getAnnotation
A getAnnotation()Returns annotation that configures this policy. -
setAnnotation
Sets annotation that configures this policy.
-