Package jakarta.validation.valueextraction
Package containing objects dedicated to extract values to validate from containers.
-
Interface Summary Interface Description Unwrapping Set of interfaces used in thepayload()
of a constraint to indicate if a value should be unwrapped before validation.Unwrapping.Skip Skip the unwrapping if it has been enabled on theValueExtractor
by theUnwrapByDefault
annotation.Unwrapping.Unwrap Unwrap the value before validation.ValueExtractor<T> Defines the logic used to extract the values from a container object of typeT
.ValueExtractor.ValueReceiver Provides a set of methods receiving value extracted by theValueExtractor
. -
Exception Summary Exception Description ValueExtractorDeclarationException Raised if the configuration ofValueExtractor
is illegal, e.g.ValueExtractorDefinitionException Raised if aValueExtractor
definition is illegal, e.g. -
Annotation Types Summary Annotation Type Description ExtractedValue Marks the type parameter of a generic container type to which aValueExtractor
is tied or specifies the type of the wrapped element(s) of non-generic container types.UnwrapByDefault 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.