Package jakarta.validation.valueextraction
package jakarta.validation.valueextraction
Package containing objects dedicated to extract values to validate from containers.
-
ClassDescriptionMarks the type parameter of a generic container type to which a
ValueExtractor
is tied or specifies the type of the wrapped element(s) of non-generic container types.Marks aValueExtractor
definition so that it is applied automatically when detecting constraints declared on the container type supported by the extractor, causing the constraints to be applied to the container's elements instead of the container.Set of interfaces used in thepayload()
of a constraint to indicate if a value should be unwrapped before validation.Skip the unwrapping if it has been enabled on theValueExtractor
by theUnwrapByDefault
annotation.Unwrap the value before validation.Defines the logic used to extract the values from a container object of typeT
.Provides a set of methods receiving value extracted by theValueExtractor
.Raised if the configuration ofValueExtractor
is illegal, e.g.Raised if aValueExtractor
definition is illegal, e.g.