public class XmlRootNameLookup extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.util.LRUMap<com.fasterxml.jackson.databind.type.ClassKey,QName> |
_rootNames
For efficient operation, let's try to minimize number of times we
need to introspect root element name to use.
|
Constructor and Description |
---|
XmlRootNameLookup() |
Modifier and Type | Method and Description |
---|---|
protected QName |
_findRootName(Class<?> rootType,
com.fasterxml.jackson.databind.cfg.MapperConfig<?> config) |
QName |
findRootName(Class<?> rootType,
com.fasterxml.jackson.databind.cfg.MapperConfig<?> config) |
QName |
findRootName(com.fasterxml.jackson.databind.JavaType rootType,
com.fasterxml.jackson.databind.cfg.MapperConfig<?> config) |
protected Object |
readResolve() |
protected final transient com.fasterxml.jackson.databind.util.LRUMap<com.fasterxml.jackson.databind.type.ClassKey,QName> _rootNames
Note: changed to transient
for 2.3; no point in serializing such
state
protected Object readResolve()
public QName findRootName(com.fasterxml.jackson.databind.JavaType rootType, com.fasterxml.jackson.databind.cfg.MapperConfig<?> config)
public QName findRootName(Class<?> rootType, com.fasterxml.jackson.databind.cfg.MapperConfig<?> config)
Copyright © 2019 FasterXML. All rights reserved.