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 | Method and Description |
---|---|
protected BasicPolymorphicTypeValidator.Builder |
BasicPolymorphicTypeValidator.Builder._appendBaseMatcher(BasicPolymorphicTypeValidator.TypeMatcher matcher) |
protected BasicPolymorphicTypeValidator.Builder |
BasicPolymorphicTypeValidator.Builder._appendSubClassMatcher(BasicPolymorphicTypeValidator.TypeMatcher matcher) |
protected BasicPolymorphicTypeValidator.Builder |
BasicPolymorphicTypeValidator.Builder._appendSubNameMatcher(BasicPolymorphicTypeValidator.NameMatcher 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.allowIfBaseType(Class<?> baseOfBase)
Method for appending matcher that will allow all subtypes in cases where
nominal base type is specified class, or one of its subtypes.
|
BasicPolymorphicTypeValidator.Builder |
BasicPolymorphicTypeValidator.Builder.allowIfBaseType(Pattern patternForBase)
Method for appending matcher that will allow all subtypes in cases where
nominal base type's class name matches given
Pattern
For example, call to |
BasicPolymorphicTypeValidator.Builder |
BasicPolymorphicTypeValidator.Builder.allowIfBaseType(String prefixForBase)
Method for appending matcher that will allow all subtypes in cases where
nominal base type's class name starts with specific prefix.
|
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. |
BasicPolymorphicTypeValidator.Builder |
BasicPolymorphicTypeValidator.Builder.allowIfSubType(Class<?> subTypeBase)
Method for appending matcher that will allow specific subtype (regardless
of declared base type) if it is
subTypeBase or its subtype. |
BasicPolymorphicTypeValidator.Builder |
BasicPolymorphicTypeValidator.Builder.allowIfSubType(Pattern patternForSubType)
Method for appending matcher that will allow specific subtype (regardless
of declared base type) in cases where subclass name matches given
Pattern . |
BasicPolymorphicTypeValidator.Builder |
BasicPolymorphicTypeValidator.Builder.allowIfSubType(String prefixForSubType)
Method for appending matcher that will allow specific subtype (regardless
of declared base type)
in cases where subclass name starts with specified prefix
For example, call to
|
BasicPolymorphicTypeValidator.Builder |
BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray()
Method for appending matcher that will allow all subtypes that are Java arrays
(regardless of element type).
|
static BasicPolymorphicTypeValidator.Builder |
BasicPolymorphicTypeValidator.builder() |
BasicPolymorphicTypeValidator.Builder |
BasicPolymorphicTypeValidator.Builder.denyForExactBaseType(Class<?> baseTypeToDeny)
Method for appending matcher that will mark any polymorphic properties with exact
specific class to be invalid.
|
Copyright © 2008–2020 FasterXML. All rights reserved.