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_25) on Thu Jan 01 17:43:56 PST 2015 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>DeserializerCache (jackson-databind 2.5.0 API)</title> 8<meta name="date" content="2015-01-01"> 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="DeserializerCache (jackson-databind 2.5.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/DeserializerCache.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/deser/DeserializationProblemHandler.html" title="class in com.fasterxml.jackson.databind.deser"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/deser/DeserializerCache.html" target="_top">Frames</a></li> 45<li><a href="DeserializerCache.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.deser</div> 84<h2 title="Class DeserializerCache" class="title">Class DeserializerCache</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.deser.DeserializerCache</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 final class <span class="strong">DeserializerCache</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">Class that defines caching layer between callers (like 108 <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>, 109 <a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind"><code>DeserializationContext</code></a>) 110 and classes that construct deserializers 111 (<a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser"><code>DeserializerFactory</code></a>).</div> 112<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.deser.DeserializerCache">Serialized Form</a></dd></dl> 113</li> 114</ul> 115</div> 116<div class="summary"> 117<ul class="blockList"> 118<li class="blockList"> 119<!-- =========== FIELD SUMMARY =========== --> 120<ul class="blockList"> 121<li class="blockList"><a name="field_summary"> 122<!-- --> 123</a> 124<h3>Field Summary</h3> 125<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 126<caption><span>Fields</span><span class="tabEnd"> </span></caption> 127<tr> 128<th class="colFirst" scope="col">Modifier and Type</th> 129<th class="colLast" scope="col">Field and Description</th> 130</tr> 131<tr class="altColor"> 132<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ConcurrentHashMap.html?is-external=true" title="class or interface in java.util.concurrent">ConcurrentHashMap</a><<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>,<a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>>></code></td> 133<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#_cachedDeserializers">_cachedDeserializers</a></strong></code> 134<div class="block">We will also cache some dynamically constructed deserializers; 135 specifically, ones that are expensive to construct.</div> 136</td> 137</tr> 138<tr class="rowColor"> 139<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a><<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>,<a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>>></code></td> 140<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#_incompleteDeserializers">_incompleteDeserializers</a></strong></code> 141<div class="block">During deserializer construction process we may need to keep track of partially 142 completed deserializers, to resolve cyclic dependencies.</div> 143</td> 144</tr> 145</table> 146</li> 147</ul> 148<!-- ======== CONSTRUCTOR SUMMARY ======== --> 149<ul class="blockList"> 150<li class="blockList"><a name="constructor_summary"> 151<!-- --> 152</a> 153<h3>Constructor Summary</h3> 154<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 155<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 156<tr> 157<th class="colOne" scope="col">Constructor and Description</th> 158</tr> 159<tr class="altColor"> 160<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#DeserializerCache()">DeserializerCache</a></strong>()</code> </td> 161</tr> 162</table> 163</li> 164</ul> 165<!-- ========== METHOD SUMMARY =========== --> 166<ul class="blockList"> 167<li class="blockList"><a name="method_summary"> 168<!-- --> 169</a> 170<h3>Method Summary</h3> 171<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 172<caption><span>Methods</span><span class="tabEnd"> </span></caption> 173<tr> 174<th class="colFirst" scope="col">Modifier and Type</th> 175<th class="colLast" scope="col">Method and Description</th> 176</tr> 177<tr class="altColor"> 178<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>></code></td> 179<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#_createAndCache2(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType)">_createAndCache2</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 180 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 181 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> 182<div class="block">Method that handles actual construction (via factory) and caching (both 183 intermediate and eventual)</div> 184</td> 185</tr> 186<tr class="rowColor"> 187<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>></code></td> 188<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#_createAndCacheValueDeserializer(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType)">_createAndCacheValueDeserializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 189 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 190 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> 191<div class="block">Method that will try to create a deserializer for given type, 192 and resolve and cache it if necessary</div> 193</td> 194</tr> 195<tr class="altColor"> 196<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>></code></td> 197<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#_createDeserializer(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType)">_createDeserializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 198 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 199 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> 200<div class="block">Method that does the heavy lifting of checking for per-type annotations, 201 find out full type, and figure out which actual factory method 202 to call.</div> 203</td> 204</tr> 205<tr class="rowColor"> 206<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><?></code></td> 207<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#_createDeserializer2(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanDescription)">_createDeserializer2</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 208 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 209 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 210 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</code> </td> 211</tr> 212<tr class="altColor"> 213<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>></code></td> 214<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#_findCachedDeserializer(com.fasterxml.jackson.databind.JavaType)">_findCachedDeserializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> </td> 215</tr> 216<tr class="rowColor"> 217<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer</a></code></td> 218<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#_handleUnknownKeyDeserializer(com.fasterxml.jackson.databind.JavaType)">_handleUnknownKeyDeserializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> </td> 219</tr> 220<tr class="altColor"> 221<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>></code></td> 222<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#_handleUnknownValueDeserializer(com.fasterxml.jackson.databind.JavaType)">_handleUnknownValueDeserializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> </td> 223</tr> 224<tr class="rowColor"> 225<td class="colFirst"><code>int</code></td> 226<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#cachedDeserializersCount()">cachedDeserializersCount</a></strong>()</code> 227<div class="block">Method that can be used to determine how many deserializers this 228 provider is caching currently 229 (if it does caching: default implementation does) 230 Exact count depends on what kind of deserializers get cached; 231 default implementation caches only dynamically constructed deserializers, 232 but not eagerly constructed standard deserializers (which is different 233 from how serializer provider works).</div> 234</td> 235</tr> 236<tr class="altColor"> 237<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util">Converter</a><<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>,<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>></code></td> 238<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#findConverter(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.introspect.Annotated)">findConverter</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 239 <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> a)</code> </td> 240</tr> 241<tr class="rowColor"> 242<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>></code></td> 243<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#findConvertingDeserializer(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.introspect.Annotated, com.fasterxml.jackson.databind.JsonDeserializer)">findConvertingDeserializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 244 <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> a, 245 <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>> deser)</code> 246<div class="block">Helper method that will check whether given annotated entity (usually class, 247 but may also be a property accessor) indicates that a <a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util"><code>Converter</code></a> is to 248 be used; and if so, to construct and return suitable serializer for it.</div> 249</td> 250</tr> 251<tr class="altColor"> 252<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>></code></td> 253<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#findDeserializerFromAnnotation(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.introspect.Annotated)">findDeserializerFromAnnotation</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 254 <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> ann)</code> 255<div class="block">Helper method called to check if a class or method 256 has annotation that tells which class to use for deserialization.</div> 257</td> 258</tr> 259<tr class="rowColor"> 260<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer</a></code></td> 261<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#findKeyDeserializer(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType)">findKeyDeserializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 262 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 263 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> 264<div class="block">Method called to get hold of a deserializer to use for deserializing 265 keys for <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>.</div> 266</td> 267</tr> 268<tr class="altColor"> 269<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>></code></td> 270<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#findValueDeserializer(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType)">findValueDeserializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 271 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 272 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> propertyType)</code> 273<div class="block">Method called to get hold of a deserializer for a value of given type; 274 or if no such deserializer can be found, a default handler (which 275 may do a best-effort generic serialization or just simply 276 throw an exception when invoked).</div> 277</td> 278</tr> 279<tr class="rowColor"> 280<td class="colFirst"><code>void</code></td> 281<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#flushCachedDeserializers()">flushCachedDeserializers</a></strong>()</code> 282<div class="block">Method that will drop all dynamically constructed deserializers (ones that 283 are counted as result value for <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#cachedDeserializersCount()"><code>cachedDeserializersCount()</code></a>).</div> 284</td> 285</tr> 286<tr class="altColor"> 287<td class="colFirst"><code>boolean</code></td> 288<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#hasValueDeserializerFor(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType)">hasValueDeserializerFor</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 289 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 290 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> 291<div class="block">Method called to find out whether provider would be able to find 292 a deserializer for given type, using a root reference (i.e.</div> 293</td> 294</tr> 295</table> 296<ul class="blockList"> 297<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 298<!-- --> 299</a> 300<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> 301<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> 302</ul> 303</li> 304</ul> 305</li> 306</ul> 307</div> 308<div class="details"> 309<ul class="blockList"> 310<li class="blockList"> 311<!-- ============ FIELD DETAIL =========== --> 312<ul class="blockList"> 313<li class="blockList"><a name="field_detail"> 314<!-- --> 315</a> 316<h3>Field Detail</h3> 317<a name="_cachedDeserializers"> 318<!-- --> 319</a> 320<ul class="blockList"> 321<li class="blockList"> 322<h4>_cachedDeserializers</h4> 323<pre>protected final <a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ConcurrentHashMap.html?is-external=true" title="class or interface in java.util.concurrent">ConcurrentHashMap</a><<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>,<a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>>> _cachedDeserializers</pre> 324<div class="block">We will also cache some dynamically constructed deserializers; 325 specifically, ones that are expensive to construct. 326 This currently means bean and Enum deserializers; starting with 327 2.5, container deserializers will also be cached. 328<p> 329 Given that we don't expect much concurrency for additions 330 (should very quickly converge to zero after startup), let's 331 define a relatively low concurrency setting.</div> 332</li> 333</ul> 334<a name="_incompleteDeserializers"> 335<!-- --> 336</a> 337<ul class="blockListLast"> 338<li class="blockList"> 339<h4>_incompleteDeserializers</h4> 340<pre>protected final <a href="http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a><<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>,<a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>>> _incompleteDeserializers</pre> 341<div class="block">During deserializer construction process we may need to keep track of partially 342 completed deserializers, to resolve cyclic dependencies. This is the 343 map used for storing deserializers before they are fully complete.</div> 344</li> 345</ul> 346</li> 347</ul> 348<!-- ========= CONSTRUCTOR DETAIL ======== --> 349<ul class="blockList"> 350<li class="blockList"><a name="constructor_detail"> 351<!-- --> 352</a> 353<h3>Constructor Detail</h3> 354<a name="DeserializerCache()"> 355<!-- --> 356</a> 357<ul class="blockListLast"> 358<li class="blockList"> 359<h4>DeserializerCache</h4> 360<pre>public DeserializerCache()</pre> 361</li> 362</ul> 363</li> 364</ul> 365<!-- ============ METHOD DETAIL ========== --> 366<ul class="blockList"> 367<li class="blockList"><a name="method_detail"> 368<!-- --> 369</a> 370<h3>Method Detail</h3> 371<a name="cachedDeserializersCount()"> 372<!-- --> 373</a> 374<ul class="blockList"> 375<li class="blockList"> 376<h4>cachedDeserializersCount</h4> 377<pre>public int cachedDeserializersCount()</pre> 378<div class="block">Method that can be used to determine how many deserializers this 379 provider is caching currently 380 (if it does caching: default implementation does) 381 Exact count depends on what kind of deserializers get cached; 382 default implementation caches only dynamically constructed deserializers, 383 but not eagerly constructed standard deserializers (which is different 384 from how serializer provider works). 385<p> 386 The main use case for this method is to allow conditional flushing of 387 deserializer cache, if certain number of entries is reached.</div> 388</li> 389</ul> 390<a name="flushCachedDeserializers()"> 391<!-- --> 392</a> 393<ul class="blockList"> 394<li class="blockList"> 395<h4>flushCachedDeserializers</h4> 396<pre>public void flushCachedDeserializers()</pre> 397<div class="block">Method that will drop all dynamically constructed deserializers (ones that 398 are counted as result value for <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#cachedDeserializersCount()"><code>cachedDeserializersCount()</code></a>). 399 This can be used to remove memory usage (in case some deserializers are 400 only used once or so), or to force re-construction of deserializers after 401 configuration changes for mapper than owns the provider.</div> 402</li> 403</ul> 404<a name="findValueDeserializer(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType)"> 405<!-- --> 406</a> 407<ul class="blockList"> 408<li class="blockList"> 409<h4>findValueDeserializer</h4> 410<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>> findValueDeserializer(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 411 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 412 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> propertyType) 413 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 414<div class="block">Method called to get hold of a deserializer for a value of given type; 415 or if no such deserializer can be found, a default handler (which 416 may do a best-effort generic serialization or just simply 417 throw an exception when invoked). 418<p> 419 Note: this method is only called for value types; not for keys. 420 Key deserializers can be accessed using <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#findKeyDeserializer(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType)"><code>findKeyDeserializer(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType)</code></a>. 421<p> 422 Note also that deserializer returned is guaranteed to be resolved 423 (if it is of type <a href="../../../../../com/fasterxml/jackson/databind/deser/ResolvableDeserializer.html" title="interface in com.fasterxml.jackson.databind.deser"><code>ResolvableDeserializer</code></a>), but 424 not contextualized (wrt <a href="../../../../../com/fasterxml/jackson/databind/deser/ContextualDeserializer.html" title="interface in com.fasterxml.jackson.databind.deser"><code>ContextualDeserializer</code></a>): caller 425 has to handle latter if necessary.</div> 426<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ctxt</code> - Deserialization context</dd><dd><code>propertyType</code> - Declared type of the value to deserializer (obtained using 427 'setter' method signature and/or type annotations</dd> 428<dt><span class="strong">Throws:</span></dt> 429<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code> - if there are fatal problems with 430 accessing suitable deserializer; including that of not 431 finding any serializer</dd></dl> 432</li> 433</ul> 434<a name="findKeyDeserializer(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType)"> 435<!-- --> 436</a> 437<ul class="blockList"> 438<li class="blockList"> 439<h4>findKeyDeserializer</h4> 440<pre>public <a href="../../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer</a> findKeyDeserializer(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 441 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 442 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type) 443 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 444<div class="block">Method called to get hold of a deserializer to use for deserializing 445 keys for <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>.</div> 446<dl><dt><span class="strong">Throws:</span></dt> 447<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code> - if there are fatal problems with 448 accessing suitable key deserializer; including that of not 449 finding any serializer</dd></dl> 450</li> 451</ul> 452<a name="hasValueDeserializerFor(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType)"> 453<!-- --> 454</a> 455<ul class="blockList"> 456<li class="blockList"> 457<h4>hasValueDeserializerFor</h4> 458<pre>public boolean hasValueDeserializerFor(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 459 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 460 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type) 461 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 462<div class="block">Method called to find out whether provider would be able to find 463 a deserializer for given type, using a root reference (i.e. not 464 through fields or membership in an array or collection)</div> 465<dl><dt><span class="strong">Throws:</span></dt> 466<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 467</li> 468</ul> 469<a name="_findCachedDeserializer(com.fasterxml.jackson.databind.JavaType)"> 470<!-- --> 471</a> 472<ul class="blockList"> 473<li class="blockList"> 474<h4>_findCachedDeserializer</h4> 475<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>> _findCachedDeserializer(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</pre> 476</li> 477</ul> 478<a name="_createAndCacheValueDeserializer(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType)"> 479<!-- --> 480</a> 481<ul class="blockList"> 482<li class="blockList"> 483<h4>_createAndCacheValueDeserializer</h4> 484<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>> _createAndCacheValueDeserializer(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 485 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 486 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type) 487 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 488<div class="block">Method that will try to create a deserializer for given type, 489 and resolve and cache it if necessary</div> 490<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ctxt</code> - Currently active deserialization context</dd><dd><code>type</code> - Type of property to deserialize</dd> 491<dt><span class="strong">Throws:</span></dt> 492<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 493</li> 494</ul> 495<a name="_createAndCache2(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType)"> 496<!-- --> 497</a> 498<ul class="blockList"> 499<li class="blockList"> 500<h4>_createAndCache2</h4> 501<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>> _createAndCache2(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 502 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 503 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type) 504 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 505<div class="block">Method that handles actual construction (via factory) and caching (both 506 intermediate and eventual)</div> 507<dl><dt><span class="strong">Throws:</span></dt> 508<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 509</li> 510</ul> 511<a name="_createDeserializer(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType)"> 512<!-- --> 513</a> 514<ul class="blockList"> 515<li class="blockList"> 516<h4>_createDeserializer</h4> 517<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>> _createDeserializer(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 518 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 519 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type) 520 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 521<div class="block">Method that does the heavy lifting of checking for per-type annotations, 522 find out full type, and figure out which actual factory method 523 to call.</div> 524<dl><dt><span class="strong">Throws:</span></dt> 525<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 526</li> 527</ul> 528<a name="_createDeserializer2(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.deser.DeserializerFactory, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanDescription)"> 529<!-- --> 530</a> 531<ul class="blockList"> 532<li class="blockList"> 533<h4>_createDeserializer2</h4> 534<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><?> _createDeserializer2(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 535 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 536 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 537 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc) 538 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 539<dl><dt><span class="strong">Throws:</span></dt> 540<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 541</li> 542</ul> 543<a name="findDeserializerFromAnnotation(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.introspect.Annotated)"> 544<!-- --> 545</a> 546<ul class="blockList"> 547<li class="blockList"> 548<h4>findDeserializerFromAnnotation</h4> 549<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>> findDeserializerFromAnnotation(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 550 <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> ann) 551 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 552<div class="block">Helper method called to check if a class or method 553 has annotation that tells which class to use for deserialization. 554 Returns null if no such annotation found.</div> 555<dl><dt><span class="strong">Throws:</span></dt> 556<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 557</li> 558</ul> 559<a name="findConvertingDeserializer(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.introspect.Annotated, com.fasterxml.jackson.databind.JsonDeserializer)"> 560<!-- --> 561</a> 562<ul class="blockList"> 563<li class="blockList"> 564<h4>findConvertingDeserializer</h4> 565<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>> findConvertingDeserializer(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 566 <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> a, 567 <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>> deser) 568 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 569<div class="block">Helper method that will check whether given annotated entity (usually class, 570 but may also be a property accessor) indicates that a <a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util"><code>Converter</code></a> is to 571 be used; and if so, to construct and return suitable serializer for it. 572 If not, will simply return given serializer as is.</div> 573<dl><dt><span class="strong">Throws:</span></dt> 574<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 575</li> 576</ul> 577<a name="findConverter(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.introspect.Annotated)"> 578<!-- --> 579</a> 580<ul class="blockList"> 581<li class="blockList"> 582<h4>findConverter</h4> 583<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util">Converter</a><<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>,<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>> findConverter(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 584 <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> a) 585 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 586<dl><dt><span class="strong">Throws:</span></dt> 587<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 588</li> 589</ul> 590<a name="_handleUnknownValueDeserializer(com.fasterxml.jackson.databind.JavaType)"> 591<!-- --> 592</a> 593<ul class="blockList"> 594<li class="blockList"> 595<h4>_handleUnknownValueDeserializer</h4> 596<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<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>> _handleUnknownValueDeserializer(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type) 597 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 598<dl><dt><span class="strong">Throws:</span></dt> 599<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 600</li> 601</ul> 602<a name="_handleUnknownKeyDeserializer(com.fasterxml.jackson.databind.JavaType)"> 603<!-- --> 604</a> 605<ul class="blockListLast"> 606<li class="blockList"> 607<h4>_handleUnknownKeyDeserializer</h4> 608<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer</a> _handleUnknownKeyDeserializer(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type) 609 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 610<dl><dt><span class="strong">Throws:</span></dt> 611<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 612</li> 613</ul> 614</li> 615</ul> 616</li> 617</ul> 618</div> 619</div> 620<!-- ========= END OF CLASS DATA ========= --> 621<!-- ======= START OF BOTTOM NAVBAR ====== --> 622<div class="bottomNav"><a name="navbar_bottom"> 623<!-- --> 624</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 625<!-- --> 626</a> 627<ul class="navList" title="Navigation"> 628<li><a href="../../../../../overview-summary.html">Overview</a></li> 629<li><a href="package-summary.html">Package</a></li> 630<li class="navBarCell1Rev">Class</li> 631<li><a href="class-use/DeserializerCache.html">Use</a></li> 632<li><a href="package-tree.html">Tree</a></li> 633<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 634<li><a href="../../../../../index-all.html">Index</a></li> 635<li><a href="../../../../../help-doc.html">Help</a></li> 636</ul> 637</div> 638<div class="subNav"> 639<ul class="navList"> 640<li><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializationProblemHandler.html" title="class in com.fasterxml.jackson.databind.deser"><span class="strong">Prev Class</span></a></li> 641<li><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser"><span class="strong">Next Class</span></a></li> 642</ul> 643<ul class="navList"> 644<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/deser/DeserializerCache.html" target="_top">Frames</a></li> 645<li><a href="DeserializerCache.html" target="_top">No Frames</a></li> 646</ul> 647<ul class="navList" id="allclasses_navbar_bottom"> 648<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 649</ul> 650<div> 651<script type="text/javascript"><!-- 652 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 653 if(window==top) { 654 allClassesLink.style.display = "block"; 655 } 656 else { 657 allClassesLink.style.display = "none"; 658 } 659 //--> 660</script> 661</div> 662<div> 663<ul class="subNavList"> 664<li>Summary: </li> 665<li>Nested | </li> 666<li><a href="#field_summary">Field</a> | </li> 667<li><a href="#constructor_summary">Constr</a> | </li> 668<li><a href="#method_summary">Method</a></li> 669</ul> 670<ul class="subNavList"> 671<li>Detail: </li> 672<li><a href="#field_detail">Field</a> | </li> 673<li><a href="#constructor_detail">Constr</a> | </li> 674<li><a href="#method_detail">Method</a></li> 675</ul> 676</div> 677<a name="skip-navbar_bottom"> 678<!-- --> 679</a></div> 680<!-- ======== END OF BOTTOM NAVBAR ======= --> 681<p class="legalCopy"><small>Copyright © 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 682</body> 683</html> 684