Class ApacheValidationProvider

  • All Implemented Interfaces:
    jakarta.validation.spi.ValidationProvider<ApacheValidatorConfiguration>

    public class ApacheValidationProvider
    extends Object
    implements jakarta.validation.spi.ValidationProvider<ApacheValidatorConfiguration>
    Description: Implementation of ValidationProvider for jsr implementation of the apache-validation framework.


    User: roman.stumm
    Date: 29.10.2008
    Time: 14:45:41

    • Constructor Detail

      • ApacheValidationProvider

        public ApacheValidationProvider()
    • Method Detail

      • isSuitable

        public boolean isSuitable​(Class<? extends jakarta.validation.Configuration<?>> builderClass)
        Learn whether a particular builder class is suitable for this ValidationProvider.
        Parameters:
        builderClass -
        Returns:
        boolean suitability
      • createSpecializedConfiguration

        public ApacheValidatorConfiguration createSpecializedConfiguration​(jakarta.validation.spi.BootstrapState state)
        Specified by:
        createSpecializedConfiguration in interface jakarta.validation.spi.ValidationProvider<ApacheValidatorConfiguration>
      • createGenericConfiguration

        public jakarta.validation.Configuration<?> createGenericConfiguration​(jakarta.validation.spi.BootstrapState state)
        Specified by:
        createGenericConfiguration in interface jakarta.validation.spi.ValidationProvider<ApacheValidatorConfiguration>
      • buildValidatorFactory

        public jakarta.validation.ValidatorFactory buildValidatorFactory​(jakarta.validation.spi.ConfigurationState configuration)
        Specified by:
        buildValidatorFactory in interface jakarta.validation.spi.ValidationProvider<ApacheValidatorConfiguration>
        Throws:
        jakarta.validation.ValidationException - if the ValidatorFactory cannot be built