Hibernate Validator 8.0.1.Final

This is the Hibernate Validator API documentation. Hibernate Validator is the reference implementation of https://projects.eclipse.org/projects/ee4j.bean-validation[Jakarta Bean Validation 2.0].

All classes fall into three categories:

  • spi: Classes with spi in the package name are service provider interfaces intended to be implemented or extended by users of Hibernate Validator.
  • internal: Classes with internal in the package name are Hibernate Validator specific classes which are not intended for use. Internal classes can change at any time and no guarantee is given regarding backwards compatibility.
  • public: Classes with neither spi or internal in the package name are considered public and can be used or extended by users. If changes to this classes are necessary there will be a deprecation first.
Package
Description
Bootstrap classes HibernateValidator and HibernateValidatorConfiguration which uniquely identify Hibernate Validator and allow to configure it.
This package contains the main class of Hibernate Validator annotation processor.
 
This package contains check implementations used by the annotation processor to verify constraint declarations.
 
 
This package contains helper classes.
Public types dealing with the integration of Hibernate Validator and CDI ("Contexts and Dependency Injection for JavaTM", JSR 346).
Classes for enabling Bean Validation CDI integration.
Classes for enabling Bean Validation method validation via a CDI interceptor.
 
 
Entry point for the programmatic constraint definition API.
Contains facet and creational context interfaces forming the API for programmatic constraint definition.
Constraint definition classes for programmatic constraint definition API.
Brazil specific constraint definition classes for programmatic constraint definition API.
Poland specific constraint definition classes for programmatic constraint definition API.
Russian specific constraint definition classes for programmatic constraint definition API.
Hibernate Validator specific constraints.
Hibernate Validator Brazilian constraints.
Hibernate Validator Polish constraints.
Hibernate Validator Russian constraints.
Hibernate Validator Duration constraints.
Custom Hibernate Validator specific constraint validation extension classes.
 
 
This package provides support for dynamic default group sequence definition.
 
Creational context implementations of the API for programmatic constraint definition.
 
Implementations of the Bean Validation built-in constraints.
 
Implementations of the Bean Validation NotEmpty constraint.
Contains ConstraintValidator implementations for various number constraints.
Contains ConstraintValidator implementations for min and max constraints for numbers.
Contains ConstraintValidator implementations for DecimalMin and DecimalMax constraints.
Contains ConstraintValidator implementations for Positive, PositiveOrZero, Negative and NegativeOrZero constraints.
Implementations of the Bean Validation Size constraint.
Constraint validator implementations of the Bean Validation time related constraints.
Constraint validator implementations of the Bean Validation Future constraint.
Constraint validator implementations of the Bean Validation FutureOrPresent constraint.
Constraint validator implementations of the Bean Validation Past constraint.
Constraint validator implementations of the Bean Validation PastOrPresent constraint.
Implementations of Hibernate Validator specific constraints.
 
 
 
 
Implementations for the core interfaces of Jakarta Bean Validation.
 
Classes dealing with the representation of constraints and the management/instantitation of constraint validators.
Helper classes for the processing of groups.
Helper classes for message interpolation.
Helper classes for setting up the Expression Language context for message interpolation.
Classes related to parsing a message descriptor and extracting interpolation terms.
 
Classes related to the Path.Node API.
Various implementations of the TraversableResolver interface.
Classes related to the evaluation of script with the JSR 223 ScriptEngine.
Contains various implementation of validation contexts and supporting classes.
 
 
Implementations of the Bean Validation metadata interfaces as well as Hibernate Validator specific meta data classes.
The classes in this package contain the aggregated meta data needed for an actual validation.
Contains MethodConfigurationRule and its subclasses used to validate the correctness of method constraints on overridden/implemented methods in inheritance hierarchies.
Core classes of the internal model used for representing constraints and related metadata.
Implementation of the Bean Validation meta data API.
Contains the facet interfaces implemented by the aggregated meta data model types, allowing for a unified validation routine for all kinds of validation (bean, parameter and return value validation).
Contains types for the representation of constraint locations.
Abstraction of the meta data sources - annotation, xml, programmatic.
The raw metadata is a reflection of all configured constraints including constraints defined via multiple configuration sources.
 
 
Independent helper classes.
Annotation proxy and descriptor.
Contains classes for working with the elements of a class hierarchy.
Logging classes.
 
Implementations of PrivilegedAction in order to execute reflection operations in a security manager.
 
Classes for parsing of Bean Validation XML configuration files.
 
 
Implementations of the MessageInterpolator interface in particular ResourceBundleMessageInterpolator which can be used by custom implementations of the interface for delegation.
 
Custom Hibernate Validator jakarta.validation.ParameterNameProvider implementations.
Hibernate Validator extensions around jakarta.validation.Path.
ResourceBundleLocator interface and its various implementations.
 
This package provides support for dynamic default group sequence definition.
 
 
This package provides support for customizing the getter detection logic.
ResourceBundleLocator interface.
This package provides support for customization of the script evaluation for ScriptAssert and ParameterScriptAssert constraints.