All Classes and Interfaces
Class
Description
Basic cacheable factory responsible for the creation of
ScriptEvaluator
s.
Abstract base class for
ClassCheck
implementations.Hibernate specific
Configuration
implementation.Base implementation of with functionality common to all
ConstrainedElement
implementations.
Abstract base class for
ConstraintCheck
implementations.Base implementation for
ConstraintMetaData
with attributes common
to all type of meta data.Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
An abstract
ElementVisitor
that should be used for implementation
of any other element visitors.Checks that a given character sequence (e.g.
Base class for all time validators that use an epoch to be compared to the time reference.
Base class for all
@Future
validators that use an epoch to be compared to the time reference.Base class for all
@Future
validators that use an Instant
to be compared to the time reference.Base class for all
@Future
validators that are based on the java.time
package.Base class for all
@FutureOrPresent
validators that use an epoch to be compared to the time reference.Base class for all
@FutureOrPresent
validators that use an Instant
to be compared to the time reference.Base class for all
@FutureOrPresent
validators that are based on the java.time
package.Base class for all time validators that use an
Instant
to be compared to the time reference.Base class for all time validators that are based on the
java.time
package.Check that the number being validated is less than or equal to the maximum
value specified.
Resource bundle backed message interpolator.
Abstract base class for
ClassCheck
implementations that check overridden methods.Check that the number being validated is greater than or equal to the minimum
value specified.
Base class for all
@Past
validators that use an epoch to be compared to the time reference.Base class for all
@Past
validators that use an Instant
to be compared to the time reference.Base class for all
@Past
validators that are based on the java.time
package.Base class for all
@PastOrPresent
validators that use an epoch to be compared to the time reference.Base class for all
@PastOrPresent
validators that use an Instant
to be compared to the time reference.Base class for all
@PastOrPresent
validators that are based on the java.time
package.A
Cascadable
backed by a property of a Java bean.An abstract property constraint location.
Other Stax xml builders should extend from this one.
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.
A pseudo type variable used to express that the annotated element itself (e.g.
A helper class providing some useful methods to work with types
from the JSR-269-API.
Base class for all annotation definition types.
Checks that the default annotation message parameter is valid and gives a warning otherwise.
Encapsulates the data you need to create an annotation.
Creates live annotations (actually
AnnotationProxy
instances) from AnnotationDescriptor
s.Facet of a constraint mapping creational context which allows to configure how existing annotation should be treated.
A base class to check that the message provided as annotation parameter is valid and gives a warning otherwise.
MetaDataProvider
which reads the metadata from annotations which is the default configuration source.Checks that parameters used on annotation are valid.
Checks that the parameters used on
jakarta.validation.constraints.DecimalMin
and
jakarta.validation.constraints.DecimalMax
annotations are valid.Checks that the parameters used on
jakarta.validation.constraints.Digits
annotations are valid.Checks that the groups parameter of any constraint annotation contains only interfaces.
Checks that the parameters used on
jakarta.validation.constraints.Pattern
annotations are valid.Checks that the parameters used on
org.hibernate.validator.constraints.ScriptAssert
annotations are valid.Checks that the parameters used on
jakarta.validation.constraints.Size
and
org.hibernate.validator.constraints.Length
annotations are valid.Checks that payload only contains one value for unwrapping - either
Unwrapping.Unwrap
or Unwrapping.Skip
Deprecated.
Since 6.0.
An
AnnotationProcessingOptions
instance keeps track of annotations which should be ignored as configuration source.An
AnnotationProcessingOptions
instance keeps track of annotations which should be ignored as configuration source.Checks, that only constraint annotation types are annotated with other
constraint annotations ("constraint composition"), but not non-constraint
annotations.
Checks, that each constraint annotation type declares the members message(), groups() and payload() as
defined by the BV spec.
Checks that the message provided as annotation parameter by a user is valid and gives a warning otherwise.
A pseudo type variable which is used to represent constraints applied to the elements of an array.
Used with JBoss Logging to display array of class names in log messages.
Validates that the value passed is false
Validates that the value passed is true
Interface that exposes contextual information required for a validation call related to a bean.
Base interface for Hibernate Validator specific configurations.
Represents the complete constraint related configuration of one Java type
originating from one
ConfigurationSource
.Describes a validated bean.
Interface defining the meta data about the constraints defined in a given bean.
Define how the validated class is normalized before being used as the key to get the bean metadata.
This class encapsulates all meta data needed for validation.
This manager is in charge of providing all constraint related meta data
required by the validation engine.
This manager is in charge of providing all constraint related meta data
required by the validation engine.
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.
Provides a unified view on cascadable elements of all kinds, be it properties
of a Java bean, the arguments passed to an executable or the value returned
from an executable.
An aggregated view of the cascading validation metadata.
A temporary data structure used to build
CascadingMetaData
.
Implementations represent checks that determine whether a given class
is implemented correctly.
A factory class that provides a collection of
ClassCheck
s based on the type of the element we need to check.Describes a validated type class-level constraints.
Helper class for dealing with inheritance hierarchies of given types which
allows to selectively retrieve elements from such hierarchies, e.g.
Represents the constraint related meta data for a type i.e.
Used with JBoss Logging to display class names in log messages.
An
ElementVisitor
that visits methods of classes and interfaces and applies
different checks to them.HV-1025 - On some JVMs (eg the IBM JVM) the JAXB implementation closes the underlying input stream.
Validates a CNPJ (Cadastro de Pessoa JurÃdica - Brazilian corporate tax payer registry number).
Defines several
@CNPJ
annotations on the same element.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
.Check that the code point length of a character sequence is between min and max.
Provides some methods for simplified collection instantiation.
Provides some methods for simplified collection instantiation.
Used with JBoss Logging to display collection of class names in log messages.
Used with JBoss Logging to display collections of objects using toString() in log messages.
The Enum
CompositionType
which is used as argument to the annotation ConstraintComposition
.An advanced hash table supporting configurable garbage collection semantics
of keys and values, optional referential-equality, full concurrency of
retrievals, and adjustable expected concurrency for updates.
An option specifying which Java reference type should be used to refer
to a key and/or value.
Provides access to the processor options supported by the Hibernate Validator
annotation processor.
Hibernate specific
Configuration
implementation.The source of constraint meta data.
Facet of a constraint mapping creational context which allows to place
constraints on the underlying element.
An element on which it is possible to define constraints (e.g.
Descriptor for a method of a Java class.
Represents a (potentially) constrained Java element such as a type, field or
method.
The kind of a
ConstrainedElement
.Represents a method or constructor of a Java type and all its associated
meta-data relevant in the context of bean validation, for instance the
constraints at its parameters or return value.
Represents a field of a Java type and all its associated meta-data relevant
in the context of bean validation, for instance its constraints.
Contains constraint-related meta-data for one method parameter.
Represents a Java type and all its associated meta-data relevant in the
context of bean validation, for instance its constraints.
An
ElementVisitor
that visits annotated elements (type declarations,
methods and fields) and applies different ConstraintCheck
s to them.
Implementations represent checks, which determine whether a given constraint
annotation is allowed at a given element.
A factory in charge of determining the
ConstraintCheck
s required for
the validation of annotations at given elements.The result of the execution of a
ConstraintCheck
.Represents an ordered set of
ConstraintCheck
s with the ability
to execute these checks against given elements and their annotations.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.
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.
Type-safe wrapper class for a constraint annotation and its potential list of constraint validators.
Facet of a constraint definition creational context which allows to select the constraint (annotation type) to
which the next operations shall apply.
Describes a single constraint (including its composing constraints).
The type of a constraint.
Helper class that deals with all constraint-related stuff, such as
determining whether a given annotation represents a constraint annotation or
whether a given annotation is allowed to be declared at a given element.
Keeps track of builtin constraints and their validator implementations, as well as already resolved validator definitions.
The validation target of a constraint annotation.
Defines the object on which a validation is targeted.
The type of an annotation with respect to the BV API.
Possible results of a constraint check as returned by
ConstraintHelper.checkConstraint(DeclaredType, TypeMirror)
.Represents the location (e.g.
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.
An aggregated view of the constraint related meta data for a given bean/type
element and all the elements in the inheritance hierarchy which it overrides
or implements.
Visibility looked at when discovering constraints.
Due to constraint composition a single constraint annotation can lead to a whole constraint tree being validated.
An annotation processor for checking Bean Validation constraints.
Checks, that for each constraint annotation type, which is not a composed constraint,
a validator implementation is specified using the
Constraint
annotation.Represents a specific validator (either based on an implementation of
ConstraintValidator
or given as a
Lambda expression/method reference.Default
ConstraintValidatorFactory
using a no-arg constructor.Manager in charge of providing and caching initialized
ConstraintValidator
instances.Default implementation of the
ConstraintValidatorManager
.Container class for the information needed to create a constraint violation.
Constraint mapping creational context representing a constructor.
Execute instance creation as privileged action.
Facet of a constraint mapping creational context which allows to select the bean
constructor to which the next operations shall apply.
An aggregated view of the cascading validation metadata for containers.
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.
The path to a container element type.
Validates a CPF (Cadastro de Pessoa FÃsica - Brazilian individual taxpayer registry number).
Defines several
@CPF
annotations on the same element.The annotated element has to represent a valid
credit card number.
Defines several
@CreditCardNumber
annotations on the same element.Checks that a cross-parameter constraint is defined correctly with reference to the specifications.
Constraint mapping creational context allowing to add cross-parameter constraints to a method or constructor and to
navigate to other constraint targets.
Describes cross-parameters.
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.Check that the validated
MonetaryAmount
is in the right CurrencyUnit
.Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the character sequence (e.g.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the monetary amount being validated is less than or equal to the maximum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the character sequence (e.g.
Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
The default implementation of
BeanMetaDataClassNormalizer
.A default
ClockProvider
implementation which returns the current system time in the default time zone using
Clock.systemDefaultZone()
.Default implementation of
ConstraintMapping
.This class defines the dynamic group sequence provider contract.
A default
ParameterNameProvider
implementation which returns parameter names obtained from the Java
reflection API as mandated by the BV specification.A default
PropertyNodeNameProvider
implementation which returns the property name.Factory responsible for the creation of JSR 223 based
ScriptEngineScriptEvaluator
s.An instance of
ValidationOrder
defines the group order during one validation call.Abstract base for all
ResourceBundleLocator
implementations, that
wish to delegate to some other locator.Validates that the character sequence (e.g.
Validates that the number part of the
MonetaryAmount
being validated matches the pattern
defined in the constraint.Validates that the
Number
being validated matches the pattern
defined in the constraint.Used with JBoss Logging to display durations in log messages.
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.Checks that a validated
Duration
length is shorter than or equal to the
one specified with the annotation.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.Checks that a validated
Duration
length is longer than or equal to the
one specified with the annotation.Checks that the annotated character sequence is a valid
EAN 13 number.
Defines several
@EAN
annotations on the same element.Checks that a given character sequence (e.g.
Describes a validated element (class, field or property).
Resolver for the el expressions.
Deprecated.
use the standard
Email
constraint insteadDefines several
@Email
annotations on the same element.Checks that a given character sequence (e.g.
Checks that a given character sequence (e.g.
Describes a validated constructor or method.
Used with JBoss Logging to display executables in log messages.
Provides shared functionality dealing with executables.
An aggregated view of the constraint related meta data for a given method or
constructors and in (case of methods) all the methods in the inheritance
hierarchy which it overrides or implements.
Creates new
ExecutableMetaData
instances.Allows to obtain parameter names from
Executable
s in a uniform fashion.Extension of
BaseBeanValidationContext
for executable validation.Indicates the level of features enabled for the Expression Language engine.
A
Cascadable
backed by a field of a Java bean.Field property constraint location.
A filter to be used when invoking
ClassHierarchyHelper.getHierarchy(Class, Filter...)
.Provides filters to be used when invoking
ClassHierarchyHelper.getHierarchy(Class, Filter...)
.A wrapper class for
java.util.Formatter#format
avoiding lookup problems in EL engines due to
ambiguous method resolution for format
.Check that the
java.util.Calendar
passed to be validated is in
the future.Check that the
java.util.Date
passed to be validated is in the
future.Check that the
java.time.chrono.HijrahDate
passed is in the future.Check that the
java.time.Instant
passed is in the future.Check that the
java.time.chrono.JapaneseDate
passed is in the future.Check that the
java.time.LocalDate
passed is in the future.Check that the
java.time.LocalDateTime
passed is in the future.Check that the
java.time.LocalTime
passed is in the future.Check that the
java.time.chrono.MinguoDate
passed is in the future.Check that the
java.time.MonthDay
passed is in the future.Check that the
java.time.OffsetDateTime
passed is in the future.Check that the
java.time.OffsetTime
passed is in the future.Check if Joda Time type who implements
import org.joda.time.ReadableInstant
is in the future.Check if Joda Time type who implements
org.joda.time.ReadablePartial
is in the future.Check that the
java.time.chrono.ThaiBuddhistDate
passed is in the future.Check that the
java.time.Year
passed is in the future.Check that the
java.time.YearMonth
passed is in the future.Check that the
java.time.ZonedDateTime
passed is in the future.Check that the
java.util.Calendar
passed to be validated is in
the future.Check that the
java.util.Date
passed to be validated is in the
future.Check that the
java.time.chrono.HijrahDate
passed is in the future.Check that the
java.time.Instant
passed is in the future.Check that the
java.time.chrono.JapaneseDate
passed is in the future.Check that the
java.time.LocalDate
passed is in the future.Check that the
java.time.LocalDateTime
passed is in the future.Check that the
java.time.LocalTime
passed is in the future.Check that the
java.time.chrono.MinguoDate
passed is in the future.Check that the
java.time.MonthDay
passed is in the future.Check that the
java.time.OffsetDateTime
passed is in the future.Check that the
java.time.OffsetTime
passed is in the future.Check if Joda Time type who implements
import org.joda.time.ReadableInstant
is in the future.Check if Joda Time type who implements
org.joda.time.ReadablePartial
is in the future.Check that the
java.time.chrono.ThaiBuddhistDate
passed is in the future.Check that the
java.time.Year
passed is in the future.Check that the
java.time.YearMonth
passed is in the future.Check that the
java.time.ZonedDateTime
passed is in the future.A
ConstraintDef
class which can be used to configure any constraint
type.Returns the declared constructor with the specified parameter types or
null
if it does not exist.Returns the declared constructors of the specified class.
Returns the declared field with the specified name or
null
if it does not exist.Returns the fields of the specified class.
Returns the declared method with the specified name and parameter types or
null
if it does not exist.Returns the declared method with the specified name and parameter types in the form of a
MethodHandle
or
null
if it does not exist or cannot be accessed.Returns the declared methods of the specified class.
Returns the method with the specified name or
null
if it does not exist.Returns the method with the specified property name or
null
if it does not exist.Returns the methods of the specified class (include inherited methods).
Returns the member methods - with resolved type parameters - of a given type.
Loads the given resource.
A
PrivilegedAction
wrapping around ClassLoader.getResources(String)
.A
Cascadable
backed by a getter of a Java bean.Checks whether a given element is a valid getter method.
Getter property constraint location.
Used to define the strategy to detect the getters of a bean.
A wrapper around
GetterPropertySelectionStrategy
.Encapsulates a single group.
Describes a group conversion rule.
Provides group conversion functionality to
Cascadable
s.Creational context which allows to set the target group of a group conversion configured via
Cascadable.convertGroup(Class)
.Checks that the GroupSequence definition is valid.
The
GroupSequenceProvider
annotation defines the DefaultGroupSequenceProvider
class responsible to return the list of classes defining the default group sequence for the annotated type.Checks that the
GroupSequenceProvider
annotation definition is valid.Represents a validation group and all the groups it extends ("group inheritance").
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
.Annotation used to ignore forbidden apis errors.
Documents that the value assigned to the annotated field is immutable and thus safe for concurrent access.
Marks the annotated element as incubating.
Deals with methods of types in inheritance hierarchies.
A
ConstraintValidatorFactory
which enables CDI based dependency injection for the created
ConstraintValidator
s.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.
Checks that a given character sequence (e.g.
Utilities used for message interpolation.
Helper class dealing with the interpolation of a single message parameter or expression extracted from a message
descriptor.
Describes the type of the interpolation term.
Checks that the annotated character sequence is a valid
ISBN.
Defines several
@ISBN
annotations on the same element.Defines the ISBN length.
Checks that a given character sequence (e.g.
Checks if an external class is present in the provided class loader.
Helper class that gives ability to find
Constrainable
versions
of JavaBean's fields, getters, constructors and methods.Contains metadata for a JavaBean property.
An implementation of
TraversableResolver
which is aware of JPA 2 and utilizes PersistenceUtil
to
query the reachability of a property.Documents that the value assigned to the annotated field is lazily initialized and shouldn't be accessed directly but
via a getter.
Validate that the string is between min and max included.
Defines several
@Length
annotations on the same element.Check that the character sequence length is between min and max.
Loads a class specified by name.
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.
The Hibernate Validator logger interface for JBoss Logging.
Luhn algorithm check constraint.
Defines several
@LuhnCheck
annotations on the same element.Luhn algorithm checksum validator
http://en.wikipedia.org/wiki/Luhn_algorithm
http://en.wikipedia.org/wiki/Check_digit
XML parser for validation-mapping files.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the character sequence (e.g.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the monetary amount being validated is less than or equal to the maximum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Exception thrown in case the message descriptor is invalid, for example unbalanced braces or escape characters
Implementation of the context used during message interpolation.
Wrapper around
Messager
, which adds the ability to format error messages using MessageFormat
.Instances of this class abstract the constraint type (class, method or field constraint) and give access to
meta data about the constraint.
Helper used to create
MetaConstraint
s.Builds
ConstraintMetaData
instances for the
ConstrainedElement
objects representing one method or property in a
type's inheritance hierarchy.A provider for constraint related meta data such as constraints, default
group sequences etc.
Checks whether a method is correctly annotated with a valid constraint involving the return type or the method
parameters (cross-parameters).
A rule applying to the overriding methods of an inheritance hierarchy.
Constraint mapping creational context representing a method.
Represents an inheritance tree of overridden methods.
Facet of a constraint mapping creational context which allows to select the bean
method to which the next operations shall apply.
Marker annotation for a type or method indicating that method constraints shall be
validated upon invocation of the given method or any methods of the given type.
These properties modify the behavior of the
Validator
with respect to the Jakarta Bean Validation
specification section 5.6.5.Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the character sequence (e.g.
Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the number being validated is less than or equal to the maximum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
Check that the number being validated is greater than or equal to the minimum
value specified.
Checks, that there is no mixed usage of direct annotation and its list container.
@Modulo 10 check constraint.
Defines several
@Mod10Check
annotations on the same element.Mod10 (Luhn algorithm implementation) Check validator
http://en.wikipedia.org/wiki/Luhn_algorithm
http://en.wikipedia.org/wiki/Check_digit
Modulo 11 check constraint.
Defines several
@Mod11Check
annotations on the same element.Mod11 Check Digit validator
http://en.wikipedia.org/wiki/Check_digit
Deprecated.
As of release 5.1.0, replaced by
Mod10Check
and Mod11Check
Defines several
@ModCheck
annotations on the same element.ModCheckBase contains all shared methods and options used by Mod Check Validators
http://en.wikipedia.org/wiki/Check_digit
Deprecated.
As of release 5.1.0, replaced by
Mod10CheckValidator
and Mod11CheckValidator
Helper class for modulo 10/11.
A
ConstraintChecks
implementation that executes the contained checks
against all parts of given multi-valued annotations.Check that the number being validated is negative or zero.
Check that the number being validated is negative or zero.
Check that the number being validated is negative or zero.
Check that the number being validated is negative or zero.
Check that the number being validated is negative or zero.
Check that the number being validated is negative or zero.
Check that the number being validated is negative or zero.
Check that the number being validated is negative or zero.
Check that the number being validated positive.
Check that the number being validated is negative or zero.
Check that the number being validated is negative or zero.
Check that the number being validated is negative.
Check that the number being validated is negative.
Check that the number being validated is negative.
Check that the number being validated is negative.
Check that the number being validated is negative.
Check that the number being validated is negative.
Check that the number being validated is negative.
Check that the number being validated is negative.
Check that the number being validated positive.
Check that the number being validated is negative.
Check that the number being validated is negative.
Execute instance creation as privileged action.
Execute proxy creation as privileged action.
Loads a given XML schema.
Validates that a
CharSequence
is a NIP number (9-digit Polish VAT identification number).Defines several
@NIP
annotations on the same element.Validator for
NIP
.Immutable implementation of a
Path.Node
.A simplified view of the cascading validation metadata for an element that does not contain any container element
cascading.
Validate that a character sequence is of normalization form.
Defines several
@Normalized
annotations on the same element.Constraint definition for
Normalized
.Check that a character sequence is normalized.
Deprecated.
use the standard
NotBlank
constraint insteadDefines several
@NotBlank
annotations on the same element.Check that a character sequence is not
null
nor empty after removing any leading or trailing whitespace.Check that a character sequence's (e.g.
Deprecated.
use the standard
NotEmpty
constraint insteadDefines several
@NotEmpty
annotations on the same element.Check that the array is not null and not empty.
Check that the character sequence is not null and its length is strictly superior to 0.
Check that the collection is not null and not empty.
Check that the map is not null and not empty.
Validate that the object is not
null
.Validate that the object is
null
Used with JBoss Logging to display arrays of objects in log messages.
Rule that ensures that overriding methods don't add to or alter the
constraints defined on the overridden method.
Rule that ensures that methods in parallel types don't define group
conversions for methods marked as cascaded in one of the parallel types.
Rule that ensures that parallel methods don't define any parameter
constraints.
Parameter constraint location.
Constraint mapping creational context representing a method parameter.
Describes a validated method parameter.
Implementation of
AbstractValidationContext
for executable's parameter validation.Resource bundle message interpolator, it does not support EL expression
and does support parameter value expression
An aggregated view of the constraint related meta data for a single method
parameter.
A method-level constraint, that evaluates a script expression against the
annotated method or constructor.
Defines several
ParameterScriptAssert
annotations on the same executable.Validator for the
ParameterScriptAssert
constraint annotation.Checks if the parameters of overridden and overriding methods have correctly placed annotations.
Facet of a constraint mapping creational context which allows to select a method or constructor parameter to
which the next operations shall apply.
Resolves given parameter.
A
ParameterNameProvider
implementation backed by the ParaNamer
library.Interface defining the different methods a parser state has to respond to.
Check that the
java.util.Calendar
passed to be validated is in
the past.Check that the
java.util.Date
passed to be validated is in the
past.Check that the
java.time.chrono.HijrahDate
passed is in the past.Check that the
java.time.Instant
passed is in the past.Check that the
java.time.chrono.JapaneseDate
passed is in the past.Check that the
java.time.LocalDate
passed is in the past.Check that the
java.time.LocalDateTime
passed is in the past.Check that the
java.time.LocalTime
passed is in the past.Check that the
java.time.chrono.MinguoDate
passed is in the past.Check that the
java.time.MonthDay
passed is in the past.Check that the
java.time.OffsetDateTime
passed is in the past.Check that the
java.time.OffsetTime
passed is in the past.Check if Joda Time type who implements
import org.joda.time.ReadableInstant
is in the past.Check if Joda Time type who implements
org.joda.time.ReadablePartial
is in the past.Check that the
java.time.chrono.ThaiBuddhistDate
passed is in the past.Check that the
java.time.Year
passed is in the past.Check that the
java.time.YearMonth
passed is in the past.Check that the
java.time.ZonedDateTime
passed is in the past.Check that the
java.util.Calendar
passed to be validated is in
the past.Check that the
java.util.Date
passed to be validated is in the
past.Check that the
java.time.chrono.HijrahDate
passed is in the past.Check that the
java.time.Instant
passed is in the past.Check that the
java.time.chrono.JapaneseDate
passed is in the past.Check that the
java.time.LocalDate
passed is in the past.Check that the
java.time.LocalDateTime
passed is in the past.Check that the
java.time.LocalTime
passed is in the past.Check that the
java.time.chrono.MinguoDate
passed is in the past.Check that the
java.time.MonthDay
passed is in the past.Check that the
java.time.OffsetDateTime
passed is in the past.Check that the
java.time.OffsetTime
passed is in the past.Check if Joda Time type who implements
import org.joda.time.ReadableInstant
is in the past.Check if Joda Time type who implements
org.joda.time.ReadablePartial
is in the past.Check that the
java.time.chrono.ThaiBuddhistDate
passed is in the past.Check that the
java.time.Year
passed is in the past.Check that the
java.time.YearMonth
passed is in the past.Check that the
java.time.ZonedDateTime
passed is in the past.Default implementation of
jakarta.validation.Path
.Validates that a
CharSequence
is a PESEL (Polish national identification number).Defines several
@PESEL
annotations on the same element.Validator for
PESEL
.A resource bundle locator, that loads resource bundles by invoking
ResourceBundle.loadBundle(String, Local, ClassLoader)
.A base class validator for different Polish identification numbers.
Check that the number being validated is positive or zero.
Check that the number being validated is positive or zero.
Check that the number being validated is positive or zero.
Check that the number being validated is positive or zero.
Check that the number being validated is positive or zero.
Check that the number being validated is positive or zero.
Check that the number being validated positive or zero.
Check that the number being validated positive or zero.
Check that the number being validated positive.
Check that the number being validated is positive or zero.
Check that the number being validated is positive or zero.
Check that the number being validated is positive.
Check that the number being validated is positive.
Check that the number being validated is positive.
Check that the number being validated is positive.
Check that the number being validated is positive.
Check that the number being validated is positive.
Check that the number being validated positive.
Check that the number being validated positive.
Check that the number being validated positive.
Check that the number being validated is positive.
Check that the number being validated is positive.
A simplified view of the cascading validation metadata for a potentially container element at runtime.
Implementation of the
ConstraintValidatorManager
for the predefined scope ValidatorFactory.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.Provides Hibernate Validator extensions to
ValidatorFactory
in the context of a predefined scope.Factory returning initialized
Validator
instances.Validates that the given element is not of a primitive type.
A
MetaDataProvider
based on the programmatic constraint API.Base interface for property metadata.
Constraint mapping creational context representing a property of a bean.
Describes a validated property.
Represents the constraint related meta data for a JavaBeans property.
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.Some reflection utility methods.
Deprecated.
since 6.0 - getting the parameter names via reflection is now enabled by default.
Validate that the character sequence (e.g.
Validates that a
CharSequence
is a REGON number (9/14-digit Polish Taxpayer Identification Number).Defines several
@REGON
annotations on the same element.Validator for
REGON
.
Used by
ResourceBundleMessageInterpolator
to load resource bundles
containing message texts to be displayed in case of validation errors.Resource bundle backed message interpolator.
Checks, that
RetentionPolicy.RUNTIME
is declared for constraint annotation types.Constraint mapping creational context representing a method return value.
Implementation of
AbstractValidationContext
for executable's return value validation.Rule that ensures that the method return value is marked only once as
cascaded per hierarchy line.
Represents the constraint related meta data of the return value of a method
or constructor.
Checks if the return value of overridden and overriding methods respects the inheritance rules.
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.Validator for the
ScriptAssert
constraint annotation.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.
Models a group sequence.
Contributor of constraint definitions discovered by the Java service loader mechanism.
Privileged action used to set the Thread context class loader.
A
ConstraintChecks
implementation that simply executes all
contained checks against given elements and annotations.Check that the length of an array is between min and max
Check that the length of an array is between min and max
Check that the length of a character sequence is between min and max.
Check that a collection's size is between min and max.
Check that a map's size is between min and max.
Checks, that the given element is not a static element.
Helper class dealing with strings.
Helper class dealing with strings.
Checks, that at least one of the
ElementType
s FIELD, METHOD, TYPE or ANNOTATION_TYPE is specified
using the Target
meta-annotation for constraint annotation types.Resolves a given term.
Documents that the annotated field is safe for concurrent access.
Validates a TÃtulo Eleitoral (Brazilian Voter ID card number).
Defines several
@TituloEleitoral
annotations on the same element.Parsing a message descriptor results in multiple
Token
s.Used to creates a list of tokens from a message descriptor.
Allows to iterate over a list of message tokens and replace parameters.
Type argument constraint location.
Checks, that constraint annotations are only specified at elements of a type supported by the constraints.
Constraint mapping creational context representing a type.
Constraint mapping creational context which allows to configure the class-level constraints for one bean.
Used with JBoss Logging to display
Type
names in log messages.Provides utility methods for working with types.
Contains the fully-qualified names of types used by the annotation processor
which are accessed only via the mirror API in order to avoid references to
the actual class objects.
Provides access to a shared instance of ClassMate's
TypeResolver
.Facet of a constraint mapping creational context which allows to select the bean
type to which the next operations shall apply.
Provides some utility methods for TypeVariables.
Validates that every object in the provided
Collection
is unique, i.e.Defines several
@UniqueElements
annotations on the same element.Validates that the provided collection only contains unique elements, i.e.
Validates the annotated string is an URL.
Defines several
@URL
annotations on the same element.Validate that the character sequence (e.g.
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
.Checks that the annotated character sequence is a valid
UUID.
Provides a unified view on validatable elements of all kinds, be it Java
beans, the arguments passed to a method or the value returned from a method.
Represents the constraint related meta data of the arguments of a method or
constructor.
Context object interface keeping track of all required data for operations inside
ConstraintTree
and its subclasses.Builder for creating
AbstractValidationContext
s suited for the different kinds of validation.Deprecated.
use
ValidationExtension
instead.A CDI portable extension which integrates Bean Validation with CDI.
An interceptor which performs a validation of the Bean Validation constraints specified at the parameters and/or return
values of intercepted methods using the method validation functionality provided by Hibernate Validator.
Interface defining the methods needed to execute groups and sequences in the right order.
Helper class used to order groups and sequences into the right order for validation.
Provides functionality for dealing with validation provider types.
Parser for validation.xml.
A
Bean
representing a ValidatorFactory
.Factory returning initialized
Validator
instances.The main Bean Validation class.
Context object storing the
Validator
level helper and configuration properties.An instance of this class is used to collect all the relevant information for validating a single class, property or
method invocation.
Describes a
ValueExtractor
.Various utilities to manipulate
ValueExtractor
s and ValueExtractorDescriptor
s.Contains resolving algorithms for
ValueExtractor
s, and caches for these
extractors based on container types.Rule that ensures that void methods don't have any constraints or are marked
as cascaded.
A
MetaDataProvider
providing constraint related meta data based on
XML descriptors as defined by the Bean Validation API.Provides common functionality used within the different XML descriptor
parsers.