Uses of Class
com.fasterxml.jackson.databind.type.TypeFactory
-
Packages that use TypeFactory Package Description com.fasterxml.jackson.databind Basic data binding (mapping) functionality that allows for reading JSON content into Java Objects (POJOs) and JSON Trees (JsonNode), as well as writing Java Objects and trees as JSON.com.fasterxml.jackson.databind.cfg Package that contains most of configuration-related classes; exception being couple of most-commonly used configuration things (like Feature enumerations) that are at the main level (com.fasterxml.jackson.databind).com.fasterxml.jackson.databind.introspect Functionality needed for Bean introspection, required for detecting accessors and mutators for Beans, as well as locating and handling method annotations.com.fasterxml.jackson.databind.jsontype.impl Package that contains standard implementations forTypeResolverBuilderandTypeIdResolver.com.fasterxml.jackson.databind.type com.fasterxml.jackson.databind.util Utility classes for Mapper package. -
-
Uses of TypeFactory in com.fasterxml.jackson.databind
Fields in com.fasterxml.jackson.databind declared as TypeFactory Modifier and Type Field Description protected TypeFactoryObjectMapper. _typeFactorySpecific factory used for creatingJavaTypeinstances; needed to allow modules to add more custom type handling (mostly to support types of non-Java JVM languages)Methods in com.fasterxml.jackson.databind that return TypeFactory Modifier and Type Method Description abstract TypeFactoryDatabindContext. getTypeFactory()TypeFactoryDeserializationContext. getTypeFactory()TypeFactoryModule.SetupContext. getTypeFactory()Accessor for findingTypeFactorythat is currently configured by the context.TypeFactoryObjectMapper. getTypeFactory()Accessor for getting currently configuredTypeFactoryinstance.TypeFactoryObjectReader. getTypeFactory()TypeFactoryObjectWriter. getTypeFactory()TypeFactorySerializerProvider. getTypeFactory()Methods in com.fasterxml.jackson.databind with parameters of type TypeFactory Modifier and Type Method Description ObjectMapperObjectMapper. setTypeFactory(TypeFactory f)Method that can be used to overrideTypeFactoryinstance used by this mapper. -
Uses of TypeFactory in com.fasterxml.jackson.databind.cfg
Fields in com.fasterxml.jackson.databind.cfg declared as TypeFactory Modifier and Type Field Description protected TypeFactoryBaseSettings. _typeFactorySpecific factory used for creatingJavaTypeinstances; needed to allow modules to add more custom type handling (mostly to support types of non-Java JVM languages)Methods in com.fasterxml.jackson.databind.cfg that return TypeFactory Modifier and Type Method Description TypeFactoryBaseSettings. getTypeFactory()TypeFactoryMapperConfig. getTypeFactory()Methods in com.fasterxml.jackson.databind.cfg with parameters of type TypeFactory Modifier and Type Method Description BMapperBuilder. typeFactory(TypeFactory f)TMapperConfigBase. with(TypeFactory tf)Method for constructing and returning a new instance with differentTypeFactoryto use.BaseSettingsBaseSettings. withTypeFactory(TypeFactory tf)Constructors in com.fasterxml.jackson.databind.cfg with parameters of type TypeFactory Constructor Description BaseSettings(ClassIntrospector ci, AnnotationIntrospector ai, PropertyNamingStrategy pns, TypeFactory tf, TypeResolverBuilder<?> typer, DateFormat dateFormat, HandlerInstantiator hi, Locale locale, TimeZone tz, com.fasterxml.jackson.core.Base64Variant defaultBase64)Deprecated.BaseSettings(ClassIntrospector ci, AnnotationIntrospector ai, PropertyNamingStrategy pns, TypeFactory tf, TypeResolverBuilder<?> typer, DateFormat dateFormat, HandlerInstantiator hi, Locale locale, TimeZone tz, com.fasterxml.jackson.core.Base64Variant defaultBase64, PolymorphicTypeValidator ptv) -
Uses of TypeFactory in com.fasterxml.jackson.databind.introspect
Fields in com.fasterxml.jackson.databind.introspect declared as TypeFactory Modifier and Type Field Description protected TypeFactoryAnnotatedClass. _typeFactoryMethods in com.fasterxml.jackson.databind.introspect with parameters of type TypeFactory Modifier and Type Method Description static List<AnnotatedField>AnnotatedFieldCollector. collectFields(AnnotationIntrospector intr, TypeResolutionContext tc, ClassIntrospector.MixInResolver mixins, TypeFactory types, JavaType type)static AnnotatedMethodMapAnnotatedMethodCollector. collectMethods(AnnotationIntrospector intr, TypeResolutionContext tc, ClassIntrospector.MixInResolver mixins, TypeFactory types, JavaType type, List<JavaType> superTypes, Class<?> primaryMixIn)Constructors in com.fasterxml.jackson.databind.introspect with parameters of type TypeFactory Constructor Description Basic(TypeFactory tf, TypeBindings b) -
Uses of TypeFactory in com.fasterxml.jackson.databind.jsontype.impl
Fields in com.fasterxml.jackson.databind.jsontype.impl declared as TypeFactory Modifier and Type Field Description protected TypeFactoryTypeIdResolverBase. _typeFactoryMethods in com.fasterxml.jackson.databind.jsontype.impl with parameters of type TypeFactory Modifier and Type Method Description protected StringClassNameIdResolver. _idFrom(Object value, Class<?> cls, TypeFactory typeFactory)Constructors in com.fasterxml.jackson.databind.jsontype.impl with parameters of type TypeFactory Constructor Description ClassNameIdResolver(JavaType baseType, TypeFactory typeFactory)Deprecated.Since 2.10 use variant that takesPolymorphicTypeValidatorClassNameIdResolver(JavaType baseType, TypeFactory typeFactory, PolymorphicTypeValidator ptv)MinimalClassNameIdResolver(JavaType baseType, TypeFactory typeFactory, PolymorphicTypeValidator ptv)TypeIdResolverBase(JavaType baseType, TypeFactory typeFactory) -
Uses of TypeFactory in com.fasterxml.jackson.databind.type
Fields in com.fasterxml.jackson.databind.type declared as TypeFactory Modifier and Type Field Description protected TypeFactoryTypeParser. _factoryprotected static TypeFactoryTypeFactory. instanceGlobally shared singleton.Methods in com.fasterxml.jackson.databind.type that return TypeFactory Modifier and Type Method Description static TypeFactoryTypeFactory. defaultInstance()Method used to access the globally shared instance, which has no custom configuration.TypeFactoryTypeFactory. withCache(LRUMap<Object,JavaType> cache)Mutant factory method that will construct newTypeFactorywith identical settings except for different cache; most likely one with bigger maximum size.TypeFactoryTypeFactory. withClassLoader(ClassLoader classLoader)"Mutant factory" method which will construct a new instance with specifiedClassLoaderto use byfindClass(java.lang.String).TypeFactoryTypeFactory. withModifier(TypeModifier mod)"Mutant factory" method which will construct a new instance with specifiedTypeModifieradded as the first modifier to call (in case there are multiple registered).Methods in com.fasterxml.jackson.databind.type with parameters of type TypeFactory Modifier and Type Method Description abstract JavaTypeTypeModifier. modifyType(JavaType type, Type jdkType, TypeBindings context, TypeFactory typeFactory)Method called to let modifier change constructed type definition.TypeParserTypeParser. withFactory(TypeFactory f)Constructors in com.fasterxml.jackson.databind.type with parameters of type TypeFactory Constructor Description TypeParser(TypeFactory f) -
Uses of TypeFactory in com.fasterxml.jackson.databind.util
Methods in com.fasterxml.jackson.databind.util with parameters of type TypeFactory Modifier and Type Method Description protected JavaTypeStdConverter. _findConverterType(TypeFactory tf)JavaTypeConverter. getInputType(TypeFactory typeFactory)Method that can be used to find out actual input (source) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).JavaTypeStdConverter. getInputType(TypeFactory typeFactory)JavaTypeConverter. getOutputType(TypeFactory typeFactory)Method that can be used to find out actual output (target) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).JavaTypeStdConverter. getOutputType(TypeFactory typeFactory)
-