Interface PostConversionAdjuster<A extends Annotation,T>
- All Superinterfaces:
Policy<A>
- All Known Implementing Classes:
AbstractCustomPostConversionAdjusterSupport
,AbstractPostConversionAdjusterSupport
,ToEndOfDayAdjuster
,ToStartOfDayAdjuster
Interface for post conversion adjusters, which alter form field values and used by
AnnotationValidationInterceptor2
(not AnnotationValidationInterceptor
). This is useful for adding
implied values, such as midnight time for a date. Post conversion adjusters are run after conversion but before post
conversion validators.-
Method Summary
Modifier and TypeMethodDescriptionReturns adjusted form field value.boolean
Returns whether validator should not be skipped if conversion failed or was skipped.Returns type of recipient fields that can receive converted form value.Methods inherited from interface name.matthewgreet.strutscommons.policy.Policy
getAnnotation, setAnnotation
-
Method Details
-
getRecipientClass
Returns type of recipient fields that can receive converted form value. -
getProcessNoValue
boolean getProcessNoValue()Returns whether validator should not be skipped if conversion failed or was skipped. -
adjust
Returns adjusted form field value.- Throws:
Exception
-