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:54 PDT 2015 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>StdConverter (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="StdConverter (jackson-databind 2.6.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":6,"i1":10,"i2":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 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 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 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>Field | </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>Field | </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.util</div> 97<h2 title="Class StdConverter" class="title">Class StdConverter<IN,OUT></h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<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> 102<li> 103<ul class="inheritance"> 104<li>com.fasterxml.jackson.databind.util.StdConverter<IN,OUT></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><IN,OUT></dd> 114</dl> 115<hr> 116<br> 117<pre>public abstract class <span class="typeNameLabel">StdConverter<IN,OUT></span> 118extends <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> 119implements <a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util">Converter</a><IN,OUT></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 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"> </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> </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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> 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>abstract <a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html" title="type parameter in StdConverter">OUT</a></code></td> 179<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> value)</code> 180<div class="block">Main conversion method.</div> 181</td> 182</tr> 183<tr id="i1" class="rowColor"> 184<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></code></td> 185<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> typeFactory)</code> 186<div class="block">Method that can be used to find out actual input (source) type; this 187 usually can be determined from type parameters, but may need 188 to be implemented differently from programmatically defined 189 converters (which can not change static type parameter bindings).</div> 190</td> 191</tr> 192<tr id="i2" class="altColor"> 193<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></code></td> 194<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> typeFactory)</code> 195<div class="block">Method that can be used to find out actual output (target) type; this 196 usually can be determined from type parameters, but may need 197 to be implemented differently from programmatically defined 198 converters (which can not change static type parameter bindings).</div> 199</td> 200</tr> 201</table> 202<ul class="blockList"> 203<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 204<!-- --> 205</a> 206<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> 207<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> 208</ul> 209</li> 210</ul> 211</li> 212</ul> 213</div> 214<div class="details"> 215<ul class="blockList"> 216<li class="blockList"> 217<!-- ========= CONSTRUCTOR DETAIL ======== --> 218<ul class="blockList"> 219<li class="blockList"><a name="constructor.detail"> 220<!-- --> 221</a> 222<h3>Constructor Detail</h3> 223<a name="StdConverter--"> 224<!-- --> 225</a> 226<ul class="blockListLast"> 227<li class="blockList"> 228<h4>StdConverter</h4> 229<pre>public StdConverter()</pre> 230</li> 231</ul> 232</li> 233</ul> 234<!-- ============ METHOD DETAIL ========== --> 235<ul class="blockList"> 236<li class="blockList"><a name="method.detail"> 237<!-- --> 238</a> 239<h3>Method Detail</h3> 240<a name="convert-java.lang.Object-"> 241<!-- --> 242</a><a name="convert-IN-"> 243<!-- --> 244</a> 245<ul class="blockList"> 246<li class="blockList"> 247<h4>convert</h4> 248<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html" title="type parameter in StdConverter">OUT</a> convert(<a href="../../../../../com/fasterxml/jackson/databind/util/StdConverter.html" title="type parameter in StdConverter">IN</a> value)</pre> 249<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html#convert-IN-">Converter</a></code></span></div> 250<div class="block">Main conversion method.</div> 251<dl> 252<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 253<dd><code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html#convert-IN-">convert</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util">Converter</a><<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>></code></dd> 254</dl> 255</li> 256</ul> 257<a name="getInputType-com.fasterxml.jackson.databind.type.TypeFactory-"> 258<!-- --> 259</a> 260<ul class="blockList"> 261<li class="blockList"> 262<h4>getInputType</h4> 263<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> getInputType(<a href="../../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a> typeFactory)</pre> 264<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html#getInputType-com.fasterxml.jackson.databind.type.TypeFactory-">Converter</a></code></span></div> 265<div class="block">Method that can be used to find out actual input (source) type; this 266 usually can be determined from type parameters, but may need 267 to be implemented differently from programmatically defined 268 converters (which can not change static type parameter bindings).</div> 269<dl> 270<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 271<dd><code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html#getInputType-com.fasterxml.jackson.databind.type.TypeFactory-">getInputType</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util">Converter</a><<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>></code></dd> 272</dl> 273</li> 274</ul> 275<a name="getOutputType-com.fasterxml.jackson.databind.type.TypeFactory-"> 276<!-- --> 277</a> 278<ul class="blockListLast"> 279<li class="blockList"> 280<h4>getOutputType</h4> 281<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> getOutputType(<a href="../../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a> typeFactory)</pre> 282<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html#getOutputType-com.fasterxml.jackson.databind.type.TypeFactory-">Converter</a></code></span></div> 283<div class="block">Method that can be used to find out actual output (target) type; this 284 usually can be determined from type parameters, but may need 285 to be implemented differently from programmatically defined 286 converters (which can not change static type parameter bindings).</div> 287<dl> 288<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 289<dd><code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html#getOutputType-com.fasterxml.jackson.databind.type.TypeFactory-">getOutputType</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/util/Converter.html" title="interface in com.fasterxml.jackson.databind.util">Converter</a><<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>></code></dd> 290</dl> 291</li> 292</ul> 293</li> 294</ul> 295</li> 296</ul> 297</div> 298</div> 299<!-- ========= END OF CLASS DATA ========= --> 300<!-- ======= START OF BOTTOM NAVBAR ====== --> 301<div class="bottomNav"><a name="navbar.bottom"> 302<!-- --> 303</a> 304<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 305<a name="navbar.bottom.firstrow"> 306<!-- --> 307</a> 308<ul class="navList" title="Navigation"> 309<li><a href="../../../../../overview-summary.html">Overview</a></li> 310<li><a href="package-summary.html">Package</a></li> 311<li class="navBarCell1Rev">Class</li> 312<li><a href="class-use/StdConverter.html">Use</a></li> 313<li><a href="package-tree.html">Tree</a></li> 314<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 315<li><a href="../../../../../index-all.html">Index</a></li> 316<li><a href="../../../../../help-doc.html">Help</a></li> 317</ul> 318</div> 319<div class="subNav"> 320<ul class="navList"> 321<li><a href="../../../../../com/fasterxml/jackson/databind/util/SimpleBeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Prev Class</span></a></li> 322<li><a href="../../../../../com/fasterxml/jackson/databind/util/StdDateFormat.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Next Class</span></a></li> 323</ul> 324<ul class="navList"> 325<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/StdConverter.html" target="_top">Frames</a></li> 326<li><a href="StdConverter.html" target="_top">No Frames</a></li> 327</ul> 328<ul class="navList" id="allclasses_navbar_bottom"> 329<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 330</ul> 331<div> 332<script type="text/javascript"><!-- 333 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 334 if(window==top) { 335 allClassesLink.style.display = "block"; 336 } 337 else { 338 allClassesLink.style.display = "none"; 339 } 340 //--> 341</script> 342</div> 343<div> 344<ul class="subNavList"> 345<li>Summary: </li> 346<li>Nested | </li> 347<li>Field | </li> 348<li><a href="#constructor.summary">Constr</a> | </li> 349<li><a href="#method.summary">Method</a></li> 350</ul> 351<ul class="subNavList"> 352<li>Detail: </li> 353<li>Field | </li> 354<li><a href="#constructor.detail">Constr</a> | </li> 355<li><a href="#method.detail">Method</a></li> 356</ul> 357</div> 358<a name="skip.navbar.bottom"> 359<!-- --> 360</a></div> 361<!-- ======== END OF BOTTOM NAVBAR ======= --> 362<p class="legalCopy"><small>Copyright © 2014–2015 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 363</body> 364</html> 365