public class RootNameLookup extends Object
限定符和类型 | 字段和说明 |
---|---|
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.
|
构造器和说明 |
---|
RootNameLookup() |
限定符和类型 | 方法和说明 |
---|---|
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)