public interface XmlAnnotationIntrospector
AnnotationIntrospector
to handle XML-specific configuration.Modifier and Type | Interface and Description |
---|---|
static class |
XmlAnnotationIntrospector.JaxbWrapper
Wrapper we need to adapt
JaxbAnnotationIntrospector as
XmlAnnotationIntrospector : something we can not (alas!)
do in JAXB module because of dependency direction (JAXB module
has no knowledge of this module). |
static class |
XmlAnnotationIntrospector.Pair
Extension of
AnnotationIntrospector.Pair that can
also dispatch 'XmlAnnotationIntrospector' methods. |
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) |
String findNamespace(com.fasterxml.jackson.databind.introspect.Annotated ann)
Boolean isOutputAsAttribute(com.fasterxml.jackson.databind.introspect.Annotated ann)
Boolean isOutputAsText(com.fasterxml.jackson.databind.introspect.Annotated ann)
Boolean isOutputAsCData(com.fasterxml.jackson.databind.introspect.Annotated ann)
void setDefaultUseWrapper(boolean b)
Copyright © 2017 FasterXML. All rights reserved.