public class RootNameLookup extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected LRUMap<ClassKey,com.fasterxml.jackson.core.SerializableString> |
_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 |
|---|---|
com.fasterxml.jackson.core.SerializableString |
findRootName(Class<?> rootType,
MapperConfig<?> config) |
com.fasterxml.jackson.core.SerializableString |
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)
|
public com.fasterxml.jackson.core.SerializableString findRootName(JavaType rootType, MapperConfig<?> config)
public com.fasterxml.jackson.core.SerializableString findRootName(Class<?> rootType, MapperConfig<?> config)
protected Object readResolve()
Copyright © 2014 FasterXML. All Rights Reserved.