All Classes and Interfaces
Class
Description
Basic cacheable factory responsible for the creation of
ScriptEvaluator
s.Resource bundle backed message interpolator.
A
ResourceBundleLocator
implementation that provides access
to multiple source ResourceBundle
s by merging them into one
aggregated bundle.Deprecated.
This class should not have been part of the public API and will be removed at a later stage.
Base class for all annotation definition types.
Facet of a constraint mapping creational context which allows to configure how existing annotation should be treated.
Deprecated.
Since 6.0.
An
AssertFalse
constraint definition.An
AssertTrue
constraint definition.Base interface for Hibernate Validator specific configurations.
Define how the validated class is normalized before being used as the key to get the bean metadata.
A
ResourceBundleLocator
implementation that wraps around another
locator and caches values retrieved from that locator.Facet of a constraint mapping creational context which allows to mark the underlying
element as to be validated in a cascaded way.
Validates a CNPJ (Cadastro de Pessoa Jurídica - Brazilian corporate tax payer registry number).
Defines several
@CNPJ
annotations on the same element.A
CNPJ
constraint definition.Validate that the code point length of a character sequence is between min and max included.
Defines several
@CodePointLength
annotations on the same element.Strategy for normalization.
Constraint definition for
CodePointLength
.The Enum
CompositionType
which is used as argument to the annotation ConstraintComposition
.Facet of a constraint mapping creational context which allows to place
constraints on the underlying element.
Descriptor for a method of a Java class.
Boolean operator that is applied to all constraints of a composing constraint annotation.
Base class for all constraint definition types.
Constraint mapping creational context representing a constraint (i.e. annotation type).
Allows to specify a validation implementation for the given constraint and data type using a Lambda expression or
method reference.
Callable implementing a validation routine.
Facet of a constraint definition creational context which allows to select the constraint (annotation type) to
which the next operations shall apply.
Represents a constraint mapping configured via the programmatic API.
Implementations contribute
ConstraintMapping
s to validator factory.A builder for adding constraint mappings.
Facet of a constraint mapping creational context which allows to start a new constraint mapping or definition.
Constraint mapping creational context representing a constructor.
Facet of a constraint mapping creational context which allows to select the bean
constructor to which the next operations shall apply.
Constraint mapping creational context representing a type argument of a property, parameter or method return value
with a generic (return) type.
Node representing a container element, providing Hibernate Validator specific functionality.
Facet of a constraint mapping creational context which allows to select a type argument or the component type of the
(return) type of the current property, parameter or method as target for the next operations.
Validates a CPF (Cadastro de Pessoa Física - Brazilian individual taxpayer registry number).
Defines several
@CPF
annotations on the same element.A
CPF
constraint definition.The annotated element has to represent a valid
credit card number.
Defines several
@CreditCardNumber
annotations on the same element.A
CreditCardNumber
constraint definition.Constraint mapping creational context allowing to add cross-parameter constraints to a method or constructor and to
navigate to other constraint targets.
Facet of a constraint mapping creational context which allows to select the cross-parameter element of a method
or constructor as target of the next operations.
The
MonetaryAmount
has to be in the right CurrencyUnit
.Defines several
@Currency
annotations on the same element.A
Currency
constraint definition.A
DecimalMax
constraint definition.A
DecimalMin
constraint definition.This class defines the dynamic group sequence provider contract.
Abstract base for all
ResourceBundleLocator
implementations, that
wish to delegate to some other locator.A
Digits
constraint definition.The annotated
Duration
element must be shorter than or equal to the one constructed as a sum of
DurationMax.nanos()
, DurationMax.millis()
, DurationMax.seconds()
,
DurationMax.minutes()
, DurationMax.hours()
, DurationMax.days()
.Defines several
@DurationMax
annotations on the same element.A
DurationMax
constraint definition.The annotated
Duration
element must be longer than or equal to the one constructed as a sum of
DurationMin.nanos()
, DurationMin.millis()
, DurationMin.seconds()
,
DurationMin.minutes()
, DurationMin.hours()
, DurationMin.days()
.Defines several
@DurationMin
annotations on the same element.A
DurationMin
constraint definition.Checks that the annotated character sequence is a valid
EAN 13 number.
Defines several
@EAN
annotations on the same element.An
EAN
constraint definition.Deprecated.
use the standard
Email
constraint insteadDefines several
@Email
annotations on the same element.An
Email
constraint definition.Indicates the level of features enabled for the Expression Language engine.
A
Future
constraint definition.A
FutureOrPresent
constraint definition.A
ConstraintDef
class which can be used to configure any constraint
type.Used to define the strategy to detect the getters of a bean.
Creational context which allows to set the target group of a group conversion configured via
Cascadable.convertGroup(Class)
.The
GroupSequenceProvider
annotation defines the DefaultGroupSequenceProvider
class responsible to return the list of classes defining the default group sequence for the annotated type.Hibernate Validator specific extension to the
ConstraintValidator
contract.A custom
ConstraintValidatorContext
which allows to set additional message parameters for
interpolation.Provides contextual data and operations when initializing a constraint validator.
A custom
ConstraintViolation
which allows to get additional information for a constraint violation.A custom
ConstraintValidatorContext
which provides additional functionality for cross parameter validation contexts.Extension to
MessageInterpolator.Context
which provides functionality
specific to Hibernate Validator.A CDI qualifier to identify the Hibernate Validator specific Bean Validation beans.
Default implementation of
ValidationProvider
within Hibernate Validator.Uniquely identifies Hibernate Validator in the Bean Validation bootstrap
strategy.
Represents a Hibernate Validator specific context that is used to create
Validator
instances.Hibernate Validator specific marker interface.
Provides Hibernate Validator extensions to
ValidatorFactory
.Our specific implementation of
BasicPermission
as we cannot define additional RuntimePermission
.Marks the annotated element as incubating.
Checks that the annotated character sequence is a valid russian taxpayer
identification number (INN in russian transliteration).
Defines several
@INN
annotations on the same element.Defines the INN length.
An
INN
constraint definition.Checks that the annotated character sequence is a valid
ISBN.
Defines several
@ISBN
annotations on the same element.Defines the ISBN length.
An
ISBN
constraint definition.Contains metadata for a JavaBean property.
Validate that the string is between min and max included.
Defines several
@Length
annotations on the same element.A
Length
constraint definition.Define the strategy used to resolve the locale user for message interpolation when no locale is defined from the list
of supported locales.
Context used for locale resolution.
Luhn algorithm check constraint.
Defines several
@LuhnCheck
annotations on the same element.A
LuhnCheck
constraint definition.A
Max
constraint definition.Constraint mapping creational context representing a method.
Facet of a constraint mapping creational context which allows to select the bean
method to which the next operations shall apply.
A
Min
constraint definition.@Modulo 10 check constraint.
Defines several
@Mod10Check
annotations on the same element.A
Mod10Check
constraint definition.Modulo 11 check constraint.
Defines several
@Mod11Check
annotations on the same element.A
Mod11Check
constraint definition.Deprecated.
As of release 5.1.0, replaced by
Mod10Check
and Mod11Check
Defines several
@ModCheck
annotations on the same element.A
Negative
constraint definition.A
NegativeOrZero
constraint definition.Validates that a
CharSequence
is a NIP number (9-digit Polish VAT identification number).Defines several
@NIP
annotations on the same element.An
NIP
constraint definition.Validate that a character sequence is of normalization form.
Defines several
@Normalized
annotations on the same element.Constraint definition for
Normalized
.Deprecated.
use the standard
NotBlank
constraint insteadDefines several
@NotBlank
annotations on the same element.A
NotBlank
constraint definition.Deprecated.
use the standard
NotEmpty
constraint insteadDefines several
@NotEmpty
annotations on the same element.A
NotEmpty
constraint definition.A
NotNull
constraint definition.A
Null
constraint definition.Constraint mapping creational context representing a method parameter.
Resource bundle message interpolator, it does not support EL expression
and does support parameter value expression
A method-level constraint, that evaluates a script expression against the
annotated method or constructor.
Defines several
ParameterScriptAssert
annotations on the same executable.A
ParameterScriptAssert
constraint definition.Facet of a constraint mapping creational context which allows to select a method or constructor parameter to
which the next operations shall apply.
A
ParameterNameProvider
implementation backed by the ParaNamer
library.A
Past
constraint definition.A
PastOrPresent
constraint definition.An
Pattern
constraint definition.Validates that a
CharSequence
is a PESEL (Polish national identification number).Defines several
@PESEL
annotations on the same element.A
PESEL
constraint definition.A resource bundle locator, that loads resource bundles by invoking
ResourceBundle.loadBundle(String, Local, ClassLoader)
.A
Positive
constraint definition.Implementation of
ValidationProvider
limiting validation to a predefined scope.Extension of
HibernateValidatorConfiguration
with additional methods dedicated to defining the predefined
scope of bean validation e.g. validated classes, constraint validators...Provides Hibernate Validator extensions to
ValidatorFactory
in the context of a predefined scope.Base interface for property metadata.
Constraint mapping creational context representing a property of a bean.
Node representing a property, providing Hibernate Validator specific functionality.
This interface is used to resolve the name of a property node when creating the property path.
Facet of a constraint mapping creational context which allows to select the bean
property to which the next operations shall apply.
The annotated element has to be in the appropriate range.
Defines several
@Range
annotations on the same element.A
Range
constraint definition.Deprecated.
since 6.0 - getting the parameter names via reflection is now enabled by default.
Validate that the character sequence (e.g. string) is a valid URL using a regular expression.
Validates that a
CharSequence
is a REGON number (9/14-digit Polish Taxpayer Identification Number).Defines several
@REGON
annotations on the same element.A
REGON
constraint definition.
Used by
ResourceBundleMessageInterpolator
to load resource bundles
containing message texts to be displayed in case of validation errors.Resource bundle backed message interpolator.
Constraint mapping creational context representing a method return value.
Facet of a constraint mapping creational context which allows to select the current method's or constructor's
return value as target for the next operations.
A class-level constraint, that evaluates a script expression against the
annotated element.
Defines several
@ScriptAssert
annotations on the same element.A
ScriptAssert
constraint definition.A wrapper around JSR 223
ScriptEngine
s.Exception raised when an error occurs during the evaluation of a script.
Used to evaluate script expressions for
ScriptAssert
and ParameterScriptAssert
constraints.Factory used to initialize the
ScriptEvaluator
s required to evaluate script expressions defined in
ScriptAssert
and ParameterScriptAssert
constraints.Exception raised when a script evaluator cannot be found for a given language.
A
Size
constraint definition.Validates a Título Eleitoral (Brazilian Voter ID card number).
Defines several
@TituloEleitoral
annotations on the same element.A
TituloEleitoral
constraint definition.Constraint mapping creational context representing a type.
Facet of a constraint mapping creational context which allows to select the bean
type to which the next operations shall apply.
Validates that every object in the provided
Collection
is unique, i.e. that we can't find 2 equal elements in
the collection.Defines several
@UniqueElements
annotations on the same element.An
UniqueElements
constraint definition.Validates the annotated string is an URL.
Defines several
@URL
annotations on the same element.An
URL
constraint definition.Checks that the annotated character sequence is a valid
UUID.
Required letter case for hex characters
Defines several
@UUID
annotations on the same element.Constraint definition for
UUID
.A CDI portable extension which integrates Bean Validation with CDI.