public class RootNameLookup
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected LRUMap<ClassKey,SerializedString> |
_rootNames |
For efficient operation, let's try to minimize number of times we
need to introspect root element name to use.
|
Constructor | Description |
---|---|
RootNameLookup() |
Modifier and Type | Method | Description |
---|---|---|
SerializedString |
findRootName(java.lang.Class<?> rootType,
MapperConfig<?> config) |
|
SerializedString |
findRootName(JavaType rootType,
MapperConfig<?> config) |
protected LRUMap<ClassKey,SerializedString> _rootNames
public SerializedString findRootName(JavaType rootType, MapperConfig<?> config)
public SerializedString findRootName(java.lang.Class<?> rootType, MapperConfig<?> config)