1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_10-ea) on Sun Jul 14 20:03:26 PDT 2013 --> 6<title>DeserializerProvider (Jackson JSON Processor)</title> 7<meta name="date" content="2013-07-14"> 8<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> 9</head> 10<body> 11<script type="text/javascript"><!-- 12 if (location.href.indexOf('is-external=true') == -1) { 13 parent.document.title="DeserializerProvider (Jackson JSON Processor)"; 14 } 15//--> 16</script> 17<noscript> 18<div>JavaScript is disabled on your browser.</div> 19</noscript> 20<!-- ========= START OF TOP NAVBAR ======= --> 21<div class="topNav"><a name="navbar_top"> 22<!-- --> 23</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 24<!-- --> 25</a> 26<ul class="navList" title="Navigation"> 27<li><a href="../../../../overview-summary.html">Overview</a></li> 28<li><a href="package-summary.html">Package</a></li> 29<li class="navBarCell1Rev">Class</li> 30<li><a href="class-use/DeserializerProvider.html">Use</a></li> 31<li><a href="package-tree.html">Tree</a></li> 32<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 33<li><a href="../../../../index-all.html">Index</a></li> 34<li><a href="../../../../help-doc.html">Help</a></li> 35</ul> 36</div> 37<div class="subNav"> 38<ul class="navList"> 39<li><a href="../../../../org/codehaus/jackson/map/DeserializerFactory.Config.html" title="class in org.codehaus.jackson.map"><span class="strong">Prev Class</span></a></li> 40<li><a href="../../../../org/codehaus/jackson/map/Deserializers.html" title="interface in org.codehaus.jackson.map"><span class="strong">Next Class</span></a></li> 41</ul> 42<ul class="navList"> 43<li><a href="../../../../index.html?org/codehaus/jackson/map/DeserializerProvider.html" target="_top">Frames</a></li> 44<li><a href="DeserializerProvider.html" target="_top">No Frames</a></li> 45</ul> 46<ul class="navList" id="allclasses_navbar_top"> 47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 48</ul> 49<div> 50<script type="text/javascript"><!-- 51 allClassesLink = document.getElementById("allclasses_navbar_top"); 52 if(window==top) { 53 allClassesLink.style.display = "block"; 54 } 55 else { 56 allClassesLink.style.display = "none"; 57 } 58 //--> 59</script> 60</div> 61<div> 62<ul class="subNavList"> 63<li>Summary: </li> 64<li>Nested | </li> 65<li>Field | </li> 66<li><a href="#constructor_summary">Constr</a> | </li> 67<li><a href="#method_summary">Method</a></li> 68</ul> 69<ul class="subNavList"> 70<li>Detail: </li> 71<li>Field | </li> 72<li><a href="#constructor_detail">Constr</a> | </li> 73<li><a href="#method_detail">Method</a></li> 74</ul> 75</div> 76<a name="skip-navbar_top"> 77<!-- --> 78</a></div> 79<!-- ========= END OF TOP NAVBAR ========= --> 80<!-- ======== START OF CLASS DATA ======== --> 81<div class="header"> 82<div class="subTitle">org.codehaus.jackson.map</div> 83<h2 title="Class DeserializerProvider" class="title">Class DeserializerProvider</h2> 84</div> 85<div class="contentContainer"> 86<ul class="inheritance"> 87<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> 88<li> 89<ul class="inheritance"> 90<li>org.codehaus.jackson.map.DeserializerProvider</li> 91</ul> 92</li> 93</ul> 94<div class="description"> 95<ul class="blockList"> 96<li class="blockList"> 97<dl> 98<dt>Direct Known Subclasses:</dt> 99<dd><a href="../../../../org/codehaus/jackson/map/deser/StdDeserializerProvider.html" title="class in org.codehaus.jackson.map.deser">StdDeserializerProvider</a></dd> 100</dl> 101<hr> 102<br> 103<pre>public abstract class <span class="strong">DeserializerProvider</span> 104extends <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></pre> 105<div class="block">Abstract class that defines API used by <a href="../../../../org/codehaus/jackson/map/ObjectMapper.html" title="class in org.codehaus.jackson.map"><code>ObjectMapper</code></a> and 106 <a href="../../../../org/codehaus/jackson/map/JsonDeserializer.html" title="class in org.codehaus.jackson.map"><code>JsonDeserializer</code></a>s to obtain deserializers capable of 107 re-constructing instances of handled type from JSON content.</div> 108</li> 109</ul> 110</div> 111<div class="summary"> 112<ul class="blockList"> 113<li class="blockList"> 114<!-- ======== CONSTRUCTOR SUMMARY ======== --> 115<ul class="blockList"> 116<li class="blockList"><a name="constructor_summary"> 117<!-- --> 118</a> 119<h3>Constructor Summary</h3> 120<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 121<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 122<tr> 123<th class="colFirst" scope="col">Modifier</th> 124<th class="colLast" scope="col">Constructor and Description</th> 125</tr> 126<tr class="altColor"> 127<td class="colFirst"><code>protected </code></td> 128<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#DeserializerProvider()">DeserializerProvider</a></strong>()</code> </td> 129</tr> 130</table> 131</li> 132</ul> 133<!-- ========== METHOD SUMMARY =========== --> 134<ul class="blockList"> 135<li class="blockList"><a name="method_summary"> 136<!-- --> 137</a> 138<h3>Method Summary</h3> 139<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 140<caption><span>Methods</span><span class="tabEnd"> </span></caption> 141<tr> 142<th class="colFirst" scope="col">Modifier and Type</th> 143<th class="colLast" scope="col">Method and Description</th> 144</tr> 145<tr class="altColor"> 146<td class="colFirst"><code>abstract int</code></td> 147<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#cachedDeserializersCount()">cachedDeserializersCount</a></strong>()</code> 148<div class="block">Method that can be used to determine how many deserializers this 149 provider is caching currently 150 (if it does caching: default implementation does) 151 Exact count depends on what kind of deserializers get cached; 152 default implementation caches only dynamically constructed deserializers, 153 but not eagerly constructed standard deserializers (which is different 154 from how serializer provider works).</div> 155</td> 156</tr> 157<tr class="rowColor"> 158<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/io/SerializedString.html" title="class in org.codehaus.jackson.io">SerializedString</a></code></td> 159<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#findExpectedRootName(org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.type.JavaType)">findExpectedRootName</a></strong>(<a href="../../../../org/codehaus/jackson/map/DeserializationConfig.html" title="class in org.codehaus.jackson.map">DeserializationConfig</a> config, 160 <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> type)</code> 161<div class="block">Method that can be used to try find expected root name for given type</div> 162</td> 163</tr> 164<tr class="altColor"> 165<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/KeyDeserializer.html" title="class in org.codehaus.jackson.map">KeyDeserializer</a></code></td> 166<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#findKeyDeserializer(org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)">findKeyDeserializer</a></strong>(<a href="../../../../org/codehaus/jackson/map/DeserializationConfig.html" title="class in org.codehaus.jackson.map">DeserializationConfig</a> config, 167 <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> keyType, 168 <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a> property)</code> 169<div class="block">Method called to get hold of a deserializer to use for deserializing 170 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> 171</td> 172</tr> 173<tr class="rowColor"> 174<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/JsonDeserializer.html" title="class in org.codehaus.jackson.map">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> 175<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#findTypedValueDeserializer(org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)">findTypedValueDeserializer</a></strong>(<a href="../../../../org/codehaus/jackson/map/DeserializationConfig.html" title="class in org.codehaus.jackson.map">DeserializationConfig</a> config, 176 <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> type, 177 <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a> property)</code> 178<div class="block">Method called to locate deserializer for given type, as well as matching 179 type deserializer (if one is needed); and if type deserializer is needed, 180 construct a "wrapped" deserializer that can extract and use type information 181 for calling actual deserializer.</div> 182</td> 183</tr> 184<tr class="altColor"> 185<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/JsonDeserializer.html" title="class in org.codehaus.jackson.map">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> 186<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#findValueDeserializer(org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)">findValueDeserializer</a></strong>(<a href="../../../../org/codehaus/jackson/map/DeserializationConfig.html" title="class in org.codehaus.jackson.map">DeserializationConfig</a> config, 187 <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> propertyType, 188 <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a> property)</code> 189<div class="block">Method called to get hold of a deserializer for a value of given type; 190 or if no such deserializer can be found, a default handler (which 191 may do a best-effort generic serialization or just simply 192 throw an exception when invoked).</div> 193</td> 194</tr> 195<tr class="rowColor"> 196<td class="colFirst"><code>abstract void</code></td> 197<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#flushCachedDeserializers()">flushCachedDeserializers</a></strong>()</code> 198<div class="block">Method that will drop all dynamically constructed deserializers (ones that 199 are counted as result value for <a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#cachedDeserializersCount()"><code>cachedDeserializersCount()</code></a>).</div> 200</td> 201</tr> 202<tr class="altColor"> 203<td class="colFirst"><code>abstract boolean</code></td> 204<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#hasValueDeserializerFor(org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.type.JavaType)">hasValueDeserializerFor</a></strong>(<a href="../../../../org/codehaus/jackson/map/DeserializationConfig.html" title="class in org.codehaus.jackson.map">DeserializationConfig</a> config, 205 <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> type)</code> 206<div class="block">Method called to find out whether provider would be able to find 207 a deserializer for given type, using a root reference (i.e.</div> 208</td> 209</tr> 210<tr class="rowColor"> 211<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a></code></td> 212<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#mapAbstractType(org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.type.JavaType)">mapAbstractType</a></strong>(<a href="../../../../org/codehaus/jackson/map/DeserializationConfig.html" title="class in org.codehaus.jackson.map">DeserializationConfig</a> config, 213 <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> type)</code> 214<div class="block">Method that can be called to try to resolve an abstract type 215 (interface, abstract class) into a concrete type, or at least 216 something "more concrete" (abstract class instead of interface).</div> 217</td> 218</tr> 219<tr class="altColor"> 220<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html" title="class in org.codehaus.jackson.map">DeserializerProvider</a></code></td> 221<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#withAbstractTypeResolver(org.codehaus.jackson.map.AbstractTypeResolver)">withAbstractTypeResolver</a></strong>(<a href="../../../../org/codehaus/jackson/map/AbstractTypeResolver.html" title="class in org.codehaus.jackson.map">AbstractTypeResolver</a> resolver)</code> </td> 222</tr> 223<tr class="rowColor"> 224<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html" title="class in org.codehaus.jackson.map">DeserializerProvider</a></code></td> 225<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#withAdditionalDeserializers(org.codehaus.jackson.map.Deserializers)">withAdditionalDeserializers</a></strong>(<a href="../../../../org/codehaus/jackson/map/Deserializers.html" title="interface in org.codehaus.jackson.map">Deserializers</a> d)</code> 226<div class="block">Method that is to configure <a href="../../../../org/codehaus/jackson/map/DeserializerFactory.html" title="class in org.codehaus.jackson.map"><code>DeserializerFactory</code></a> that provider has 227 to use specified deserializer provider, with highest precedence (that is, 228 additional providers have higher precedence than default one or previously 229 added ones)</div> 230</td> 231</tr> 232<tr class="altColor"> 233<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html" title="class in org.codehaus.jackson.map">DeserializerProvider</a></code></td> 234<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#withAdditionalKeyDeserializers(org.codehaus.jackson.map.KeyDeserializers)">withAdditionalKeyDeserializers</a></strong>(<a href="../../../../org/codehaus/jackson/map/KeyDeserializers.html" title="interface in org.codehaus.jackson.map">KeyDeserializers</a> d)</code> </td> 235</tr> 236<tr class="rowColor"> 237<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html" title="class in org.codehaus.jackson.map">DeserializerProvider</a></code></td> 238<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#withDeserializerModifier(org.codehaus.jackson.map.deser.BeanDeserializerModifier)">withDeserializerModifier</a></strong>(<a href="../../../../org/codehaus/jackson/map/deser/BeanDeserializerModifier.html" title="class in org.codehaus.jackson.map.deser">BeanDeserializerModifier</a> modifier)</code> </td> 239</tr> 240<tr class="altColor"> 241<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html" title="class in org.codehaus.jackson.map">DeserializerProvider</a></code></td> 242<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#withFactory(org.codehaus.jackson.map.DeserializerFactory)">withFactory</a></strong>(<a href="../../../../org/codehaus/jackson/map/DeserializerFactory.html" title="class in org.codehaus.jackson.map">DeserializerFactory</a> factory)</code> 243<div class="block">Method that sub-classes need to override, to ensure that fluent-factory 244 methods will produce proper sub-type.</div> 245</td> 246</tr> 247<tr class="rowColor"> 248<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html" title="class in org.codehaus.jackson.map">DeserializerProvider</a></code></td> 249<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#withValueInstantiators(org.codehaus.jackson.map.deser.ValueInstantiators)">withValueInstantiators</a></strong>(<a href="../../../../org/codehaus/jackson/map/deser/ValueInstantiators.html" title="interface in org.codehaus.jackson.map.deser">ValueInstantiators</a> instantiators)</code> 250<div class="block">Method that will construct a new instance with specified additional value instantiators 251 (i.e.</div> 252</td> 253</tr> 254</table> 255<ul class="blockList"> 256<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 257<!-- --> 258</a> 259<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> 260<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> 261</ul> 262</li> 263</ul> 264</li> 265</ul> 266</div> 267<div class="details"> 268<ul class="blockList"> 269<li class="blockList"> 270<!-- ========= CONSTRUCTOR DETAIL ======== --> 271<ul class="blockList"> 272<li class="blockList"><a name="constructor_detail"> 273<!-- --> 274</a> 275<h3>Constructor Detail</h3> 276<a name="DeserializerProvider()"> 277<!-- --> 278</a> 279<ul class="blockListLast"> 280<li class="blockList"> 281<h4>DeserializerProvider</h4> 282<pre>protected DeserializerProvider()</pre> 283</li> 284</ul> 285</li> 286</ul> 287<!-- ============ METHOD DETAIL ========== --> 288<ul class="blockList"> 289<li class="blockList"><a name="method_detail"> 290<!-- --> 291</a> 292<h3>Method Detail</h3> 293<a name="withFactory(org.codehaus.jackson.map.DeserializerFactory)"> 294<!-- --> 295</a> 296<ul class="blockList"> 297<li class="blockList"> 298<h4>withFactory</h4> 299<pre>public abstract <a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html" title="class in org.codehaus.jackson.map">DeserializerProvider</a> withFactory(<a href="../../../../org/codehaus/jackson/map/DeserializerFactory.html" title="class in org.codehaus.jackson.map">DeserializerFactory</a> factory)</pre> 300<div class="block">Method that sub-classes need to override, to ensure that fluent-factory 301 methods will produce proper sub-type.</div> 302<dl><dt><span class="strong">Since:</span></dt> 303 <dd>1.9</dd></dl> 304</li> 305</ul> 306<a name="withAdditionalDeserializers(org.codehaus.jackson.map.Deserializers)"> 307<!-- --> 308</a> 309<ul class="blockList"> 310<li class="blockList"> 311<h4>withAdditionalDeserializers</h4> 312<pre>public abstract <a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html" title="class in org.codehaus.jackson.map">DeserializerProvider</a> withAdditionalDeserializers(<a href="../../../../org/codehaus/jackson/map/Deserializers.html" title="interface in org.codehaus.jackson.map">Deserializers</a> d)</pre> 313<div class="block">Method that is to configure <a href="../../../../org/codehaus/jackson/map/DeserializerFactory.html" title="class in org.codehaus.jackson.map"><code>DeserializerFactory</code></a> that provider has 314 to use specified deserializer provider, with highest precedence (that is, 315 additional providers have higher precedence than default one or previously 316 added ones)</div> 317<dl><dt><span class="strong">Since:</span></dt> 318 <dd>1.7</dd></dl> 319</li> 320</ul> 321<a name="withAdditionalKeyDeserializers(org.codehaus.jackson.map.KeyDeserializers)"> 322<!-- --> 323</a> 324<ul class="blockList"> 325<li class="blockList"> 326<h4>withAdditionalKeyDeserializers</h4> 327<pre>public abstract <a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html" title="class in org.codehaus.jackson.map">DeserializerProvider</a> withAdditionalKeyDeserializers(<a href="../../../../org/codehaus/jackson/map/KeyDeserializers.html" title="interface in org.codehaus.jackson.map">KeyDeserializers</a> d)</pre> 328<dl><dt><span class="strong">Since:</span></dt> 329 <dd>1.8</dd></dl> 330</li> 331</ul> 332<a name="withDeserializerModifier(org.codehaus.jackson.map.deser.BeanDeserializerModifier)"> 333<!-- --> 334</a> 335<ul class="blockList"> 336<li class="blockList"> 337<h4>withDeserializerModifier</h4> 338<pre>public abstract <a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html" title="class in org.codehaus.jackson.map">DeserializerProvider</a> withDeserializerModifier(<a href="../../../../org/codehaus/jackson/map/deser/BeanDeserializerModifier.html" title="class in org.codehaus.jackson.map.deser">BeanDeserializerModifier</a> modifier)</pre> 339<dl><dt><span class="strong">Since:</span></dt> 340 <dd>1.7</dd></dl> 341</li> 342</ul> 343<a name="withAbstractTypeResolver(org.codehaus.jackson.map.AbstractTypeResolver)"> 344<!-- --> 345</a> 346<ul class="blockList"> 347<li class="blockList"> 348<h4>withAbstractTypeResolver</h4> 349<pre>public abstract <a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html" title="class in org.codehaus.jackson.map">DeserializerProvider</a> withAbstractTypeResolver(<a href="../../../../org/codehaus/jackson/map/AbstractTypeResolver.html" title="class in org.codehaus.jackson.map">AbstractTypeResolver</a> resolver)</pre> 350<dl><dt><span class="strong">Since:</span></dt> 351 <dd>1.8</dd></dl> 352</li> 353</ul> 354<a name="withValueInstantiators(org.codehaus.jackson.map.deser.ValueInstantiators)"> 355<!-- --> 356</a> 357<ul class="blockList"> 358<li class="blockList"> 359<h4>withValueInstantiators</h4> 360<pre>public abstract <a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html" title="class in org.codehaus.jackson.map">DeserializerProvider</a> withValueInstantiators(<a href="../../../../org/codehaus/jackson/map/deser/ValueInstantiators.html" title="interface in org.codehaus.jackson.map.deser">ValueInstantiators</a> instantiators)</pre> 361<div class="block">Method that will construct a new instance with specified additional value instantiators 362 (i.e. does NOT replace existing ones)</div> 363<dl><dt><span class="strong">Since:</span></dt> 364 <dd>1.9</dd></dl> 365</li> 366</ul> 367<a name="findValueDeserializer(org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)"> 368<!-- --> 369</a> 370<ul class="blockList"> 371<li class="blockList"> 372<h4>findValueDeserializer</h4> 373<pre>public abstract <a href="../../../../org/codehaus/jackson/map/JsonDeserializer.html" title="class in org.codehaus.jackson.map">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="../../../../org/codehaus/jackson/map/DeserializationConfig.html" title="class in org.codehaus.jackson.map">DeserializationConfig</a> config, 374 <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> propertyType, 375 <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a> property) 376 throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre> 377<div class="block">Method called to get hold of a deserializer for a value of given type; 378 or if no such deserializer can be found, a default handler (which 379 may do a best-effort generic serialization or just simply 380 throw an exception when invoked). 381<p> 382 Note: this method is only called for value types; not for keys. 383 Key deserializers can be accessed using <a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#findKeyDeserializer(org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)"><code>findKeyDeserializer(org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)</code></a>.</div> 384<dl><dt><span class="strong">Parameters:</span></dt><dd><code>config</code> - Deserialization configuration</dd><dd><code>propertyType</code> - Declared type of the value to deserializer (obtained using 385 'setter' method signature and/or type annotations</dd><dd><code>property</code> - Object that represents accessor for property value; field, 386 setter method or constructor parameter.</dd> 387<dt><span class="strong">Throws:</span></dt> 388<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code> - if there are fatal problems with 389 accessing suitable deserializer; including that of not 390 finding any serializer</dd></dl> 391</li> 392</ul> 393<a name="findTypedValueDeserializer(org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)"> 394<!-- --> 395</a> 396<ul class="blockList"> 397<li class="blockList"> 398<h4>findTypedValueDeserializer</h4> 399<pre>public abstract <a href="../../../../org/codehaus/jackson/map/JsonDeserializer.html" title="class in org.codehaus.jackson.map">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>> findTypedValueDeserializer(<a href="../../../../org/codehaus/jackson/map/DeserializationConfig.html" title="class in org.codehaus.jackson.map">DeserializationConfig</a> config, 400 <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> type, 401 <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a> property) 402 throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre> 403<div class="block">Method called to locate deserializer for given type, as well as matching 404 type deserializer (if one is needed); and if type deserializer is needed, 405 construct a "wrapped" deserializer that can extract and use type information 406 for calling actual deserializer. 407<p> 408 Since this method is only called for root elements, no referral information 409 is taken.</div> 410<dl><dt><span class="strong">Throws:</span></dt> 411<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt> 412 <dd>1.5</dd></dl> 413</li> 414</ul> 415<a name="findKeyDeserializer(org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)"> 416<!-- --> 417</a> 418<ul class="blockList"> 419<li class="blockList"> 420<h4>findKeyDeserializer</h4> 421<pre>public abstract <a href="../../../../org/codehaus/jackson/map/KeyDeserializer.html" title="class in org.codehaus.jackson.map">KeyDeserializer</a> findKeyDeserializer(<a href="../../../../org/codehaus/jackson/map/DeserializationConfig.html" title="class in org.codehaus.jackson.map">DeserializationConfig</a> config, 422 <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> keyType, 423 <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a> property) 424 throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre> 425<div class="block">Method called to get hold of a deserializer to use for deserializing 426 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> 427<dl><dt><span class="strong">Throws:</span></dt> 428<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code> - if there are fatal problems with 429 accessing suitable key deserializer; including that of not 430 finding any serializer</dd></dl> 431</li> 432</ul> 433<a name="hasValueDeserializerFor(org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.type.JavaType)"> 434<!-- --> 435</a> 436<ul class="blockList"> 437<li class="blockList"> 438<h4>hasValueDeserializerFor</h4> 439<pre>public abstract boolean hasValueDeserializerFor(<a href="../../../../org/codehaus/jackson/map/DeserializationConfig.html" title="class in org.codehaus.jackson.map">DeserializationConfig</a> config, 440 <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> type)</pre> 441<div class="block">Method called to find out whether provider would be able to find 442 a deserializer for given type, using a root reference (i.e. not 443 through fields or membership in an array or collection)</div> 444</li> 445</ul> 446<a name="mapAbstractType(org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.type.JavaType)"> 447<!-- --> 448</a> 449<ul class="blockList"> 450<li class="blockList"> 451<h4>mapAbstractType</h4> 452<pre>public abstract <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> mapAbstractType(<a href="../../../../org/codehaus/jackson/map/DeserializationConfig.html" title="class in org.codehaus.jackson.map">DeserializationConfig</a> config, 453 <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> type) 454 throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre> 455<div class="block">Method that can be called to try to resolve an abstract type 456 (interface, abstract class) into a concrete type, or at least 457 something "more concrete" (abstract class instead of interface). 458 Will either return passed type, or a more specific type.</div> 459<dl><dt><span class="strong">Throws:</span></dt> 460<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt> 461 <dd>1.9</dd></dl> 462</li> 463</ul> 464<a name="findExpectedRootName(org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.type.JavaType)"> 465<!-- --> 466</a> 467<ul class="blockList"> 468<li class="blockList"> 469<h4>findExpectedRootName</h4> 470<pre>public abstract <a href="../../../../org/codehaus/jackson/io/SerializedString.html" title="class in org.codehaus.jackson.io">SerializedString</a> findExpectedRootName(<a href="../../../../org/codehaus/jackson/map/DeserializationConfig.html" title="class in org.codehaus.jackson.map">DeserializationConfig</a> config, 471 <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> type) 472 throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre> 473<div class="block">Method that can be used to try find expected root name for given type</div> 474<dl><dt><span class="strong">Throws:</span></dt> 475<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt> 476 <dd>1.9</dd></dl> 477</li> 478</ul> 479<a name="cachedDeserializersCount()"> 480<!-- --> 481</a> 482<ul class="blockList"> 483<li class="blockList"> 484<h4>cachedDeserializersCount</h4> 485<pre>public abstract int cachedDeserializersCount()</pre> 486<div class="block">Method that can be used to determine how many deserializers this 487 provider is caching currently 488 (if it does caching: default implementation does) 489 Exact count depends on what kind of deserializers get cached; 490 default implementation caches only dynamically constructed deserializers, 491 but not eagerly constructed standard deserializers (which is different 492 from how serializer provider works). 493<p> 494 The main use case for this method is to allow conditional flushing of 495 deserializer cache, if certain number of entries is reached.</div> 496<dl><dt><span class="strong">Since:</span></dt> 497 <dd>1.4</dd></dl> 498</li> 499</ul> 500<a name="flushCachedDeserializers()"> 501<!-- --> 502</a> 503<ul class="blockListLast"> 504<li class="blockList"> 505<h4>flushCachedDeserializers</h4> 506<pre>public abstract void flushCachedDeserializers()</pre> 507<div class="block">Method that will drop all dynamically constructed deserializers (ones that 508 are counted as result value for <a href="../../../../org/codehaus/jackson/map/DeserializerProvider.html#cachedDeserializersCount()"><code>cachedDeserializersCount()</code></a>). 509 This can be used to remove memory usage (in case some deserializers are 510 only used once or so), or to force re-construction of deserializers after 511 configuration changes for mapper than owns the provider.</div> 512<dl><dt><span class="strong">Since:</span></dt> 513 <dd>1.4</dd></dl> 514</li> 515</ul> 516</li> 517</ul> 518</li> 519</ul> 520</div> 521</div> 522<!-- ========= END OF CLASS DATA ========= --> 523<!-- ======= START OF BOTTOM NAVBAR ====== --> 524<div class="bottomNav"><a name="navbar_bottom"> 525<!-- --> 526</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 527<!-- --> 528</a> 529<ul class="navList" title="Navigation"> 530<li><a href="../../../../overview-summary.html">Overview</a></li> 531<li><a href="package-summary.html">Package</a></li> 532<li class="navBarCell1Rev">Class</li> 533<li><a href="class-use/DeserializerProvider.html">Use</a></li> 534<li><a href="package-tree.html">Tree</a></li> 535<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 536<li><a href="../../../../index-all.html">Index</a></li> 537<li><a href="../../../../help-doc.html">Help</a></li> 538</ul> 539</div> 540<div class="subNav"> 541<ul class="navList"> 542<li><a href="../../../../org/codehaus/jackson/map/DeserializerFactory.Config.html" title="class in org.codehaus.jackson.map"><span class="strong">Prev Class</span></a></li> 543<li><a href="../../../../org/codehaus/jackson/map/Deserializers.html" title="interface in org.codehaus.jackson.map"><span class="strong">Next Class</span></a></li> 544</ul> 545<ul class="navList"> 546<li><a href="../../../../index.html?org/codehaus/jackson/map/DeserializerProvider.html" target="_top">Frames</a></li> 547<li><a href="DeserializerProvider.html" target="_top">No Frames</a></li> 548</ul> 549<ul class="navList" id="allclasses_navbar_bottom"> 550<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 551</ul> 552<div> 553<script type="text/javascript"><!-- 554 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 555 if(window==top) { 556 allClassesLink.style.display = "block"; 557 } 558 else { 559 allClassesLink.style.display = "none"; 560 } 561 //--> 562</script> 563</div> 564<div> 565<ul class="subNavList"> 566<li>Summary: </li> 567<li>Nested | </li> 568<li>Field | </li> 569<li><a href="#constructor_summary">Constr</a> | </li> 570<li><a href="#method_summary">Method</a></li> 571</ul> 572<ul class="subNavList"> 573<li>Detail: </li> 574<li>Field | </li> 575<li><a href="#constructor_detail">Constr</a> | </li> 576<li><a href="#method_detail">Method</a></li> 577</ul> 578</div> 579<a name="skip-navbar_bottom"> 580<!-- --> 581</a></div> 582<!-- ======== END OF BOTTOM NAVBAR ======= --> 583</body> 584</html> 585