public final class MapType extends MapLikeType
_keyType, _valueType_asStatic, _class, _hash, _typeHandler, _valueHandler| Modifier and Type | Method and Description |
|---|---|
protected JavaType |
_narrow(Class<?> subclass) |
static MapType |
construct(Class<?> rawType,
JavaType keyT,
JavaType valueT) |
JavaType |
narrowContentsBy(Class<?> contentClass) |
JavaType |
narrowKey(Class<?> keySubclass) |
String |
toString() |
JavaType |
widenContentsBy(Class<?> contentClass) |
JavaType |
widenKey(Class<?> keySubclass) |
MapType |
withContentTypeHandler(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.
|
MapType |
withContentValueHandler(Object h)
"Copy method" that will construct a new instance that is identical to
this instance, except that it will have specified content value handler assigned.
|
MapType |
withKeyTypeHandler(Object h) |
MapType |
withKeyValueHandler(Object h) |
MapType |
withStaticTyping()
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.
|
MapType |
withTypeHandler(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.
|
MapType |
withValueHandler(Object h)
"Copy method" that will construct a new instance that is identical to
this instance, except that it will have specified value handler assigned.
|
buildCanonicalName, containedType, containedTypeCount, containedTypeName, equals, getContentType, getErasedSignature, getGenericSignature, getKeyType, isContainerType, isMapLikeType, isTrueMapType_classSignature, getTypeHandler, getValueHandler, serialize, serializeWithType, toCanonical_assertSubclass, _widen, forcedNarrowBy, getErasedSignature, getGenericSignature, getRawClass, hasGenericTypes, hashCode, hasRawClass, isAbstract, isArrayType, isCollectionLikeType, isConcrete, isEnumType, isFinal, isInterface, isPrimitive, isThrowable, narrowBy, useStaticType, widenByprotected JavaType _narrow(Class<?> subclass)
_narrow in class MapLikeTypepublic JavaType narrowContentsBy(Class<?> contentClass)
narrowContentsBy in class MapLikeTypepublic JavaType widenContentsBy(Class<?> contentClass)
widenContentsBy in class MapLikeTypepublic JavaType narrowKey(Class<?> keySubclass)
narrowKey in class MapLikeTypepublic JavaType widenKey(Class<?> keySubclass)
widenKey in class MapLikeTypepublic MapType withTypeHandler(Object h)
JavaTypewithTypeHandler in class MapLikeTypepublic MapType withContentTypeHandler(Object h)
JavaTypewithContentTypeHandler in class MapLikeTypepublic MapType withValueHandler(Object h)
JavaTypewithValueHandler in class MapLikeTypepublic MapType withContentValueHandler(Object h)
JavaTypewithContentValueHandler in class MapLikeTypepublic MapType withStaticTyping()
JavaTypewithStaticTyping in class MapLikeTypepublic MapType withKeyTypeHandler(Object h)
withKeyTypeHandler in class MapLikeTypepublic MapType withKeyValueHandler(Object h)
withKeyValueHandler in class MapLikeTypepublic String toString()
toString in class MapLikeTypeCopyright © 2014 FasterXML. All Rights Reserved.