public static class XmlAnnotationIntrospector.JaxbWrapper extends Object implements XmlAnnotationIntrospector
JaxbAnnotationIntrospector as
XmlAnnotationIntrospector: something we can not (alas!)
do in JAXB module because of dependency direction (JAXB module
has no knowledge of this module).XmlAnnotationIntrospector.JaxbWrapper, XmlAnnotationIntrospector.Pair| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector |
_intr |
| Constructor and Description |
|---|
XmlAnnotationIntrospector.JaxbWrapper(com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector i) |
| 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) |
protected final com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector _intr
public XmlAnnotationIntrospector.JaxbWrapper(com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector i)
public String findNamespace(com.fasterxml.jackson.databind.introspect.Annotated ann)
XmlAnnotationIntrospectorfindNamespace in interface XmlAnnotationIntrospectorpublic Boolean isOutputAsAttribute(com.fasterxml.jackson.databind.introspect.Annotated ann)
XmlAnnotationIntrospectorisOutputAsAttribute in interface XmlAnnotationIntrospectorpublic Boolean isOutputAsText(com.fasterxml.jackson.databind.introspect.Annotated ann)
XmlAnnotationIntrospectorisOutputAsText in interface XmlAnnotationIntrospectorpublic Boolean isOutputAsCData(com.fasterxml.jackson.databind.introspect.Annotated ann)
XmlAnnotationIntrospectorisOutputAsCData in interface XmlAnnotationIntrospectorpublic void setDefaultUseWrapper(boolean b)
setDefaultUseWrapper in interface XmlAnnotationIntrospectorCopyright © 2017 FasterXML. All rights reserved.