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_10-ea) on Mon Apr 22 19:50:43 PDT 2013 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>RootNameLookup (jackson-databind 2.2.0 API)</title> 8<meta name="date" content="2013-04-22"> 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.2.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/Provider.html" title="interface 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: </li> 65<li>Nested | </li> 66<li><a href="#field_summary">Field</a> | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li><a href="#field_detail">Field</a> | </li> 73<li><a href="#constructor_detail">Constr</a> | </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/6/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/6/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/6/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/6/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"> </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><<a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a>,<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/io/SerializedString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">SerializedString</a>></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"> </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> </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"> </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="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/io/SerializedString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">SerializedString</a></code></td> 168<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/RootNameLookup.html#findRootName(java.lang.Class, com.fasterxml.jackson.databind.cfg.MapperConfig)">findRootName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> rootType, 169 <a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a><?> config)</code> </td> 170</tr> 171<tr class="rowColor"> 172<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/io/SerializedString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">SerializedString</a></code></td> 173<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/RootNameLookup.html#findRootName(com.fasterxml.jackson.databind.JavaType, com.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> rootType, 174 <a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a><?> config)</code> </td> 175</tr> 176</table> 177<ul class="blockList"> 178<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 179<!-- --> 180</a> 181<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 182<code><a href="http://docs.oracle.com/javase/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> 183</ul> 184</li> 185</ul> 186</li> 187</ul> 188</div> 189<div class="details"> 190<ul class="blockList"> 191<li class="blockList"> 192<!-- ============ FIELD DETAIL =========== --> 193<ul class="blockList"> 194<li class="blockList"><a name="field_detail"> 195<!-- --> 196</a> 197<h3>Field Detail</h3> 198<a name="_rootNames"> 199<!-- --> 200</a> 201<ul class="blockListLast"> 202<li class="blockList"> 203<h4>_rootNames</h4> 204<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/util/LRUMap.html" title="class in com.fasterxml.jackson.databind.util">LRUMap</a><<a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a>,<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/io/SerializedString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">SerializedString</a>> _rootNames</pre> 205<div class="block">For efficient operation, let's try to minimize number of times we 206 need to introspect root element name to use.</div> 207</li> 208</ul> 209</li> 210</ul> 211<!-- ========= CONSTRUCTOR DETAIL ======== --> 212<ul class="blockList"> 213<li class="blockList"><a name="constructor_detail"> 214<!-- --> 215</a> 216<h3>Constructor Detail</h3> 217<a name="RootNameLookup()"> 218<!-- --> 219</a> 220<ul class="blockListLast"> 221<li class="blockList"> 222<h4>RootNameLookup</h4> 223<pre>public RootNameLookup()</pre> 224</li> 225</ul> 226</li> 227</ul> 228<!-- ============ METHOD DETAIL ========== --> 229<ul class="blockList"> 230<li class="blockList"><a name="method_detail"> 231<!-- --> 232</a> 233<h3>Method Detail</h3> 234<a name="findRootName(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.cfg.MapperConfig)"> 235<!-- --> 236</a> 237<ul class="blockList"> 238<li class="blockList"> 239<h4>findRootName</h4> 240<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/io/SerializedString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">SerializedString</a> findRootName(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 241 <a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a><?> config)</pre> 242</li> 243</ul> 244<a name="findRootName(java.lang.Class, com.fasterxml.jackson.databind.cfg.MapperConfig)"> 245<!-- --> 246</a> 247<ul class="blockListLast"> 248<li class="blockList"> 249<h4>findRootName</h4> 250<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/io/SerializedString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">SerializedString</a> findRootName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> rootType, 251 <a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a><?> config)</pre> 252</li> 253</ul> 254</li> 255</ul> 256</li> 257</ul> 258</div> 259</div> 260<!-- ========= END OF CLASS DATA ========= --> 261<!-- ======= START OF BOTTOM NAVBAR ====== --> 262<div class="bottomNav"><a name="navbar_bottom"> 263<!-- --> 264</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 265<!-- --> 266</a> 267<ul class="navList" title="Navigation"> 268<li><a href="../../../../../overview-summary.html">Overview</a></li> 269<li><a href="package-summary.html">Package</a></li> 270<li class="navBarCell1Rev">Class</li> 271<li><a href="class-use/RootNameLookup.html">Use</a></li> 272<li><a href="package-tree.html">Tree</a></li> 273<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 274<li><a href="../../../../../index-all.html">Index</a></li> 275<li><a href="../../../../../help-doc.html">Help</a></li> 276</ul> 277</div> 278<div class="subNav"> 279<ul class="navList"> 280<li><a href="../../../../../com/fasterxml/jackson/databind/util/Provider.html" title="interface in com.fasterxml.jackson.databind.util"><span class="strong">Prev Class</span></a></li> 281<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> 282</ul> 283<ul class="navList"> 284<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/RootNameLookup.html" target="_top">Frames</a></li> 285<li><a href="RootNameLookup.html" target="_top">No Frames</a></li> 286</ul> 287<ul class="navList" id="allclasses_navbar_bottom"> 288<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 289</ul> 290<div> 291<script type="text/javascript"><!-- 292 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 293 if(window==top) { 294 allClassesLink.style.display = "block"; 295 } 296 else { 297 allClassesLink.style.display = "none"; 298 } 299 //--> 300</script> 301</div> 302<div> 303<ul class="subNavList"> 304<li>Summary: </li> 305<li>Nested | </li> 306<li><a href="#field_summary">Field</a> | </li> 307<li><a href="#constructor_summary">Constr</a> | </li> 308<li><a href="#method_summary">Method</a></li> 309</ul> 310<ul class="subNavList"> 311<li>Detail: </li> 312<li><a href="#field_detail">Field</a> | </li> 313<li><a href="#constructor_detail">Constr</a> | </li> 314<li><a href="#method_detail">Method</a></li> 315</ul> 316</div> 317<a name="skip-navbar_bottom"> 318<!-- --> 319</a></div> 320<!-- ======== END OF BOTTOM NAVBAR ======= --> 321<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 322</body> 323</html> 324