public class RootNameLookup extends Object implements Serializable
Modifier and Type | Field and 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 and Description |
---|
RootNameLookup() |
Modifier and Type | Method and Description |
---|---|
SerializedString |
findRootName(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(Class<?> rootType, MapperConfig<?> config)
Copyright © 2012-2013 FasterXML. All Rights Reserved.