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 Sat Apr 25 17:14:49 PDT 2020 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>StdConverter (jackson-databind 2.11.0 API)</title>
8<meta name="date" content="2020-04-25">
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="StdConverter (jackson-databind 2.11.0 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":10,"i1":6,"i2":10,"i3":10};
23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/StdConverter.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/util/SimpleBeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../../com/fasterxml/jackson/databind/util/StdDateFormat.html" title="class in com.fasterxml.jackson.databind.util"><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/util/StdConverter.html" target="_top">Frames</a></li>
58<li><a href="StdConverter.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><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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.util</div>
97<h2 title="Class StdConverter" class="title">Class StdConverter&lt;IN,OUT&gt;</h2>
98</div>
99<div class="contentContainer">
100<ul class="inheritance">
101<li><a href="https://docs.oracle.com/javase/8/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.util.StdConverter&lt;IN,OUT&gt;</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="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util">Converter</a>&lt;IN,OUT&gt;</dd>
114</dl>
115<hr>
116<br>
117<pre>public abstract class <span class="typeNameLabel">StdConverter&lt;IN,OUT&gt;</span>
118extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
119implements <a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util">Converter</a>&lt;IN,OUT&gt;</pre>
120<div class="block">Standard implementation of <a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util"><code>Converter</code></a> that supports explicit
121 type access, instead of relying type detection of generic type
122 parameters.</div>
123<dl>
124<dt><span class="simpleTagLabel">Since:</span></dt>
125<dd>2.2</dd>
126</dl>
127</li>
128</ul>
129</div>
130<div class="summary">
131<ul class="blockList">
132<li class="blockList">
133<!-- ======== NESTED CLASS SUMMARY ======== -->
134<ul class="blockList">
135<li class="blockList"><a name="nested.class.summary">
136<!--   -->
137</a>
138<h3>Nested Class Summary</h3>
139<ul class="blockList">
140<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.util.Converter">
141<!--   -->
142</a>
143<h3>Nested classes/interfaces inherited from interface&nbsp;com.fasterxml.jackson.databind.util.<a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util">Converter</a></h3>
144<code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.None.html" title="class in com.fasterxml.jackson.databind.util">Converter.None</a></code></li>
145</ul>
146</li>
147</ul>
148<!-- ======== CONSTRUCTOR SUMMARY ======== -->
149<ul class="blockList">
150<li class="blockList"><a name="constructor.summary">
151<!--   -->
152</a>
153<h3>Constructor Summary</h3>
154<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
155<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
156<tr>
157<th class="colOne" scope="col">Constructor and Description</th>
158</tr>
159<tr class="altColor">
160<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html#StdConverter--">StdConverter</a></span>()</code>&nbsp;</td>
161</tr>
162</table>
163</li>
164</ul>
165<!-- ========== METHOD SUMMARY =========== -->
166<ul class="blockList">
167<li class="blockList"><a name="method.summary">
168<!--   -->
169</a>
170<h3>Method Summary</h3>
171<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
172<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><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
173<tr>
174<th class="colFirst" scope="col">Modifier and Type</th>
175<th class="colLast" scope="col">Method and Description</th>
176</tr>
177<tr id="i0" class="altColor">
178<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></code></td>
179<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html#Z:Z_findConverterType-com.fasterxml.jackson.databind.type.TypeFactory-">_findConverterType</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a>&nbsp;tf)</code>&nbsp;</td>
180</tr>
181<tr id="i1" class="rowColor">
182<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html" title="type parameter in StdConverter">OUT</a></code></td>
183<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html#convert-IN-">convert</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html" title="type parameter in StdConverter">IN</a>&nbsp;value)</code>
184<div class="block">Main conversion method.</div>
185</td>
186</tr>
187<tr id="i2" class="altColor">
188<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></code></td>
189<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html#getInputType-com.fasterxml.jackson.databind.type.TypeFactory-">getInputType</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a>&nbsp;typeFactory)</code>
190<div class="block">Method that can be used to find out actual input (source) type; this
191 usually can be determined from type parameters, but may need
192 to be implemented differently from programmatically defined
193 converters (which cannot change static type parameter bindings).</div>
194</td>
195</tr>
196<tr id="i3" class="rowColor">
197<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></code></td>
198<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html#getOutputType-com.fasterxml.jackson.databind.type.TypeFactory-">getOutputType</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a>&nbsp;typeFactory)</code>
199<div class="block">Method that can be used to find out actual output (target) type; this
200 usually can be determined from type parameters, but may need
201 to be implemented differently from programmatically defined
202 converters (which cannot change static type parameter bindings).</div>
203</td>
204</tr>
205</table>
206<ul class="blockList">
207<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
208<!--   -->
209</a>
210<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
211<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
212</ul>
213</li>
214</ul>
215</li>
216</ul>
217</div>
218<div class="details">
219<ul class="blockList">
220<li class="blockList">
221<!-- ========= CONSTRUCTOR DETAIL ======== -->
222<ul class="blockList">
223<li class="blockList"><a name="constructor.detail">
224<!--   -->
225</a>
226<h3>Constructor Detail</h3>
227<a name="StdConverter--">
228<!--   -->
229</a>
230<ul class="blockListLast">
231<li class="blockList">
232<h4>StdConverter</h4>
233<pre>public&nbsp;StdConverter()</pre>
234</li>
235</ul>
236</li>
237</ul>
238<!-- ============ METHOD DETAIL ========== -->
239<ul class="blockList">
240<li class="blockList"><a name="method.detail">
241<!--   -->
242</a>
243<h3>Method Detail</h3>
244<a name="convert-java.lang.Object-">
245<!--   -->
246</a><a name="convert-IN-">
247<!--   -->
248</a>
249<ul class="blockList">
250<li class="blockList">
251<h4>convert</h4>
252<pre>public abstract&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html" title="type parameter in StdConverter">OUT</a>&nbsp;convert(<a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html" title="type parameter in StdConverter">IN</a>&nbsp;value)</pre>
253<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html#convert-IN-">Converter</a></code></span></div>
254<div class="block">Main conversion method.</div>
255<dl>
256<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
257<dd><code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html#convert-IN-">convert</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util">Converter</a>&lt;<a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html" title="type parameter in StdConverter">IN</a>,<a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html" title="type parameter in StdConverter">OUT</a>&gt;</code></dd>
258</dl>
259</li>
260</ul>
261<a name="getInputType-com.fasterxml.jackson.databind.type.TypeFactory-">
262<!--   -->
263</a>
264<ul class="blockList">
265<li class="blockList">
266<h4>getInputType</h4>
267<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;getInputType(<a href="../../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a>&nbsp;typeFactory)</pre>
268<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html#getInputType-com.fasterxml.jackson.databind.type.TypeFactory-">Converter</a></code></span></div>
269<div class="block">Method that can be used to find out actual input (source) type; this
270 usually can be determined from type parameters, but may need
271 to be implemented differently from programmatically defined
272 converters (which cannot change static type parameter bindings).</div>
273<dl>
274<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
275<dd><code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html#getInputType-com.fasterxml.jackson.databind.type.TypeFactory-">getInputType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util">Converter</a>&lt;<a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html" title="type parameter in StdConverter">IN</a>,<a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html" title="type parameter in StdConverter">OUT</a>&gt;</code></dd>
276</dl>
277</li>
278</ul>
279<a name="getOutputType-com.fasterxml.jackson.databind.type.TypeFactory-">
280<!--   -->
281</a>
282<ul class="blockList">
283<li class="blockList">
284<h4>getOutputType</h4>
285<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;getOutputType(<a href="../../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a>&nbsp;typeFactory)</pre>
286<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html#getOutputType-com.fasterxml.jackson.databind.type.TypeFactory-">Converter</a></code></span></div>
287<div class="block">Method that can be used to find out actual output (target) type; this
288 usually can be determined from type parameters, but may need
289 to be implemented differently from programmatically defined
290 converters (which cannot change static type parameter bindings).</div>
291<dl>
292<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
293<dd><code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html#getOutputType-com.fasterxml.jackson.databind.type.TypeFactory-">getOutputType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util">Converter</a>&lt;<a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html" title="type parameter in StdConverter">IN</a>,<a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html" title="type parameter in StdConverter">OUT</a>&gt;</code></dd>
294</dl>
295</li>
296</ul>
297<a name="Z:Z_findConverterType-com.fasterxml.jackson.databind.type.TypeFactory-">
298<!--   -->
299</a>
300<ul class="blockListLast">
301<li class="blockList">
302<h4>_findConverterType</h4>
303<pre>protected&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;_findConverterType(<a href="../../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a>&nbsp;tf)</pre>
304</li>
305</ul>
306</li>
307</ul>
308</li>
309</ul>
310</div>
311</div>
312<!-- ========= END OF CLASS DATA ========= -->
313<!-- ======= START OF BOTTOM NAVBAR ====== -->
314<div class="bottomNav"><a name="navbar.bottom">
315<!--   -->
316</a>
317<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
318<a name="navbar.bottom.firstrow">
319<!--   -->
320</a>
321<ul class="navList" title="Navigation">
322<li><a href="../../../../../overview-summary.html">Overview</a></li>
323<li><a href="package-summary.html">Package</a></li>
324<li class="navBarCell1Rev">Class</li>
325<li><a href="class-use/StdConverter.html">Use</a></li>
326<li><a href="package-tree.html">Tree</a></li>
327<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
328<li><a href="../../../../../index-all.html">Index</a></li>
329<li><a href="../../../../../help-doc.html">Help</a></li>
330</ul>
331</div>
332<div class="subNav">
333<ul class="navList">
334<li><a href="../../../../../com/fasterxml/jackson/databind/util/SimpleBeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
335<li><a href="../../../../../com/fasterxml/jackson/databind/util/StdDateFormat.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
336</ul>
337<ul class="navList">
338<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/StdConverter.html" target="_top">Frames</a></li>
339<li><a href="StdConverter.html" target="_top">No&nbsp;Frames</a></li>
340</ul>
341<ul class="navList" id="allclasses_navbar_bottom">
342<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
343</ul>
344<div>
345<script type="text/javascript"><!--
346  allClassesLink = document.getElementById("allclasses_navbar_bottom");
347  if(window==top) {
348    allClassesLink.style.display = "block";
349  }
350  else {
351    allClassesLink.style.display = "none";
352  }
353  //-->
354</script>
355</div>
356<div>
357<ul class="subNavList">
358<li>Summary:&nbsp;</li>
359<li>Nested&nbsp;|&nbsp;</li>
360<li>Field&nbsp;|&nbsp;</li>
361<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
362<li><a href="#method.summary">Method</a></li>
363</ul>
364<ul class="subNavList">
365<li>Detail:&nbsp;</li>
366<li>Field&nbsp;|&nbsp;</li>
367<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
368<li><a href="#method.detail">Method</a></li>
369</ul>
370</div>
371<a name="skip.navbar.bottom">
372<!--   -->
373</a></div>
374<!-- ======== END OF BOTTOM NAVBAR ======= -->
375<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
376</body>
377</html>
378