• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (1.8.0) on Sun Jul 19 11:36:51 PDT 2015 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>KeyDeserializers (jackson-databind 2.6.0 API)</title>
8<meta name="date" content="2015-07-19">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10<script type="text/javascript" src="../../../../../script.js"></script>
11</head>
12<body>
13<script type="text/javascript"><!--
14    try {
15        if (location.href.indexOf('is-external=true') == -1) {
16            parent.document.title="KeyDeserializers (jackson-databind 2.6.0 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":6};
23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/KeyDeserializers.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/Deserializers.Base.html" title="class in com.fasterxml.jackson.databind.deser"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../../com/fasterxml/jackson/databind/deser/ResolvableDeserializer.html" title="interface in com.fasterxml.jackson.databind.deser"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
55</ul>
56<ul class="navList">
57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/deser/KeyDeserializers.html" target="_top">Frames</a></li>
58<li><a href="KeyDeserializers.html" target="_top">No&nbsp;Frames</a></li>
59</ul>
60<ul class="navList" id="allclasses_navbar_top">
61<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
78<li>Nested&nbsp;|&nbsp;</li>
79<li>Field&nbsp;|&nbsp;</li>
80<li>Constr&nbsp;|&nbsp;</li>
81<li><a href="#method.summary">Method</a></li>
82</ul>
83<ul class="subNavList">
84<li>Detail:&nbsp;</li>
85<li>Field&nbsp;|&nbsp;</li>
86<li>Constr&nbsp;|&nbsp;</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="Interface KeyDeserializers" class="title">Interface KeyDeserializers</h2>
98</div>
99<div class="contentContainer">
100<div class="description">
101<ul class="blockList">
102<li class="blockList">
103<dl>
104<dt>All Known Implementing Classes:</dt>
105<dd><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleKeyDeserializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleKeyDeserializers</a>, <a href="../../../../../com/fasterxml/jackson/databind/deser/std/StdKeyDeserializers.html" title="class in com.fasterxml.jackson.databind.deser.std">StdKeyDeserializers</a></dd>
106</dl>
107<hr>
108<br>
109<pre>public interface <span class="typeNameLabel">KeyDeserializers</span></pre>
110<div class="block">Interface that defines API for simple extensions that can provide additional deserializers
111 for deserializer Map keys of various types, from JSON property names.
112 Access is by a single callback method; instance is to either return
113 a configured <a href="../../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind"><code>KeyDeserializer</code></a> for specified type, or null to indicate that it
114 does not support handling of the type. In latter case, further calls can be made
115 for other providers; in former case returned key deserializer is used for handling of
116 key instances of specified type.</div>
117</li>
118</ul>
119</div>
120<div class="summary">
121<ul class="blockList">
122<li class="blockList">
123<!-- ========== METHOD SUMMARY =========== -->
124<ul class="blockList">
125<li class="blockList"><a name="method.summary">
126<!--   -->
127</a>
128<h3>Method Summary</h3>
129<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
130<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
131<tr>
132<th class="colFirst" scope="col">Modifier and Type</th>
133<th class="colLast" scope="col">Method and Description</th>
134</tr>
135<tr id="i0" class="altColor">
136<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer</a></code></td>
137<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/deser/KeyDeserializers.html#findKeyDeserializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.DeserializationConfig-com.fasterxml.jackson.databind.BeanDescription-">findKeyDeserializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type,
138                   <a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind">DeserializationConfig</a>&nbsp;config,
139                   <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a>&nbsp;beanDesc)</code>&nbsp;</td>
140</tr>
141</table>
142</li>
143</ul>
144</li>
145</ul>
146</div>
147<div class="details">
148<ul class="blockList">
149<li class="blockList">
150<!-- ============ METHOD DETAIL ========== -->
151<ul class="blockList">
152<li class="blockList"><a name="method.detail">
153<!--   -->
154</a>
155<h3>Method Detail</h3>
156<a name="findKeyDeserializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.DeserializationConfig-com.fasterxml.jackson.databind.BeanDescription-">
157<!--   -->
158</a>
159<ul class="blockListLast">
160<li class="blockList">
161<h4>findKeyDeserializer</h4>
162<pre><a href="../../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer</a>&nbsp;findKeyDeserializer(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type,
163                                    <a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind">DeserializationConfig</a>&nbsp;config,
164                                    <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a>&nbsp;beanDesc)
165                             throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
166<dl>
167<dt><span class="throwsLabel">Throws:</span></dt>
168<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd>
169</dl>
170</li>
171</ul>
172</li>
173</ul>
174</li>
175</ul>
176</div>
177</div>
178<!-- ========= END OF CLASS DATA ========= -->
179<!-- ======= START OF BOTTOM NAVBAR ====== -->
180<div class="bottomNav"><a name="navbar.bottom">
181<!--   -->
182</a>
183<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
184<a name="navbar.bottom.firstrow">
185<!--   -->
186</a>
187<ul class="navList" title="Navigation">
188<li><a href="../../../../../overview-summary.html">Overview</a></li>
189<li><a href="package-summary.html">Package</a></li>
190<li class="navBarCell1Rev">Class</li>
191<li><a href="class-use/KeyDeserializers.html">Use</a></li>
192<li><a href="package-tree.html">Tree</a></li>
193<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
194<li><a href="../../../../../index-all.html">Index</a></li>
195<li><a href="../../../../../help-doc.html">Help</a></li>
196</ul>
197</div>
198<div class="subNav">
199<ul class="navList">
200<li><a href="../../../../../com/fasterxml/jackson/databind/deser/Deserializers.Base.html" title="class in com.fasterxml.jackson.databind.deser"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
201<li><a href="../../../../../com/fasterxml/jackson/databind/deser/ResolvableDeserializer.html" title="interface in com.fasterxml.jackson.databind.deser"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
202</ul>
203<ul class="navList">
204<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/deser/KeyDeserializers.html" target="_top">Frames</a></li>
205<li><a href="KeyDeserializers.html" target="_top">No&nbsp;Frames</a></li>
206</ul>
207<ul class="navList" id="allclasses_navbar_bottom">
208<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
209</ul>
210<div>
211<script type="text/javascript"><!--
212  allClassesLink = document.getElementById("allclasses_navbar_bottom");
213  if(window==top) {
214    allClassesLink.style.display = "block";
215  }
216  else {
217    allClassesLink.style.display = "none";
218  }
219  //-->
220</script>
221</div>
222<div>
223<ul class="subNavList">
224<li>Summary:&nbsp;</li>
225<li>Nested&nbsp;|&nbsp;</li>
226<li>Field&nbsp;|&nbsp;</li>
227<li>Constr&nbsp;|&nbsp;</li>
228<li><a href="#method.summary">Method</a></li>
229</ul>
230<ul class="subNavList">
231<li>Detail:&nbsp;</li>
232<li>Field&nbsp;|&nbsp;</li>
233<li>Constr&nbsp;|&nbsp;</li>
234<li><a href="#method.detail">Method</a></li>
235</ul>
236</div>
237<a name="skip.navbar.bottom">
238<!--   -->
239</a></div>
240<!-- ======== END OF BOTTOM NAVBAR ======= -->
241<p class="legalCopy"><small>Copyright &#169; 2014&#x2013;2015 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
242</body>
243</html>
244