Package | Description |
---|---|
com.fasterxml.jackson.databind.jsontype |
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
|
Modifier and Type | Field and Description |
---|---|
protected BasicPolymorphicTypeValidator.TypeMatcher[] |
BasicPolymorphicTypeValidator._baseTypeMatchers
Set of matchers that can validate all values of polymorphic properties
that match specified allowed base types.
|
protected BasicPolymorphicTypeValidator.TypeMatcher[] |
BasicPolymorphicTypeValidator._subClassMatchers
Set of matchers that can validate specific values of polymorphic properties
that match subtype class criteria.
|
Modifier and Type | Field and Description |
---|---|
protected List<BasicPolymorphicTypeValidator.TypeMatcher> |
BasicPolymorphicTypeValidator.Builder._baseTypeMatchers
Collected matchers for base types to allow.
|
protected List<BasicPolymorphicTypeValidator.TypeMatcher> |
BasicPolymorphicTypeValidator.Builder._subTypeClassMatchers
Collected Class-based matchers for sub types to allow.
|
Modifier and Type | Method and Description |
---|---|
protected BasicPolymorphicTypeValidator.Builder |
BasicPolymorphicTypeValidator.Builder._appendBaseMatcher(BasicPolymorphicTypeValidator.TypeMatcher matcher) |
protected BasicPolymorphicTypeValidator.Builder |
BasicPolymorphicTypeValidator.Builder._appendSubClassMatcher(BasicPolymorphicTypeValidator.TypeMatcher matcher) |
BasicPolymorphicTypeValidator.Builder |
BasicPolymorphicTypeValidator.Builder.allowIfBaseType(BasicPolymorphicTypeValidator.TypeMatcher matcher)
Method for appending custom matcher called with base type: if matcher returns
true , all possible subtypes will be accepted; if false , other
matchers are applied. |
BasicPolymorphicTypeValidator.Builder |
BasicPolymorphicTypeValidator.Builder.allowIfSubType(BasicPolymorphicTypeValidator.TypeMatcher matcher)
Method for appending custom matcher called with resolved subtype: if matcher returns
true , type will be accepted; if false , other
matchers are applied. |
Constructor and Description |
---|
BasicPolymorphicTypeValidator(Set<Class<?>> invalidBaseTypes,
BasicPolymorphicTypeValidator.TypeMatcher[] baseTypeMatchers,
BasicPolymorphicTypeValidator.NameMatcher[] subTypeNameMatchers,
BasicPolymorphicTypeValidator.TypeMatcher[] subClassMatchers) |
BasicPolymorphicTypeValidator(Set<Class<?>> invalidBaseTypes,
BasicPolymorphicTypeValidator.TypeMatcher[] baseTypeMatchers,
BasicPolymorphicTypeValidator.NameMatcher[] subTypeNameMatchers,
BasicPolymorphicTypeValidator.TypeMatcher[] subClassMatchers) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.