Home
last modified time | relevance | path

Searched refs:PolymorphicTypeValidator (Results 1 – 18 of 18) sorted by relevance

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/
DStdTypeResolverBuilder.java11 import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator.Validity;
132 final PolymorphicTypeValidator subTypeValidator = verifyBaseTypeValidity(config, baseType); in buildTypeDeserializer()
264 JavaType baseType, PolymorphicTypeValidator subtypeValidator, in idResolver()
299 public PolymorphicTypeValidator subTypeValidator(MapperConfig<?> config) { in subTypeValidator()
310 protected PolymorphicTypeValidator verifyBaseTypeValidity(MapperConfig<?> config, in verifyBaseTypeValidity()
313 final PolymorphicTypeValidator ptv = subTypeValidator(config); in verifyBaseTypeValidity()
332 protected PolymorphicTypeValidator reportInvalidBaseType(MapperConfig<?> config, in reportInvalidBaseType()
333 JavaType baseType, PolymorphicTypeValidator ptv) in reportInvalidBaseType()
DClassNameIdResolver.java9 import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator;
23 protected final PolymorphicTypeValidator _subTypeValidator;
37 PolymorphicTypeValidator ptv) { in ClassNameIdResolver()
43 PolymorphicTypeValidator ptv) { in construct()
DMinimalClassNameIdResolver.java9 import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator;
28 PolymorphicTypeValidator ptv) in MinimalClassNameIdResolver()
43 PolymorphicTypeValidator ptv) { in construct()
DLaissezFaireSubTypeValidator.java5 import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator;
18 extends PolymorphicTypeValidator.Base
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/vld/
DBasicPTVTest.java10 import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator;
83 final PolymorphicTypeValidator ptv = BasicPolymorphicTypeValidator.builder() in testAllowByBaseClass()
118 final PolymorphicTypeValidator ptv = BasicPolymorphicTypeValidator.builder() in testAllowByBaseClassPrefix()
143 final PolymorphicTypeValidator ptv = BasicPolymorphicTypeValidator.builder() in testAllowByBaseClassPattern()
168 final PolymorphicTypeValidator ptv = BasicPolymorphicTypeValidator.builder() in testDenyByBaseClass()
195 final PolymorphicTypeValidator ptv = BasicPolymorphicTypeValidator.builder() in testAllowBySubClass()
219 final PolymorphicTypeValidator ptv = BasicPolymorphicTypeValidator.builder() in testAllowBySubClassPrefix()
243 final PolymorphicTypeValidator ptv = BasicPolymorphicTypeValidator.builder() in testAllowBySubClassPattern()
DCustomPTVMatchersTest.java11 import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator;
50 PolymorphicTypeValidator ptv = BasicPolymorphicTypeValidator.builder() in testCustomBaseMatchers()
82 PolymorphicTypeValidator ptv = BasicPolymorphicTypeValidator.builder() in testCustomSubtypeMatchers()
DBasicPTVWithArraysTest.java7 import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator;
51 PolymorphicTypeValidator ptv = BasicPolymorphicTypeValidator.builder() in testAllowBySubClassInArray()
DValidatePolymBaseTypeTest.java8 import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator;
57 static class BaseTypeValidator extends PolymorphicTypeValidator {
DValidatePolymSubTypeTest.java7 import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator;
62 static class SimpleNameBasedValidator extends PolymorphicTypeValidator {
88 static class SimpleClassBasedValidator extends PolymorphicTypeValidator {
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DDatabindContext.java13 import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator;
14 import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator.Validity;
212 PolymorphicTypeValidator ptv) in resolveAndValidateSubType()
221PolymorphicTypeValidator.Validity vld = ptv.validateSubClassName(config, baseType, subClass); in resolveAndValidateSubType()
251 PolymorphicTypeValidator ptv, int ltIndex) in _resolveAndValidateGeneric()
258PolymorphicTypeValidator.Validity vld = ptv.validateSubClassName(config, baseType, subClass.substr… in _resolveAndValidateGeneric()
280 PolymorphicTypeValidator ptv) throws JsonMappingException { in _throwSubtypeNameNotAllowed()
286 PolymorphicTypeValidator ptv) throws JsonMappingException { in _throwSubtypeClassNotAllowed()
DObjectMapper.java240 protected final PolymorphicTypeValidator _subtypeValidator;
253 public DefaultTypeResolverBuilder(DefaultTyping t, PolymorphicTypeValidator ptv) { in DefaultTypeResolverBuilder()
271 PolymorphicTypeValidator ptv) { in construct()
276 public PolymorphicTypeValidator subTypeValidator(MapperConfig<?> config) { in subTypeValidator()
1700 public ObjectMapper setPolymorphicTypeValidator(PolymorphicTypeValidator ptv) {
1714 public PolymorphicTypeValidator getPolymorphicTypeValidator() {
1873 public ObjectMapper activateDefaultTyping(PolymorphicTypeValidator ptv) {
1893 public ObjectMapper activateDefaultTyping(PolymorphicTypeValidator ptv,
1918 public ObjectMapper activateDefaultTyping(PolymorphicTypeValidator ptv,
1953 public ObjectMapper activateDefaultTypingAsProperty(PolymorphicTypeValidator ptv,
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/
DBaseSettings.java11 import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator;
85 protected final PolymorphicTypeValidator _typeValidator;
149 PolymorphicTypeValidator ptv) in BaseSettings()
332 public BaseSettings with(PolymorphicTypeValidator v) { in with()
371 public PolymorphicTypeValidator getPolymorphicTypeValidator() { in getPolymorphicTypeValidator()
DMapperBuilder.java19 import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator;
617 public B polymorphicTypeValidator(PolymorphicTypeValidator ptv) {
637 public B activateDefaultTyping(PolymorphicTypeValidator subtypeValidator) {
651 public B activateDefaultTyping(PolymorphicTypeValidator subtypeValidator,
672 public B activateDefaultTyping(PolymorphicTypeValidator subtypeValidator,
690 public B activateDefaultTypingAsProperty(PolymorphicTypeValidator subtypeValidator,
DMapperConfig.java19 import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator;
282 public PolymorphicTypeValidator getPolymorphicTypeValidator() { in getPolymorphicTypeValidator()
283 PolymorphicTypeValidator ptv = _base.getPolymorphicTypeValidator(); in getPolymorphicTypeValidator()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/testutil/
DNoCheckSubTypeValidator.java5 import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator;
12 extends PolymorphicTypeValidator.Base
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/
DPolymorphicTypeValidator.java50 public abstract class PolymorphicTypeValidator class
150 extends PolymorphicTypeValidator
DDefaultBaseTypeLimitingValidator.java22 extends PolymorphicTypeValidator
DBasicPolymorphicTypeValidator.java25 extends PolymorphicTypeValidator.Base