Uses of Class
tools.jackson.databind.jsontype.BasicPolymorphicTypeValidator.Builder
Packages that use BasicPolymorphicTypeValidator.Builder
Package
Description
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
-
Uses of BasicPolymorphicTypeValidator.Builder in tools.jackson.databind.jsontype
Methods in tools.jackson.databind.jsontype that return BasicPolymorphicTypeValidator.BuilderModifier and TypeMethodDescriptionprotected BasicPolymorphicTypeValidator.BuilderBasicPolymorphicTypeValidator.Builder._appendBaseMatcher(BasicPolymorphicTypeValidator.TypeMatcher matcher) protected BasicPolymorphicTypeValidator.BuilderBasicPolymorphicTypeValidator.Builder._appendSubClassMatcher(BasicPolymorphicTypeValidator.TypeMatcher matcher) protected BasicPolymorphicTypeValidator.BuilderBasicPolymorphicTypeValidator.Builder._appendSubNameMatcher(BasicPolymorphicTypeValidator.NameMatcher matcher) 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.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.allowIfBaseType(Pattern patternForBase) Method for appending matcher that will allow all subtypes in cases where nominal base type's class name matches givenPatternFor example, call toBasicPolymorphicTypeValidator.Builder.allowIfBaseType(BasicPolymorphicTypeValidator.TypeMatcher matcher) Method for appending custom matcher called with base type: if matcher returnstrue, all possible subtypes will be accepted; iffalse, other matchers are applied.BasicPolymorphicTypeValidator.Builder.allowIfSubType(Class<?> subTypeBase) Method for appending matcher that will allow specific subtype (regardless of declared base type) if it issubTypeBaseor its subtype.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 toBasicPolymorphicTypeValidator.Builder.allowIfSubType(Pattern patternForSubType) Method for appending matcher that will allow specific subtype (regardless of declared base type) in cases where subclass name matches givenPattern.BasicPolymorphicTypeValidator.Builder.allowIfSubType(BasicPolymorphicTypeValidator.TypeMatcher matcher) Method for appending custom matcher called with resolved subtype: if matcher returnstrue, type will be accepted; iffalse, other matchers are applied.BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray()Method for appending matcher that will allow all subtypes that are Java arrays (regardless of element type).BasicPolymorphicTypeValidator.Builder.allowSubTypesWithExplicitDeserializer()Method for appending matcher that will allow all subtypes for which aValueDeserializer) is explicitly provided by eitherjackson-databinditself or one of registeredJacksonModules.BasicPolymorphicTypeValidator.builder()BasicPolymorphicTypeValidator.Builder.denyForExactBaseType(Class<?> baseTypeToDeny) Method for appending matcher that will mark any polymorphic properties with exact specific class to be invalid.