Class BasicPolymorphicTypeValidator

  • All Implemented Interfaces:

    public class BasicPolymorphicTypeValidator
    extends PolymorphicTypeValidator.Base
    Standard BasicPolymorphicTypeValidator implementation that users may want to use for constructing validators based on simple class hierarchy and/or name patterns to allow and/or deny certain subtypes.

    Most commonly this is used to allow known safe subtypes based on common super type or Java package name.
    For example:

    See Also:
    Serialized Form