Class BasicPolymorphicTypeValidator

  • All Implemented Interfaces:
    java.io.Serializable

    public class BasicPolymorphicTypeValidator
    extends PolymorphicTypeValidator.Base
    implements java.io.Serializable
    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:

    Since:
    2.10
    See Also:
    Serialized Form