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