Top Description Methods
com.fasterxml.jackson.dataformat.xml.deser

public Interface ElementWrappable

Known Direct Implementers
com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser
Imports
java.util.Set

Minimal API to be implemented by XML-backed parsers for which "virtual" wrapping may be imposed.

Note

this method is considered part of internal implementation interface, and it is NOT guaranteed to remain unchanged between minor versions (it is however expected not to change in patch versions). So if you have to use it, be prepared for possible additional work.

Since
2.15

Method Summary

Modifier and TypeMethod and Description
public void
addVirtualWrapping(Set<String> namesToWrap0, boolean caseInsensitive)

Method that may be called to indicate that specified names (only local parts retained currently: this may be changed in future) should be considered "auto-wrapping", meaning that they will be doubled to contain two opening elements, two matching closing elements.

Method Detail

addVirtualWrappingback to summary
public void addVirtualWrapping(Set<String> namesToWrap0, boolean caseInsensitive)

Method that may be called to indicate that specified names (only local parts retained currently: this may be changed in future) should be considered "auto-wrapping", meaning that they will be doubled to contain two opening elements, two matching closing elements. This is needed for supporting handling of so-called "unwrapped" array types, something XML mappings like JAXB often use.