public static interface AnnotationIntrospector.XmlExtensions
| Modifier and Type | Method and Description |
|---|---|
String |
findNamespace(MapperConfig<?> config,
Annotated ann)
Method that can be called to figure out generic namespace
property for an annotated object.
|
Boolean |
isOutputAsAttribute(MapperConfig<?> config,
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 (if not, then as element)
|
Boolean |
isOutputAsCData(MapperConfig<?> config,
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(MapperConfig<?> config,
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.
|
String findNamespace(MapperConfig<?> config, Annotated ann)
config - Configuration settings in effectann - Annotated entity to introspectBoolean isOutputAsAttribute(MapperConfig<?> config, Annotated ann)
config - Configuration settings in effectann - Annotated entity to introspectTrue or False otherwiseBoolean isOutputAsText(MapperConfig<?> config, Annotated ann)
config - Configuration settings in effectann - Annotated entity to introspectTrue or False otherwiseBoolean isOutputAsCData(MapperConfig<?> config, Annotated ann)
config - Configuration settings in effectann - Annotated entity to introspectTrue or False otherwiseCopyright © 2008–2021 FasterXML. All rights reserved.