Class ValueExtractors
- java.lang.Object
-
- org.apache.bval.jsr.valueextraction.ValueExtractors
-
public class ValueExtractors extends Object
ValueExtractor
collection of some level of a bean validation hierarchy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValueExtractors.OnDuplicateContainerElementKey
static class
ValueExtractors.UnwrappingInfo
-
Field Summary
Fields Modifier and Type Field Description static ValueExtractors
DEFAULT
static ValueExtractors
EMPTY
-
Constructor Summary
Constructors Constructor Description ValueExtractors()
ValueExtractors(ValueExtractors.OnDuplicateContainerElementKey onDuplicateContainerElementKey)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(jakarta.validation.valueextraction.ValueExtractor<?> extractor)
ValueExtractors
createChild()
ValueExtractors
createChild(ValueExtractors.OnDuplicateContainerElementKey onDuplicateContainerElementKey)
jakarta.validation.valueextraction.ValueExtractor<?>
find(ContainerElementKey key)
Optional<ValueExtractors.UnwrappingInfo>
findUnwrappingInfo(Class<?> containerClass, jakarta.validation.metadata.ValidateUnwrappedValue valueUnwrapping)
static Class<?>
getExtractedType(jakarta.validation.valueextraction.ValueExtractor<?> extractor, Type target)
Map<ContainerElementKey,jakarta.validation.valueextraction.ValueExtractor<?>>
getValueExtractors()
static boolean
isUnwrapByDefault(jakarta.validation.valueextraction.ValueExtractor<?> valueExtractor)
-
-
-
Field Detail
-
EMPTY
public static final ValueExtractors EMPTY
-
DEFAULT
public static final ValueExtractors DEFAULT
-
-
Constructor Detail
-
ValueExtractors
public ValueExtractors()
-
ValueExtractors
public ValueExtractors(ValueExtractors.OnDuplicateContainerElementKey onDuplicateContainerElementKey)
-
-
Method Detail
-
getExtractedType
public static Class<?> getExtractedType(jakarta.validation.valueextraction.ValueExtractor<?> extractor, Type target)
-
isUnwrapByDefault
public static boolean isUnwrapByDefault(jakarta.validation.valueextraction.ValueExtractor<?> valueExtractor)
-
createChild
public ValueExtractors createChild()
-
createChild
public ValueExtractors createChild(ValueExtractors.OnDuplicateContainerElementKey onDuplicateContainerElementKey)
-
add
public void add(jakarta.validation.valueextraction.ValueExtractor<?> extractor)
-
getValueExtractors
public Map<ContainerElementKey,jakarta.validation.valueextraction.ValueExtractor<?>> getValueExtractors()
-
find
public jakarta.validation.valueextraction.ValueExtractor<?> find(ContainerElementKey key)
-
findUnwrappingInfo
public Optional<ValueExtractors.UnwrappingInfo> findUnwrappingInfo(Class<?> containerClass, jakarta.validation.metadata.ValidateUnwrappedValue valueUnwrapping)
-
-