Uses of Class
org.codehaus.jackson.type.JavaType
-
Packages that use JavaType Package Description org.codehaus.jackson Main public API classes of the core streaming JSON processor: most importantlyJsonFactoryused for constructing JSON parser (JsonParser) and generator (JsonParser) instances.org.codehaus.jackson.map Contains basic mapper (conversion) functionality that allows for converting between regular streaming json content and Java objects (beans or Tree Model: support for both is viaObjectMapperclass, as well as convenience methods included inJsonParserorg.codehaus.jackson.map.deser Contains implementation classes of deserialization part of data binding.org.codehaus.jackson.map.deser.impl Contains those implementation classes of deserialization part of data binding that are not considered part of public or semi-public interfaces.org.codehaus.jackson.map.deser.std Contains public standard implementations of abstraction that Jackson uses.org.codehaus.jackson.map.ext Contains extended support for "external" packages: things that may or may not be present in runtime environment, but that are commonly enough used so that explicit support can be added.org.codehaus.jackson.map.introspect Functionality needed for Bean introspection, required for detecting accessors and mutators for Beans, as well as locating and handling method annotations.org.codehaus.jackson.map.jsontype Package that contains interfaces that define how to implement functionality for dynamically resolving type during deserialization.org.codehaus.jackson.map.jsontype.impl Package that contains standard implementations forTypeResolverBuilderandTypeIdResolver.org.codehaus.jackson.map.module Package that contains classes and interfaces to help implement custom extensionModules (which are registered usingObjectMapper.registerModule(org.codehaus.jackson.map.Module).org.codehaus.jackson.map.ser Contains implementation classes of serialization part of data binding.org.codehaus.jackson.map.ser.impl Contains implementation classes of serialization part of data binding.org.codehaus.jackson.map.ser.std org.codehaus.jackson.map.type Package that contains concrete implementations ofJavaType, as well as the factory (TypeFactory) for constructing instances from various input data types (likeClass,Type) and programmatically (for structured types, arrays,Lists andMaps).org.codehaus.jackson.map.util Utility classes for Mapper package.org.codehaus.jackson.mrbean Package that implements "interface materializer" functionality, whereby abstract classes and interfaces can be used as-is, and framework constructs implementations as needed.org.codehaus.jackson.type Contains classes needed for type introspection, mostly used by data binding functionality.org.codehaus.jackson.xc Package that contains XML Compatibility functionality for Jackson, such as handlers for JAXB annotations -
-
Uses of JavaType in org.codehaus.jackson
Methods in org.codehaus.jackson with parameters of type JavaType Modifier and Type Method Description abstract <T> TObjectCodec. readValue(JsonParser jp, JavaType valueType)Method to deserialize JSON content as tree expressed using set ofJsonNodeinstances.abstract <T> java.util.Iterator<T>ObjectCodec. readValues(JsonParser jp, JavaType valueType)Method for reading sequence of Objects from parser stream, all with same specified value type. -
Uses of JavaType in org.codehaus.jackson.map
Fields in org.codehaus.jackson.map declared as JavaType Modifier and Type Field Description protected JavaTypeObjectWriter. _rootTypeSpecified root serialization type to use; can be same as runtime type, but usually one of its super typesprotected JavaTypeBeanDescription. _typeBean type information, including raw class and possible * generics informationprotected JavaTypeBeanProperty.Std. _typeprotected JavaTypeMappingIterator. _typeprotected JavaTypeObjectReader. _valueTypeDeclared type of value to instantiate during deserialization.protected static JavaTypeSerializerProvider. TYPE_OBJECTFields in org.codehaus.jackson.map with type parameters of type JavaType Modifier and Type Field Description protected java.util.concurrent.ConcurrentHashMap<JavaType,JsonDeserializer<java.lang.Object>>ObjectMapper. _rootDeserializersWe will use a separate main-level Map for keeping track of root-level deserializers.protected java.util.concurrent.ConcurrentHashMap<JavaType,JsonDeserializer<java.lang.Object>>ObjectReader. _rootDeserializersRoot-level cached deserializersMethods in org.codehaus.jackson.map that return JavaType Modifier and Type Method Description JavaTypeMapperConfig. constructSpecializedType(JavaType baseType, java.lang.Class<?> subclass)JavaTypeSerializerProvider. constructSpecializedType(JavaType baseType, java.lang.Class<?> subclass)JavaTypeDeserializationContext. constructType(java.lang.Class<?> cls)JavaTypeMapperConfig. constructType(java.lang.Class<?> cls)Helper method that will constructJavaTypefor given raw class.JavaTypeMapperConfig. constructType(TypeReference<?> valueTypeRef)Helper method that will constructJavaTypefor given type reference This is a simple short-cut for:JavaTypeObjectMapper. constructType(java.lang.reflect.Type t)Convenience method for constructingJavaTypeout of given type (typicallyjava.lang.Class), but without explicit context.JavaTypeSerializerProvider. constructType(java.lang.reflect.Type type)JavaTypeAbstractTypeResolver. findTypeMapping(DeserializationConfig config, JavaType type)Try to locate a subtype for given abstract type, to either resolve to a concrete type, or at least to a more-specific (and hopefully supported) abstract type, one which may have registered deserializers.JavaTypeBeanDescription. getType()Method for accessing declared type of bean being introspected, including full generic type information (from declaration)JavaTypeBeanProperty. getType()Method to get declared type of the property.JavaTypeBeanProperty.Std. getType()abstract JavaTypeDeserializerFactory. mapAbstractType(DeserializationConfig config, JavaType type)Method that can be called to try to resolve an abstract type (interface, abstract class) into a concrete type, or at least something "more concrete" (abstract class instead of interface).abstract JavaTypeDeserializerProvider. mapAbstractType(DeserializationConfig config, JavaType type)Method that can be called to try to resolve an abstract type (interface, abstract class) into a concrete type, or at least something "more concrete" (abstract class instead of interface).JavaTypeAbstractTypeResolver. resolveAbstractType(DeserializationConfig config, JavaType type)Method called to try to resolve an abstract type into concrete type (usually for purposes of deserializing), when no concrete implementation was found.abstract JavaTypeBeanDescription. resolveType(java.lang.reflect.Type jdkType)Method for resolving given JDK type, using this bean as the generic type resolution context.Methods in org.codehaus.jackson.map with parameters of type JavaType Modifier and Type Method Description protected java.lang.ObjectObjectMapper. _convert(java.lang.Object fromValue, JavaType toValueType)protected JsonDeserializer<java.lang.Object>ObjectMapper. _findRootDeserializer(DeserializationConfig cfg, JavaType valueType)Method called to locate deserializer for the passed root-level value.protected JsonDeserializer<java.lang.Object>ObjectReader. _findRootDeserializer(DeserializationConfig cfg, JavaType valueType)Method called to locate deserializer for the passed root-level value.protected java.lang.ObjectObjectMapper. _readMapAndClose(JsonParser jp, JavaType valueType)protected java.lang.ObjectObjectMapper. _readValue(DeserializationConfig cfg, JsonParser jp, JavaType valueType)Actual implementation of value reading+binding operation.protected java.lang.ObjectObjectMapper. _unwrapAndDeserialize(JsonParser jp, JavaType rootType, DeserializationContext ctxt, JsonDeserializer<java.lang.Object> deser)protected java.lang.ObjectObjectReader. _unwrapAndDeserialize(JsonParser jp, DeserializationContext ctxt, JavaType rootType, JsonDeserializer<java.lang.Object> deser)TypeDeserializerObjectMapper.DefaultTypeResolverBuilder. buildTypeDeserializer(DeserializationConfig config, JavaType baseType, java.util.Collection<NamedType> subtypes, BeanProperty property)TypeSerializerObjectMapper.DefaultTypeResolverBuilder. buildTypeSerializer(SerializationConfig config, JavaType baseType, java.util.Collection<NamedType> subtypes, BeanProperty property)booleanObjectMapper. canDeserialize(JavaType type)Method that can be called to check whether mapper thinks it could deserialize an Object of given type.JavaTypeMapperConfig. constructSpecializedType(JavaType baseType, java.lang.Class<?> subclass)JavaTypeSerializerProvider. constructSpecializedType(JavaType baseType, java.lang.Class<?> subclass)<T> TObjectMapper. convertValue(java.lang.Object fromValue, JavaType toValueType)abstract JsonDeserializer<java.lang.Object>DeserializerFactory. createBeanDeserializer(DeserializationConfig config, DeserializerProvider p, JavaType type, BeanProperty property)Method called to create (or, for completely immutable deserializers, reuse) a deserializer that can convert JSON content into values of specified Java "bean" (POJO) type.abstract JsonDeserializer<?>DeserializerFactory. createEnumDeserializer(DeserializationConfig config, DeserializerProvider p, JavaType type, BeanProperty property)KeyDeserializerDeserializerFactory. createKeyDeserializer(DeserializationConfig config, JavaType type, BeanProperty property)Method called to find if factory knows how to create a key deserializer for specified type; currently this means checking if a module has registered possible deserializers.abstract JsonSerializer<java.lang.Object>SerializerFactory. createKeySerializer(SerializationConfig config, JavaType baseType, BeanProperty property)Method called to create serializer to use for serializing JSON property names (which must be output asJsonToken.FIELD_NAME) for Map that has specified declared key type, and is for specified property (or, if property is null, as root value)abstract JsonSerializer<java.lang.Object>SerializerFactory. createSerializer(SerializationConfig config, JavaType baseType, BeanProperty property)Method called to create (or, for immutable serializers, reuse) a serializer for given type.JsonSerializer<java.lang.Object>SerializerFactory. createSerializer(JavaType type, SerializationConfig config)Deprecated.Since 1.7, call variant with more argumentsabstract JsonDeserializer<?>DeserializerFactory. createTreeDeserializer(DeserializationConfig config, DeserializerProvider p, JavaType type, BeanProperty property)Method called to create and return a deserializer that can construct JsonNode(s) from JSON content.abstract TypeSerializerSerializerFactory. createTypeSerializer(SerializationConfig config, JavaType baseType, BeanProperty property)Method called to create a type information serializer for given base type, if one is needed.TypeSerializerSerializerFactory. createTypeSerializer(JavaType baseType, SerializationConfig config)Deprecated.Since 1.7, call variant with more argumentsJsonDeserializer<?>Deserializers.Base. findBeanDeserializer(JavaType type, DeserializationConfig config, DeserializerProvider provider, BeanDescription beanDesc, BeanProperty property)JsonDeserializer<?>Deserializers. findBeanDeserializer(JavaType type, DeserializationConfig config, DeserializerProvider provider, BeanDescription beanDesc, BeanProperty property)Method called to locate deserializer for specified value type which does not belong to any other category (not an Enum, Collection, Map, Array or tree node)abstract java.lang.Class<?>AnnotationIntrospector. findDeserializationContentType(Annotated am, JavaType baseContentType, java.lang.String propName)Method for accessing additional narrowing type definition that a method can have, to define more specific content type to use; content refers to Map values and Collection/array elements.java.lang.Class<?>AnnotationIntrospector.Pair. findDeserializationContentType(Annotated am, JavaType baseContentType, java.lang.String propName)abstract java.lang.Class<?>AnnotationIntrospector. findDeserializationKeyType(Annotated am, JavaType baseKeyType, java.lang.String propName)Method for accessing additional narrowing type definition that a method can have, to define more specific key type to use.java.lang.Class<?>AnnotationIntrospector.Pair. findDeserializationKeyType(Annotated am, JavaType baseKeyType, java.lang.String propName)abstract java.lang.Class<?>AnnotationIntrospector. findDeserializationType(Annotated am, JavaType baseType, java.lang.String propName)Method for accessing annotated type definition that a method can have, to be used as the type for serialization instead of the runtime type.java.lang.Class<?>AnnotationIntrospector.Pair. findDeserializationType(Annotated am, JavaType baseType, java.lang.String propName)abstract SerializedStringDeserializerProvider. findExpectedRootName(DeserializationConfig config, JavaType type)Method that can be used to try find expected root name for given typeabstract KeyDeserializerDeserializerProvider. findKeyDeserializer(DeserializationConfig config, JavaType keyType, BeanProperty property)Method called to get hold of a deserializer to use for deserializing keys forMap.KeyDeserializerKeyDeserializers. findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc, BeanProperty property)abstract JsonSerializer<java.lang.Object>SerializerProvider. findKeySerializer(JavaType keyType, BeanProperty property)Method called to get the serializer to use for serializing non-null Map keys.TypeResolverBuilder<?>AnnotationIntrospector. findPropertyContentTypeResolver(MapperConfig<?> config, AnnotatedMember am, JavaType containerType)Method for checking if given structured property entity (field or method that has nominal value of Map, Collection or array type) has annotations that indicate that specific type resolver is to be used for handling type information of contained values.TypeResolverBuilder<?>AnnotationIntrospector.Pair. findPropertyContentTypeResolver(MapperConfig<?> config, AnnotatedMember am, JavaType baseType)TypeResolverBuilder<?>AnnotationIntrospector. findPropertyTypeResolver(MapperConfig<?> config, AnnotatedMember am, JavaType baseType)Method for checking if given property entity (field or method) has annotations that indicate that specific type resolver is to be used for handling instances.TypeResolverBuilder<?>AnnotationIntrospector.Pair. findPropertyTypeResolver(MapperConfig<?> config, AnnotatedMember am, JavaType baseType)java.lang.Class<?>AnnotationIntrospector. findSerializationContentType(Annotated am, JavaType baseType)Method for finding possible widening type definition that a property value can have, to define less specific key type to use for serialization.java.lang.Class<?>AnnotationIntrospector.Pair. findSerializationContentType(Annotated am, JavaType baseType)java.lang.Class<?>AnnotationIntrospector. findSerializationKeyType(Annotated am, JavaType baseType)Method for finding possible widening type definition that a property value can have, to define less specific key type to use for serialization.java.lang.Class<?>AnnotationIntrospector.Pair. findSerializationKeyType(Annotated am, JavaType baseType)JsonSerializer<?>Serializers.Base. findSerializer(SerializationConfig config, JavaType type, BeanDescription beanDesc, BeanProperty property)JsonSerializer<?>Serializers. findSerializer(SerializationConfig config, JavaType type, BeanDescription beanDesc, BeanProperty property)Method called by serialization framework first time a serializer is needed for specified type, which is not of a container type (for which other methods are called).TypeDeserializerDeserializerFactory. findTypeDeserializer(DeserializationConfig config, JavaType baseType, BeanProperty property)Method called to find and create a type information deserializer for given base type, if one is needed.abstract JsonDeserializer<java.lang.Object>DeserializerProvider. findTypedValueDeserializer(DeserializationConfig config, JavaType type, BeanProperty property)Method called to locate deserializer for given type, as well as matching type deserializer (if one is needed); and if type deserializer is needed, construct a "wrapped" deserializer that can extract and use type information for calling actual deserializer.JsonSerializer<java.lang.Object>SerializerProvider. findTypedValueSerializer(JavaType valueType, boolean cache)Deprecated.As of version 1.7, use version that exposes property object instead of just its type (needed for contextual serializers)abstract JsonSerializer<java.lang.Object>SerializerProvider. findTypedValueSerializer(JavaType valueType, boolean cache, BeanProperty property)Method called to locate regular serializer, matching type serializer, and if both found, wrap them in a serializer that calls both in correct sequence.JavaTypeAbstractTypeResolver. findTypeMapping(DeserializationConfig config, JavaType type)Try to locate a subtype for given abstract type, to either resolve to a concrete type, or at least to a more-specific (and hopefully supported) abstract type, one which may have registered deserializers.TypeResolverBuilder<?>AnnotationIntrospector. findTypeResolver(MapperConfig<?> config, AnnotatedClass ac, JavaType baseType)Method for checking if given class has annotations that indicate that specific type resolver is to be used for handling instances.TypeResolverBuilder<?>AnnotationIntrospector.Pair. findTypeResolver(MapperConfig<?> config, AnnotatedClass ac, JavaType baseType)abstract JsonDeserializer<java.lang.Object>DeserializerProvider. findValueDeserializer(DeserializationConfig config, JavaType propertyType, BeanProperty property)Method called to get hold of a deserializer for a value of given type; or if no such deserializer can be found, a default handler (which may do a best-effort generic serialization or just simply throw an exception when invoked).JsonSerializer<java.lang.Object>SerializerProvider. findValueSerializer(JavaType serializationType)Deprecated.As of version 1.7, use version that exposes property object instead of just its type (needed for contextual serializers)abstract JsonSerializer<java.lang.Object>SerializerProvider. findValueSerializer(JavaType serializationType, BeanProperty property)Similar toSerializerProvider.findValueSerializer(Class), but takes full generics-aware type instead of raw class.abstract TClassIntrospector. forClassAnnotations(MapperConfig<?> cfg, JavaType type, ClassIntrospector.MixInResolver r)Factory method that constructs an introspector that only has information regarding annotations class itself (or its supertypes) has, but nothing on methods or constructors.abstract TClassIntrospector. forCreation(DeserializationConfig cfg, JavaType type, ClassIntrospector.MixInResolver r)Factory method that constructs an introspector that has information necessary for creating instances of given class ("creator"), as well as class annotations, but no information on member methodsabstract TClassIntrospector. forDeserialization(DeserializationConfig cfg, JavaType type, ClassIntrospector.MixInResolver r)Factory method that constructs an introspector that has all information needed for deserialization purposes.abstract TClassIntrospector. forDirectClassAnnotations(MapperConfig<?> cfg, JavaType type, ClassIntrospector.MixInResolver r)Factory method that constructs an introspector that only has information regarding annotations class itself has (but NOT including its supertypes), but nothing on methods or constructors.abstract TClassIntrospector. forSerialization(SerializationConfig cfg, JavaType type, ClassIntrospector.MixInResolver r)Factory method that constructs an introspector that has all information needed for serialization purposes.TypeResolverBuilder<?>MapperConfig. getDefaultTyper(JavaType baseType)Method called to locate a type info handler for types that do not have one explicitly declared via annotations (or other configuration).JsonSerializer<java.lang.Object>SerializerProvider. getKeySerializer(JavaType valueType, BeanProperty property)Deprecated.As of version 1.8abstract booleanDeserializerProvider. hasValueDeserializerFor(DeserializationConfig config, JavaType type)Method called to find out whether provider would be able to find a deserializer for given type, using a root reference (i.e.<T extends BeanDescription>
TDeserializationConfig. introspect(JavaType type)Method that will introspect full bean properties for the purpose of building a bean deserializer<T extends BeanDescription>
TSerializationConfig. introspect(JavaType type)Method that will introspect full bean properties for the purpose of building a bean serializer<T extends BeanDescription>
TDeserializationConfig. introspectClassAnnotations(JavaType type)Accessor for getting bean description that only contains class annotations: useful if no getter/setter/creator information is needed.abstract <DESC extends BeanDescription>
DESCMapperConfig. introspectClassAnnotations(JavaType type)Accessor for getting bean description that only contains class annotations: useful if no getter/setter/creator information is needed.<T extends BeanDescription>
TSerializationConfig. introspectClassAnnotations(JavaType type)Accessor for getting bean description that only contains class annotations: useful if no getter/setter/creator information is needed.<T extends BeanDescription>
TDeserializationConfig. introspectDirectClassAnnotations(JavaType type)Accessor for getting bean description that only contains immediate class annotations: ones from the class, and its direct mix-in, if any, but not from super types.abstract <DESC extends BeanDescription>
DESCMapperConfig. introspectDirectClassAnnotations(JavaType type)Accessor for getting bean description that only contains immediate class annotations: ones from the class, and its direct mix-in, if any, but not from super types.<T extends BeanDescription>
TSerializationConfig. introspectDirectClassAnnotations(JavaType type)Accessor for getting bean description that only contains immediate class annotations: ones from the class, and its direct mix-in, if any, but not from super types.<T extends BeanDescription>
TDeserializationConfig. introspectForCreation(JavaType type)Method that will introspect subset of bean properties needed to construct bean instance.abstract JavaTypeDeserializerFactory. mapAbstractType(DeserializationConfig config, JavaType type)Method that can be called to try to resolve an abstract type (interface, abstract class) into a concrete type, or at least something "more concrete" (abstract class instead of interface).abstract JavaTypeDeserializerProvider. mapAbstractType(DeserializationConfig config, JavaType type)Method that can be called to try to resolve an abstract type (interface, abstract class) into a concrete type, or at least something "more concrete" (abstract class instead of interface).ObjectReaderObjectMapper. reader(JavaType type)Factory method for constructingObjectReaderthat will read or update instances of specified type<T> TObjectMapper. readValue(byte[] src, int offset, int len, JavaType valueType)<T> TObjectMapper. readValue(byte[] src, JavaType valueType)<T> TObjectMapper. readValue(java.io.File src, JavaType valueType)<T> TObjectMapper. readValue(java.io.InputStream src, JavaType valueType)<T> TObjectMapper. readValue(java.io.Reader src, JavaType valueType)<T> TObjectMapper. readValue(java.lang.String content, JavaType valueType)<T> TObjectMapper. readValue(java.net.URL src, JavaType valueType)<T> TObjectMapper. readValue(JsonNode root, JavaType valueType)Convenience method for converting results from given JSON tree into given value type.<T> TObjectMapper. readValue(JsonParser jp, JavaType valueType)Method to deserialize JSON content into a Java type, reference to which is passed as argument.<T> TObjectMapper. readValue(JsonParser jp, JavaType valueType, DeserializationConfig cfg)Method to deserialize JSON content into a Java type, reference to which is passed as argument.<T> TObjectReader. readValue(JsonParser jp, JavaType valueType)Convenience method that binds content read using given parser, using configuration of this reader, except that expected value type is specified with the call (instead of currently configured root type).<T> MappingIterator<T>ObjectMapper. readValues(JsonParser jp, JavaType valueType)Method for reading sequence of Objects from parser stream.<T> java.util.Iterator<T>ObjectReader. readValues(JsonParser jp, JavaType valueType)Convenience method that is equivalent to:JavaTypeAbstractTypeResolver. resolveAbstractType(DeserializationConfig config, JavaType type)Method called to try to resolve an abstract type into concrete type (usually for purposes of deserializing), when no concrete implementation was found.abstract voidSerializerProvider. serializeValue(SerializationConfig cfg, JsonGenerator jgen, java.lang.Object value, JavaType rootType, SerializerFactory jsf)The method to be called byObjectMapperto execute recursive serialization, using serializers that this provider has access to; and using specified root type for locating first-level serializer.ObjectWriterObjectMapper. typedWriter(JavaType rootType)Deprecated.Since 1.9, useObjectMapper.writerWithType(JavaType)instead.abstract JsonMappingExceptionDeserializationContext. unknownTypeException(JavaType baseType, java.lang.String id)Helper method for constructing exception to indicate that given type id (parsed from JSON) could not be converted to a Java type.booleanObjectMapper.DefaultTypeResolverBuilder. useForType(JavaType t)Method called to check if the default type handler should be used for given type.BeanProperty.StdBeanProperty.Std. withType(JavaType type)ObjectReaderObjectReader. withType(JavaType valueType)Method for constructing a new reader instance that is configured to data bind into specified type.ObjectWriterObjectWriter. withType(JavaType rootType)Method that will construct a new instance that uses specific type as the root type for serialization, instead of runtime dynamic type of the root object itself.ObjectWriterObjectMapper. writerWithType(JavaType rootType)Factory method for constructingObjectWriterthat will serialize objects using specified root type, instead of actual runtime type of value.Constructors in org.codehaus.jackson.map with parameters of type JavaType Constructor Description BeanDescription(JavaType type)MappingIterator(JavaType type, JsonParser jp, DeserializationContext ctxt, JsonDeserializer<?> deser)MappingIterator(JavaType type, JsonParser jp, DeserializationContext ctxt, JsonDeserializer<?> deser, boolean closeParser, java.lang.Object valueToUpdate)ObjectReader(ObjectMapper mapper, DeserializationConfig config, JavaType valueType, java.lang.Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues)ObjectReader(ObjectReader base, DeserializationConfig config, JavaType valueType, java.lang.Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues)Copy constructor used for building variations.ObjectWriter(ObjectMapper mapper, SerializationConfig config, JavaType rootType, PrettyPrinter pp)Constructor used byObjectMapperfor initial instantiationObjectWriter(ObjectWriter base, SerializationConfig config, JavaType rootType, PrettyPrinter pp, FormatSchema s)Copy constructor used for building variations.Std(java.lang.String name, JavaType type, Annotations contextAnnotations, AnnotatedMember member) -
Uses of JavaType in org.codehaus.jackson.map.deser
Fields in org.codehaus.jackson.map.deser declared as JavaType Modifier and Type Field Description protected JavaTypeAbstractDeserializer. _baseTypeprotected JavaTypeBeanDeserializer. _beanTypeDeclared type of the bean this deserializer handles.protected JavaTypeSettableAnyProperty. _typeprotected JavaTypeSettableBeanProperty. _typeBase type for property; may be a supertype of actual value.Fields in org.codehaus.jackson.map.deser with type parameters of type JavaType Modifier and Type Field Description protected static java.util.HashMap<JavaType,JsonDeserializer<java.lang.Object>>BasicDeserializerFactory. _arrayDeserializersAnd finally, we have special array deserializers for primitive array typesprotected java.util.concurrent.ConcurrentHashMap<JavaType,JsonDeserializer<java.lang.Object>>StdDeserializerProvider. _cachedDeserializersWe will also cache some dynamically constructed deserializers; specifically, ones that are expensive to construct.protected java.util.HashMap<JavaType,JsonDeserializer<java.lang.Object>>StdDeserializerProvider. _incompleteDeserializersDuring deserializer construction process we may need to keep track of partially completed deserializers, to resolve cyclic dependencies.Methods in org.codehaus.jackson.map.deser with type parameters of type JavaType Modifier and Type Method Description protected <T extends JavaType>
TBasicDeserializerFactory. modifyTypeByAnnotation(DeserializationConfig config, Annotated a, T type, java.lang.String propName)Method called to see if given method has annotations that indicate a more specific type than what the argument specifies.Methods in org.codehaus.jackson.map.deser that return JavaType Modifier and Type Method Description protected JavaTypeBeanDeserializerFactory. _mapAbstractType2(DeserializationConfig config, JavaType type)Method that will find abstract type mapping for specified type, doing a single lookup through registered abstract type resolvers; will not do recursive lookups.JavaTypeValueInstantiator. getDelegateType()Method that can be used to determine what is the type of delegate type to use, if any; if no delegates are used, will return null.JavaTypeSettableAnyProperty. getType()JavaTypeSettableBeanProperty. getType()JavaTypeBeanDeserializer. getValueType()abstract JavaTypeBasicDeserializerFactory. mapAbstractType(DeserializationConfig config, JavaType type)JavaTypeBeanDeserializerFactory. mapAbstractType(DeserializationConfig config, JavaType type)Method that will find complete abstract type mapping for specified type, doing as many resolution steps as necessary.JavaTypeStdDeserializerProvider. mapAbstractType(DeserializationConfig config, JavaType type)protected JavaTypeBeanDeserializerFactory. materializeAbstractType(DeserializationConfig config, BasicBeanDescription beanDesc)protected JavaTypeBasicDeserializerFactory. resolveType(DeserializationConfig config, BasicBeanDescription beanDesc, JavaType type, AnnotatedMember member, BeanProperty property)Helper method used to resolve method return types and field types.Methods in org.codehaus.jackson.map.deser with parameters of type JavaType Modifier and Type Method Description protected JsonDeserializer<java.lang.Object>StdDeserializerProvider. _createAndCache2(DeserializationConfig config, JavaType type, BeanProperty property)Method that handles actual construction (via factory) and caching (both intermediate and eventual)protected JsonDeserializer<java.lang.Object>StdDeserializerProvider. _createAndCacheValueDeserializer(DeserializationConfig config, JavaType type, BeanProperty property)Method that will try to create a deserializer for given type, and resolve and cache it if necessaryprotected JsonDeserializer<java.lang.Object>StdDeserializerProvider. _createDeserializer(DeserializationConfig config, JavaType type, BeanProperty property)protected JsonDeserializer<java.lang.Object>StdDeserializerProvider. _findCachedDeserializer(JavaType type)protected JsonDeserializer<java.lang.Object>BeanDeserializerFactory. _findCustomBeanDeserializer(JavaType type, DeserializationConfig config, DeserializerProvider provider, BasicBeanDescription beanDesc, BeanProperty property)protected KeyDeserializerStdDeserializerProvider. _handleUnknownKeyDeserializer(JavaType type)protected JsonDeserializer<java.lang.Object>StdDeserializerProvider. _handleUnknownValueDeserializer(JavaType type)protected JavaTypeBeanDeserializerFactory. _mapAbstractType2(DeserializationConfig config, JavaType type)Method that will find abstract type mapping for specified type, doing a single lookup through registered abstract type resolvers; will not do recursive lookups.voidBeanDeserializerBuilder. addInjectable(java.lang.String propertyName, JavaType propertyType, Annotations contextAnnotations, AnnotatedMember member, java.lang.Object valueId)JsonDeserializer<java.lang.Object>BeanDeserializerFactory. buildBeanDeserializer(DeserializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property)Method that is to actually build a bean deserializer instance.JsonDeserializer<java.lang.Object>BeanDeserializerFactory. buildThrowableDeserializer(DeserializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property)JsonDeserializer<java.lang.Object>BeanDeserializerFactory. createBeanDeserializer(DeserializationConfig config, DeserializerProvider p, JavaType type, BeanProperty property)Method thatDeserializerProviders call to create a new deserializer for types other than Collections, Maps, arrays and enums.JsonDeserializer<java.lang.Object>CustomDeserializerFactory. createBeanDeserializer(DeserializationConfig config, DeserializerProvider p, JavaType type, BeanProperty property)Deprecated.JsonDeserializer<?>BasicDeserializerFactory. createEnumDeserializer(DeserializationConfig config, DeserializerProvider p, JavaType type, BeanProperty property)Factory method for constructing serializers ofEnumtypes.JsonDeserializer<?>CustomDeserializerFactory. createEnumDeserializer(DeserializationConfig config, DeserializerProvider p, JavaType enumType, BeanProperty property)Deprecated.KeyDeserializerBeanDeserializerFactory. createKeyDeserializer(DeserializationConfig config, JavaType type, BeanProperty property)JsonDeserializer<?>BasicDeserializerFactory. createTreeDeserializer(DeserializationConfig config, DeserializerProvider p, JavaType nodeType, BeanProperty property)SerializedStringStdDeserializerProvider. findExpectedRootName(DeserializationConfig config, JavaType type)KeyDeserializerStdDeserializerProvider. findKeyDeserializer(DeserializationConfig config, JavaType type, BeanProperty property)TypeDeserializerBasicDeserializerFactory. findPropertyContentTypeDeserializer(DeserializationConfig config, JavaType containerType, AnnotatedMember propertyEntity, BeanProperty property)Method called to find and create a type information deserializer for values of given container (list, array, map) property, if one is needed.TypeDeserializerBasicDeserializerFactory. findPropertyTypeDeserializer(DeserializationConfig config, JavaType baseType, AnnotatedMember annotated, BeanProperty property)Method called to create a type information deserializer for values of given non-container property, if one is needed.protected JsonDeserializer<java.lang.Object>BasicDeserializerFactory. findStdBeanDeserializer(DeserializationConfig config, DeserializerProvider p, JavaType type, BeanProperty property)Method called byBeanDeserializerFactoryto see if there might be a standard deserializer registered for given type.TypeDeserializerBasicDeserializerFactory. findTypeDeserializer(DeserializationConfig config, JavaType baseType, BeanProperty property)JsonDeserializer<java.lang.Object>StdDeserializerProvider. findTypedValueDeserializer(DeserializationConfig config, JavaType type, BeanProperty property)JsonDeserializer<java.lang.Object>StdDeserializerProvider. findValueDeserializer(DeserializationConfig config, JavaType propertyType, BeanProperty property)booleanStdDeserializerProvider. hasValueDeserializerFor(DeserializationConfig config, JavaType type)Method that can be called to find out whether a deserializer can be found for given typeabstract JavaTypeBasicDeserializerFactory. mapAbstractType(DeserializationConfig config, JavaType type)JavaTypeBeanDeserializerFactory. mapAbstractType(DeserializationConfig config, JavaType type)Method that will find complete abstract type mapping for specified type, doing as many resolution steps as necessary.JavaTypeStdDeserializerProvider. mapAbstractType(DeserializationConfig config, JavaType type)protected JavaTypeBasicDeserializerFactory. resolveType(DeserializationConfig config, BasicBeanDescription beanDesc, JavaType type, AnnotatedMember member, BeanProperty property)Helper method used to resolve method return types and field types.JsonMappingExceptionStdDeserializationContext. unknownTypeException(JavaType type, java.lang.String id)Constructors in org.codehaus.jackson.map.deser with parameters of type JavaType Constructor Description AbstractDeserializer(JavaType bt)BeanDeserializer(AnnotatedClass forClass, JavaType type, BeanProperty property, CreatorCollector creators, BeanPropertyMap properties, java.util.Map<java.lang.String,SettableBeanProperty> backRefs, java.util.HashSet<java.lang.String> ignorableProps, boolean ignoreAllUnknown, SettableAnyProperty anySetter)Deprecated.(since 1.9) Use the constructor that takesValueInstantiatorinsteadBeanDeserializer(AnnotatedClass forClass, JavaType type, BeanProperty property, ValueInstantiator valueInstantiator, BeanPropertyMap properties, java.util.Map<java.lang.String,SettableBeanProperty> backRefs, java.util.HashSet<java.lang.String> ignorableProps, boolean ignoreAllUnknown, SettableAnyProperty anySetter, java.util.List<ValueInjector> injectables)CollectionDeserializer(JavaType collectionType, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer valueTypeDeser, java.lang.reflect.Constructor<java.util.Collection<java.lang.Object>> defCtor)Deprecated.Since 1.9, use variant that takes ValueInstantiatorCollectionDeserializer(JavaType collectionType, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator)Deprecated.FieldProperty(java.lang.String name, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedField field)MapDeserializer(JavaType mapType, java.lang.reflect.Constructor<java.util.Map<java.lang.Object,java.lang.Object>> defCtor, KeyDeserializer keyDeser, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer valueTypeDeser)Deprecated.Since 1.9, use variant that takes ValueInstantiatorMapDeserializer(JavaType mapType, ValueInstantiator valueInstantiator, KeyDeserializer keyDeser, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer valueTypeDeser)Deprecated.MethodProperty(java.lang.String name, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedMethod method)NullProvider(JavaType type, java.lang.Object nullValue)SettableAnyProperty(BeanProperty property, java.lang.reflect.Method rawSetter, JavaType type, JsonDeserializer<java.lang.Object> valueDeser)SettableAnyProperty(BeanProperty property, AnnotatedMethod setter, JavaType type)Deprecated.Since 1.9 - use variant that takes deserializerSettableAnyProperty(BeanProperty property, AnnotatedMethod setter, JavaType type, JsonDeserializer<java.lang.Object> valueDeser)SettableBeanProperty(java.lang.String propName, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations)SetterlessProperty(java.lang.String name, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedMethod method)StdDeserializer(JavaType valueType)Deprecated. -
Uses of JavaType in org.codehaus.jackson.map.deser.impl
Constructors in org.codehaus.jackson.map.deser.impl with parameters of type JavaType Constructor Description CreatorProperty(java.lang.String name, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedParameter param, int index, java.lang.Object injectableValueId)ValueInjector(java.lang.String propertyName, JavaType type, Annotations contextAnnotations, AnnotatedMember mutator, java.lang.Object valueId) -
Uses of JavaType in org.codehaus.jackson.map.deser.std
Fields in org.codehaus.jackson.map.deser.std declared as JavaType Modifier and Type Field Description protected JavaTypeObjectArrayDeserializer. _arrayTypeprotected JavaTypeCollectionDeserializer. _collectionTypeprotected JavaTypeStringCollectionDeserializer. _collectionTypeprotected JavaTypeStdValueInstantiator. _delegateTypeprotected JavaTypeMapDeserializer. _mapTypeprotected JavaTypeAtomicReferenceDeserializer. _referencedTypeType of value that we referenceFields in org.codehaus.jackson.map.deser.std with type parameters of type JavaType Modifier and Type Field Description protected java.util.HashMap<JavaType,KeyDeserializer>StdKeyDeserializers. _keyDeserializersMethods in org.codehaus.jackson.map.deser.std that return JavaType Modifier and Type Method Description JavaTypeJavaTypeDeserializer. deserialize(JsonParser jp, DeserializationContext ctxt)JavaTypeCollectionDeserializer. getContentType()abstract JavaTypeContainerDeserializerBase. getContentType()Accessor for declared type of contained value elements; either exact type, or one of its supertypes.JavaTypeMapDeserializer. getContentType()JavaTypeObjectArrayDeserializer. getContentType()JavaTypeStringCollectionDeserializer. getContentType()JavaTypeStdValueInstantiator. getDelegateType()JavaTypeMapDeserializer. getValueType()JavaTypeStdDeserializer. getValueType()Exact structured type deserializer handles, if known.Methods in org.codehaus.jackson.map.deser.std that return types with arguments of type JavaType Modifier and Type Method Description static java.util.HashMap<JavaType,KeyDeserializer>StdKeyDeserializers. constructAll()static java.util.HashMap<JavaType,JsonDeserializer<java.lang.Object>>PrimitiveArrayDeserializers. getAll()Methods in org.codehaus.jackson.map.deser.std with parameters of type JavaType Modifier and Type Method Description voidStdValueInstantiator. configureFromObjectSettings(AnnotatedWithParams defaultCreator, AnnotatedWithParams delegateCreator, JavaType delegateType, AnnotatedWithParams withArgsCreator, CreatorProperty[] constructorArgs)Method for setting properties related to instantiating values from JSON Object.static KeyDeserializerStdKeyDeserializers. constructStringKeyDeserializer(DeserializationConfig config, JavaType type)protected JsonDeserializer<java.lang.Object>StdDeserializer. findDeserializer(DeserializationConfig config, DeserializerProvider provider, JavaType type, BeanProperty property)Helper method used to locate deserializers for properties the type this deserializer handles contains (usually for properties of bean types)static KeyDeserializerStdKeyDeserializers. findStringBasedKeyDeserializer(DeserializationConfig config, JavaType type)Constructors in org.codehaus.jackson.map.deser.std with parameters of type JavaType Constructor Description AtomicReferenceDeserializer(JavaType referencedType, BeanProperty property)CollectionDeserializer(JavaType collectionType, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer valueTypeDeser, java.lang.reflect.Constructor<java.util.Collection<java.lang.Object>> defCtor)Deprecated.Since 1.9, use variant that takes ValueInstantiatorCollectionDeserializer(JavaType collectionType, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator)MapDeserializer(JavaType mapType, java.lang.reflect.Constructor<java.util.Map<java.lang.Object,java.lang.Object>> defCtor, KeyDeserializer keyDeser, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer valueTypeDeser)Deprecated.Since 1.9, use variant that takes ValueInstantiatorMapDeserializer(JavaType mapType, ValueInstantiator valueInstantiator, KeyDeserializer keyDeser, JsonDeserializer<java.lang.Object> valueDeser, TypeDeserializer valueTypeDeser)StdDeserializer(JavaType valueType)StdScalarDeserializer(JavaType valueType)StdValueInstantiator(DeserializationConfig config, JavaType valueType)StringCollectionDeserializer(JavaType collectionType, JsonDeserializer<?> valueDeser, ValueInstantiator valueInstantiator) -
Uses of JavaType in org.codehaus.jackson.map.ext
Methods in org.codehaus.jackson.map.ext with parameters of type JavaType Modifier and Type Method Description JsonDeserializer<?>OptionalHandlerFactory. findDeserializer(JavaType type, DeserializationConfig config, DeserializerProvider p)JsonSerializer<?>OptionalHandlerFactory. findSerializer(SerializationConfig config, JavaType type) -
Uses of JavaType in org.codehaus.jackson.map.introspect
Fields in org.codehaus.jackson.map.introspect declared as JavaType Modifier and Type Field Description protected JavaTypePOJOPropertiesCollector. _typeType of POJO for which properties are being collected.Methods in org.codehaus.jackson.map.introspect that return JavaType Modifier and Type Method Description JavaTypeAnnotated. getType(TypeBindings context)Full generic type of the annotated element; definition of what exactly this means depends on sub-class.JavaTypeAnnotatedConstructor. getType(TypeBindings bindings)As per [JACKSON-468], we need to also allow declaration of local type bindings; mostly it will allow defining bounds.JavaTypeAnnotatedMethod. getType(TypeBindings bindings)As per [JACKSON-468], we need to also allow declaration of local type bindings; mostly it will allow defining bounds.protected JavaTypeAnnotatedWithParams. getType(TypeBindings bindings, java.lang.reflect.TypeVariable<?>[] typeParams)JavaTypePOJOPropertiesCollector. getType()JavaTypeAnnotatedWithParams. resolveParameterType(int index, TypeBindings bindings)Method called to fully resolve type of one of parameters, given specified type variable bindings.JavaTypeBasicBeanDescription. resolveType(java.lang.reflect.Type jdkType)Methods in org.codehaus.jackson.map.introspect with parameters of type JavaType Modifier and Type Method Description protected BasicBeanDescriptionBasicClassIntrospector. _findCachedDesc(JavaType type)Method called to see if type is one of core JDK types that we have cached for efficiency.protected TypeResolverBuilder<?>JacksonAnnotationIntrospector. _findTypeResolver(MapperConfig<?> config, Annotated ann, JavaType baseType)Helper method called to construct and initialize instance ofTypeResolverBuilderif given annotated element indicates one is needed.AnnotatedClassBasicClassIntrospector. classWithCreators(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r)POJOPropertiesCollectorBasicClassIntrospector. collectProperties(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r, boolean forSerialization)protected POJOPropertiesCollectorBasicClassIntrospector. constructPropertyCollector(MapperConfig<?> config, AnnotatedClass ac, JavaType type, boolean forSerialization)Overridable method called for creatingPOJOPropertiesCollectorinstance to use; override is needed if a custom sub-class is to be used.java.lang.Class<?>JacksonAnnotationIntrospector. findDeserializationContentType(Annotated am, JavaType baseContentType, java.lang.String propName)java.lang.Class<?>NopAnnotationIntrospector. findDeserializationContentType(Annotated am, JavaType t, java.lang.String propName)java.lang.Class<?>JacksonAnnotationIntrospector. findDeserializationKeyType(Annotated am, JavaType baseKeyType, java.lang.String propName)java.lang.Class<?>NopAnnotationIntrospector. findDeserializationKeyType(Annotated am, JavaType t, java.lang.String propName)java.lang.Class<?>JacksonAnnotationIntrospector. findDeserializationType(Annotated am, JavaType baseType, java.lang.String propName)java.lang.Class<?>NopAnnotationIntrospector. findDeserializationType(Annotated am, JavaType t, java.lang.String propName)TypeResolverBuilder<?>JacksonAnnotationIntrospector. findPropertyContentTypeResolver(MapperConfig<?> config, AnnotatedMember am, JavaType containerType)Since 1.7, it is possible to useJsonTypeInfofrom a property too.TypeResolverBuilder<?>JacksonAnnotationIntrospector. findPropertyTypeResolver(MapperConfig<?> config, AnnotatedMember am, JavaType baseType)Since 1.7, it is possible to useJsonTypeInfofrom a property too.java.lang.Class<?>JacksonAnnotationIntrospector. findSerializationContentType(Annotated am, JavaType baseType)java.lang.Class<?>JacksonAnnotationIntrospector. findSerializationKeyType(Annotated am, JavaType baseType)TypeResolverBuilder<?>JacksonAnnotationIntrospector. findTypeResolver(MapperConfig<?> config, AnnotatedClass ac, JavaType baseType)BasicBeanDescriptionBasicClassIntrospector. forClassAnnotations(MapperConfig<?> cfg, JavaType type, ClassIntrospector.MixInResolver r)BasicBeanDescriptionBasicClassIntrospector. forCreation(DeserializationConfig cfg, JavaType type, ClassIntrospector.MixInResolver r)BasicBeanDescriptionBasicClassIntrospector. forDeserialization(DeserializationConfig cfg, JavaType type, ClassIntrospector.MixInResolver r)BasicBeanDescriptionBasicClassIntrospector. forDirectClassAnnotations(MapperConfig<?> cfg, JavaType type, ClassIntrospector.MixInResolver r)static BasicBeanDescriptionBasicBeanDescription. forOtherUse(MapperConfig<?> config, JavaType type, AnnotatedClass ac)Factory method to use for constructing an instance to use for purposes other than building serializers or deserializers; will only have information on class, not on properties.BasicBeanDescriptionBasicClassIntrospector. forSerialization(SerializationConfig cfg, JavaType type, ClassIntrospector.MixInResolver r)Constructors in org.codehaus.jackson.map.introspect with parameters of type JavaType Constructor Description BasicBeanDescription(MapperConfig<?> config, JavaType type, AnnotatedClass ac)Deprecated.Since 1.9, should use factory methods insteadBasicBeanDescription(MapperConfig<?> config, JavaType type, AnnotatedClass ac, java.util.List<BeanPropertyDefinition> properties)POJOPropertiesCollector(MapperConfig<?> config, boolean forSerialization, JavaType type, AnnotatedClass classDef) -
Uses of JavaType in org.codehaus.jackson.map.jsontype
Methods in org.codehaus.jackson.map.jsontype that return JavaType Modifier and Type Method Description JavaTypeTypeIdResolver. typeFromId(java.lang.String id)Method called to resolve type from given type identifier.Methods in org.codehaus.jackson.map.jsontype with parameters of type JavaType Modifier and Type Method Description TypeDeserializerTypeResolverBuilder. buildTypeDeserializer(DeserializationConfig config, JavaType baseType, java.util.Collection<NamedType> subtypes, BeanProperty property)Method for building type deserializer based on current configuration of this builder.TypeSerializerTypeResolverBuilder. buildTypeSerializer(SerializationConfig config, JavaType baseType, java.util.Collection<NamedType> subtypes, BeanProperty property)Method for building type serializer based on current configuration of this builder.voidTypeIdResolver. init(JavaType baseType)Method that will be called once before any type resolution calls; used to initialize instance with configuration. -
Uses of JavaType in org.codehaus.jackson.map.jsontype.impl
Fields in org.codehaus.jackson.map.jsontype.impl declared as JavaType Modifier and Type Field Description protected JavaTypeTypeDeserializerBase. _baseTypeprotected JavaTypeTypeIdResolverBase. _baseTypeCommon base type for all polymorphic instances handled.protected JavaTypeTypeDeserializerBase. _defaultImplType to use as the default implementation, if type id is missing or can not be resolved.Fields in org.codehaus.jackson.map.jsontype.impl with type parameters of type JavaType Modifier and Type Field Description protected java.util.HashMap<java.lang.String,JavaType>TypeNameIdResolver. _idToTypeMappings from type id to JavaType, used for deserializationMethods in org.codehaus.jackson.map.jsontype.impl that return JavaType Modifier and Type Method Description JavaTypeClassNameIdResolver. typeFromId(java.lang.String id)JavaTypeMinimalClassNameIdResolver. typeFromId(java.lang.String id)JavaTypeTypeNameIdResolver. typeFromId(java.lang.String id)Methods in org.codehaus.jackson.map.jsontype.impl with parameters of type JavaType Modifier and Type Method Description TypeDeserializerStdTypeResolverBuilder. buildTypeDeserializer(DeserializationConfig config, JavaType baseType, java.util.Collection<NamedType> subtypes, BeanProperty property)TypeSerializerStdTypeResolverBuilder. buildTypeSerializer(SerializationConfig config, JavaType baseType, java.util.Collection<NamedType> subtypes, BeanProperty property)static TypeNameIdResolverTypeNameIdResolver. construct(MapperConfig<?> config, JavaType baseType, java.util.Collection<NamedType> subtypes, boolean forSer, boolean forDeser)protected TypeIdResolverStdTypeResolverBuilder. idResolver(MapperConfig<?> config, JavaType baseType, java.util.Collection<NamedType> subtypes, boolean forSer, boolean forDeser)Helper method that will either return configured custom type id resolver, or construct a standard resolver given configuration.voidTypeIdResolverBase. init(JavaType bt)Constructors in org.codehaus.jackson.map.jsontype.impl with parameters of type JavaType Constructor Description AsArrayTypeDeserializer(JavaType bt, TypeIdResolver idRes, BeanProperty property)Deprecated.AsArrayTypeDeserializer(JavaType bt, TypeIdResolver idRes, BeanProperty property, java.lang.Class<?> defaultImpl)AsExternalTypeDeserializer(JavaType bt, TypeIdResolver idRes, BeanProperty property, java.lang.Class<?> defaultImpl, java.lang.String typePropName)AsPropertyTypeDeserializer(JavaType bt, TypeIdResolver idRes, BeanProperty property, java.lang.Class<?> defaultImpl, java.lang.String typePropName)AsPropertyTypeDeserializer(JavaType bt, TypeIdResolver idRes, BeanProperty property, java.lang.String typePropName)Deprecated.AsWrapperTypeDeserializer(JavaType bt, TypeIdResolver idRes, BeanProperty property)Deprecated.AsWrapperTypeDeserializer(JavaType bt, TypeIdResolver idRes, BeanProperty property, java.lang.Class<?> defaultImpl)ClassNameIdResolver(JavaType baseType, TypeFactory typeFactory)MinimalClassNameIdResolver(JavaType baseType, TypeFactory typeFactory)TypeDeserializerBase(JavaType baseType, TypeIdResolver idRes, BeanProperty property)Deprecated.Since 1.9, use the constructor that takes 'defaultImpl'TypeDeserializerBase(JavaType baseType, TypeIdResolver idRes, BeanProperty property, java.lang.Class<?> defaultImpl)TypeIdResolverBase(JavaType baseType, TypeFactory typeFactory)TypeNameIdResolver(MapperConfig<?> config, JavaType baseType, java.util.HashMap<java.lang.String,java.lang.String> typeToId, java.util.HashMap<java.lang.String,JavaType> idToType) -
Uses of JavaType in org.codehaus.jackson.map.module
Methods in org.codehaus.jackson.map.module that return JavaType Modifier and Type Method Description JavaTypeSimpleAbstractTypeResolver. findTypeMapping(DeserializationConfig config, JavaType type)JavaTypeSimpleAbstractTypeResolver. resolveAbstractType(DeserializationConfig config, JavaType type)Methods in org.codehaus.jackson.map.module with parameters of type JavaType Modifier and Type Method Description JsonDeserializer<?>SimpleDeserializers. findBeanDeserializer(JavaType type, DeserializationConfig config, DeserializerProvider provider, BeanDescription beanDesc, BeanProperty property)KeyDeserializerSimpleKeyDeserializers. findKeyDeserializer(JavaType type, DeserializationConfig config, BeanDescription beanDesc, BeanProperty property)JsonSerializer<?>SimpleSerializers. findSerializer(SerializationConfig config, JavaType type, BeanDescription beanDesc, BeanProperty property)JavaTypeSimpleAbstractTypeResolver. findTypeMapping(DeserializationConfig config, JavaType type)JavaTypeSimpleAbstractTypeResolver. resolveAbstractType(DeserializationConfig config, JavaType type) -
Uses of JavaType in org.codehaus.jackson.map.ser
Fields in org.codehaus.jackson.map.ser declared as JavaType Modifier and Type Field Description protected JavaTypeBeanPropertyWriter. _cfgSerializationTypeType to use for locating serializer; normally same as return type of the accessor method, but may be overridden by annotations.protected JavaTypeBeanPropertyWriter. _declaredTypeType property is declared to have, either in class definition or associated annotations.protected JavaTypeBeanPropertyWriter. _nonTrivialBaseTypeBase type of the property, if the declared type is "non-trivial"; meaning it is either a structured type (collection, map, array), or parametrized.Methods in org.codehaus.jackson.map.ser with type parameters of type JavaType Modifier and Type Method Description protected static <T extends JavaType>
TBasicSerializerFactory. modifySecondaryTypesByAnnotation(SerializationConfig config, Annotated a, T type)protected <T extends JavaType>
TBasicSerializerFactory. modifyTypeByAnnotation(SerializationConfig config, Annotated a, T type)Helper method used to encapsulate details of annotation-based type coercionMethods in org.codehaus.jackson.map.ser that return JavaType Modifier and Type Method Description protected JavaTypePropertyBuilder. findSerializationType(Annotated a, boolean useStaticTyping, JavaType declaredType)Method that will try to determine statically defined type of property being serialized, based on annotations (for overrides), and alternatively declared type (if static typing for serialization is enabled).JavaTypeBeanPropertyWriter. getSerializationType()JavaTypeBeanPropertyWriter. getType()Methods in org.codehaus.jackson.map.ser with parameters of type JavaType Modifier and Type Method Description protected JsonSerializer<java.lang.Object>StdSerializerProvider. _createAndCacheUntypedSerializer(JavaType type, BeanProperty property)protected JsonSerializer<java.lang.Object>StdSerializerProvider. _createUntypedSerializer(JavaType type, BeanProperty property)protected voidStdSerializerProvider. _reportIncompatibleRootType(java.lang.Object value, JavaType rootType)protected voidStdSerializerProvider. _serializeValue(JsonGenerator jgen, java.lang.Object value, JavaType rootType)Method called on the actual non-blueprint provider instance object, to kick off the serialization, when root type is explicitly specified and not determined from value.JsonSerializer<?>BasicSerializerFactory. buildContainerSerializer(SerializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping)protected JsonSerializer<?>BasicSerializerFactory. buildEnumMapSerializer(SerializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)Helper method that handles configuration details when constructing serializers forEnumMaptypes.protected JsonSerializer<?>BasicSerializerFactory. buildEnumSetSerializer(SerializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping, TypeSerializer elementTypeSerializer, JsonSerializer<java.lang.Object> elementValueSerializer)protected JsonSerializer<?>BasicSerializerFactory. buildIterableSerializer(SerializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping)protected JsonSerializer<?>BasicSerializerFactory. buildIteratorSerializer(SerializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping)protected BeanPropertyWriterPropertyBuilder. buildWriter(java.lang.String name, JavaType declaredType, JsonSerializer<java.lang.Object> ser, TypeSerializer typeSer, TypeSerializer contentTypeSer, AnnotatedMember am, boolean defaultUseStaticTyping)JsonSerializer<java.lang.Object>BeanSerializerFactory. createKeySerializer(SerializationConfig config, JavaType type, BeanProperty property)abstract JsonSerializer<java.lang.Object>BasicSerializerFactory. createSerializer(SerializationConfig config, JavaType type, BeanProperty property)JsonSerializer<java.lang.Object>BeanSerializerFactory. createSerializer(SerializationConfig config, JavaType origType, BeanProperty property)Main serializer constructor method.JsonSerializer<java.lang.Object>CustomSerializerFactory. createSerializer(SerializationConfig config, JavaType type, BeanProperty property)TypeSerializerBasicSerializerFactory. createTypeSerializer(SerializationConfig config, JavaType baseType, BeanProperty property)Method called to construct a type serializer for values with given declared base type.JsonSerializer<java.lang.Object>BeanSerializerFactory. findBeanSerializer(SerializationConfig config, JavaType type, BasicBeanDescription beanDesc, BeanProperty property)Method that will try to construct aBeanSerializerfor given class.JsonSerializer<java.lang.Object>StdSerializerProvider. findKeySerializer(JavaType keyType, BeanProperty property)TypeSerializerBeanSerializerFactory. findPropertyContentTypeSerializer(JavaType containerType, SerializationConfig config, AnnotatedMember accessor, BeanProperty property)Method called to create a type information serializer for values of given container property if one is needed.TypeSerializerBeanSerializerFactory. findPropertyTypeSerializer(JavaType baseType, SerializationConfig config, AnnotatedMember accessor, BeanProperty property)Method called to create a type information serializer for values of given non-container property if one is needed.protected JavaTypePropertyBuilder. findSerializationType(Annotated a, boolean useStaticTyping, JavaType declaredType)Method that will try to determine statically defined type of property being serialized, based on annotations (for overrides), and alternatively declared type (if static typing for serialization is enabled).JsonSerializer<?>BasicSerializerFactory. findSerializerByAddonType(SerializationConfig config, JavaType javaType, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping)Reflection-based serialized find method, which checks if given class implements one of recognized "add-on" interfaces.JsonSerializer<?>BasicSerializerFactory. findSerializerByLookup(JavaType type, SerializationConfig config, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping)Method that will use fast lookup (and identity comparison) methods to see if we know serializer to use for given type.JsonSerializer<?>BasicSerializerFactory. findSerializerByPrimaryType(JavaType type, SerializationConfig config, BasicBeanDescription beanDesc, BeanProperty property, boolean staticTyping)Method for checking if we can determine serializer to use based on set of known primary types, checking for set of known base types (exact matches having been compared against withfindSerializerByLookup).JsonSerializer<java.lang.Object>StdSerializerProvider. findTypedValueSerializer(JavaType valueType, boolean cache, BeanProperty property)JsonSerializer<java.lang.Object>StdSerializerProvider. findValueSerializer(JavaType valueType, BeanProperty property)This variant was added in 1.5, to allow for efficient access using full structured types, not just classes.protected java.lang.ObjectPropertyBuilder. getContainerValueChecker(java.lang.String propertyName, JavaType propertyType)Helper method called to see if we need a comparator Object to check if values of a container (Collection, array) property should be suppressed.protected java.lang.ObjectPropertyBuilder. getEmptyValueChecker(java.lang.String propertyName, JavaType propertyType)Helper method called to see if we need a comparator Object to check if values of specified type are consider empty.voidStdSerializerProvider. serializeValue(SerializationConfig config, JsonGenerator jgen, java.lang.Object value, JavaType rootType, SerializerFactory jsf)voidBeanPropertyWriter. setNonTrivialBaseType(JavaType t)Method called to define type to consider as "non-trivial" basetype, needed for dynamic serialization resolution for complex (usually container) typesConstructors in org.codehaus.jackson.map.ser with parameters of type JavaType Constructor Description BeanPropertyWriter(AnnotatedMember member, Annotations contextAnnotations, java.lang.String name, JavaType declaredType, JsonSerializer<java.lang.Object> ser, TypeSerializer typeSer, JavaType serType, java.lang.reflect.Method m, java.lang.reflect.Field f, boolean suppressNulls, java.lang.Object suppressableValue)BeanPropertyWriter(AnnotatedMember member, Annotations contextAnnotations, SerializedString name, JavaType declaredType, JsonSerializer<java.lang.Object> ser, TypeSerializer typeSer, JavaType serType, java.lang.reflect.Method m, java.lang.reflect.Field f, boolean suppressNulls, java.lang.Object suppressableValue)BeanSerializer(JavaType type, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties, AnyGetterWriter anyGetterWriter, java.lang.Object filterId)MapSerializer(java.util.HashSet<java.lang.String> ignoredEntries, JavaType valueType, boolean valueTypeIsStatic, TypeSerializer vts)Deprecated.Use variant that takes Key type and property informationMapSerializer(java.util.HashSet<java.lang.String> ignoredEntries, JavaType keyType, JavaType valueType, boolean valueTypeIsStatic, TypeSerializer vts, JsonSerializer<java.lang.Object> keySerializer, BeanProperty property)Deprecated.As of 1.8, use version that takes valueSerializerMapSerializer(java.util.HashSet<java.lang.String> ignoredEntries, JavaType keyType, JavaType valueType, boolean valueTypeIsStatic, TypeSerializer vts, JsonSerializer<java.lang.Object> keySerializer, JsonSerializer<java.lang.Object> valueSerializer, BeanProperty property)Deprecated.SerializerBase(JavaType type)Deprecated. -
Uses of JavaType in org.codehaus.jackson.map.ser.impl
Fields in org.codehaus.jackson.map.ser.impl declared as JavaType Modifier and Type Field Description protected JavaTypeSerializerCache.TypeKey. _typeMethods in org.codehaus.jackson.map.ser.impl with parameters of type JavaType Modifier and Type Method Description voidSerializerCache. addAndResolveNonTypedSerializer(JavaType type, JsonSerializer<java.lang.Object> ser, SerializerProvider provider)voidSerializerCache. addTypedSerializer(JavaType type, JsonSerializer<java.lang.Object> ser)Method called if none of lookups succeeded, and caller had to construct a serializer.PropertySerializerMap.SerializerAndMapResultPropertySerializerMap. findAndAddSerializer(JavaType type, SerializerProvider provider, BeanProperty property)voidSerializerCache.TypeKey. resetTyped(JavaType type)voidSerializerCache.TypeKey. resetUntyped(JavaType type)JsonSerializer<java.lang.Object>ReadOnlyClassToSerializerMap. typedValueSerializer(JavaType type)JsonSerializer<java.lang.Object>SerializerCache. typedValueSerializer(JavaType type)JsonSerializer<java.lang.Object>ReadOnlyClassToSerializerMap. untypedValueSerializer(JavaType type)JsonSerializer<java.lang.Object>SerializerCache. untypedValueSerializer(JavaType type)Constructors in org.codehaus.jackson.map.ser.impl with parameters of type JavaType Constructor Description TypeKey(JavaType key, boolean typed) -
Uses of JavaType in org.codehaus.jackson.map.ser.std
Fields in org.codehaus.jackson.map.ser.std declared as JavaType Modifier and Type Field Description protected JavaTypeAsArraySerializerBase. _elementTypeprotected JavaTypeObjectArraySerializer. _elementTypeDeclared type of element entriesprotected JavaTypeMapSerializer. _keyTypeDeclared type of keysprotected JavaTypeEnumMapSerializer. _valueTypeprotected JavaTypeMapSerializer. _valueTypeDeclared type of contained valuesprotected static JavaTypeMapSerializer. UNSPECIFIED_TYPEMethods in org.codehaus.jackson.map.ser.std with parameters of type JavaType Modifier and Type Method Description protected JsonSerializer<java.lang.Object>AsArraySerializerBase. _findAndAddDynamic(PropertySerializerMap map, JavaType type, SerializerProvider provider)protected JsonSerializer<java.lang.Object>MapSerializer. _findAndAddDynamic(PropertySerializerMap map, JavaType type, SerializerProvider provider)protected JsonSerializer<java.lang.Object>ObjectArraySerializer. _findAndAddDynamic(PropertySerializerMap map, JavaType type, SerializerProvider provider)static ContainerSerializerBase<?>StdContainerSerializers. collectionSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> valueSerializer)static MapSerializerMapSerializer. construct(java.lang.String[] ignoredList, JavaType mapType, boolean staticValueType, TypeSerializer vts, BeanProperty property)Deprecated.As of 1.8; use the variant with more argumentsstatic MapSerializerMapSerializer. construct(java.lang.String[] ignoredList, JavaType mapType, boolean staticValueType, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> keySerializer, JsonSerializer<java.lang.Object> valueSerializer)static JsonSerializer<?>StdContainerSerializers. enumSetSerializer(JavaType enumType, BeanProperty property)static JsonSerializer<java.lang.Object>StdKeySerializers. getStdKeySerializer(JavaType keyType)static ContainerSerializerBase<?>StdContainerSerializers. indexedListSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> valueSerializer)protected booleanJsonValueSerializer. isNaturalTypeWithStdHandling(JavaType type, JsonSerializer<?> ser)static ContainerSerializerBase<?>StdContainerSerializers. iterableSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property)static ContainerSerializerBase<?>StdContainerSerializers. iteratorSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property)Constructors in org.codehaus.jackson.map.ser.std with parameters of type JavaType Constructor Description AsArraySerializerBase(java.lang.Class<?> cls, JavaType et, boolean staticTyping, TypeSerializer vts, BeanProperty property)Deprecated.since 1.8AsArraySerializerBase(java.lang.Class<?> cls, JavaType et, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> elementSerializer)BeanSerializerBase(JavaType type, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties, AnyGetterWriter anyGetterWriter, java.lang.Object filterId)CollectionSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> valueSerializer)EnumMapSerializer(JavaType valueType, boolean staticTyping, EnumValues keyEnums, TypeSerializer vts, BeanProperty property)Deprecated.Since 1.8, use variant that takes value serializerEnumMapSerializer(JavaType valueType, boolean staticTyping, EnumValues keyEnums, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> valueSerializer)EnumSetSerializer(JavaType elemType, BeanProperty property)IndexedListSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> valueSerializer)IterableSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property)IteratorSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property)MapSerializer(java.util.HashSet<java.lang.String> ignoredEntries, JavaType keyType, JavaType valueType, boolean valueTypeIsStatic, TypeSerializer vts, JsonSerializer<java.lang.Object> keySerializer, JsonSerializer<java.lang.Object> valueSerializer, BeanProperty property)ObjectArraySerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property)Deprecated.since 1.8ObjectArraySerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<java.lang.Object> elementSerializer)SerializerBase(JavaType type) -
Uses of JavaType in org.codehaus.jackson.map.type
Subclasses of JavaType in org.codehaus.jackson.map.type Modifier and Type Class Description classArrayTypeArray types represent Java arrays, both primitive and object valued.classCollectionLikeTypeType that represents things that act similar toCollection; but may or may not be instances of that interface.classCollectionTypeType that represents Java Collection types (Lists, Sets).classMapLikeTypeType that represents Map-like types; things that consist of key/value pairs but that do not necessarily implementMap, but that do not have enough introspection functionality to allow for some level of generic handling.classMapTypeType that represents "true" Java Map types.classSimpleTypeSimple types are defined as anything other than one of recognized container types (arrays, Collections, Maps).classTypeBaseFields in org.codehaus.jackson.map.type declared as JavaType Modifier and Type Field Description protected JavaTypeArrayType. _componentTypeType of elements in the array.protected JavaTypeTypeBindings. _contextTypeContext type used for resolving all types, if specified.protected JavaTypeCollectionLikeType. _elementTypeType of elements in collectionprotected JavaTypeMapLikeType. _keyTypeType of keys of Map.protected JavaType[]SimpleType. _typeParametersGeneric type arguments for this type.protected JavaTypeMapLikeType. _valueTypeType of values of Map.static JavaTypeTypeBindings. UNBOUNDMarker to use for (temporarily) unbound references.Fields in org.codehaus.jackson.map.type with type parameters of type JavaType Modifier and Type Field Description protected java.util.Map<java.lang.String,JavaType>TypeBindings. _bindingsLazily-instantiated bindings of resolved type parametersMethods in org.codehaus.jackson.map.type that return JavaType Modifier and Type Method Description JavaTypeTypeFactory. _constructType(java.lang.reflect.Type type, TypeBindings context)Factory method that can be used if type information is passed as Java typing returned fromgetGenericXxxmethods (usually for a return or argument type).protected JavaTypeTypeFactory. _fromArrayType(java.lang.reflect.GenericArrayType type, TypeBindings context)protected JavaTypeTypeFactory. _fromClass(java.lang.Class<?> clz, TypeBindings context)protected JavaTypeTypeFactory. _fromParameterizedClass(java.lang.Class<?> clz, java.util.List<JavaType> paramTypes)Method used byTypeParserwhen generics-aware version is constructed.protected JavaTypeTypeFactory. _fromParamType(java.lang.reflect.ParameterizedType type, TypeBindings context)This method deals with parameterized types, that is, first class generic classes.protected JavaTypeTypeFactory. _fromVariable(java.lang.reflect.TypeVariable<?> type, TypeBindings context)protected JavaTypeTypeFactory. _fromWildcard(java.lang.reflect.WildcardType type, TypeBindings context)protected JavaTypeArrayType. _narrow(java.lang.Class<?> subclass)Handling of narrowing conversions for arrays is trickier: for now, it is not even allowed.protected JavaTypeCollectionLikeType. _narrow(java.lang.Class<?> subclass)protected JavaTypeCollectionType. _narrow(java.lang.Class<?> subclass)protected JavaTypeMapLikeType. _narrow(java.lang.Class<?> subclass)protected JavaTypeMapType. _narrow(java.lang.Class<?> subclass)protected JavaTypeSimpleType. _narrow(java.lang.Class<?> subclass)protected JavaTypeTypeFactory. _resolveVariableViaSubTypes(HierarchicType leafType, java.lang.String variableName, TypeBindings bindings)protected JavaTypeTypeFactory. _unknownType()static JavaTypeTypeFactory. arrayType(java.lang.Class<?> elementType)Deprecated.static JavaTypeTypeFactory. arrayType(JavaType elementType)Deprecated.static JavaTypeTypeFactory. collectionType(java.lang.Class<? extends java.util.Collection> collectionType, java.lang.Class<?> elementType)Deprecated.static JavaTypeTypeFactory. collectionType(java.lang.Class<? extends java.util.Collection> collectionType, JavaType elementType)Deprecated.JavaTypeTypeFactory. constructFromCanonical(java.lang.String canonical)Factory method for constructing aJavaTypeout of its canonical representation (seetoCanonical()).JavaTypeTypeFactory. constructParametricType(java.lang.Class<?> parametrized, java.lang.Class<?>... parameterClasses)Factory method for constructingJavaTypethat represents a parameterized type.JavaTypeTypeFactory. constructParametricType(java.lang.Class<?> parametrized, JavaType... parameterTypes)Factory method for constructingJavaTypethat represents a parameterized type.JavaTypeTypeFactory. constructSimpleType(java.lang.Class<?> rawType, JavaType[] parameterTypes)Method for constructing a type instance with specified parameterization.JavaTypeTypeFactory. constructSpecializedType(JavaType baseType, java.lang.Class<?> subclass)Factory method for creating a subtype of given base type, as defined by specified subclass; but retaining generic type information if any.JavaTypeTypeFactory. constructType(java.lang.reflect.Type type)JavaTypeTypeFactory. constructType(java.lang.reflect.Type type, java.lang.Class<?> context)JavaTypeTypeFactory. constructType(java.lang.reflect.Type type, TypeBindings bindings)JavaTypeTypeFactory. constructType(java.lang.reflect.Type type, JavaType context)JavaTypeTypeFactory. constructType(TypeReference<?> typeRef)JavaTypeArrayType. containedType(int index)JavaTypeCollectionLikeType. containedType(int index)JavaTypeMapLikeType. containedType(int index)JavaTypeSimpleType. containedType(int index)static JavaTypeTypeFactory. fastSimpleType(java.lang.Class<?> cls)Deprecated.static JavaType[]TypeFactory. findParameterTypes(java.lang.Class<?> clz, java.lang.Class<?> expType)Deprecated.static JavaType[]TypeFactory. findParameterTypes(java.lang.Class<?> clz, java.lang.Class<?> expType, TypeBindings bindings)Deprecated.static JavaType[]TypeFactory. findParameterTypes(JavaType type, java.lang.Class<?> expType)Deprecated.JavaTypeTypeBindings. findType(java.lang.String name)JavaType[]TypeFactory. findTypeParameters(java.lang.Class<?> clz, java.lang.Class<?> expType)JavaType[]TypeFactory. findTypeParameters(java.lang.Class<?> clz, java.lang.Class<?> expType, TypeBindings bindings)JavaType[]TypeFactory. findTypeParameters(JavaType type, java.lang.Class<?> expType)Method that is to figure out actual type parameters that given class binds to generic types defined by given (generic) interface or class.static JavaTypeTypeFactory. fromCanonical(java.lang.String canonical)static JavaTypeTypeFactory. fromClass(java.lang.Class<?> clz)Deprecated.UseTypeFactory.type(Type)insteadstatic JavaTypeTypeFactory. fromType(java.lang.reflect.Type type)Deprecated.UseTypeFactory.type(Type)insteadstatic JavaTypeTypeFactory. fromTypeReference(TypeReference<?> ref)Deprecated.UseTypeFactory.type(Type)insteadJavaTypeArrayType. getContentType()JavaTypeCollectionLikeType. getContentType()JavaTypeMapLikeType. getContentType()JavaTypeMapLikeType. getKeyType()static JavaTypeTypeFactory. mapType(java.lang.Class<? extends java.util.Map> mapClass, java.lang.Class<?> keyType, java.lang.Class<?> valueType)Deprecated.static JavaTypeTypeFactory. mapType(java.lang.Class<? extends java.util.Map> mapType, JavaType keyType, JavaType valueType)Deprecated.abstract JavaTypeTypeModifier. modifyType(JavaType type, java.lang.reflect.Type jdkType, TypeBindings context, TypeFactory typeFactory)Method called to let modifier change constructed type definition.JavaTypeArrayType. narrowContentsBy(java.lang.Class<?> contentClass)For array types, both main type and content type can be modified; but ultimately they are interchangeable.JavaTypeCollectionLikeType. narrowContentsBy(java.lang.Class<?> contentClass)JavaTypeCollectionType. narrowContentsBy(java.lang.Class<?> contentClass)JavaTypeMapLikeType. narrowContentsBy(java.lang.Class<?> contentClass)JavaTypeMapType. narrowContentsBy(java.lang.Class<?> contentClass)JavaTypeSimpleType. narrowContentsBy(java.lang.Class<?> subclass)JavaTypeMapLikeType. narrowKey(java.lang.Class<?> keySubclass)JavaTypeMapType. narrowKey(java.lang.Class<?> keySubclass)static JavaTypeTypeFactory. parametricType(java.lang.Class<?> parametrized, java.lang.Class<?>... parameterClasses)Deprecated.static JavaTypeTypeFactory. parametricType(java.lang.Class<?> parametrized, JavaType... parameterTypes)Deprecated.JavaTypeTypeParser. parse(java.lang.String canonical)protected JavaTypeTypeParser. parseType(org.codehaus.jackson.map.type.TypeParser.MyTokenizer tokens)JavaTypeTypeBindings. resolveType(java.lang.Class<?> cls)JavaTypeTypeBindings. resolveType(java.lang.reflect.Type type)static JavaTypeTypeFactory. specialize(JavaType baseType, java.lang.Class<?> subclass)Deprecated.static JavaTypeTypeFactory. type(java.lang.reflect.Type t)Deprecated.static JavaTypeTypeFactory. type(java.lang.reflect.Type type, java.lang.Class<?> context)Deprecated.static JavaTypeTypeFactory. type(java.lang.reflect.Type type, TypeBindings bindings)Deprecated.static JavaTypeTypeFactory. type(java.lang.reflect.Type type, JavaType context)Deprecated.static JavaTypeTypeFactory. type(TypeReference<?> ref)Deprecated.JavaType[]TypeBindings. typesAsArray()JavaTypeTypeFactory. uncheckedSimpleType(java.lang.Class<?> cls)Method that will force construction of a simple type, without trying to check for more specialized types.static JavaTypeTypeFactory. unknownType()Method for constructing a marker type that indicates missing generic type information, which is handled same as simple type forjava.lang.Object.JavaTypeArrayType. widenContentsBy(java.lang.Class<?> contentClass)JavaTypeCollectionLikeType. widenContentsBy(java.lang.Class<?> contentClass)JavaTypeCollectionType. widenContentsBy(java.lang.Class<?> contentClass)JavaTypeMapLikeType. widenContentsBy(java.lang.Class<?> contentClass)JavaTypeMapType. widenContentsBy(java.lang.Class<?> contentClass)JavaTypeSimpleType. widenContentsBy(java.lang.Class<?> subclass)JavaTypeMapLikeType. widenKey(java.lang.Class<?> keySubclass)JavaTypeMapType. widenKey(java.lang.Class<?> keySubclass)JavaTypeSimpleType. withContentTypeHandler(java.lang.Object h)Methods in org.codehaus.jackson.map.type that return types with arguments of type JavaType Modifier and Type Method Description protected java.util.List<JavaType>TypeParser. parseTypes(org.codehaus.jackson.map.type.TypeParser.MyTokenizer tokens)Methods in org.codehaus.jackson.map.type with parameters of type JavaType Modifier and Type Method Description voidTypeBindings. addBinding(java.lang.String name, JavaType type)static JavaTypeTypeFactory. arrayType(JavaType elementType)Deprecated.static JavaTypeTypeFactory. collectionType(java.lang.Class<? extends java.util.Collection> collectionType, JavaType elementType)Deprecated.static ArrayTypeArrayType. construct(JavaType componentType)Deprecated.Since 1.9, if you must directly instantiate, call method that takes handlersstatic ArrayTypeArrayType. construct(JavaType componentType, java.lang.Object valueHandler, java.lang.Object typeHandler)static CollectionLikeTypeCollectionLikeType. construct(java.lang.Class<?> rawType, JavaType elemT)static CollectionTypeCollectionType. construct(java.lang.Class<?> rawType, JavaType elemT)static MapLikeTypeMapLikeType. construct(java.lang.Class<?> rawType, JavaType keyT, JavaType valueT)static MapTypeMapType. construct(java.lang.Class<?> rawType, JavaType keyT, JavaType valueT)ArrayTypeTypeFactory. constructArrayType(JavaType elementType)Method for constructing anArrayType.CollectionLikeTypeTypeFactory. constructCollectionLikeType(java.lang.Class<?> collectionClass, JavaType elementType)Method for constructing aCollectionLikeType.CollectionTypeTypeFactory. constructCollectionType(java.lang.Class<? extends java.util.Collection> collectionClass, JavaType elementType)Method for constructing aCollectionType.MapLikeTypeTypeFactory. constructMapLikeType(java.lang.Class<?> mapClass, JavaType keyType, JavaType valueType)Method for constructing aMapLikeTypeinstanceMapTypeTypeFactory. constructMapType(java.lang.Class<? extends java.util.Map> mapClass, JavaType keyType, JavaType valueType)Method for constructing aMapTypeinstanceJavaTypeTypeFactory. constructParametricType(java.lang.Class<?> parametrized, JavaType... parameterTypes)Factory method for constructingJavaTypethat represents a parameterized type.JavaTypeTypeFactory. constructSimpleType(java.lang.Class<?> rawType, JavaType[] parameterTypes)Method for constructing a type instance with specified parameterization.JavaTypeTypeFactory. constructSpecializedType(JavaType baseType, java.lang.Class<?> subclass)Factory method for creating a subtype of given base type, as defined by specified subclass; but retaining generic type information if any.JavaTypeTypeFactory. constructType(java.lang.reflect.Type type, JavaType context)static JavaType[]TypeFactory. findParameterTypes(JavaType type, java.lang.Class<?> expType)Deprecated.JavaType[]TypeFactory. findTypeParameters(JavaType type, java.lang.Class<?> expType)Method that is to figure out actual type parameters that given class binds to generic types defined by given (generic) interface or class.static JavaTypeTypeFactory. mapType(java.lang.Class<? extends java.util.Map> mapType, JavaType keyType, JavaType valueType)Deprecated.abstract JavaTypeTypeModifier. modifyType(JavaType type, java.lang.reflect.Type jdkType, TypeBindings context, TypeFactory typeFactory)Method called to let modifier change constructed type definition.static JavaTypeTypeFactory. parametricType(java.lang.Class<?> parametrized, JavaType... parameterTypes)Deprecated.static JavaTypeTypeFactory. specialize(JavaType baseType, java.lang.Class<?> subclass)Deprecated.static JavaTypeTypeFactory. type(java.lang.reflect.Type type, JavaType context)Deprecated.Method parameters in org.codehaus.jackson.map.type with type arguments of type JavaType Modifier and Type Method Description protected JavaTypeTypeFactory. _fromParameterizedClass(java.lang.Class<?> clz, java.util.List<JavaType> paramTypes)Method used byTypeParserwhen generics-aware version is constructed.Constructors in org.codehaus.jackson.map.type with parameters of type JavaType Constructor Description CollectionLikeType(java.lang.Class<?> collT, JavaType elemT)Deprecated.CollectionLikeType(java.lang.Class<?> collT, JavaType elemT, java.lang.Object valueHandler, java.lang.Object typeHandler)MapLikeType(java.lang.Class<?> mapType, JavaType keyT, JavaType valueT)Deprecated.MapLikeType(java.lang.Class<?> mapType, JavaType keyT, JavaType valueT, java.lang.Object valueHandler, java.lang.Object typeHandler)SimpleType(java.lang.Class<?> cls, java.lang.String[] typeNames, JavaType[] typeParams)Deprecated.SimpleType(java.lang.Class<?> cls, java.lang.String[] typeNames, JavaType[] typeParams, java.lang.Object valueHandler, java.lang.Object typeHandler)TypeBindings(TypeFactory typeFactory, JavaType type) -
Uses of JavaType in org.codehaus.jackson.map.util
Fields in org.codehaus.jackson.map.util declared as JavaType Modifier and Type Field Description protected JavaTypeJSONPObject. _serializationTypeOptional static type to use for serialization; if null, runtime type is used.protected JavaTypeJSONWrappedObject. _serializationTypeOptional static type to use for serialization; if null, runtime type is used.Methods in org.codehaus.jackson.map.util that return JavaType Modifier and Type Method Description JavaTypeJSONPObject. getSerializationType()JavaTypeJSONWrappedObject. getSerializationType()Methods in org.codehaus.jackson.map.util with parameters of type JavaType Modifier and Type Method Description SerializedStringRootNameLookup. findRootName(JavaType rootType, MapperConfig<?> config)Constructors in org.codehaus.jackson.map.util with parameters of type JavaType Constructor Description JSONPObject(java.lang.String function, java.lang.Object value, JavaType asType)JSONWrappedObject(java.lang.String prefix, java.lang.String suffix, java.lang.Object value, JavaType asType) -
Uses of JavaType in org.codehaus.jackson.mrbean
Methods in org.codehaus.jackson.mrbean that return JavaType Modifier and Type Method Description JavaTypeAbstractTypeMaterializer. resolveAbstractType(DeserializationConfig config, JavaType type)Methods in org.codehaus.jackson.mrbean with parameters of type JavaType Modifier and Type Method Description JavaTypeAbstractTypeMaterializer. resolveAbstractType(DeserializationConfig config, JavaType type) -
Uses of JavaType in org.codehaus.jackson.type
Methods in org.codehaus.jackson.type that return JavaType Modifier and Type Method Description protected abstract JavaTypeJavaType. _narrow(java.lang.Class<?> subclass)protected JavaTypeJavaType. _widen(java.lang.Class<?> superclass)Default implementation is just to call_narrow(java.lang.Class<?>), since underlying type construction is usually identicalJavaTypeJavaType. containedType(int index)Method for accessing definitions of contained ("child") types.JavaTypeJavaType. forcedNarrowBy(java.lang.Class<?> subclass)More efficient version ofnarrowBy(java.lang.Class<?>), called by internal framework in cases where compatibility checks are to be skipped.JavaTypeJavaType. getContentType()Method for accessing content type of this type, if type has such a thing: simple types do not, structured types do (like arrays, Collections and Maps)JavaTypeJavaType. getKeyType()Method for accessing key type for this type, assuming type has such a concept (only Map types do)JavaTypeJavaType. narrowBy(java.lang.Class<?> subclass)Method that can be called to do a "narrowing" conversions; that is, to return a type with a raw class that is assignable to the raw class of this type.abstract JavaTypeJavaType. narrowContentsBy(java.lang.Class<?> contentClass)JavaTypeJavaType. widenBy(java.lang.Class<?> superclass)Method that can be called to do a "widening" conversions; that is, to return a type with a raw class that could be assigned from this type.abstract JavaTypeJavaType. widenContentsBy(java.lang.Class<?> contentClass)abstract JavaTypeJavaType. withContentTypeHandler(java.lang.Object h)"Copy method" that will construct a new instance that is identical to this instance, except that its content type will have specified type handler assigned.JavaTypeJavaType. withContentValueHandler(java.lang.Object h)abstract JavaTypeJavaType. withTypeHandler(java.lang.Object h)"Copy method" that will construct a new instance that is identical to this instance, except that it will have specified type handler assigned.JavaTypeJavaType. withValueHandler(java.lang.Object h) -
Uses of JavaType in org.codehaus.jackson.xc
Fields in org.codehaus.jackson.xc declared as JavaType Modifier and Type Field Description protected JavaTypeXmlAdapterJsonDeserializer. _valueTypeprotected static JavaTypeXmlAdapterJsonDeserializer. ADAPTER_TYPEMethods in org.codehaus.jackson.xc with parameters of type JavaType Modifier and Type Method Description protected java.lang.Class<?>JaxbAnnotationIntrospector. _doFindDeserializationType(Annotated a, JavaType baseType, java.lang.String propName)java.lang.Class<?>JaxbAnnotationIntrospector. findDeserializationContentType(Annotated a, JavaType baseContentType, java.lang.String propName)java.lang.Class<?>JaxbAnnotationIntrospector. findDeserializationKeyType(Annotated am, JavaType baseKeyType, java.lang.String propName)java.lang.Class<?>JaxbAnnotationIntrospector. findDeserializationType(Annotated a, JavaType baseType, java.lang.String propName)JAXB does allow specifying (more) concrete class for deserialization by using \@XmlElement annotation.TypeResolverBuilder<?>JaxbAnnotationIntrospector. findPropertyContentTypeResolver(MapperConfig<?> config, AnnotatedMember am, JavaType containerType)TypeResolverBuilder<?>JaxbAnnotationIntrospector. findPropertyTypeResolver(MapperConfig<?> config, AnnotatedMember am, JavaType baseType)TypeResolverBuilder<?>JaxbAnnotationIntrospector. findTypeResolver(MapperConfig<?> config, AnnotatedClass ac, JavaType baseType)
-