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