Package org.codehaus.jackson.map.util
Class RootNameLookup
- java.lang.Object
-
- org.codehaus.jackson.map.util.RootNameLookup
-
public class RootNameLookup extends java.lang.Object
Helper class for caching resolved root names.
-
-
Field Summary
Fields 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 Summary
Constructors Constructor Description RootNameLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SerializedString
findRootName(java.lang.Class<?> rootType, MapperConfig<?> config)
SerializedString
findRootName(JavaType rootType, MapperConfig<?> config)
-
-
-
Field Detail
-
_rootNames
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.
-
-
Method Detail
-
findRootName
public SerializedString findRootName(JavaType rootType, MapperConfig<?> config)
-
findRootName
public SerializedString findRootName(java.lang.Class<?> rootType, MapperConfig<?> config)
-
-