public class RootNameLookup extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected LRUMap<ClassKey,PropertyName> |
_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 |
---|---|
PropertyName |
findRootName(Class<?> rootType,
MapperConfig<?> config) |
PropertyName |
findRootName(JavaType rootType,
MapperConfig<?> config) |
protected Object |
readResolve()
Need to override to reproduce cache object via constructor, instead
of serialize/deserialize (since we do NOT want to retain cached data)
|
protected transient LRUMap<ClassKey,PropertyName> _rootNames
public PropertyName findRootName(JavaType rootType, MapperConfig<?> config)
public PropertyName findRootName(Class<?> rootType, MapperConfig<?> config)
protected Object readResolve()
Copyright © 2014-2015 FasterXML. All Rights Reserved.