| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| private | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static MapType | |
| public static MapType | construct(Class<?> rawType, JavaType keyT, JavaType valueT)
Hides com.
Deprecated
|
| public JavaType | refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces)
Overrides com. Mutant factory method that will try to create and return a sub-type instance for known parameterized types; for other types will return `null` to indicate that no just refinement makes necessary sense, without trying to detect special status through implemented interfaces. |
| public String | toString()
Overrides com. Returns a string representation of the object. |
| public JavaType | withContentType(JavaType contentType)
Overrides com. Mutant factory method that may be called on structured types that have a so-called content type (element of arrays, value type of Maps, referenced type of referential types), and will construct a new instance that is identical to this instance, except that it has specified content type, instead of current one. |
| public MapType | withContentTypeHandler(Object
Handler to pass to new instance created h)Overrides com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. |
| public MapType | withContentValueHandler(Object
Handler to pass to new instance created h)Overrides com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. |
| public MapType | |
| public MapType | |
| public MapType | |
| public MapType | withStaticTyping()
Overrides com. Method that can be called to get a type instance that indicates that values of the type should be handled using "static typing" for purposes of serialization (as opposed to "dynamic" aka runtime typing): meaning that no runtime information is needed for determining serializers to use. |
| public MapType | withTypeHandler(Object
Handler to pass to new instance created h)Overrides com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. |
| public MapType | withValueHandler(Object
Handler to pass to new instance created h)Overrides com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| MapType | back to summary |
|---|---|
| private MapType(Class<?> mapType, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType keyT, JavaType valueT, Object valueHandler, Object typeHandler, boolean asStatic) | |
| MapType | back to summary |
|---|---|
protected MapType(TypeBase base, JavaType keyT, JavaType valueT)
| |
| construct | back to summary |
|---|---|
public static MapType construct(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInts, JavaType keyT, JavaType valueT)
| |
| construct | back to summary |
|---|---|
| public static MapType construct(Class<?> rawType, JavaType keyT, JavaType valueT) Hides com. Deprecated
| |
| refine | back to summary |
|---|---|
| public JavaType refine(Class<?> rawType, TypeBindings bindings, JavaType superClass, JavaType[] superInterfaces) Overrides com. Doc from com. Mutant factory method that will try to create and return a sub-type instance for known parameterized types; for other types will return `null` to indicate that no just refinement makes necessary sense, without trying to detect special status through implemented interfaces.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| withContentType | back to summary |
|---|---|
| public JavaType withContentType(JavaType contentType) Overrides com. Doc from com. Mutant factory method that may be called on structured types
that have a so-called content type (element of arrays, value type
of Maps, referenced type of referential types),
and will construct a new instance that is identical to
this instance, except that it has specified content type, instead of current
one. If content type is already set to given type, | |
| withContentTypeHandler | back to summary |
|---|---|
| public MapType withContentTypeHandler(Object h) Overrides com. Doc from com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. May be removed from Jackson 3.0. This mutant factory method will construct a new instance that is identical to this instance, except that it will have specified content type (element type for arrays, value type for Maps and so forth) handler assigned. | |
| withContentValueHandler | back to summary |
|---|---|
| public MapType withContentValueHandler(Object h) Overrides com. Doc from com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. May be removed from Jackson 3.0. Mutant factory method that will construct a new instance that is identical to this instance, except that it will have specified content value handler assigned. | |
| withKeyType | back to summary |
|---|---|
| public MapType withKeyType(JavaType keyType) Overrides com.
| |
| withKeyTypeHandler | back to summary |
|---|---|
| public MapType withKeyTypeHandler(Object h) Overrides com.
| |
| withKeyValueHandler | back to summary |
|---|---|
| public MapType withKeyValueHandler(Object h) Overrides com.
| |
| withStaticTyping | back to summary |
|---|---|
| public MapType withStaticTyping() Overrides com. Doc from com. Method that can be called to get a type instance that indicates that values of the type should be handled using "static typing" for purposes of serialization (as opposed to "dynamic" aka runtime typing): meaning that no runtime information is needed for determining serializers to use. The main use case is to allow forcing of specific root value serialization type, and specifically in resolving serializers for contained types (element types for arrays, Collections and Maps).
| |
| withTypeHandler | back to summary |
|---|---|
| public MapType withTypeHandler(Object h) Overrides com. Doc from com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. May be removed from Jackson 3.0. This mutant factory method will construct a new instance that is identical to this instance, except that it will have specified type handler assigned. | |
| withValueHandler | back to summary |
|---|---|
| public MapType withValueHandler(Object h) Overrides com. Doc from com. Internal method that should not be used by any code outside of jackson-databind: only used internally by databind. May be removed from Jackson 3.0. This mutant factory method will construct a new instance that is identical to this instance, except that it will have specified value handler assigned. | |