Interface NonConversionValidator<A extends Annotation>
- All Known Implementing Classes:
AbstractCustomNonConversionValidatorSupport
,AbstractNonConversionValidatorSupport
,MaxLengthValidator
,RegexValidator
,RequiredValidator
Interface for form field validators used by
AnnotationValidationInterceptor
and
AnnotationValidationInterceptor2
that don't convert from string
values.-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns whether validator should not be skipped if the form field value is empty string.boolean
Returns whether rejection by this validator should stop further validation.Returns result of validation of form field.Methods inherited from interface name.matthewgreet.strutscommons.policy.Policy
getAnnotation, setAnnotation
Methods inherited from interface name.matthewgreet.strutscommons.policy.Validator
getMessage, getMessageKey, getMessageType
-
Method Details
-
getShortCircuit
boolean getShortCircuit()Returns whether rejection by this validator should stop further validation. -
getProcessNoValue
boolean getProcessNoValue()Returns whether validator should not be skipped if the form field value is empty string. -
validate
Returns result of validation of form field.- Throws:
Exception
-