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>KeyDeserializers (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="KeyDeserializers (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/KeyDeserializers.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/KeyDeserializer.None.html" title="class in org.codehaus.jackson.map"><span class="strong">Prev Class</span></a></li> 40<li><a href="../../../../org/codehaus/jackson/map/MapperConfig.html" title="class 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/KeyDeserializers.html" target="_top">Frames</a></li> 44<li><a href="KeyDeserializers.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>Constr | </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>Constr | </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="Interface KeyDeserializers" class="title">Interface KeyDeserializers</h2> 84</div> 85<div class="contentContainer"> 86<div class="description"> 87<ul class="blockList"> 88<li class="blockList"> 89<dl> 90<dt>All Known Implementing Classes:</dt> 91<dd><a href="../../../../org/codehaus/jackson/map/module/SimpleKeyDeserializers.html" title="class in org.codehaus.jackson.map.module">SimpleKeyDeserializers</a></dd> 92</dl> 93<hr> 94<br> 95<pre>public interface <span class="strong">KeyDeserializers</span></pre> 96<div class="block">Interface that defines API for simple extensions that can provide additional deserializers 97 for deserializer Map keys of various types, from JSON property names. 98 Access is by a single callback method; instance is to either return 99 a configured <a href="../../../../org/codehaus/jackson/map/KeyDeserializer.html" title="class in org.codehaus.jackson.map"><code>KeyDeserializer</code></a> for specified type, or null to indicate that it 100 does not support handling of the type. In latter case, further calls can be made 101 for other providers; in former case returned key deserializer is used for handling of 102 key instances of specified type.</div> 103<dl><dt><span class="strong">Since:</span></dt> 104 <dd>1.8</dd></dl> 105</li> 106</ul> 107</div> 108<div class="summary"> 109<ul class="blockList"> 110<li class="blockList"> 111<!-- ========== METHOD SUMMARY =========== --> 112<ul class="blockList"> 113<li class="blockList"><a name="method_summary"> 114<!-- --> 115</a> 116<h3>Method Summary</h3> 117<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 118<caption><span>Methods</span><span class="tabEnd"> </span></caption> 119<tr> 120<th class="colFirst" scope="col">Modifier and Type</th> 121<th class="colLast" scope="col">Method and Description</th> 122</tr> 123<tr class="altColor"> 124<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/map/KeyDeserializer.html" title="class in org.codehaus.jackson.map">KeyDeserializer</a></code></td> 125<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/KeyDeserializers.html#findKeyDeserializer(org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.map.BeanDescription, org.codehaus.jackson.map.BeanProperty)">findKeyDeserializer</a></strong>(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> type, 126 <a href="../../../../org/codehaus/jackson/map/DeserializationConfig.html" title="class in org.codehaus.jackson.map">DeserializationConfig</a> config, 127 <a href="../../../../org/codehaus/jackson/map/BeanDescription.html" title="class in org.codehaus.jackson.map">BeanDescription</a> beanDesc, 128 <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a> property)</code> </td> 129</tr> 130</table> 131</li> 132</ul> 133</li> 134</ul> 135</div> 136<div class="details"> 137<ul class="blockList"> 138<li class="blockList"> 139<!-- ============ METHOD DETAIL ========== --> 140<ul class="blockList"> 141<li class="blockList"><a name="method_detail"> 142<!-- --> 143</a> 144<h3>Method Detail</h3> 145<a name="findKeyDeserializer(org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.DeserializationConfig, org.codehaus.jackson.map.BeanDescription, org.codehaus.jackson.map.BeanProperty)"> 146<!-- --> 147</a> 148<ul class="blockListLast"> 149<li class="blockList"> 150<h4>findKeyDeserializer</h4> 151<pre><a href="../../../../org/codehaus/jackson/map/KeyDeserializer.html" title="class in org.codehaus.jackson.map">KeyDeserializer</a> findKeyDeserializer(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> type, 152 <a href="../../../../org/codehaus/jackson/map/DeserializationConfig.html" title="class in org.codehaus.jackson.map">DeserializationConfig</a> config, 153 <a href="../../../../org/codehaus/jackson/map/BeanDescription.html" title="class in org.codehaus.jackson.map">BeanDescription</a> beanDesc, 154 <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a> property) 155 throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre> 156<dl><dt><span class="strong">Throws:</span></dt> 157<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></dd></dl> 158</li> 159</ul> 160</li> 161</ul> 162</li> 163</ul> 164</div> 165</div> 166<!-- ========= END OF CLASS DATA ========= --> 167<!-- ======= START OF BOTTOM NAVBAR ====== --> 168<div class="bottomNav"><a name="navbar_bottom"> 169<!-- --> 170</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 171<!-- --> 172</a> 173<ul class="navList" title="Navigation"> 174<li><a href="../../../../overview-summary.html">Overview</a></li> 175<li><a href="package-summary.html">Package</a></li> 176<li class="navBarCell1Rev">Class</li> 177<li><a href="class-use/KeyDeserializers.html">Use</a></li> 178<li><a href="package-tree.html">Tree</a></li> 179<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 180<li><a href="../../../../index-all.html">Index</a></li> 181<li><a href="../../../../help-doc.html">Help</a></li> 182</ul> 183</div> 184<div class="subNav"> 185<ul class="navList"> 186<li><a href="../../../../org/codehaus/jackson/map/KeyDeserializer.None.html" title="class in org.codehaus.jackson.map"><span class="strong">Prev Class</span></a></li> 187<li><a href="../../../../org/codehaus/jackson/map/MapperConfig.html" title="class in org.codehaus.jackson.map"><span class="strong">Next Class</span></a></li> 188</ul> 189<ul class="navList"> 190<li><a href="../../../../index.html?org/codehaus/jackson/map/KeyDeserializers.html" target="_top">Frames</a></li> 191<li><a href="KeyDeserializers.html" target="_top">No Frames</a></li> 192</ul> 193<ul class="navList" id="allclasses_navbar_bottom"> 194<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 195</ul> 196<div> 197<script type="text/javascript"><!-- 198 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 199 if(window==top) { 200 allClassesLink.style.display = "block"; 201 } 202 else { 203 allClassesLink.style.display = "none"; 204 } 205 //--> 206</script> 207</div> 208<div> 209<ul class="subNavList"> 210<li>Summary: </li> 211<li>Nested | </li> 212<li>Field | </li> 213<li>Constr | </li> 214<li><a href="#method_summary">Method</a></li> 215</ul> 216<ul class="subNavList"> 217<li>Detail: </li> 218<li>Field | </li> 219<li>Constr | </li> 220<li><a href="#method_detail">Method</a></li> 221</ul> 222</div> 223<a name="skip-navbar_bottom"> 224<!-- --> 225</a></div> 226<!-- ======== END OF BOTTOM NAVBAR ======= --> 227</body> 228</html> 229