java.lang.Object
tools.jackson.databind.AnnotationIntrospector
tools.jackson.module.jaxb.JaxbAnnotationIntrospector
- All Implemented Interfaces:
Serializable,tools.jackson.core.Versioned,tools.jackson.databind.AnnotationIntrospector.XmlExtensions
public class JaxbAnnotationIntrospector
extends tools.jackson.databind.AnnotationIntrospector
implements tools.jackson.databind.AnnotationIntrospector.XmlExtensions, tools.jackson.core.Versioned
Annotation introspector that leverages JAXB annotations where applicable to JSON mapping.
As of Jackson 2.0, most JAXB annotations are supported at least to some degree.
Ones that are NOT yet supported are:
XmlAnyAttributenot supported; possible (if unlikely) to be used (as an alias for@JsonAnySetter)XmlAnyElementnot supported; unlikely to ever be supported.XmlAttachmentRef: JSON does not support external attachmentsXmlElementDeclXmlElementRefsbecause Jackson doesn't have any support for 'named' collection items; some parts could theoretically be supportedXmlInlineBinaryDatasince the underlying concepts (like XOP) do not exist in JSON -- Jackson will always use inline base64 encoding as the methodXmlListbecause JSON does not have (or necessarily need) method of serializing list of values as space-separated StringsXmlMimeTypeXmlMixedsince JSON has no concept of mixed contentXmlRegistrynot supported, unlikely to ever be.XmlSchemanot supported, unlikely to ever be.XmlSchemaTypenot supported, unlikely to ever be.XmlSchemaTypesnot supported, unlikely to ever be.XmlSeeAlsonot supported.
- Any property annotated with
XmlValuewill have implicit property named 'value' on its JSON object; although it should be possible to override this name
- Author:
- Ryan Heaton, Tatu Saloranta
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.AnnotationIntrospector
tools.jackson.databind.AnnotationIntrospector.ReferenceProperty, tools.jackson.databind.AnnotationIntrospector.XmlExtensions -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final tools.jackson.databind.ValueDeserializer<?>protected final tools.jackson.databind.ValueSerializer<?>protected final booleanprotected final Stringprotected com.fasterxml.jackson.annotation.JsonInclude.IncludeInclusion value to return for properties annotated withXmlElementandXmlElementWrapper, in casenillableproperty is left asfalse.protected StringWhen usingXmlValueannotation, a placeholder name is assigned to property (unless overridden by explicit name); this configuration value specified what that name is.protected static final booleanprotected static final Stringprotected static final com.fasterxml.jackson.annotation.JsonFormat.Valueprotected static final com.fasterxml.jackson.annotation.JsonFormat.Valueprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_converter(tools.jackson.databind.cfg.MapperConfig<?> config, javax.xml.bind.annotation.adapters.XmlAdapter<?, ?> adapter, boolean forSerialization) protected String_decapitalize(String name) protected Class<?>_doFindDeserializationType(tools.jackson.databind.introspect.Annotated a, tools.jackson.databind.JavaType baseType) protected javax.xml.bind.annotation.adapters.XmlAdapter<?,?> _findContentAdapter(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann, boolean forSerialization) protected tools.jackson.databind.JavaType_fullDeserializationType(tools.jackson.databind.introspect.AnnotatedMember am) protected tools.jackson.databind.JavaType_fullSerializationType(tools.jackson.databind.introspect.AnnotatedMember am) protected Class<?>_getTypeFromXmlElement(tools.jackson.databind.introspect.Annotated a) protected String_okNameForGetter(tools.jackson.databind.introspect.AnnotatedMethod am) protected String_okNameForMutator(tools.jackson.databind.introspect.AnnotatedMethod am) protected String_propertyNameToString(tools.jackson.databind.PropertyName n) protected Class<?>_rawDeserializationType(tools.jackson.databind.introspect.Annotated a) protected Class<?>_rawSerializationType(tools.jackson.databind.introspect.Annotated a) protected String_stdManglePropertyName(String basename, int offset) protected javax.xml.bind.annotation.XmlAccessTypefindAccessType(tools.jackson.databind.introspect.Annotated ac) Method for locating JAXBXmlAccessTypeannotation value for given annotated entity, if it has one, or inherits one from its ancestors (in JAXB sense, package etc).tools.jackson.databind.introspect.VisibilityCheckerfindAutoDetectVisibility(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedClass ac, tools.jackson.databind.introspect.VisibilityChecker checker) findContentDeserializer(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) findContentSerializer(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) findDeserializationContentConverter(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedMember a) findDeserializationConverter(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) findDeserializer(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated am) String[]findEnumValues(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedClass annotatedClass, Enum<?>[] enumValues, String[] names) com.fasterxml.jackson.annotation.JsonFormat.ValuefindFormat(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated m) findImplicitPropertyName(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedMember m) findKeyDeserializer(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated am) tools.jackson.databind.PropertyNamefindNameForDeserialization(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) tools.jackson.databind.PropertyNamefindNameForSerialization(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) findNamespace(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) tools.jackson.databind.introspect.ObjectIdInfofindObjectIdInfo(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) tools.jackson.databind.introspect.ObjectIdInfofindObjectReferenceInfo(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann, tools.jackson.databind.introspect.ObjectIdInfo base) com.fasterxml.jackson.annotation.JsonTypeInfo.ValuefindPolymorphicTypeInfo(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) com.fasterxml.jackson.annotation.JsonInclude.ValuefindPropertyInclusion(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) tools.jackson.databind.PropertyNamefindRootName(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedClass ac) findSerializationContentConverter(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedMember a) findSerializationConverter(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) String[]findSerializationPropertyOrder(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedClass ac) findSerializationSortAlphabetically(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) tools.jackson.databind.ValueSerializer<?>findSerializer(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated am) List<tools.jackson.databind.jsontype.NamedType>findSubtypes(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) findTypeName(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedClass ac) tools.jackson.databind.PropertyNamefindWrapperName(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) Accessor for getting currently configured placeholder named used for property annotated withXmlValue.com.fasterxml.jackson.annotation.JsonInclude.IncludebooleanhasIgnoreMarker(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedMember m) hasRequiredMarker(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedMember m) isIgnorableType(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedClass ac) protected booleanAn annotation is handled if it's in the same package as @XmlElement, including subpackages.isOutputAsAttribute(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) Here we assume fairly simple logic; if there isXmlAttributeto be found, we consider it an attribute; ifXmlElement, not-an-attribute; and otherwise we will consider there to be no information.isOutputAsCData(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) isOutputAsText(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) tools.jackson.databind.JavaTyperefineDeserializationType(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a, tools.jackson.databind.JavaType baseType) tools.jackson.databind.JavaTyperefineSerializationType(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a, tools.jackson.databind.JavaType baseType) voidsetNameUsedForXmlValue(String name) Configuration method that can be used to change default name ("value") used for properties annotated withXmlValue; note that setting it tonullwill actually avoid name override, and name will instead be derived from underlying method name using standard bean name introspection.setNonNillableInclusion(com.fasterxml.jackson.annotation.JsonInclude.Include incl) Method to call to change inclusion criteria used for property annotated withXmlElementorXmlElementWrapper, withnillableset asfalse.tools.jackson.core.Versionversion()Method that will return version information stored in and read from jar that contains this class.Methods inherited from class tools.jackson.databind.AnnotationIntrospector
_findAnnotation, _hasAnnotation, _hasOneOf, allIntrospectors, allIntrospectors, findAndAddVirtualProperties, findBuilderPrefix, findClassDescription, findCreatorAnnotation, findDefaultEnumValue, findEnumAliases, findEnumNamingStrategy, findFilterId, findInjectableValue, findKeySerializer, findMergeInfo, findNamingStrategy, findNullSerializer, findPOJOBuilder, findPOJOBuilderConfig, findPreferredCreator, findPropertyAccess, findPropertyAliases, findPropertyDefaultValue, findPropertyDescription, findPropertyIgnoralByName, findPropertyInclusionByName, findPropertyIndex, findReferenceType, findRenameByField, findSerializationTyping, findSetterInfo, findTypeIdResolver, findTypeResolverBuilder, findUnwrappingNameTransformer, findValueInstantiator, findViews, hasAnyGetter, hasAnySetter, hasAsKey, hasAsValue, isAnnotationBundle, isTypeId, nopInstance, pair, resolveSetterConflict
-
Field Details
-
DEFAULT_NAME_FOR_XML_VALUE
- See Also:
-
DEFAULT_IGNORE_XMLIDREF
protected static final boolean DEFAULT_IGNORE_XMLIDREF- See Also:
-
MARKER_FOR_DEFAULT
- See Also:
-
FORMAT_STRING
protected static final com.fasterxml.jackson.annotation.JsonFormat.Value FORMAT_STRING -
FORMAT_INT
protected static final com.fasterxml.jackson.annotation.JsonFormat.Value FORMAT_INT -
_jaxbPackageName
-
_dataHandlerSerializer
protected final tools.jackson.databind.ValueSerializer<?> _dataHandlerSerializer -
_dataHandlerDeserializer
protected final tools.jackson.databind.ValueDeserializer<?> _dataHandlerDeserializer -
_ignoreXmlIDREF
protected final boolean _ignoreXmlIDREF -
_xmlValueName
When usingXmlValueannotation, a placeholder name is assigned to property (unless overridden by explicit name); this configuration value specified what that name is. -
_nonNillableInclusion
protected com.fasterxml.jackson.annotation.JsonInclude.Include _nonNillableInclusionInclusion value to return for properties annotated withXmlElementandXmlElementWrapper, in casenillableproperty is left asfalse. Default setting isnull; this is typically changed to eitherJsonInclude.Include.NON_NULLorJsonInclude.Include.NON_EMPTY.
-
-
Constructor Details
-
JaxbAnnotationIntrospector
public JaxbAnnotationIntrospector() -
JaxbAnnotationIntrospector
public JaxbAnnotationIntrospector(boolean ignoreXmlIDREF) - Parameters:
ignoreXmlIDREF- WhetherXmlIDREFannotation should be processed JAXB style (meaning that references are always serialized using id), or not (first reference as full POJO, others as ids)
-
-
Method Details
-
version
public tools.jackson.core.Version version()Method that will return version information stored in and read from jar that contains this class.- Specified by:
versionin interfacetools.jackson.core.Versioned- Specified by:
versionin classtools.jackson.databind.AnnotationIntrospector
-
setNameUsedForXmlValue
Configuration method that can be used to change default name ("value") used for properties annotated withXmlValue; note that setting it tonullwill actually avoid name override, and name will instead be derived from underlying method name using standard bean name introspection.- Since:
- 2.5
-
getNameUsedForXmlValue
Accessor for getting currently configured placeholder named used for property annotated withXmlValue. -
setNonNillableInclusion
public JaxbAnnotationIntrospector setNonNillableInclusion(com.fasterxml.jackson.annotation.JsonInclude.Include incl) Method to call to change inclusion criteria used for property annotated withXmlElementorXmlElementWrapper, withnillableset asfalse. -
getNonNillableInclusion
public com.fasterxml.jackson.annotation.JsonInclude.Include getNonNillableInclusion() -
findNamespace
public String findNamespace(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) - Specified by:
findNamespacein interfacetools.jackson.databind.AnnotationIntrospector.XmlExtensions
-
isOutputAsAttribute
public Boolean isOutputAsAttribute(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) Here we assume fairly simple logic; if there isXmlAttributeto be found, we consider it an attribute; ifXmlElement, not-an-attribute; and otherwise we will consider there to be no information. Caller is likely to default to considering things as elements.- Specified by:
isOutputAsAttributein interfacetools.jackson.databind.AnnotationIntrospector.XmlExtensions
-
isOutputAsText
public Boolean isOutputAsText(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) - Specified by:
isOutputAsTextin interfacetools.jackson.databind.AnnotationIntrospector.XmlExtensions
-
isOutputAsCData
public Boolean isOutputAsCData(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) - Specified by:
isOutputAsCDatain interfacetools.jackson.databind.AnnotationIntrospector.XmlExtensions
-
findObjectIdInfo
public tools.jackson.databind.introspect.ObjectIdInfo findObjectIdInfo(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) - Overrides:
findObjectIdInfoin classtools.jackson.databind.AnnotationIntrospector
-
findObjectReferenceInfo
public tools.jackson.databind.introspect.ObjectIdInfo findObjectReferenceInfo(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann, tools.jackson.databind.introspect.ObjectIdInfo base) - Overrides:
findObjectReferenceInfoin classtools.jackson.databind.AnnotationIntrospector
-
findRootName
public tools.jackson.databind.PropertyName findRootName(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedClass ac) - Overrides:
findRootNamein classtools.jackson.databind.AnnotationIntrospector
-
isIgnorableType
public Boolean isIgnorableType(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedClass ac) - Overrides:
isIgnorableTypein classtools.jackson.databind.AnnotationIntrospector
-
hasIgnoreMarker
public boolean hasIgnoreMarker(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedMember m) - Overrides:
hasIgnoreMarkerin classtools.jackson.databind.AnnotationIntrospector
-
hasRequiredMarker
public Boolean hasRequiredMarker(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedMember m) - Overrides:
hasRequiredMarkerin classtools.jackson.databind.AnnotationIntrospector
-
findWrapperName
public tools.jackson.databind.PropertyName findWrapperName(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) - Overrides:
findWrapperNamein classtools.jackson.databind.AnnotationIntrospector
-
findImplicitPropertyName
public String findImplicitPropertyName(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedMember m) - Overrides:
findImplicitPropertyNamein classtools.jackson.databind.AnnotationIntrospector
-
findFormat
public com.fasterxml.jackson.annotation.JsonFormat.Value findFormat(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated m) - Overrides:
findFormatin classtools.jackson.databind.AnnotationIntrospector
-
findAutoDetectVisibility
public tools.jackson.databind.introspect.VisibilityChecker findAutoDetectVisibility(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedClass ac, tools.jackson.databind.introspect.VisibilityChecker checker) - Overrides:
findAutoDetectVisibilityin classtools.jackson.databind.AnnotationIntrospector
-
findAccessType
protected javax.xml.bind.annotation.XmlAccessType findAccessType(tools.jackson.databind.introspect.Annotated ac) Method for locating JAXBXmlAccessTypeannotation value for given annotated entity, if it has one, or inherits one from its ancestors (in JAXB sense, package etc). Returns null if nothing has been explicitly defined. -
findPolymorphicTypeInfo
public com.fasterxml.jackson.annotation.JsonTypeInfo.Value findPolymorphicTypeInfo(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) - Overrides:
findPolymorphicTypeInfoin classtools.jackson.databind.AnnotationIntrospector
-
findSubtypes
public List<tools.jackson.databind.jsontype.NamedType> findSubtypes(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) - Overrides:
findSubtypesin classtools.jackson.databind.AnnotationIntrospector
-
findTypeName
public String findTypeName(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedClass ac) - Overrides:
findTypeNamein classtools.jackson.databind.AnnotationIntrospector
-
findSerializer
public tools.jackson.databind.ValueSerializer<?> findSerializer(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated am) - Overrides:
findSerializerin classtools.jackson.databind.AnnotationIntrospector
-
findContentSerializer
public Object findContentSerializer(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) - Overrides:
findContentSerializerin classtools.jackson.databind.AnnotationIntrospector
-
findPropertyInclusion
public com.fasterxml.jackson.annotation.JsonInclude.Value findPropertyInclusion(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) - Overrides:
findPropertyInclusionin classtools.jackson.databind.AnnotationIntrospector
-
refineSerializationType
public tools.jackson.databind.JavaType refineSerializationType(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a, tools.jackson.databind.JavaType baseType) - Overrides:
refineSerializationTypein classtools.jackson.databind.AnnotationIntrospector
-
findSerializationPropertyOrder
public String[] findSerializationPropertyOrder(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedClass ac) - Overrides:
findSerializationPropertyOrderin classtools.jackson.databind.AnnotationIntrospector
-
findSerializationSortAlphabetically
public Boolean findSerializationSortAlphabetically(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann) - Overrides:
findSerializationSortAlphabeticallyin classtools.jackson.databind.AnnotationIntrospector
-
findSerializationConverter
public Object findSerializationConverter(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) - Overrides:
findSerializationConverterin classtools.jackson.databind.AnnotationIntrospector
-
findSerializationContentConverter
public Object findSerializationContentConverter(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedMember a) - Overrides:
findSerializationContentConverterin classtools.jackson.databind.AnnotationIntrospector
-
findNameForSerialization
public tools.jackson.databind.PropertyName findNameForSerialization(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) - Overrides:
findNameForSerializationin classtools.jackson.databind.AnnotationIntrospector
-
findEnumValues
public String[] findEnumValues(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedClass annotatedClass, Enum<?>[] enumValues, String[] names) - Overrides:
findEnumValuesin classtools.jackson.databind.AnnotationIntrospector- Since:
- 2.16
- See Also:
-
JacksonAnnotationIntrospector.findEnumValues(MapperConfig, AnnotatedClass, Enum[], String[])
-
findDeserializer
public Object findDeserializer(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated am) - Overrides:
findDeserializerin classtools.jackson.databind.AnnotationIntrospector
-
findKeyDeserializer
public Object findKeyDeserializer(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated am) - Overrides:
findKeyDeserializerin classtools.jackson.databind.AnnotationIntrospector
-
findContentDeserializer
public Object findContentDeserializer(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) - Overrides:
findContentDeserializerin classtools.jackson.databind.AnnotationIntrospector
-
_doFindDeserializationType
protected Class<?> _doFindDeserializationType(tools.jackson.databind.introspect.Annotated a, tools.jackson.databind.JavaType baseType) -
refineDeserializationType
public tools.jackson.databind.JavaType refineDeserializationType(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a, tools.jackson.databind.JavaType baseType) - Overrides:
refineDeserializationTypein classtools.jackson.databind.AnnotationIntrospector
-
findNameForDeserialization
public tools.jackson.databind.PropertyName findNameForDeserialization(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) - Overrides:
findNameForDeserializationin classtools.jackson.databind.AnnotationIntrospector
-
findDeserializationConverter
public Object findDeserializationConverter(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated a) - Overrides:
findDeserializationConverterin classtools.jackson.databind.AnnotationIntrospector
-
findDeserializationContentConverter
public Object findDeserializationContentConverter(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.AnnotatedMember a) - Overrides:
findDeserializationContentConverterin classtools.jackson.databind.AnnotationIntrospector
-
isJAXBAnnotation
An annotation is handled if it's in the same package as @XmlElement, including subpackages.- Parameters:
ann- The annotation.- Returns:
- Whether the annotation is in the JAXB package.
-
_findContentAdapter
protected javax.xml.bind.annotation.adapters.XmlAdapter<?,?> _findContentAdapter(tools.jackson.databind.cfg.MapperConfig<?> config, tools.jackson.databind.introspect.Annotated ann, boolean forSerialization) -
_propertyNameToString
-
_rawDeserializationType
-
_fullDeserializationType
protected tools.jackson.databind.JavaType _fullDeserializationType(tools.jackson.databind.introspect.AnnotatedMember am) -
_rawSerializationType
-
_fullSerializationType
protected tools.jackson.databind.JavaType _fullSerializationType(tools.jackson.databind.introspect.AnnotatedMember am) -
_converter
-
_getTypeFromXmlElement
-
_okNameForGetter
-
_okNameForMutator
-
_stdManglePropertyName
-
_decapitalize
-