public static class XmlAnnotationIntrospector.Pair extends com.fasterxml.jackson.databind.introspect.AnnotationIntrospectorPair implements XmlAnnotationIntrospector
AnnotationIntrospector.Pair
that can
also dispatch 'XmlAnnotationIntrospector' methods.com.fasterxml.jackson.databind.AnnotationIntrospector.ReferenceProperty
XmlAnnotationIntrospector.JaxbWrapper, XmlAnnotationIntrospector.Pair
Modifier and Type | Field and Description |
---|---|
protected XmlAnnotationIntrospector |
_xmlPrimary |
protected XmlAnnotationIntrospector |
_xmlSecondary |
Constructor and Description |
---|
XmlAnnotationIntrospector.Pair(com.fasterxml.jackson.databind.AnnotationIntrospector p,
com.fasterxml.jackson.databind.AnnotationIntrospector s) |
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.
|
static XmlAnnotationIntrospector.Pair |
instance(com.fasterxml.jackson.databind.AnnotationIntrospector a1,
com.fasterxml.jackson.databind.AnnotationIntrospector a2) |
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) |
_isExplicitClassOrOb, allIntrospectors, allIntrospectors, create, findAndAddVirtualProperties, findAutoDetectVisibility, findClassDescription, findContentDeserializer, findContentSerializer, findCreatorBinding, findDeserializationContentConverter, findDeserializationContentType, findDeserializationConverter, findDeserializationKeyType, findDeserializationType, findDeserializer, findEnumValue, findEnumValues, findFilterId, findFormat, findIgnoreUnknownProperties, findImplicitPropertyName, findInjectableValueId, findKeyDeserializer, findKeySerializer, findNameForDeserialization, findNameForSerialization, findNamingStrategy, findNullSerializer, findObjectIdInfo, findObjectReferenceInfo, findPOJOBuilder, findPOJOBuilderConfig, findPropertiesToIgnore, findPropertiesToIgnore, findPropertyAccess, findPropertyContentTypeResolver, findPropertyDefaultValue, findPropertyDescription, findPropertyInclusion, findPropertyIndex, findPropertyTypeResolver, findReferenceType, findRootName, findSerializationContentConverter, findSerializationContentType, findSerializationConverter, findSerializationInclusion, findSerializationInclusionForContent, findSerializationKeyType, findSerializationPropertyOrder, findSerializationSortAlphabetically, findSerializationType, findSerializationTyping, findSerializer, findSubtypes, findTypeName, findTypeResolver, findUnwrappingNameTransformer, findValueInstantiator, findViews, findWrapperName, hasAnyGetterAnnotation, hasAnySetterAnnotation, hasAsValueAnnotation, hasCreatorAnnotation, hasIgnoreMarker, hasRequiredMarker, isAnnotationBundle, isIgnorableType, isTypeId, refineDeserializationType, refineSerializationType, resolveSetterConflict, version
protected final XmlAnnotationIntrospector _xmlPrimary
protected final XmlAnnotationIntrospector _xmlSecondary
public XmlAnnotationIntrospector.Pair(com.fasterxml.jackson.databind.AnnotationIntrospector p, com.fasterxml.jackson.databind.AnnotationIntrospector s)
public static XmlAnnotationIntrospector.Pair instance(com.fasterxml.jackson.databind.AnnotationIntrospector a1, com.fasterxml.jackson.databind.AnnotationIntrospector a2)
public String findNamespace(com.fasterxml.jackson.databind.introspect.Annotated ann)
XmlAnnotationIntrospector
findNamespace
in interface XmlAnnotationIntrospector
public Boolean isOutputAsAttribute(com.fasterxml.jackson.databind.introspect.Annotated ann)
XmlAnnotationIntrospector
isOutputAsAttribute
in interface XmlAnnotationIntrospector
public Boolean isOutputAsText(com.fasterxml.jackson.databind.introspect.Annotated ann)
XmlAnnotationIntrospector
isOutputAsText
in interface XmlAnnotationIntrospector
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 © 2016 FasterXML. All rights reserved.