Interface Policy<A extends Annotation>
- All Known Subinterfaces:
Adjuster<A>,CollectionConverter<A,,T> CollectionPostConversionAdjuster<A,,T> CollectionPostConversionValidator<A,,T> Converter<A,,T> NonConversionValidator<A>,PostConversionAdjuster<A,,T> PostConversionValidator<A,T>
- All Known Implementing Classes:
AbstractAdjusterSupport,AbstractCollectionConverterSupport,AbstractCollectionPostConversionAdjusterSupport,AbstractCollectionPostConversionValidatorSupport,AbstractConverterSupport,AbstractCustomAdjusterSupport,AbstractCustomCollectionConverterSupport,AbstractCustomCollectionFormatterSupport,AbstractCustomCollectionPostConversionAdjusterSupport,AbstractCustomCollectionPostConversionValidatorSupport,AbstractCustomConverterSupport,AbstractCustomFormatterSupport,AbstractCustomNonConversionValidatorSupport,AbstractCustomPostConversionAdjusterSupport,AbstractCustomPostConversionValidatorSupport,AbstractNonConversionValidatorSupport,AbstractPolicySupport,AbstractPostConversionAdjusterSupport,AbstractPostConversionValidatorSupport,BigDecimalConverter,BooleanConverter,ByteConverter,CharacterConverter,DateConverter,DoubleConverter,EnumConverter,FloatConverter,IntegerConverter,IntegerCSVConverter,IntegerRangeValidator,LongConverter,MaxLengthValidator,MinIntegerValidator,RegexValidator,RequiredValidator,ShortConverter,StringCSVConverter,ToEndOfDayAdjuster,ToLowerCaseAdjuster,ToStartOfDayAdjuster,ToUpperCaseAdjuster,TrimAdjuster
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.
-