public interface ValueExtractorRegistry
| Modifier and Type | Method and Description |
|---|---|
<T> Optional<javax.validation.valueextraction.ValueExtractor<T>> |
findUnwrapValueExtractor(Class<T> targetType)
Finds a concrete
ValueExtractor without searching the hierarchy. |
<T> Optional<javax.validation.valueextraction.ValueExtractor<T>> |
findValueExtractor(Class<T> targetType)
Finds a a
ValueExtractor for the given type. |
default <T> javax.validation.valueextraction.ValueExtractor<T> |
getValueExtractor(Class<T> targetType)
Gets a a
ValueExtractor for the given type. |
@Nonnull <T> Optional<javax.validation.valueextraction.ValueExtractor<T>> findValueExtractor(@Nonnull Class<T> targetType)
ValueExtractor for the given type.T - The target typetargetType - The target type of the value@Nonnull <T> Optional<javax.validation.valueextraction.ValueExtractor<T>> findUnwrapValueExtractor(@Nonnull Class<T> targetType)
ValueExtractor without searching the hierarchy.T - The target typetargetType - The target type of the value@Nonnull default <T> javax.validation.valueextraction.ValueExtractor<T> getValueExtractor(@Nonnull Class<T> targetType)
ValueExtractor for the given type.T - The target typetargetType - The target type of the valueValidationException - if no extractor is present