Home
last modified time | relevance | path

Searched refs:MapperConfig (Results 1 – 25 of 48) sorted by relevance

12

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/
DBasicPolymorphicTypeValidator.java8 import com.fasterxml.jackson.databind.cfg.MapperConfig;
41 public abstract boolean match(MapperConfig<?> config, Class<?> clazz); in match()
49 public abstract boolean match(MapperConfig<?> config, String clazzName); in match()
107 public boolean match(MapperConfig<?> config, Class<?> clazz) { in allowIfBaseType()
133 public boolean match(MapperConfig<?> config, Class<?> clazz) { in allowIfBaseType()
153 public boolean match(MapperConfig<?> config, Class<?> clazz) {
210 public boolean match(MapperConfig<?> config, Class<?> clazz) {
235 public boolean match(MapperConfig<?> config, String clazzName) {
255 public boolean match(MapperConfig<?> config, String clazzName) {
293 public boolean match(MapperConfig<?> config, Class<?> clazz) {
[all …]
DPolymorphicTypeValidator.java4 import com.fasterxml.jackson.databind.cfg.MapperConfig;
98 public abstract Validity validateBaseType(MapperConfig<?> config, JavaType baseType); in validateBaseType()
121 public abstract Validity validateSubClassName(MapperConfig<?> config, JavaType baseType, in validateSubClassName()
141 public abstract Validity validateSubType(MapperConfig<?> config, JavaType baseType, in validateSubType()
156 public Validity validateBaseType(MapperConfig<?> config, JavaType baseType) { in validateBaseType()
161 …public Validity validateSubClassName(MapperConfig<?> config, JavaType baseType, String subClassNam… in validateSubClassName()
167 public Validity validateSubType(MapperConfig<?> config, JavaType baseType, JavaType subType) in validateSubType()
DSubtypeResolver.java7 import com.fasterxml.jackson.databind.cfg.MapperConfig;
71 public Collection<NamedType> collectAndResolveSubtypesByClass(MapperConfig<?> config, in collectAndResolveSubtypesByClass()
89 public Collection<NamedType> collectAndResolveSubtypesByClass(MapperConfig<?> config, in collectAndResolveSubtypesByClass()
107 public Collection<NamedType> collectAndResolveSubtypesByTypeId(MapperConfig<?> config, in collectAndResolveSubtypesByTypeId()
125 public Collection<NamedType> collectAndResolveSubtypesByTypeId(MapperConfig<?> config, in collectAndResolveSubtypesByTypeId()
145 MapperConfig<?> config, AnnotationIntrospector ai, JavaType baseType) { in collectAndResolveSubtypes()
157 MapperConfig<?> config, AnnotationIntrospector ai) { in collectAndResolveSubtypes()
DDefaultBaseTypeLimitingValidator.java7 import com.fasterxml.jackson.databind.cfg.MapperConfig;
28 public Validity validateBaseType(MapperConfig<?> config, JavaType baseType) in validateBaseType()
40 public Validity validateSubClassName(MapperConfig<?> config, in validateSubClassName()
47 public Validity validateSubType(MapperConfig<?> config, JavaType baseType, in validateSubType()
75 protected boolean isUnsafeBaseType(MapperConfig<?> config, JavaType baseType) in isUnsafeBaseType()
89 protected boolean isSafeSubType(MapperConfig<?> config, in isSafeSubType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/
DHandlerInstantiator.java92 public abstract TypeResolverBuilder<?> typeResolverBuilderInstance(MapperConfig<?> config, in typeResolverBuilderInstance()
107 public abstract TypeIdResolver typeIdResolverInstance(MapperConfig<?> config, in typeIdResolverInstance()
113 public ValueInstantiator valueInstantiatorInstance(MapperConfig<?> config, in valueInstantiatorInstance()
124 public ObjectIdGenerator<?> objectIdGeneratorInstance(MapperConfig<?> config, in objectIdGeneratorInstance()
129 …public ObjectIdResolver resolverIdGeneratorInstance(MapperConfig<?> config, Annotated annotated, C… in resolverIdGeneratorInstance()
139 public PropertyNamingStrategy namingStrategyInstance(MapperConfig<?> config, in namingStrategyInstance()
149 public Converter<?,?> converterInstance(MapperConfig<?> config, in converterInstance()
160 public VirtualBeanPropertyWriter virtualPropertyWriterInstance(MapperConfig<?> config, in virtualPropertyWriterInstance()
DMapperConfig.java39 public abstract class MapperConfig<T extends MapperConfig<T>> class
71 protected MapperConfig(BaseSettings base, int mapperFeatures) in MapperConfig() method in MapperConfig
77 protected MapperConfig(MapperConfig<T> src, int mapperFeatures) in MapperConfig() method in MapperConfig
83 protected MapperConfig(MapperConfig<T> src, BaseSettings base) in MapperConfig() method in MapperConfig
89 protected MapperConfig(MapperConfig<T> src) in MapperConfig() method in MapperConfig
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DPropertyNamingStrategy.java3 import com.fasterxml.jackson.databind.cfg.MapperConfig;
107 public String nameForField(MapperConfig<?> config, AnnotatedField field, in nameForField()
128 public String nameForGetterMethod(MapperConfig<?> config, AnnotatedMethod method, in nameForGetterMethod()
148 public String nameForSetterMethod(MapperConfig<?> config, AnnotatedMethod method, in nameForSetterMethod()
166 public String nameForConstructorParameter(MapperConfig<?> config, AnnotatedParameter ctorParam, in nameForConstructorParameter()
181 public String nameForField(MapperConfig<?> config, AnnotatedField field, String defaultName) in nameForField()
187 …public String nameForGetterMethod(MapperConfig<?> config, AnnotatedMethod method, String defaultNa… in nameForGetterMethod()
193 …public String nameForSetterMethod(MapperConfig<?> config, AnnotatedMethod method, String defaultNa… in nameForSetterMethod()
199 … public String nameForConstructorParameter(MapperConfig<?> config, AnnotatedParameter ctorParam, in nameForConstructorParameter()
DBeanProperty.java11 import com.fasterxml.jackson.databind.cfg.MapperConfig;
156 public JsonFormat.Value findPropertyFormat(MapperConfig<?> config, Class<?> baseType); in findPropertyFormat()
167 public JsonInclude.Value findPropertyInclusion(MapperConfig<?> config, Class<?> baseType); in findPropertyInclusion()
177 public List<PropertyName> findAliases(MapperConfig<?> config); in findAliases()
287 public JsonFormat.Value findPropertyFormat(MapperConfig<?> config, Class<?> baseType) { in findPropertyFormat()
301 public JsonInclude.Value findPropertyInclusion(MapperConfig<?> config, Class<?> baseType) in findPropertyInclusion()
316 public List<PropertyName> findAliases(MapperConfig<?> config) { in findAliases()
411 public Value findPropertyFormat(MapperConfig<?> config, Class<?> baseType) { in findPropertyFormat()
417 MapperConfig<?> config, Class<?> baseType) in findPropertyInclusion()
423 public List<PropertyName> findAliases(MapperConfig<?> config) { in findAliases()
DAnnotationIntrospector.java14 import com.fasterxml.jackson.databind.cfg.MapperConfig;
275 … public JsonIgnoreProperties.Value findPropertyIgnoralByName(MapperConfig<?> config, Annotated ann) in findPropertyIgnoralByName()
292 …public JsonIncludeProperties.Value findPropertyInclusionByName(MapperConfig<?> config, Annotated a… in findPropertyInclusionByName()
412 public TypeResolverBuilder<?> findTypeResolver(MapperConfig<?> config, in findTypeResolver()
432 public TypeResolverBuilder<?> findPropertyTypeResolver(MapperConfig<?> config, in findPropertyTypeResolver()
454 public TypeResolverBuilder<?> findPropertyContentTypeResolver(MapperConfig<?> config, in findPropertyContentTypeResolver()
669 public AnnotatedMethod resolveSetterConflict(MapperConfig<?> config, in resolveSetterConflict()
705 public PropertyName findRenameByField(MapperConfig<?> config, in findRenameByField()
886 public JavaType refineSerializationType(final MapperConfig<?> config, in refineSerializationType()
945 public void findAndAddVirtualProperties(MapperConfig<?> config, AnnotatedClass ac, in findAndAddVirtualProperties()
[all …]
DDatabindContext.java10 import com.fasterxml.jackson.databind.cfg.MapperConfig;
49 public abstract MapperConfig<?> getConfig(); in getConfig()
220 final MapperConfig<?> config = getConfig(); in resolveAndValidateSubType()
254 final MapperConfig<?> config = getConfig(); in _resolveAndValidateGeneric()
318 final MapperConfig<?> config = getConfig(); in objectIdGeneratorInstance()
331 final MapperConfig<?> config = getConfig(); in objectIdResolverInstance()
371 final MapperConfig<?> config = getConfig(); in converterInstance()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DBasicClassIntrospector.java12 import com.fasterxml.jackson.databind.cfg.MapperConfig;
143 public BasicBeanDescription forClassAnnotations(MapperConfig<?> config, in forClassAnnotations()
155 public BasicBeanDescription forDirectClassAnnotations(MapperConfig<?> config, in forDirectClassAnnotations()
172 protected POJOPropertiesCollector collectProperties(MapperConfig<?> config, in collectProperties()
181 protected POJOPropertiesCollector collectPropertiesWithBuilder(MapperConfig<?> config, in collectPropertiesWithBuilder()
195 protected POJOPropertiesCollector constructPropertyCollector(MapperConfig<?> config, in constructPropertyCollector()
205 protected BasicBeanDescription _findStdTypeDesc(MapperConfig<?> config, JavaType type) in _findStdTypeDesc()
263 protected BasicBeanDescription _findStdJdkCollectionDesc(MapperConfig<?> cfg, JavaType type) in _findStdJdkCollectionDesc()
275 protected AnnotatedClass _resolveAnnotatedClass(MapperConfig<?> config, in _resolveAnnotatedClass()
283 protected AnnotatedClass _resolveAnnotatedWithoutSuperTypes(MapperConfig<?> config, in _resolveAnnotatedWithoutSuperTypes()
DAnnotatedClassResolver.java13 import com.fasterxml.jackson.databind.cfg.MapperConfig;
35 private final MapperConfig<?> _config;
49 AnnotatedClassResolver(MapperConfig<?> config, JavaType type, MixInResolver r) { in AnnotatedClassResolver()
65 AnnotatedClassResolver(MapperConfig<?> config, Class<?> cls, MixInResolver r) { in AnnotatedClassResolver()
83 public static AnnotatedClass resolve(MapperConfig<?> config, JavaType forType, in resolve()
92 … public static AnnotatedClass resolveWithoutSuperTypes(MapperConfig<?> config, Class<?> forType) { in resolveWithoutSuperTypes()
96 public static AnnotatedClass resolveWithoutSuperTypes(MapperConfig<?> config, JavaType forType, in resolveWithoutSuperTypes()
105 public static AnnotatedClass resolveWithoutSuperTypes(MapperConfig<?> config, Class<?> forType, in resolveWithoutSuperTypes()
114 private static boolean skippableArray(MapperConfig<?> config, Class<?> type) { in skippableArray()
130 static AnnotatedClass createArrayType(MapperConfig<?> config, Class<?> raw) { in createArrayType()
DClassIntrospector.java7 import com.fasterxml.jackson.databind.cfg.MapperConfig;
99 public abstract BeanDescription forClassAnnotations(MapperConfig<?> cfg, JavaType type, in forClassAnnotations()
107 public abstract BeanDescription forDirectClassAnnotations(MapperConfig<?> cfg, JavaType type, in forDirectClassAnnotations()
DConcreteBeanPropertyBase.java12 import com.fasterxml.jackson.databind.cfg.MapperConfig;
71 public JsonFormat.Value findPropertyFormat(MapperConfig<?> config, Class<?> baseType) in findPropertyFormat()
89 public JsonInclude.Value findPropertyInclusion(MapperConfig<?> config, Class<?> baseType) in findPropertyInclusion()
109 public List<PropertyName> findAliases(MapperConfig<?> config) in findAliases()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/testutil/
DNoCheckSubTypeValidator.java4 import com.fasterxml.jackson.databind.cfg.MapperConfig;
19 public Validity validateBaseType(MapperConfig<?> config, JavaType baseType) { in validateBaseType()
24 public Validity validateSubClassName(MapperConfig<?> config, in validateSubClassName()
30 public Validity validateSubType(MapperConfig<?> config, JavaType baseType, in validateSubType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/
DLaissezFaireSubTypeValidator.java4 import com.fasterxml.jackson.databind.cfg.MapperConfig;
25 public Validity validateBaseType(MapperConfig<?> ctxt, JavaType baseType) { in validateBaseType()
30 public Validity validateSubClassName(MapperConfig<?> ctxt, in validateSubClassName()
36 public Validity validateSubType(MapperConfig<?> ctxt, JavaType baseType, in validateSubType()
DStdTypeResolverBuilder.java9 import com.fasterxml.jackson.databind.cfg.MapperConfig;
263 protected TypeIdResolver idResolver(MapperConfig<?> config, in idResolver()
299 public PolymorphicTypeValidator subTypeValidator(MapperConfig<?> config) { in subTypeValidator()
310 protected PolymorphicTypeValidator verifyBaseTypeValidity(MapperConfig<?> config, in verifyBaseTypeValidity()
332 protected PolymorphicTypeValidator reportInvalidBaseType(MapperConfig<?> config, in reportInvalidBaseType()
363 protected boolean allowPrimitiveTypes(MapperConfig<?> config, in allowPrimitiveTypes()
DStdSubtypeResolver.java8 import com.fasterxml.jackson.databind.cfg.MapperConfig;
82 public Collection<NamedType> collectAndResolveSubtypesByClass(MapperConfig<?> config, in collectAndResolveSubtypesByClass()
124 public Collection<NamedType> collectAndResolveSubtypesByClass(MapperConfig<?> config, in collectAndResolveSubtypesByClass()
155 public Collection<NamedType> collectAndResolveSubtypesByTypeId(MapperConfig<?> config, in collectAndResolveSubtypesByTypeId()
196 public Collection<NamedType> collectAndResolveSubtypesByTypeId(MapperConfig<?> config, in collectAndResolveSubtypesByTypeId()
230 MapperConfig<?> config, AnnotationIntrospector ai, in _collectAndResolve()
272 MapperConfig<?> config, in _collectAndResolveByTypeId()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/
DTestNamingStrategyCustom.java11 import com.fasterxml.jackson.databind.cfg.MapperConfig;
30 public String nameForField(MapperConfig<?> config, in nameForField()
37 public String nameForGetterMethod(MapperConfig<?> config, in nameForGetterMethod()
44 public String nameForSetterMethod(MapperConfig<?> config, in nameForSetterMethod()
54 public String nameForField(MapperConfig<?> config, AnnotatedField field, String defaultName) in nameForField()
60 …public String nameForGetterMethod(MapperConfig<?> config, AnnotatedMethod method, String defaultNa… in nameForGetterMethod()
66 …public String nameForSetterMethod(MapperConfig<?> config, AnnotatedMethod method, String defaultNa… in nameForSetterMethod()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/vld/
DValidatePolymSubTypeTest.java5 import com.fasterxml.jackson.databind.cfg.MapperConfig;
67 public Validity validateBaseType(MapperConfig<?> ctxt, JavaType baseType) { in validateBaseType()
72 …public Validity validateSubClassName(MapperConfig<?> ctxt, JavaType baseType, String subClassName)… in validateSubClassName()
83 public Validity validateSubType(MapperConfig<?> ctxt, JavaType baseType, JavaType subType) { in validateSubType()
92 public Validity validateBaseType(MapperConfig<?> ctxt, JavaType baseType) { in validateBaseType()
97 …public Validity validateSubClassName(MapperConfig<?> ctxt, JavaType baseType, String subClassName)… in validateSubClassName()
102 public Validity validateSubType(MapperConfig<?> ctxt, JavaType baseType, JavaType subType) { in validateSubType()
DValidatePolymBaseTypeTest.java6 import com.fasterxml.jackson.databind.cfg.MapperConfig;
61 public Validity validateBaseType(MapperConfig<?> ctxt, JavaType baseType) { in validateBaseType()
74 …public Validity validateSubClassName(MapperConfig<?> ctxt, JavaType baseType, String subClassName)… in validateSubClassName()
79 public Validity validateSubType(MapperConfig<?> ctxt, JavaType baseType, JavaType subType) { in validateSubType()
DAnnotatedPolymorphicValidationTest.java8 import com.fasterxml.jackson.databind.cfg.MapperConfig;
39 protected boolean isUnsafeBaseType(MapperConfig<?> config, JavaType baseType) in isUnsafeBaseType()
49 protected boolean isSafeSubType(MapperConfig<?> config, in isSafeSubType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DRootNameLookup.java4 import com.fasterxml.jackson.databind.cfg.MapperConfig;
25 public PropertyName findRootName(JavaType rootType, MapperConfig<?> config) { in findRootName()
29 public PropertyName findRootName(Class<?> rootType, MapperConfig<?> config) in findRootName()
DSimpleBeanPropertyDefinition.java9 import com.fasterxml.jackson.databind.cfg.MapperConfig;
71 public static SimpleBeanPropertyDefinition construct(MapperConfig<?> config, in construct()
81 public static SimpleBeanPropertyDefinition construct(MapperConfig<?> config, in construct()
91 public static SimpleBeanPropertyDefinition construct(MapperConfig<?> config, in construct()
105 public static SimpleBeanPropertyDefinition construct(MapperConfig<?> config, in construct()
DEnumValues.java7 import com.fasterxml.jackson.databind.cfg.MapperConfig;
43 public static EnumValues constructFromName(MapperConfig<?> config, Class<Enum<?>> enumClass) in constructFromName()
64 public static EnumValues constructFromToString(MapperConfig<?> config, Class<Enum<?>> enumClass) in constructFromToString()
81 public static EnumValues construct(MapperConfig<?> config, Class<Enum<?>> enumClass, in construct()

12