Class TypeSerializerBase
java.lang.Object
org.codehaus.jackson.map.TypeSerializer
org.codehaus.jackson.map.jsontype.impl.TypeSerializerBase
- Direct Known Subclasses:
AsArrayTypeSerializer
,AsExternalTypeSerializer
,AsWrapperTypeSerializer
- Since:
- 1.5
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TypeSerializerBase
(TypeIdResolver idRes, BeanProperty property) -
Method Summary
Modifier and TypeMethodDescriptionName of property that contains type information, if property-based inclusion is used.Accessor for object that handles conversions between types and matching type ids.abstract JsonTypeInfo.As
Accessor for type information inclusion method that serializer uses; indicates how type information is embedded in resulting JSON.Methods inherited from class org.codehaus.jackson.map.TypeSerializer
writeTypePrefixForArray, writeTypePrefixForArray, writeTypePrefixForObject, writeTypePrefixForObject, writeTypePrefixForScalar, writeTypePrefixForScalar, writeTypeSuffixForArray, writeTypeSuffixForObject, writeTypeSuffixForScalar
-
Field Details
-
_idResolver
-
_property
-
-
Constructor Details
-
TypeSerializerBase
-
-
Method Details
-
getTypeInclusion
Description copied from class:TypeSerializer
Accessor for type information inclusion method that serializer uses; indicates how type information is embedded in resulting JSON.- Specified by:
getTypeInclusion
in classTypeSerializer
-
getPropertyName
Description copied from class:TypeSerializer
Name of property that contains type information, if property-based inclusion is used.- Specified by:
getPropertyName
in classTypeSerializer
-
getTypeIdResolver
Description copied from class:TypeSerializer
Accessor for object that handles conversions between types and matching type ids.- Specified by:
getTypeIdResolver
in classTypeSerializer
-