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_25) on Mon Jun 02 17:48:57 PDT 2014 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>ResolvableSerializer (jackson-databind 2.4.0 API)</title> 8<meta name="date" content="2014-06-02"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="ResolvableSerializer (jackson-databind 2.4.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/ResolvableSerializer.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../../index-all.html">Index</a></li> 35<li><a href="../../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" target="_top">Frames</a></li> 45<li><a href="ResolvableSerializer.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Nested | </li> 66<li>Field | </li> 67<li>Constr | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li>Field | </li> 73<li>Constr | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind.ser</div> 84<h2 title="Interface ResolvableSerializer" class="title">Interface ResolvableSerializer</h2> 85</div> 86<div class="contentContainer"> 87<div class="description"> 88<ul class="blockList"> 89<li class="blockList"> 90<dl> 91<dt>All Known Implementing Classes:</dt> 92<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> 93</dl> 94<hr> 95<br> 96<pre>public interface <span class="strong">ResolvableSerializer</span></pre> 97<div class="block">Interface used to indicate serializers that want to do post-processing 98 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>, 99 but before being used. This is typically used to resolve references 100 to other contained types; for example, bean serializers use this 101 to eagerly find serializers for contained field types. 102<p> 103 Note that in cases where serializer needs both contextualization and 104 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> 105 -- resolution via this interface occurs first, and contextual 106 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> 107</li> 108</ul> 109</div> 110<div class="summary"> 111<ul class="blockList"> 112<li class="blockList"> 113<!-- ========== METHOD SUMMARY =========== --> 114<ul class="blockList"> 115<li class="blockList"><a name="method_summary"> 116<!-- --> 117</a> 118<h3>Method Summary</h3> 119<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 120<caption><span>Methods</span><span class="tabEnd"> </span></caption> 121<tr> 122<th class="colFirst" scope="col">Modifier and Type</th> 123<th class="colLast" scope="col">Method and Description</th> 124</tr> 125<tr class="altColor"> 126<td class="colFirst"><code>void</code></td> 127<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html#resolve(com.fasterxml.jackson.databind.SerializerProvider)">resolve</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider)</code> 128<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 129 the serializer, but before it has returned it to the caller.</div> 130</td> 131</tr> 132</table> 133</li> 134</ul> 135</li> 136</ul> 137</div> 138<div class="details"> 139<ul class="blockList"> 140<li class="blockList"> 141<!-- ============ METHOD DETAIL ========== --> 142<ul class="blockList"> 143<li class="blockList"><a name="method_detail"> 144<!-- --> 145</a> 146<h3>Method Detail</h3> 147<a name="resolve(com.fasterxml.jackson.databind.SerializerProvider)"> 148<!-- --> 149</a> 150<ul class="blockListLast"> 151<li class="blockList"> 152<h4>resolve</h4> 153<pre>void resolve(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider) 154 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 155<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 156 the serializer, but before it has returned it to the caller. 157 Called object can then resolve its dependencies to other types, 158 including self-references (direct or indirect). 159<p> 160 Note that this method does NOT return serializer, since resolution 161 is not allowed to change actual serializer to use.</div> 162<dl><dt><span class="strong">Parameters:</span></dt><dd><code>provider</code> - Provider that has constructed serializer this method 163 is called on.</dd> 164<dt><span class="strong">Throws:</span></dt> 165<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 166</li> 167</ul> 168</li> 169</ul> 170</li> 171</ul> 172</div> 173</div> 174<!-- ========= END OF CLASS DATA ========= --> 175<!-- ======= START OF BOTTOM NAVBAR ====== --> 176<div class="bottomNav"><a name="navbar_bottom"> 177<!-- --> 178</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 179<!-- --> 180</a> 181<ul class="navList" title="Navigation"> 182<li><a href="../../../../../overview-summary.html">Overview</a></li> 183<li><a href="package-summary.html">Package</a></li> 184<li class="navBarCell1Rev">Class</li> 185<li><a href="class-use/ResolvableSerializer.html">Use</a></li> 186<li><a href="package-tree.html">Tree</a></li> 187<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 188<li><a href="../../../../../index-all.html">Index</a></li> 189<li><a href="../../../../../help-doc.html">Help</a></li> 190</ul> 191</div> 192<div class="subNav"> 193<ul class="navList"> 194<li><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Prev Class</span></a></li> 195<li><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Next Class</span></a></li> 196</ul> 197<ul class="navList"> 198<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" target="_top">Frames</a></li> 199<li><a href="ResolvableSerializer.html" target="_top">No Frames</a></li> 200</ul> 201<ul class="navList" id="allclasses_navbar_bottom"> 202<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 203</ul> 204<div> 205<script type="text/javascript"><!-- 206 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 207 if(window==top) { 208 allClassesLink.style.display = "block"; 209 } 210 else { 211 allClassesLink.style.display = "none"; 212 } 213 //--> 214</script> 215</div> 216<div> 217<ul class="subNavList"> 218<li>Summary: </li> 219<li>Nested | </li> 220<li>Field | </li> 221<li>Constr | </li> 222<li><a href="#method_summary">Method</a></li> 223</ul> 224<ul class="subNavList"> 225<li>Detail: </li> 226<li>Field | </li> 227<li>Constr | </li> 228<li><a href="#method_detail">Method</a></li> 229</ul> 230</div> 231<a name="skip-navbar_bottom"> 232<!-- --> 233</a></div> 234<!-- ======== END OF BOTTOM NAVBAR ======= --> 235<p class="legalCopy"><small>Copyright © 2014 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 236</body> 237</html> 238