1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (1.8.0) on Sun Jul 19 11:36:51 PDT 2015 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>DeserializerCache (jackson-databind 2.6.0 API)</title> 8<meta name="date" content="2015-07-19"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="DeserializerCache (jackson-databind 2.6.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10}; 23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; 24var altColor = "altColor"; 25var rowColor = "rowColor"; 26var tableTab = "tableTab"; 27var activeTableTab = "activeTableTab"; 28</script> 29<noscript> 30<div>JavaScript is disabled on your browser.</div> 31</noscript> 32<!-- ========= START OF TOP NAVBAR ======= --> 33<div class="topNav"><a name="navbar.top"> 34<!-- --> 35</a> 36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 37<a name="navbar.top.firstrow"> 38<!-- --> 39</a> 40<ul class="navList" title="Navigation"> 41<li><a href="../../../../../overview-summary.html">Overview</a></li> 42<li><a href="package-summary.html">Package</a></li> 43<li class="navBarCell1Rev">Class</li> 44<li><a href="class-use/DeserializerCache.html">Use</a></li> 45<li><a href="package-tree.html">Tree</a></li> 46<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 47<li><a href="../../../../../index-all.html">Index</a></li> 48<li><a href="../../../../../help-doc.html">Help</a></li> 49</ul> 50</div> 51<div class="subNav"> 52<ul class="navList"> 53<li><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializationProblemHandler.html" title="class in com.fasterxml.jackson.databind.deser"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/deser/DeserializerCache.html" target="_top">Frames</a></li> 58<li><a href="DeserializerCache.html" target="_top">No Frames</a></li> 59</ul> 60<ul class="navList" id="allclasses_navbar_top"> 61<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 62</ul> 63<div> 64<script type="text/javascript"><!-- 65 allClassesLink = document.getElementById("allclasses_navbar_top"); 66 if(window==top) { 67 allClassesLink.style.display = "block"; 68 } 69 else { 70 allClassesLink.style.display = "none"; 71 } 72 //--> 73</script> 74</div> 75<div> 76<ul class="subNavList"> 77<li>Summary: </li> 78<li>Nested | </li> 79<li><a href="#field.summary">Field</a> | </li> 80<li><a href="#constructor.summary">Constr</a> | </li> 81<li><a href="#method.summary">Method</a></li> 82</ul> 83<ul class="subNavList"> 84<li>Detail: </li> 85<li><a href="#field.detail">Field</a> | </li> 86<li><a href="#constructor.detail">Constr</a> | </li> 87<li><a href="#method.detail">Method</a></li> 88</ul> 89</div> 90<a name="skip.navbar.top"> 91<!-- --> 92</a></div> 93<!-- ========= END OF TOP NAVBAR ========= --> 94<!-- ======== START OF CLASS DATA ======== --> 95<div class="header"> 96<div class="subTitle">com.fasterxml.jackson.databind.deser</div> 97<h2 title="Class DeserializerCache" class="title">Class DeserializerCache</h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<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> 102<li> 103<ul class="inheritance"> 104<li>com.fasterxml.jackson.databind.deser.DeserializerCache</li> 105</ul> 106</li> 107</ul> 108<div class="description"> 109<ul class="blockList"> 110<li class="blockList"> 111<dl> 112<dt>All Implemented Interfaces:</dt> 113<dd><a href="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> 114</dl> 115<hr> 116<br> 117<pre>public final class <span class="typeNameLabel">DeserializerCache</span> 118extends <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> 119implements <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> 120<div class="block">Class that defines caching layer between callers (like 121 <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>, 122 <a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind"><code>DeserializationContext</code></a>) 123 and classes that construct deserializers 124 (<a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser"><code>DeserializerFactory</code></a>).</div> 125<dl> 126<dt><span class="seeLabel">See Also:</span></dt> 127<dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.deser.DeserializerCache">Serialized Form</a></dd> 128</dl> 129</li> 130</ul> 131</div> 132<div class="summary"> 133<ul class="blockList"> 134<li class="blockList"> 135<!-- =========== FIELD SUMMARY =========== --> 136<ul class="blockList"> 137<li class="blockList"><a name="field.summary"> 138<!-- --> 139</a> 140<h3>Field Summary</h3> 141<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 142<caption><span>Fields</span><span class="tabEnd"> </span></caption> 143<tr> 144<th class="colFirst" scope="col">Modifier and Type</th> 145<th class="colLast" scope="col">Field and Description</th> 146</tr> 147<tr class="altColor"> 148<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> 149<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#Z:Z_cachedDeserializers">_cachedDeserializers</a></span></code> 150<div class="block">We will also cache some dynamically constructed deserializers; 151 specifically, ones that are expensive to construct.</div> 152</td> 153</tr> 154<tr class="rowColor"> 155<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> 156<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#Z:Z_incompleteDeserializers">_incompleteDeserializers</a></span></code> 157<div class="block">During deserializer construction process we may need to keep track of partially 158 completed deserializers, to resolve cyclic dependencies.</div> 159</td> 160</tr> 161</table> 162</li> 163</ul> 164<!-- ======== CONSTRUCTOR SUMMARY ======== --> 165<ul class="blockList"> 166<li class="blockList"><a name="constructor.summary"> 167<!-- --> 168</a> 169<h3>Constructor Summary</h3> 170<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 171<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 172<tr> 173<th class="colOne" scope="col">Constructor and Description</th> 174</tr> 175<tr class="altColor"> 176<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#DeserializerCache--">DeserializerCache</a></span>()</code> </td> 177</tr> 178</table> 179</li> 180</ul> 181<!-- ========== METHOD SUMMARY =========== --> 182<ul class="blockList"> 183<li class="blockList"><a name="method.summary"> 184<!-- --> 185</a> 186<h3>Method Summary</h3> 187<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 188<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> 189<tr> 190<th class="colFirst" scope="col">Modifier and Type</th> 191<th class="colLast" scope="col">Method and Description</th> 192</tr> 193<tr id="i0" class="altColor"> 194<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> 195<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#Z:Z_createAndCache2-com.fasterxml.jackson.databind.DeserializationContext-com.fasterxml.jackson.databind.deser.DeserializerFactory-com.fasterxml.jackson.databind.JavaType-">_createAndCache2</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 196 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 197 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> 198<div class="block">Method that handles actual construction (via factory) and caching (both 199 intermediate and eventual)</div> 200</td> 201</tr> 202<tr id="i1" class="rowColor"> 203<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> 204<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#Z:Z_createAndCacheValueDeserializer-com.fasterxml.jackson.databind.DeserializationContext-com.fasterxml.jackson.databind.deser.DeserializerFactory-com.fasterxml.jackson.databind.JavaType-">_createAndCacheValueDeserializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 205 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 206 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> 207<div class="block">Method that will try to create a deserializer for given type, 208 and resolve and cache it if necessary</div> 209</td> 210</tr> 211<tr id="i2" class="altColor"> 212<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> 213<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#Z:Z_createDeserializer-com.fasterxml.jackson.databind.DeserializationContext-com.fasterxml.jackson.databind.deser.DeserializerFactory-com.fasterxml.jackson.databind.JavaType-">_createDeserializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 214 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 215 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> 216<div class="block">Method that does the heavy lifting of checking for per-type annotations, 217 find out full type, and figure out which actual factory method 218 to call.</div> 219</td> 220</tr> 221<tr id="i3" class="rowColor"> 222<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><?></code></td> 223<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#Z:Z_createDeserializer2-com.fasterxml.jackson.databind.DeserializationContext-com.fasterxml.jackson.databind.deser.DeserializerFactory-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanDescription-">_createDeserializer2</a></span>(<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/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 225 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 226 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</code> </td> 227</tr> 228<tr id="i4" class="altColor"> 229<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> 230<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#Z:Z_findCachedDeserializer-com.fasterxml.jackson.databind.JavaType-">_findCachedDeserializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> </td> 231</tr> 232<tr id="i5" class="rowColor"> 233<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer</a></code></td> 234<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#Z:Z_handleUnknownKeyDeserializer-com.fasterxml.jackson.databind.JavaType-">_handleUnknownKeyDeserializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> </td> 235</tr> 236<tr id="i6" class="altColor"> 237<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> 238<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#Z:Z_handleUnknownValueDeserializer-com.fasterxml.jackson.databind.JavaType-">_handleUnknownValueDeserializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> </td> 239</tr> 240<tr id="i7" class="rowColor"> 241<td class="colFirst"><code>int</code></td> 242<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#cachedDeserializersCount--">cachedDeserializersCount</a></span>()</code> 243<div class="block">Method that can be used to determine how many deserializers this 244 provider is caching currently 245 (if it does caching: default implementation does) 246 Exact count depends on what kind of deserializers get cached; 247 default implementation caches only dynamically constructed deserializers, 248 but not eagerly constructed standard deserializers (which is different 249 from how serializer provider works).</div> 250</td> 251</tr> 252<tr id="i8" class="altColor"> 253<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> 254<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#findConverter-com.fasterxml.jackson.databind.DeserializationContext-com.fasterxml.jackson.databind.introspect.Annotated-">findConverter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 255 <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> a)</code> </td> 256</tr> 257<tr id="i9" class="rowColor"> 258<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> 259<td class="colLast"><code><span class="memberNameLink"><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></span>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 260 <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> a, 261 <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> 262<div class="block">Helper method that will check whether given annotated entity (usually class, 263 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 264 be used; and if so, to construct and return suitable serializer for it.</div> 265</td> 266</tr> 267<tr id="i10" class="altColor"> 268<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> 269<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#findDeserializerFromAnnotation-com.fasterxml.jackson.databind.DeserializationContext-com.fasterxml.jackson.databind.introspect.Annotated-">findDeserializerFromAnnotation</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 270 <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> ann)</code> 271<div class="block">Helper method called to check if a class or method 272 has annotation that tells which class to use for deserialization.</div> 273</td> 274</tr> 275<tr id="i11" class="rowColor"> 276<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer</a></code></td> 277<td class="colLast"><code><span class="memberNameLink"><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></span>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 278 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 279 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> 280<div class="block">Method called to get hold of a deserializer to use for deserializing 281 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> 282</td> 283</tr> 284<tr id="i12" class="altColor"> 285<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> 286<td class="colLast"><code><span class="memberNameLink"><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></span>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 287 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 288 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> propertyType)</code> 289<div class="block">Method called to get hold of a deserializer for a value of given type; 290 or if no such deserializer can be found, a default handler (which 291 may do a best-effort generic serialization or just simply 292 throw an exception when invoked).</div> 293</td> 294</tr> 295<tr id="i13" class="rowColor"> 296<td class="colFirst"><code>void</code></td> 297<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#flushCachedDeserializers--">flushCachedDeserializers</a></span>()</code> 298<div class="block">Method that will drop all dynamically constructed deserializers (ones that 299 are counted as result value for <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#cachedDeserializersCount--"><code>cachedDeserializersCount()</code></a>).</div> 300</td> 301</tr> 302<tr id="i14" class="altColor"> 303<td class="colFirst"><code>boolean</code></td> 304<td class="colLast"><code><span class="memberNameLink"><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></span>(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 305 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 306 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> 307<div class="block">Method called to find out whether provider would be able to find 308 a deserializer for given type, using a root reference (i.e.</div> 309</td> 310</tr> 311</table> 312<ul class="blockList"> 313<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 314<!-- --> 315</a> 316<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> 317<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> 318</ul> 319</li> 320</ul> 321</li> 322</ul> 323</div> 324<div class="details"> 325<ul class="blockList"> 326<li class="blockList"> 327<!-- ============ FIELD DETAIL =========== --> 328<ul class="blockList"> 329<li class="blockList"><a name="field.detail"> 330<!-- --> 331</a> 332<h3>Field Detail</h3> 333<a name="Z:Z_cachedDeserializers"> 334<!-- --> 335</a> 336<ul class="blockList"> 337<li class="blockList"> 338<h4>_cachedDeserializers</h4> 339<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> 340<div class="block">We will also cache some dynamically constructed deserializers; 341 specifically, ones that are expensive to construct. 342 This currently means bean and Enum deserializers; starting with 343 2.5, container deserializers will also be cached. 344<p> 345 Given that we don't expect much concurrency for additions 346 (should very quickly converge to zero after startup), let's 347 define a relatively low concurrency setting.</div> 348</li> 349</ul> 350<a name="Z:Z_incompleteDeserializers"> 351<!-- --> 352</a> 353<ul class="blockListLast"> 354<li class="blockList"> 355<h4>_incompleteDeserializers</h4> 356<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> 357<div class="block">During deserializer construction process we may need to keep track of partially 358 completed deserializers, to resolve cyclic dependencies. This is the 359 map used for storing deserializers before they are fully complete.</div> 360</li> 361</ul> 362</li> 363</ul> 364<!-- ========= CONSTRUCTOR DETAIL ======== --> 365<ul class="blockList"> 366<li class="blockList"><a name="constructor.detail"> 367<!-- --> 368</a> 369<h3>Constructor Detail</h3> 370<a name="DeserializerCache--"> 371<!-- --> 372</a> 373<ul class="blockListLast"> 374<li class="blockList"> 375<h4>DeserializerCache</h4> 376<pre>public DeserializerCache()</pre> 377</li> 378</ul> 379</li> 380</ul> 381<!-- ============ METHOD DETAIL ========== --> 382<ul class="blockList"> 383<li class="blockList"><a name="method.detail"> 384<!-- --> 385</a> 386<h3>Method Detail</h3> 387<a name="cachedDeserializersCount--"> 388<!-- --> 389</a> 390<ul class="blockList"> 391<li class="blockList"> 392<h4>cachedDeserializersCount</h4> 393<pre>public int cachedDeserializersCount()</pre> 394<div class="block">Method that can be used to determine how many deserializers this 395 provider is caching currently 396 (if it does caching: default implementation does) 397 Exact count depends on what kind of deserializers get cached; 398 default implementation caches only dynamically constructed deserializers, 399 but not eagerly constructed standard deserializers (which is different 400 from how serializer provider works). 401<p> 402 The main use case for this method is to allow conditional flushing of 403 deserializer cache, if certain number of entries is reached.</div> 404</li> 405</ul> 406<a name="flushCachedDeserializers--"> 407<!-- --> 408</a> 409<ul class="blockList"> 410<li class="blockList"> 411<h4>flushCachedDeserializers</h4> 412<pre>public void flushCachedDeserializers()</pre> 413<div class="block">Method that will drop all dynamically constructed deserializers (ones that 414 are counted as result value for <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerCache.html#cachedDeserializersCount--"><code>cachedDeserializersCount()</code></a>). 415 This can be used to remove memory usage (in case some deserializers are 416 only used once or so), or to force re-construction of deserializers after 417 configuration changes for mapper than owns the provider.</div> 418</li> 419</ul> 420<a name="findValueDeserializer-com.fasterxml.jackson.databind.DeserializationContext-com.fasterxml.jackson.databind.deser.DeserializerFactory-com.fasterxml.jackson.databind.JavaType-"> 421<!-- --> 422</a> 423<ul class="blockList"> 424<li class="blockList"> 425<h4>findValueDeserializer</h4> 426<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, 427 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 428 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> propertyType) 429 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 430<div class="block">Method called to get hold of a deserializer for a value of given type; 431 or if no such deserializer can be found, a default handler (which 432 may do a best-effort generic serialization or just simply 433 throw an exception when invoked). 434<p> 435 Note: this method is only called for value types; not for keys. 436 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>. 437<p> 438 Note also that deserializer returned is guaranteed to be resolved 439 (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 440 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 441 has to handle latter if necessary.</div> 442<dl> 443<dt><span class="paramLabel">Parameters:</span></dt> 444<dd><code>ctxt</code> - Deserialization context</dd> 445<dd><code>propertyType</code> - Declared type of the value to deserializer (obtained using 446 'setter' method signature and/or type annotations</dd> 447<dt><span class="throwsLabel">Throws:</span></dt> 448<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 449 accessing suitable deserializer; including that of not 450 finding any serializer</dd> 451</dl> 452</li> 453</ul> 454<a name="findKeyDeserializer-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>findKeyDeserializer</h4> 460<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, 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 get hold of a deserializer to use for deserializing 465 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> 466<dl> 467<dt><span class="throwsLabel">Throws:</span></dt> 468<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 469 accessing suitable key deserializer; including that of not 470 finding any serializer</dd> 471</dl> 472</li> 473</ul> 474<a name="hasValueDeserializerFor-com.fasterxml.jackson.databind.DeserializationContext-com.fasterxml.jackson.databind.deser.DeserializerFactory-com.fasterxml.jackson.databind.JavaType-"> 475<!-- --> 476</a> 477<ul class="blockList"> 478<li class="blockList"> 479<h4>hasValueDeserializerFor</h4> 480<pre>public boolean hasValueDeserializerFor(<a href="../../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 481 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 482 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type) 483 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 484<div class="block">Method called to find out whether provider would be able to find 485 a deserializer for given type, using a root reference (i.e. not 486 through fields or membership in an array or collection)</div> 487<dl> 488<dt><span class="throwsLabel">Throws:</span></dt> 489<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 490</dl> 491</li> 492</ul> 493<a name="Z:Z_findCachedDeserializer-com.fasterxml.jackson.databind.JavaType-"> 494<!-- --> 495</a> 496<ul class="blockList"> 497<li class="blockList"> 498<h4>_findCachedDeserializer</h4> 499<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> 500</li> 501</ul> 502<a name="Z:Z_createAndCacheValueDeserializer-com.fasterxml.jackson.databind.DeserializationContext-com.fasterxml.jackson.databind.deser.DeserializerFactory-com.fasterxml.jackson.databind.JavaType-"> 503<!-- --> 504</a> 505<ul class="blockList"> 506<li class="blockList"> 507<h4>_createAndCacheValueDeserializer</h4> 508<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, 509 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 510 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type) 511 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 512<div class="block">Method that will try to create a deserializer for given type, 513 and resolve and cache it if necessary</div> 514<dl> 515<dt><span class="paramLabel">Parameters:</span></dt> 516<dd><code>ctxt</code> - Currently active deserialization context</dd> 517<dd><code>type</code> - Type of property to deserialize</dd> 518<dt><span class="throwsLabel">Throws:</span></dt> 519<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 520</dl> 521</li> 522</ul> 523<a name="Z:Z_createAndCache2-com.fasterxml.jackson.databind.DeserializationContext-com.fasterxml.jackson.databind.deser.DeserializerFactory-com.fasterxml.jackson.databind.JavaType-"> 524<!-- --> 525</a> 526<ul class="blockList"> 527<li class="blockList"> 528<h4>_createAndCache2</h4> 529<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, 530 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 531 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type) 532 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 533<div class="block">Method that handles actual construction (via factory) and caching (both 534 intermediate and eventual)</div> 535<dl> 536<dt><span class="throwsLabel">Throws:</span></dt> 537<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 538</dl> 539</li> 540</ul> 541<a name="Z:Z_createDeserializer-com.fasterxml.jackson.databind.DeserializationContext-com.fasterxml.jackson.databind.deser.DeserializerFactory-com.fasterxml.jackson.databind.JavaType-"> 542<!-- --> 543</a> 544<ul class="blockList"> 545<li class="blockList"> 546<h4>_createDeserializer</h4> 547<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, 548 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 549 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type) 550 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 551<div class="block">Method that does the heavy lifting of checking for per-type annotations, 552 find out full type, and figure out which actual factory method 553 to call.</div> 554<dl> 555<dt><span class="throwsLabel">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> 557</dl> 558</li> 559</ul> 560<a name="Z:Z_createDeserializer2-com.fasterxml.jackson.databind.DeserializationContext-com.fasterxml.jackson.databind.deser.DeserializerFactory-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanDescription-"> 561<!-- --> 562</a> 563<ul class="blockList"> 564<li class="blockList"> 565<h4>_createDeserializer2</h4> 566<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, 567 <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser">DeserializerFactory</a> factory, 568 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 569 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc) 570 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 571<dl> 572<dt><span class="throwsLabel">Throws:</span></dt> 573<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 574</dl> 575</li> 576</ul> 577<a name="findDeserializerFromAnnotation-com.fasterxml.jackson.databind.DeserializationContext-com.fasterxml.jackson.databind.introspect.Annotated-"> 578<!-- --> 579</a> 580<ul class="blockList"> 581<li class="blockList"> 582<h4>findDeserializerFromAnnotation</h4> 583<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, 584 <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> ann) 585 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 586<div class="block">Helper method called to check if a class or method 587 has annotation that tells which class to use for deserialization. 588 Returns null if no such annotation found.</div> 589<dl> 590<dt><span class="throwsLabel">Throws:</span></dt> 591<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 592</dl> 593</li> 594</ul> 595<a name="findConvertingDeserializer-com.fasterxml.jackson.databind.DeserializationContext-com.fasterxml.jackson.databind.introspect.Annotated-com.fasterxml.jackson.databind.JsonDeserializer-"> 596<!-- --> 597</a> 598<ul class="blockList"> 599<li class="blockList"> 600<h4>findConvertingDeserializer</h4> 601<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, 602 <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> a, 603 <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) 604 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 605<div class="block">Helper method that will check whether given annotated entity (usually class, 606 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 607 be used; and if so, to construct and return suitable serializer for it. 608 If not, will simply return given serializer as is.</div> 609<dl> 610<dt><span class="throwsLabel">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> 612</dl> 613</li> 614</ul> 615<a name="findConverter-com.fasterxml.jackson.databind.DeserializationContext-com.fasterxml.jackson.databind.introspect.Annotated-"> 616<!-- --> 617</a> 618<ul class="blockList"> 619<li class="blockList"> 620<h4>findConverter</h4> 621<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, 622 <a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> a) 623 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 624<dl> 625<dt><span class="throwsLabel">Throws:</span></dt> 626<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 627</dl> 628</li> 629</ul> 630<a name="Z:Z_handleUnknownValueDeserializer-com.fasterxml.jackson.databind.JavaType-"> 631<!-- --> 632</a> 633<ul class="blockList"> 634<li class="blockList"> 635<h4>_handleUnknownValueDeserializer</h4> 636<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) 637 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 638<dl> 639<dt><span class="throwsLabel">Throws:</span></dt> 640<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 641</dl> 642</li> 643</ul> 644<a name="Z:Z_handleUnknownKeyDeserializer-com.fasterxml.jackson.databind.JavaType-"> 645<!-- --> 646</a> 647<ul class="blockListLast"> 648<li class="blockList"> 649<h4>_handleUnknownKeyDeserializer</h4> 650<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) 651 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 652<dl> 653<dt><span class="throwsLabel">Throws:</span></dt> 654<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 655</dl> 656</li> 657</ul> 658</li> 659</ul> 660</li> 661</ul> 662</div> 663</div> 664<!-- ========= END OF CLASS DATA ========= --> 665<!-- ======= START OF BOTTOM NAVBAR ====== --> 666<div class="bottomNav"><a name="navbar.bottom"> 667<!-- --> 668</a> 669<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 670<a name="navbar.bottom.firstrow"> 671<!-- --> 672</a> 673<ul class="navList" title="Navigation"> 674<li><a href="../../../../../overview-summary.html">Overview</a></li> 675<li><a href="package-summary.html">Package</a></li> 676<li class="navBarCell1Rev">Class</li> 677<li><a href="class-use/DeserializerCache.html">Use</a></li> 678<li><a href="package-tree.html">Tree</a></li> 679<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 680<li><a href="../../../../../index-all.html">Index</a></li> 681<li><a href="../../../../../help-doc.html">Help</a></li> 682</ul> 683</div> 684<div class="subNav"> 685<ul class="navList"> 686<li><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializationProblemHandler.html" title="class in com.fasterxml.jackson.databind.deser"><span class="typeNameLink">Prev Class</span></a></li> 687<li><a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser"><span class="typeNameLink">Next Class</span></a></li> 688</ul> 689<ul class="navList"> 690<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/deser/DeserializerCache.html" target="_top">Frames</a></li> 691<li><a href="DeserializerCache.html" target="_top">No Frames</a></li> 692</ul> 693<ul class="navList" id="allclasses_navbar_bottom"> 694<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 695</ul> 696<div> 697<script type="text/javascript"><!-- 698 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 699 if(window==top) { 700 allClassesLink.style.display = "block"; 701 } 702 else { 703 allClassesLink.style.display = "none"; 704 } 705 //--> 706</script> 707</div> 708<div> 709<ul class="subNavList"> 710<li>Summary: </li> 711<li>Nested | </li> 712<li><a href="#field.summary">Field</a> | </li> 713<li><a href="#constructor.summary">Constr</a> | </li> 714<li><a href="#method.summary">Method</a></li> 715</ul> 716<ul class="subNavList"> 717<li>Detail: </li> 718<li><a href="#field.detail">Field</a> | </li> 719<li><a href="#constructor.detail">Constr</a> | </li> 720<li><a href="#method.detail">Method</a></li> 721</ul> 722</div> 723<a name="skip.navbar.bottom"> 724<!-- --> 725</a></div> 726<!-- ======== END OF BOTTOM NAVBAR ======= --> 727<p class="legalCopy"><small>Copyright © 2014–2015 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 728</body> 729</html> 730