Interface NonConversionValidator<A extends Annotation>

All Superinterfaces:
Policy<A>, Validator<A>
All Known Implementing Classes:
AbstractCustomNonConversionValidatorSupport, AbstractNonConversionValidatorSupport, MaxLengthValidator, RegexValidator, RequiredValidator

public interface NonConversionValidator<A extends Annotation> extends Validator<A>
Interface for form field validators used by AnnotationValidationInterceptor and AnnotationValidationInterceptor2 that don't convert from string values.
  • 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

      ValidationResult validate(String fieldValue) throws Exception
      Returns result of validation of form field.
      Throws:
      Exception