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.13AlternativeAnnotationIntrospectorimplementation that that USED TO build onJaxbAnnotationIntrospectorfromjackson-module-jaxb-annotatinspackage. 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.StringfindNamespace(MapperConfig<?> config, Annotated ann)Deprecated.Method that can be called to figure out generic namespace property for an annotated object.java.lang.BooleanisOutputAsAttribute(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.BooleanisOutputAsCData(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.BooleanisOutputAsText(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, findDeserializationContentConverter, findDeserializationConverter, findDeserializer, findEnumAliases, findEnumNamingStrategy, findEnumValue, findEnumValues, findFilterId, findFormat, findIgnoreUnknownProperties, findImplicitPropertyName, findInjectableValue, findInjectableValueId, findKeyDeserializer, findKeySerializer, findMergeInfo, findNameForDeserialization, findNameForSerialization, findNamingStrategy, findNullSerializer, findObjectIdInfo, findObjectReferenceInfo, findPOJOBuilder, findPOJOBuilderConfig, 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.XmlExtensionsMethod that can be called to figure out generic namespace property for an annotated object.- Specified by:
findNamespacein 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.XmlExtensionsMethod 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:
isOutputAsAttributein interfaceAnnotationIntrospector.XmlExtensions- Parameters:
config- Configuration settings in effectann- Annotated entity to introspect- Returns:
- Null if no indicator found;
TrueorFalseotherwise
-
isOutputAsText
public java.lang.Boolean isOutputAsText(MapperConfig<?> config, Annotated ann)
Deprecated.Description copied from interface:AnnotationIntrospector.XmlExtensionsMethod 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:
isOutputAsTextin interfaceAnnotationIntrospector.XmlExtensions- Parameters:
config- Configuration settings in effectann- Annotated entity to introspect- Returns:
- Null if no indicator found;
TrueorFalseotherwise
-
isOutputAsCData
public java.lang.Boolean isOutputAsCData(MapperConfig<?> config, Annotated ann)
Deprecated.Description copied from interface:AnnotationIntrospector.XmlExtensionsMethod 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:
isOutputAsCDatain interfaceAnnotationIntrospector.XmlExtensions- Parameters:
config- Configuration settings in effectann- Annotated entity to introspect- Returns:
- Null if no indicator found;
TrueorFalseotherwise
-
-