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