public class ValueExtractorManager extends Object
Modifier and Type | Field and Description |
---|---|
static Set<ValueExtractorDescriptor> |
SPEC_DEFINED_EXTRACTORS |
Constructor and Description |
---|
ValueExtractorManager(Set<ValueExtractor<?>> externalExtractors) |
ValueExtractorManager(ValueExtractorManager template,
Map<ValueExtractorDescriptor.Key,ValueExtractorDescriptor> externalValueExtractorDescriptors) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
equals(Object obj) |
static Set<ValueExtractor<?>> |
getDefaultValueExtractors() |
ValueExtractorDescriptor |
getMaximallySpecificAndRuntimeContainerElementCompliantValueExtractor(Type declaredType,
TypeVariable<?> typeParameter,
Class<?> runtimeType,
Collection<ValueExtractorDescriptor> valueExtractorCandidates)
Used to find the maximally specific and container element compliant value extractor based on the runtime type.
|
ValueExtractorResolver |
getResolver() |
int |
hashCode() |
public static final Set<ValueExtractorDescriptor> SPEC_DEFINED_EXTRACTORS
public ValueExtractorManager(Set<ValueExtractor<?>> externalExtractors)
public ValueExtractorManager(ValueExtractorManager template, Map<ValueExtractorDescriptor.Key,ValueExtractorDescriptor> externalValueExtractorDescriptors)
public static Set<ValueExtractor<?>> getDefaultValueExtractors()
public ValueExtractorDescriptor getMaximallySpecificAndRuntimeContainerElementCompliantValueExtractor(Type declaredType, TypeVariable<?> typeParameter, Class<?> runtimeType, Collection<ValueExtractorDescriptor> valueExtractorCandidates)
The maximally specific one is chosen among the candidates passed to this method.
Used for cascading validation.
ConstraintDeclarationException
- if more than 2 maximally specific container-element-compliant value extractors are foundValueExtractorResolver.getMaximallySpecificAndRuntimeContainerElementCompliantValueExtractor(Type,
TypeVariable, Class, Collection)
public ValueExtractorResolver getResolver()
public void clear()
Copyright © 2020 JBoss by Red Hat. All rights reserved.