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 Tue Mar 24 11:44:40 PDT 2020 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>ResolvableSerializer (jackson-databind 2.11.0.rc1 API)</title> 8<meta name="date" content="2020-03-24"> 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="ResolvableSerializer (jackson-databind 2.11.0.rc1 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/ResolvableSerializer.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/ser/PropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" target="_top">Frames</a></li> 58<li><a href="ResolvableSerializer.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>Constr | </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>Constr | </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.ser</div> 97<h2 title="Interface ResolvableSerializer" class="title">Interface ResolvableSerializer</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/ser/impl/BeanAsArraySerializer.html" title="class in com.fasterxml.jackson.databind.ser.impl">BeanAsArraySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdDelegatingSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdDelegatingSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/UnwrappingBeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser.impl">UnwrappingBeanSerializer</a></dd> 106</dl> 107<hr> 108<br> 109<pre>public interface <span class="typeNameLabel">ResolvableSerializer</span></pre> 110<div class="block">Interface used to indicate serializers that want to do post-processing 111 after construction and being added to <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a>, 112 but before being used. This is typically used to resolve references 113 to other contained types; for example, bean serializers use this 114 to eagerly find serializers for contained field types. 115<p> 116 Note that in cases where serializer needs both contextualization and 117 resolution -- that is, implements both this interface and <a href="../../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><code>ContextualSerializer</code></a> 118 -- resolution via this interface occurs first, and contextual 119 resolution (using <a href="../../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><code>ContextualSerializer</code></a>) later on.</div> 120</li> 121</ul> 122</div> 123<div class="summary"> 124<ul class="blockList"> 125<li class="blockList"> 126<!-- ========== METHOD SUMMARY =========== --> 127<ul class="blockList"> 128<li class="blockList"><a name="method.summary"> 129<!-- --> 130</a> 131<h3>Method Summary</h3> 132<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 133<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></caption> 134<tr> 135<th class="colFirst" scope="col">Modifier and Type</th> 136<th class="colLast" scope="col">Method and Description</th> 137</tr> 138<tr id="i0" class="altColor"> 139<td class="colFirst"><code>void</code></td> 140<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html#resolve-com.fasterxml.jackson.databind.SerializerProvider-">resolve</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider)</code> 141<div class="block">Method called after <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a> has registered 142 the serializer, but before it has returned it to the caller.</div> 143</td> 144</tr> 145</table> 146</li> 147</ul> 148</li> 149</ul> 150</div> 151<div class="details"> 152<ul class="blockList"> 153<li class="blockList"> 154<!-- ============ METHOD DETAIL ========== --> 155<ul class="blockList"> 156<li class="blockList"><a name="method.detail"> 157<!-- --> 158</a> 159<h3>Method Detail</h3> 160<a name="resolve-com.fasterxml.jackson.databind.SerializerProvider-"> 161<!-- --> 162</a> 163<ul class="blockListLast"> 164<li class="blockList"> 165<h4>resolve</h4> 166<pre>void resolve(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider) 167 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 168<div class="block">Method called after <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a> has registered 169 the serializer, but before it has returned it to the caller. 170 Called object can then resolve its dependencies to other types, 171 including self-references (direct or indirect). 172<p> 173 Note that this method does NOT return serializer, since resolution 174 is not allowed to change actual serializer to use.</div> 175<dl> 176<dt><span class="paramLabel">Parameters:</span></dt> 177<dd><code>provider</code> - Provider that has constructed serializer this method 178 is called on.</dd> 179<dt><span class="throwsLabel">Throws:</span></dt> 180<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 181</dl> 182</li> 183</ul> 184</li> 185</ul> 186</li> 187</ul> 188</div> 189</div> 190<!-- ========= END OF CLASS DATA ========= --> 191<!-- ======= START OF BOTTOM NAVBAR ====== --> 192<div class="bottomNav"><a name="navbar.bottom"> 193<!-- --> 194</a> 195<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 196<a name="navbar.bottom.firstrow"> 197<!-- --> 198</a> 199<ul class="navList" title="Navigation"> 200<li><a href="../../../../../overview-summary.html">Overview</a></li> 201<li><a href="package-summary.html">Package</a></li> 202<li class="navBarCell1Rev">Class</li> 203<li><a href="class-use/ResolvableSerializer.html">Use</a></li> 204<li><a href="package-tree.html">Tree</a></li> 205<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 206<li><a href="../../../../../index-all.html">Index</a></li> 207<li><a href="../../../../../help-doc.html">Help</a></li> 208</ul> 209</div> 210<div class="subNav"> 211<ul class="navList"> 212<li><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Prev Class</span></a></li> 213<li><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Next Class</span></a></li> 214</ul> 215<ul class="navList"> 216<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" target="_top">Frames</a></li> 217<li><a href="ResolvableSerializer.html" target="_top">No Frames</a></li> 218</ul> 219<ul class="navList" id="allclasses_navbar_bottom"> 220<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 221</ul> 222<div> 223<script type="text/javascript"><!-- 224 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 225 if(window==top) { 226 allClassesLink.style.display = "block"; 227 } 228 else { 229 allClassesLink.style.display = "none"; 230 } 231 //--> 232</script> 233</div> 234<div> 235<ul class="subNavList"> 236<li>Summary: </li> 237<li>Nested | </li> 238<li>Field | </li> 239<li>Constr | </li> 240<li><a href="#method.summary">Method</a></li> 241</ul> 242<ul class="subNavList"> 243<li>Detail: </li> 244<li>Field | </li> 245<li>Constr | </li> 246<li><a href="#method.detail">Method</a></li> 247</ul> 248</div> 249<a name="skip.navbar.bottom"> 250<!-- --> 251</a></div> 252<!-- ======== END OF BOTTOM NAVBAR ======= --> 253<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 254</body> 255</html> 256