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(java.lang.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(java.lang.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.allowIfBaseType(java.util.regex.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.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(java.lang.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(java.lang.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.allowIfSubType(java.util.regex.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.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(java.lang.Class<?> baseTypeToDeny) |
Method for appending matcher that will mark any polymorphic properties with exact
specific class to be invalid.
|