1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (1.8.0_162) on Sat Apr 25 17:14:49 PDT 2020 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>RootNameLookup (jackson-databind 2.11.0 API)</title>
8<meta name="date" content="2020-04-25">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10<script type="text/javascript" src="../../../../../script.js"></script>
11</head>
12<body>
13<script type="text/javascript"><!--
14    try {
15        if (location.href.indexOf('is-external=true') == -1) {
16            parent.document.title="RootNameLookup (jackson-databind 2.11.0 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":10,"i1":10,"i2":10};
23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
24var altColor = "altColor";
25var rowColor = "rowColor";
26var tableTab = "tableTab";
27var activeTableTab = "activeTableTab";
28</script>
29<noscript>
30<div>JavaScript is disabled on your browser.</div>
31</noscript>
32<!-- ========= START OF TOP NAVBAR ======= -->
33<div class="topNav"><a name="navbar.top">
34<!--   -->
35</a>
36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37<a name="navbar.top.firstrow">
38<!--   -->
39</a>
40<ul class="navList" title="Navigation">
41<li><a href="../../../../../overview-summary.html">Overview</a></li>
42<li><a href="package-summary.html">Package</a></li>
43<li class="navBarCell1Rev">Class</li>
44<li><a href="class-use/RootNameLookup.html">Use</a></li>
45<li><a href="package-tree.html">Tree</a></li>
46<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
47<li><a href="../../../../../index-all.html">Index</a></li>
48<li><a href="../../../../../help-doc.html">Help</a></li>
49</ul>
50</div>
51<div class="subNav">
52<ul class="navList">
53<li><a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../../com/fasterxml/jackson/databind/util/SimpleBeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
55</ul>
56<ul class="navList">
57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/RootNameLookup.html" target="_top">Frames</a></li>
58<li><a href="RootNameLookup.html" target="_top">No&nbsp;Frames</a></li>
59</ul>
60<ul class="navList" id="allclasses_navbar_top">
61<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
62</ul>
63<div>
64<script type="text/javascript"><!--
65  allClassesLink = document.getElementById("allclasses_navbar_top");
66  if(window==top) {
67    allClassesLink.style.display = "block";
68  }
69  else {
70    allClassesLink.style.display = "none";
71  }
72  //-->
73</script>
74</div>
75<div>
76<ul class="subNavList">
77<li>Summary:&nbsp;</li>
78<li>Nested&nbsp;|&nbsp;</li>
79<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
80<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
81<li><a href="#method.summary">Method</a></li>
82</ul>
83<ul class="subNavList">
84<li>Detail:&nbsp;</li>
85<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
86<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
87<li><a href="#method.detail">Method</a></li>
88</ul>
89</div>
90<a name="skip.navbar.top">
91<!--   -->
92</a></div>
93<!-- ========= END OF TOP NAVBAR ========= -->
94<!-- ======== START OF CLASS DATA ======== -->
95<div class="header">
96<div class="subTitle">com.fasterxml.jackson.databind.util</div>
97<h2 title="Class RootNameLookup" class="title">Class RootNameLookup</h2>
98</div>
99<div class="contentContainer">
100<ul class="inheritance">
101<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
102<li>
103<ul class="inheritance">
104<li>com.fasterxml.jackson.databind.util.RootNameLookup</li>
105</ul>
106</li>
107</ul>
108<div class="description">
109<ul class="blockList">
110<li class="blockList">
111<dl>
112<dt>All Implemented Interfaces:</dt>
113<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
114</dl>
115<hr>
116<br>
117<pre>public class <span class="typeNameLabel">RootNameLookup</span>
118extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
119implements <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre>
120<div class="block">Helper class for caching resolved root names.</div>
121<dl>
122<dt><span class="seeLabel">See Also:</span></dt>
123<dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.util.RootNameLookup">Serialized Form</a></dd>
124</dl>
125</li>
126</ul>
127</div>
128<div class="summary">
129<ul class="blockList">
130<li class="blockList">
131<!-- =========== FIELD SUMMARY =========== -->
132<ul class="blockList">
133<li class="blockList"><a name="field.summary">
134<!--   -->
135</a>
136<h3>Field Summary</h3>
137<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
138<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
139<tr>
140<th class="colFirst" scope="col">Modifier and Type</th>
141<th class="colLast" scope="col">Field and Description</th>
142</tr>
143<tr class="altColor">
144<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/util/LRUMap.html" title="class in com.fasterxml.jackson.databind.util">LRUMap</a>&lt;<a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a>,<a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a>&gt;</code></td>
145<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RootNameLookup.html#Z:Z_rootNames">_rootNames</a></span></code>
146<div class="block">For efficient operation, let's try to minimize number of times we
147 need to introspect root element name to use.</div>
148</td>
149</tr>
150</table>
151</li>
152</ul>
153<!-- ======== CONSTRUCTOR SUMMARY ======== -->
154<ul class="blockList">
155<li class="blockList"><a name="constructor.summary">
156<!--   -->
157</a>
158<h3>Constructor Summary</h3>
159<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
160<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
161<tr>
162<th class="colOne" scope="col">Constructor and Description</th>
163</tr>
164<tr class="altColor">
165<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RootNameLookup.html#RootNameLookup--">RootNameLookup</a></span>()</code>&nbsp;</td>
166</tr>
167</table>
168</li>
169</ul>
170<!-- ========== METHOD SUMMARY =========== -->
171<ul class="blockList">
172<li class="blockList"><a name="method.summary">
173<!--   -->
174</a>
175<h3>Method Summary</h3>
176<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
177<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
178<tr>
179<th class="colFirst" scope="col">Modifier and Type</th>
180<th class="colLast" scope="col">Method and Description</th>
181</tr>
182<tr id="i0" class="altColor">
183<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a></code></td>
184<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RootNameLookup.html#findRootName-java.lang.Class-com.fasterxml.jackson.databind.cfg.MapperConfig-">findRootName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;rootType,
185            <a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config)</code>&nbsp;</td>
186</tr>
187<tr id="i1" class="rowColor">
188<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a></code></td>
189<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RootNameLookup.html#findRootName-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.cfg.MapperConfig-">findRootName</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType,
190            <a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config)</code>&nbsp;</td>
191</tr>
192<tr id="i2" class="altColor">
193<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
194<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RootNameLookup.html#readResolve--">readResolve</a></span>()</code>
195<div class="block">Need to override to reproduce cache object via constructor, instead
196 of serialize/deserialize (since we do NOT want to retain cached data)</div>
197</td>
198</tr>
199</table>
200<ul class="blockList">
201<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
202<!--   -->
203</a>
204<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
205<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
206</ul>
207</li>
208</ul>
209</li>
210</ul>
211</div>
212<div class="details">
213<ul class="blockList">
214<li class="blockList">
215<!-- ============ FIELD DETAIL =========== -->
216<ul class="blockList">
217<li class="blockList"><a name="field.detail">
218<!--   -->
219</a>
220<h3>Field Detail</h3>
221<a name="Z:Z_rootNames">
222<!--   -->
223</a>
224<ul class="blockListLast">
225<li class="blockList">
226<h4>_rootNames</h4>
227<pre>protected transient&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/util/LRUMap.html" title="class in com.fasterxml.jackson.databind.util">LRUMap</a>&lt;<a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a>,<a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a>&gt; _rootNames</pre>
228<div class="block">For efficient operation, let's try to minimize number of times we
229 need to introspect root element name to use.</div>
230</li>
231</ul>
232</li>
233</ul>
234<!-- ========= CONSTRUCTOR DETAIL ======== -->
235<ul class="blockList">
236<li class="blockList"><a name="constructor.detail">
237<!--   -->
238</a>
239<h3>Constructor Detail</h3>
240<a name="RootNameLookup--">
241<!--   -->
242</a>
243<ul class="blockListLast">
244<li class="blockList">
245<h4>RootNameLookup</h4>
246<pre>public&nbsp;RootNameLookup()</pre>
247</li>
248</ul>
249</li>
250</ul>
251<!-- ============ METHOD DETAIL ========== -->
252<ul class="blockList">
253<li class="blockList"><a name="method.detail">
254<!--   -->
255</a>
256<h3>Method Detail</h3>
257<a name="findRootName-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.cfg.MapperConfig-">
258<!--   -->
259</a>
260<ul class="blockList">
261<li class="blockList">
262<h4>findRootName</h4>
263<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a>&nbsp;findRootName(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType,
264                                 <a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config)</pre>
265</li>
266</ul>
267<a name="findRootName-java.lang.Class-com.fasterxml.jackson.databind.cfg.MapperConfig-">
268<!--   -->
269</a>
270<ul class="blockList">
271<li class="blockList">
272<h4>findRootName</h4>
273<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a>&nbsp;findRootName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;rootType,
274                                 <a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a>&lt;?&gt;&nbsp;config)</pre>
275</li>
276</ul>
277<a name="readResolve--">
278<!--   -->
279</a>
280<ul class="blockListLast">
281<li class="blockList">
282<h4>readResolve</h4>
283<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;readResolve()</pre>
284<div class="block">Need to override to reproduce cache object via constructor, instead
285 of serialize/deserialize (since we do NOT want to retain cached data)</div>
286</li>
287</ul>
288</li>
289</ul>
290</li>
291</ul>
292</div>
293</div>
294<!-- ========= END OF CLASS DATA ========= -->
295<!-- ======= START OF BOTTOM NAVBAR ====== -->
296<div class="bottomNav"><a name="navbar.bottom">
297<!--   -->
298</a>
299<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
300<a name="navbar.bottom.firstrow">
301<!--   -->
302</a>
303<ul class="navList" title="Navigation">
304<li><a href="../../../../../overview-summary.html">Overview</a></li>
305<li><a href="package-summary.html">Package</a></li>
306<li class="navBarCell1Rev">Class</li>
307<li><a href="class-use/RootNameLookup.html">Use</a></li>
308<li><a href="package-tree.html">Tree</a></li>
309<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
310<li><a href="../../../../../index-all.html">Index</a></li>
311<li><a href="../../../../../help-doc.html">Help</a></li>
312</ul>
313</div>
314<div class="subNav">
315<ul class="navList">
316<li><a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
317<li><a href="../../../../../com/fasterxml/jackson/databind/util/SimpleBeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
318</ul>
319<ul class="navList">
320<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/RootNameLookup.html" target="_top">Frames</a></li>
321<li><a href="RootNameLookup.html" target="_top">No&nbsp;Frames</a></li>
322</ul>
323<ul class="navList" id="allclasses_navbar_bottom">
324<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
325</ul>
326<div>
327<script type="text/javascript"><!--
328  allClassesLink = document.getElementById("allclasses_navbar_bottom");
329  if(window==top) {
330    allClassesLink.style.display = "block";
331  }
332  else {
333    allClassesLink.style.display = "none";
334  }
335  //-->
336</script>
337</div>
338<div>
339<ul class="subNavList">
340<li>Summary:&nbsp;</li>
341<li>Nested&nbsp;|&nbsp;</li>
342<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
343<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
344<li><a href="#method.summary">Method</a></li>
345</ul>
346<ul class="subNavList">
347<li>Detail:&nbsp;</li>
348<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
349<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
350<li><a href="#method.detail">Method</a></li>
351</ul>
352</div>
353<a name="skip.navbar.bottom">
354<!--   -->
355</a></div>
356<!-- ======== END OF BOTTOM NAVBAR ======= -->
357<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
358</body>
359</html>
360