public class XmlJaxbAnnotationIntrospector extends com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector implements XmlAnnotationIntrospector
AnnotationIntrospector
implementation that
builds on JaxbAnnotationIntrospector
.
NOTE: since version 2.4, it may NOT be necessary to use this class;
instead, plain JaxbAnnotationIntrospector
should fully work.
With previous versions some aspects were not fully working and this
class was necessary.
com.fasterxml.jackson.databind.AnnotationIntrospector.ReferenceProperty
XmlAnnotationIntrospector.JaxbWrapper, XmlAnnotationIntrospector.Pair
_dataHandlerDeserializer, _dataHandlerSerializer, _ignoreXmlIDREF, _jaxbPackageName, _nonNillableInclusion, _typeFactory, _xmlValueName, DEFAULT_IGNORE_XMLIDREF, DEFAULT_NAME_FOR_XML_VALUE, FORMAT_INT, FORMAT_STRING, MARKER_FOR_DEFAULT
Constructor and Description |
---|
XmlJaxbAnnotationIntrospector()
Deprecated.
|
XmlJaxbAnnotationIntrospector(com.fasterxml.jackson.databind.type.TypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
String |
findNamespace(com.fasterxml.jackson.databind.introspect.Annotated ann)
Method that can be called to figure out generic namespace
property for an annotated object.
|
Boolean |
isOutputAsAttribute(com.fasterxml.jackson.databind.introspect.Annotated ann)
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 (as element)
|
Boolean |
isOutputAsCData(com.fasterxml.jackson.databind.introspect.Annotated ann)
Method used to check whether given annotated element
(field, method, constructor parameter) has indicator that suggests
it should be wrapped in a CDATA tag.
|
Boolean |
isOutputAsText(com.fasterxml.jackson.databind.introspect.Annotated ann)
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.
|
void |
setDefaultUseWrapper(boolean b) |
_converter, _doFindDeserializationType, _findContentAdapter, _fullDeserializationType, _fullSerializationType, _getTypeFromXmlElement, _propertyNameToString, _rawDeserializationType, _rawSerializationType, _typeResolverFromXmlElements, findAccessType, findAutoDetectVisibility, findContentDeserializer, findContentSerializer, findDeserializationContentConverter, findDeserializationConverter, findDeserializer, findEnumValues, findFormat, findImplicitPropertyName, findKeyDeserializer, findNameForDeserialization, findNameForSerialization, findObjectIdInfo, findObjectReferenceInfo, findPropertyContentTypeResolver, findPropertyInclusion, findPropertyTypeResolver, findRootName, findSerializationContentConverter, findSerializationConverter, findSerializationPropertyOrder, findSerializationSortAlphabetically, findSerializationType, findSerializer, findSubtypes, findTypeName, findTypeResolver, findWrapperName, getNameUsedForXmlValue, getNonNillableInclusion, getTypeFactory, hasAsValueAnnotation, hasIgnoreMarker, hasRequiredMarker, isIgnorableType, isJAXBAnnotation, refineDeserializationType, refineSerializationType, setNameUsedForXmlValue, setNonNillableInclusion, version
_findAnnotation, _hasAnnotation, _hasOneOf, allIntrospectors, allIntrospectors, findAndAddVirtualProperties, findClassDescription, findCreatorAnnotation, findCreatorBinding, findDefaultEnumValue, findDeserializationContentType, findDeserializationKeyType, findDeserializationType, findEnumValue, findFilterId, findIgnoreUnknownProperties, findInjectableValue, findInjectableValueId, findKeySerializer, findMergeInfo, findNamingStrategy, findNullSerializer, findPOJOBuilder, findPOJOBuilderConfig, findPropertiesToIgnore, findPropertiesToIgnore, findPropertyAccess, findPropertyAliases, findPropertyDefaultValue, findPropertyDescription, findPropertyIgnorals, findPropertyIndex, findReferenceType, findSerializationContentType, findSerializationInclusion, findSerializationInclusionForContent, findSerializationKeyType, findSerializationTyping, findSetterInfo, findUnwrappingNameTransformer, findValueInstantiator, findViews, hasAnyGetter, hasAnyGetterAnnotation, hasAnySetter, hasAnySetterAnnotation, hasAsValue, hasCreatorAnnotation, isAnnotationBundle, isTypeId, nopInstance, pair, resolveSetterConflict
@Deprecated public XmlJaxbAnnotationIntrospector()
public XmlJaxbAnnotationIntrospector(com.fasterxml.jackson.databind.type.TypeFactory typeFactory)
public String findNamespace(com.fasterxml.jackson.databind.introspect.Annotated ann)
XmlAnnotationIntrospector
findNamespace
in interface XmlAnnotationIntrospector
findNamespace
in class com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector
public Boolean isOutputAsAttribute(com.fasterxml.jackson.databind.introspect.Annotated ann)
XmlAnnotationIntrospector
isOutputAsAttribute
in interface XmlAnnotationIntrospector
isOutputAsAttribute
in class com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector
public Boolean isOutputAsText(com.fasterxml.jackson.databind.introspect.Annotated ann)
XmlAnnotationIntrospector
isOutputAsText
in interface XmlAnnotationIntrospector
isOutputAsText
in class com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector
public Boolean isOutputAsCData(com.fasterxml.jackson.databind.introspect.Annotated ann)
XmlAnnotationIntrospector
isOutputAsCData
in interface XmlAnnotationIntrospector
public void setDefaultUseWrapper(boolean b)
setDefaultUseWrapper
in interface XmlAnnotationIntrospector
Copyright © 2017 FasterXML. All rights reserved.