Class ApprovedBaseTypeValidator

All Implemented Interfaces:
Serializable

public final class ApprovedBaseTypeValidator extends PolymorphicTypeValidator.Base
PolymorphicTypeValidator used when the configured validator has approved all subtypes of a polymorphic base type (by returning PolymorphicTypeValidator.Validity.ALLOWED from validateBaseType(tools.jackson.databind.DatabindContext, tools.jackson.databind.JavaType)). Like LaissezFaireSubTypeValidator it allows all subtypes of that base type, but retains the configured validator so that classes named as type parameters of a generic type id (like "java.util.HashMap<a.b.Gadget,java.lang.String>") can still be validated: approval of the base type does not extend to them.
Since:
3.1.8
See Also: