Class XmlRootNameLookup
java.lang.Object
com.fasterxml.jackson.dataformat.xml.util.XmlRootNameLookup
- All Implemented Interfaces:
Serializable
Helper class used for efficiently finding root element name used with
XML serializations.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QName
If all we get to serialize is a null, there's no way to figure out expected root name; so let's just default to literal"null"
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindRootName
(JavaType rootType, MapperConfig<?> config) findRootName
(Class<?> rootType, MapperConfig<?> config)
-
Field Details
-
ROOT_NAME_FOR_NULL
If all we get to serialize is a null, there's no way to figure out expected root name; so let's just default to literal"null"
.
-
-
Constructor Details
-
XmlRootNameLookup
public XmlRootNameLookup()
-
-
Method Details
-
findRootName
-
findRootName
-