Class XmlJaxbAnnotationIntrospector
- java.lang.Object
-
- com.fasterxml.jackson.databind.AnnotationIntrospector
-
- com.fasterxml.jackson.databind.introspect.NopAnnotationIntrospector
-
- com.fasterxml.jackson.dataformat.xml.jaxb.XmlJaxbAnnotationIntrospector
-
- All Implemented Interfaces:
Versioned
,AnnotationIntrospector.XmlExtensions
,XmlAnnotationIntrospector
,java.io.Serializable
@Deprecated public class XmlJaxbAnnotationIntrospector extends NopAnnotationIntrospector implements XmlAnnotationIntrospector
Deprecated.Since 2.12 (as per above notes): broken since 2.13AlternativeAnnotationIntrospector
implementation that that USED TO build onJaxbAnnotationIntrospector
fromjackson-module-jaxb-annotatins
package. But as of Jackson 2.13, SHOULD NOT BE USED as it DOES NOT WORK. Removal was necessary because XML format package does not (and can not) depend on JAXB annotations. Class WILL BE REMOVED from Jackson 2.14 or later on.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.AnnotationIntrospector
AnnotationIntrospector.ReferenceProperty, AnnotationIntrospector.XmlExtensions
-
Nested classes/interfaces inherited from interface com.fasterxml.jackson.dataformat.xml.XmlAnnotationIntrospector
XmlAnnotationIntrospector.Pair
-
-
Field Summary
-
Fields inherited from class com.fasterxml.jackson.databind.introspect.NopAnnotationIntrospector
instance
-
-
Constructor Summary
Constructors Constructor Description XmlJaxbAnnotationIntrospector()
Deprecated.XmlJaxbAnnotationIntrospector(TypeFactory typeFactory)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
findNamespace(MapperConfig<?> config, Annotated ann)
Deprecated.Method that can be called to figure out generic namespace property for an annotated object.java.lang.Boolean
isOutputAsAttribute(MapperConfig<?> config, Annotated ann)
Deprecated.Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it be output as an XML attribute or not (if not, then as element)java.lang.Boolean
isOutputAsCData(MapperConfig<?> config, Annotated ann)
Deprecated.Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it should be wrapped in a CDATA tag.java.lang.Boolean
isOutputAsText(MapperConfig<?> config, Annotated ann)
Deprecated.Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it should be serialized as text, without element wrapper.-
Methods inherited from class com.fasterxml.jackson.databind.introspect.NopAnnotationIntrospector
version
-
Methods inherited from class com.fasterxml.jackson.databind.AnnotationIntrospector
allIntrospectors, allIntrospectors, findAndAddVirtualProperties, findAutoDetectVisibility, findClassDescription, findContentDeserializer, findContentSerializer, findCreatorAnnotation, findCreatorBinding, findDefaultEnumValue, findDefaultEnumValue, findDeserializationContentConverter, findDeserializationConverter, findDeserializer, findEnumAliases, findEnumAliases, findEnumNamingStrategy, findEnumValue, findEnumValues, findEnumValues, findFilterId, findFormat, findIgnoreUnknownProperties, findImplicitPropertyName, findInjectableValue, findInjectableValueId, findKeyDeserializer, findKeySerializer, findMergeInfo, findNameForDeserialization, findNameForSerialization, findNamingStrategy, findNullSerializer, findObjectIdInfo, findObjectReferenceInfo, findPOJOBuilder, findPOJOBuilderConfig, findPolymorphicTypeInfo, findPropertiesToIgnore, findPropertyAccess, findPropertyAliases, findPropertyContentTypeResolver, findPropertyDefaultValue, findPropertyDescription, findPropertyIgnoralByName, findPropertyIgnorals, findPropertyInclusion, findPropertyInclusionByName, findPropertyIndex, findPropertyTypeResolver, findReferenceType, findRenameByField, findRootName, findSerializationContentConverter, findSerializationConverter, findSerializationPropertyOrder, findSerializationSortAlphabetically, findSerializationTyping, findSerializer, findSetterInfo, findSubtypes, findTypeName, findTypeResolver, findUnwrappingNameTransformer, findValueInstantiator, findViews, findWrapperName, hasAnyGetter, hasAnyGetterAnnotation, hasAnySetter, hasAnySetterAnnotation, hasAsKey, hasAsValue, hasAsValueAnnotation, hasCreatorAnnotation, hasIgnoreMarker, hasRequiredMarker, isAnnotationBundle, isIgnorableType, isTypeId, nopInstance, pair, refineDeserializationType, refineSerializationType, resolveSetterConflict
-
-
-
-
Constructor Detail
-
XmlJaxbAnnotationIntrospector
@Deprecated public XmlJaxbAnnotationIntrospector()
Deprecated.
-
XmlJaxbAnnotationIntrospector
public XmlJaxbAnnotationIntrospector(TypeFactory typeFactory)
Deprecated.
-
-
Method Detail
-
findNamespace
public java.lang.String findNamespace(MapperConfig<?> config, Annotated ann)
Deprecated.Description copied from interface:AnnotationIntrospector.XmlExtensions
Method that can be called to figure out generic namespace property for an annotated object.- Specified by:
findNamespace
in interfaceAnnotationIntrospector.XmlExtensions
- Parameters:
config
- Configuration settings in effectann
- Annotated entity to introspect- Returns:
- Null if annotated thing does not define any namespace information; non-null namespace (which may be empty String) otherwise.
-
isOutputAsAttribute
public java.lang.Boolean isOutputAsAttribute(MapperConfig<?> config, Annotated ann)
Deprecated.Description copied from interface:AnnotationIntrospector.XmlExtensions
Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it be output as an XML attribute or not (if not, then as element)- Specified by:
isOutputAsAttribute
in interfaceAnnotationIntrospector.XmlExtensions
- Parameters:
config
- Configuration settings in effectann
- Annotated entity to introspect- Returns:
- Null if no indicator found;
True
orFalse
otherwise
-
isOutputAsText
public java.lang.Boolean isOutputAsText(MapperConfig<?> config, Annotated ann)
Deprecated.Description copied from interface:AnnotationIntrospector.XmlExtensions
Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it should be serialized as text, without element wrapper.- Specified by:
isOutputAsText
in interfaceAnnotationIntrospector.XmlExtensions
- Parameters:
config
- Configuration settings in effectann
- Annotated entity to introspect- Returns:
- Null if no indicator found;
True
orFalse
otherwise
-
isOutputAsCData
public java.lang.Boolean isOutputAsCData(MapperConfig<?> config, Annotated ann)
Deprecated.Description copied from interface:AnnotationIntrospector.XmlExtensions
Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it should be wrapped in a CDATA tag.- Specified by:
isOutputAsCData
in interfaceAnnotationIntrospector.XmlExtensions
- Parameters:
config
- Configuration settings in effectann
- Annotated entity to introspect- Returns:
- Null if no indicator found;
True
orFalse
otherwise
-
-