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
ValueExtractoris tied or specifies the type of the wrapped element(s) of non-generic container types.Marks aValueExtractordefinition 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 theValueExtractorby theUnwrapByDefaultannotation.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 ofValueExtractoris illegal, e.g. because multiple extractors for the same type and type use have been configured inMETA-INF/validation.xml.Raised if aValueExtractordefinition is illegal, e.g. because it doesn't declare its extracted value usingExtractedValue.