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 Nov 05 19:39:10 PST 2019 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>DefaultSerializerProvider (jackson-databind 2.10.0 API)</title> 8<meta name="date" content="2019-11-05"> 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="DefaultSerializerProvider (jackson-databind 2.10.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":6,"i6":10,"i7":10,"i8":42,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10}; 23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated 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/DefaultSerializerProvider.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/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.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/DefaultSerializerProvider.html" target="_top">Frames</a></li> 58<li><a href="DefaultSerializerProvider.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><a href="#nested.class.summary">Nested</a> | </li> 79<li><a href="#field.summary">Field</a> | </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><a href="#field.detail">Field</a> | </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.ser</div> 97<h2 title="Class DefaultSerializerProvider" class="title">Class DefaultSerializerProvider</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><a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.DatabindContext</a></li> 105<li> 106<ul class="inheritance"> 107<li><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.SerializerProvider</a></li> 108<li> 109<ul class="inheritance"> 110<li>com.fasterxml.jackson.databind.ser.DefaultSerializerProvider</li> 111</ul> 112</li> 113</ul> 114</li> 115</ul> 116</li> 117</ul> 118<div class="description"> 119<ul class="blockList"> 120<li class="blockList"> 121<dl> 122<dt>All Implemented Interfaces:</dt> 123<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> 124</dl> 125<dl> 126<dt>Direct Known Subclasses:</dt> 127<dd><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider.Impl</a></dd> 128</dl> 129<hr> 130<br> 131<pre>public abstract class <span class="typeNameLabel">DefaultSerializerProvider</span> 132extends <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> 133implements <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre> 134<div class="block">Standard implementation used by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>: 135 adds methods only exposed to <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>, 136 as well as constructors. 137<p> 138 Note that class is abstract just because it does not 139 define <a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#createInstance-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.ser.SerializerFactory-"><code>createInstance(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)</code></a> method. 140<p> 141 Also note that all custom <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a> 142 implementations must sub-class this class: <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> 143 requires this type, not basic provider type.</div> 144<dl> 145<dt><span class="seeLabel">See Also:</span></dt> 146<dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.ser.DefaultSerializerProvider">Serialized Form</a></dd> 147</dl> 148</li> 149</ul> 150</div> 151<div class="summary"> 152<ul class="blockList"> 153<li class="blockList"> 154<!-- ======== NESTED CLASS SUMMARY ======== --> 155<ul class="blockList"> 156<li class="blockList"><a name="nested.class.summary"> 157<!-- --> 158</a> 159<h3>Nested Class Summary</h3> 160<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> 161<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> 162<tr> 163<th class="colFirst" scope="col">Modifier and Type</th> 164<th class="colLast" scope="col">Class and Description</th> 165</tr> 166<tr class="altColor"> 167<td class="colFirst"><code>static class </code></td> 168<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider.Impl</a></span></code> 169<div class="block">Concrete implementation that defines factory method(s), 170 defined as final.</div> 171</td> 172</tr> 173</table> 174</li> 175</ul> 176<!-- =========== FIELD SUMMARY =========== --> 177<ul class="blockList"> 178<li class="blockList"><a name="field.summary"> 179<!-- --> 180</a> 181<h3>Field Summary</h3> 182<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 183<caption><span>Fields</span><span class="tabEnd"> </span></caption> 184<tr> 185<th class="colFirst" scope="col">Modifier and Type</th> 186<th class="colLast" scope="col">Field and Description</th> 187</tr> 188<tr class="altColor"> 189<td class="colFirst"><code>protected <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a></code></td> 190<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#Z:Z_generator">_generator</a></span></code> 191<div class="block">Generator used for serialization.</div> 192</td> 193</tr> 194<tr class="rowColor"> 195<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</a><?>></code></td> 196<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#Z:Z_objectIdGenerators">_objectIdGenerators</a></span></code> </td> 197</tr> 198<tr class="altColor"> 199<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,<a href="../../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</a>></code></td> 200<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#Z:Z_seenObjectIds">_seenObjectIds</a></span></code> 201<div class="block">Per-serialization map Object Ids that have seen so far, iff 202 Object Id handling is enabled.</div> 203</td> 204</tr> 205</table> 206<ul class="blockList"> 207<li class="blockList"><a name="fields.inherited.from.class.com.fasterxml.jackson.databind.SerializerProvider"> 208<!-- --> 209</a> 210<h3>Fields inherited from class com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></h3> 211<code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_attributes">_attributes</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_config">_config</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_dateFormat">_dateFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_keySerializer">_keySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_knownSerializers">_knownSerializers</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_nullKeySerializer">_nullKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_nullValueSerializer">_nullValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_serializationView">_serializationView</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_serializerCache">_serializerCache</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_serializerFactory">_serializerFactory</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_stdNullValueSerializer">_stdNullValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_unknownTypeSerializer">_unknownTypeSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#CACHE_UNKNOWN_MAPPINGS">CACHE_UNKNOWN_MAPPINGS</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#DEFAULT_NULL_KEY_SERIALIZER">DEFAULT_NULL_KEY_SERIALIZER</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#DEFAULT_UNKNOWN_SERIALIZER">DEFAULT_UNKNOWN_SERIALIZER</a></code></li> 212</ul> 213</li> 214</ul> 215<!-- ======== CONSTRUCTOR SUMMARY ======== --> 216<ul class="blockList"> 217<li class="blockList"><a name="constructor.summary"> 218<!-- --> 219</a> 220<h3>Constructor Summary</h3> 221<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 222<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 223<tr> 224<th class="colFirst" scope="col">Modifier</th> 225<th class="colLast" scope="col">Constructor and Description</th> 226</tr> 227<tr class="altColor"> 228<td class="colFirst"><code>protected </code></td> 229<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#DefaultSerializerProvider--">DefaultSerializerProvider</a></span>()</code> </td> 230</tr> 231<tr class="rowColor"> 232<td class="colFirst"><code>protected </code></td> 233<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#DefaultSerializerProvider-com.fasterxml.jackson.databind.ser.DefaultSerializerProvider-">DefaultSerializerProvider</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a> src)</code> </td> 234</tr> 235<tr class="altColor"> 236<td class="colFirst"><code>protected </code></td> 237<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#DefaultSerializerProvider-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.ser.SerializerFactory-">DefaultSerializerProvider</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> src, 238 <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 239 <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> f)</code> </td> 240</tr> 241</table> 242</li> 243</ul> 244<!-- ========== METHOD SUMMARY =========== --> 245<ul class="blockList"> 246<li class="blockList"><a name="method.summary"> 247<!-- --> 248</a> 249<h3>Method Summary</h3> 250<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 251<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><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> 252<tr> 253<th class="colFirst" scope="col">Modifier and Type</th> 254<th class="colLast" scope="col">Method and Description</th> 255</tr> 256<tr id="i0" class="altColor"> 257<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,<a href="../../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</a>></code></td> 258<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#Z:Z_createObjectIdMap--">_createObjectIdMap</a></span>()</code> 259<div class="block">Overridable helper method used for creating <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> 260 used for storing mappings from serializable objects to their 261 Object Ids.</div> 262</td> 263</tr> 264<tr id="i1" class="rowColor"> 265<td class="colFirst"><code>protected void</code></td> 266<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#Z:Z_serializeNull-com.fasterxml.jackson.core.JsonGenerator-">_serializeNull</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen)</code> 267<div class="block">Helper method called when root value to serialize is null</div> 268</td> 269</tr> 270<tr id="i2" class="altColor"> 271<td class="colFirst"><code>void</code></td> 272<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#acceptJsonFormatVisitor-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-">acceptJsonFormatVisitor</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> javaType, 273 <a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor)</code> 274<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> 275 to to expose the format of the given to to the given visitor</div> 276</td> 277</tr> 278<tr id="i3" class="rowColor"> 279<td class="colFirst"><code>int</code></td> 280<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#cachedSerializersCount--">cachedSerializersCount</a></span>()</code> 281<div class="block">Method that can be used to determine how many serializers this 282 provider is caching currently 283 (if it does caching: default implementation does) 284 Exact count depends on what kind of serializers get cached; 285 default implementation caches all serializers, including ones that 286 are eagerly constructed (for optimal access speed)</div> 287</td> 288</tr> 289<tr id="i4" class="altColor"> 290<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a></code></td> 291<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#copy--">copy</a></span>()</code> 292<div class="block">Method needed to ensure that <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#copy--"><code>ObjectMapper.copy()</code></a> will work 293 properly; specifically, that caches are cleared, but settings 294 will otherwise remain identical; and that no sharing of state 295 occurs.</div> 296</td> 297</tr> 298<tr id="i5" class="rowColor"> 299<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a></code></td> 300<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#createInstance-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.ser.SerializerFactory-">createInstance</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 301 <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> jsf)</code> 302<div class="block">Method that sub-classes need to implement: used to create a non-blueprint instances 303 from the blueprint.</div> 304</td> 305</tr> 306<tr id="i6" class="altColor"> 307<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</a></code></td> 308<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#findObjectId-java.lang.Object-com.fasterxml.jackson.annotation.ObjectIdGenerator-">findObjectId</a></span>(<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> forPojo, 309 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</a><?> generatorType)</code> 310<div class="block">Method called to find the Object Id for given POJO, if one 311 has been generated.</div> 312</td> 313</tr> 314<tr id="i7" class="rowColor"> 315<td class="colFirst"><code>void</code></td> 316<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#flushCachedSerializers--">flushCachedSerializers</a></span>()</code> 317<div class="block">Method that will drop all serializers currently cached by this provider.</div> 318</td> 319</tr> 320<tr id="i8" class="altColor"> 321<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/jsonschema/JsonSchema.html" title="class in com.fasterxml.jackson.databind.jsonschema">JsonSchema</a></code></td> 322<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#generateJsonSchema-java.lang.Class-">generateJsonSchema</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</code> 323<div class="block"><span class="deprecatedLabel">Deprecated.</span> 324<div class="block"><span class="deprecationComment">Should not be used any more</span></div> 325</div> 326</td> 327</tr> 328<tr id="i9" class="rowColor"> 329<td class="colFirst"><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a></code></td> 330<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#getGenerator--">getGenerator</a></span>()</code> 331<div class="block">Accessor for the <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> currently in use for serializing 332 content.</div> 333</td> 334</tr> 335<tr id="i10" class="altColor"> 336<td class="colFirst"><code>boolean</code></td> 337<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#hasSerializerFor-java.lang.Class-java.util.concurrent.atomic.AtomicReference-">hasSerializerFor</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 338 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>> cause)</code> 339<div class="block">Method that can be called to see if this serializer provider 340 can find a serializer for an instance of given class.</div> 341</td> 342</tr> 343<tr id="i11" class="rowColor"> 344<td class="colFirst"><code><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></code></td> 345<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#includeFilterInstance-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-java.lang.Class-">includeFilterInstance</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> forProperty, 346 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> filterClass)</code> 347<div class="block">Method that can be called to construct and configure <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonInclude.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonInclude</code></a> 348 filter instance, 349 given a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> to instantiate (with default constructor, by default).</div> 350</td> 351</tr> 352<tr id="i12" class="altColor"> 353<td class="colFirst"><code>boolean</code></td> 354<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#includeFilterSuppressNulls-java.lang.Object-">includeFilterSuppressNulls</a></span>(<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> filter)</code> 355<div class="block">Follow-up method that may be called after calling <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#includeFilterInstance-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-java.lang.Class-"><code>SerializerProvider.includeFilterInstance(com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition, java.lang.Class<?>)</code></a>, 356 to check handling of `null` values by the filter.</div> 357</td> 358</tr> 359<tr id="i13" class="rowColor"> 360<td class="colFirst"><code>void</code></td> 361<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializePolymorphic-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">serializePolymorphic</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 362 <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> value, 363 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 364 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<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>> valueSer, 365 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer)</code> 366<div class="block">Alternate serialization call used for polymorphic types, when <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype"><code>TypeSerializer</code></a> 367 is already known, but the actual serializer may or may not be.</div> 368</td> 369</tr> 370<tr id="i14" class="altColor"> 371<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<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>></code></td> 372<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializerInstance-com.fasterxml.jackson.databind.introspect.Annotated-java.lang.Object-">serializerInstance</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> annotated, 373 <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> serDef)</code> 374<div class="block">Method that can be called to construct and configure serializer instance, 375 either given a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> to instantiate (with default constructor), 376 or an uninitialized serializer instance.</div> 377</td> 378</tr> 379<tr id="i15" class="rowColor"> 380<td class="colFirst"><code>void</code></td> 381<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializeValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-">serializeValue</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 382 <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> value)</code> 383<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> 384 for serializing given value, using serializers that 385 this provider has access to (via caching and/or creating new serializers 386 as need be).</div> 387</td> 388</tr> 389<tr id="i16" class="altColor"> 390<td class="colFirst"><code>void</code></td> 391<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializeValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-com.fasterxml.jackson.databind.JavaType-">serializeValue</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 392 <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> value, 393 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType)</code> 394<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> 395 for serializing given value (assumed to be of specified root type, 396 instead of runtime type of value), 397 using serializers that 398 this provider has access to (via caching and/or creating new serializers 399 as need be),</div> 400</td> 401</tr> 402<tr id="i17" class="rowColor"> 403<td class="colFirst"><code>void</code></td> 404<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializeValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.JsonSerializer-">serializeValue</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 405 <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> value, 406 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 407 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<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>> ser)</code> 408<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> 409 for serializing given value (assumed to be of specified root type, 410 instead of runtime type of value), when it may know specific 411 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> to use.</div> 412</td> 413</tr> 414</table> 415<ul class="blockList"> 416<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.SerializerProvider"> 417<!-- --> 418</a> 419<h3>Methods inherited from class com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></h3> 420<code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_createAndCacheUntypedSerializer-java.lang.Class-">_createAndCacheUntypedSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_createAndCacheUntypedSerializer-com.fasterxml.jackson.databind.JavaType-">_createAndCacheUntypedSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_createUntypedSerializer-com.fasterxml.jackson.databind.JavaType-">_createUntypedSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_dateFormat--">_dateFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_findExplicitUntypedSerializer-java.lang.Class-">_findExplicitUntypedSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_handleContextualResolvable-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.BeanProperty-">_handleContextualResolvable</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_handleResolvable-com.fasterxml.jackson.databind.JsonSerializer-">_handleResolvable</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_reportIncompatibleRootType-java.lang.Object-com.fasterxml.jackson.databind.JavaType-">_reportIncompatibleRootType</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#canOverrideAccessModifiers--">canOverrideAccessModifiers</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateKey-java.util.Date-com.fasterxml.jackson.core.JsonGenerator-">defaultSerializeDateKey</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateKey-long-com.fasterxml.jackson.core.JsonGenerator-">defaultSerializeDateKey</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateValue-java.util.Date-com.fasterxml.jackson.core.JsonGenerator-">defaultSerializeDateValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateValue-long-com.fasterxml.jackson.core.JsonGenerator-">defaultSerializeDateValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeField-java.lang.String-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-">defaultSerializeField</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeNull-com.fasterxml.jackson.core.JsonGenerator-">defaultSerializeNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeValue-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-">defaultSerializeValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findKeySerializer-java.lang.Class-com.fasterxml.jackson.databind.BeanProperty-">findKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findKeySerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-">findKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findNullKeySerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-">findNullKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findNullValueSerializer-com.fasterxml.jackson.databind.BeanProperty-">findNullValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findPrimaryPropertySerializer-java.lang.Class-com.fasterxml.jackson.databind.BeanProperty-">findPrimaryPropertySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findPrimaryPropertySerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-">findPrimaryPropertySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypedValueSerializer-java.lang.Class-boolean-com.fasterxml.jackson.databind.BeanProperty-">findTypedValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypedValueSerializer-com.fasterxml.jackson.databind.JavaType-boolean-com.fasterxml.jackson.databind.BeanProperty-">findTypedValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypeSerializer-com.fasterxml.jackson.databind.JavaType-">findTypeSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer-java.lang.Class-">findValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer-java.lang.Class-com.fasterxml.jackson.databind.BeanProperty-">findValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer-com.fasterxml.jackson.databind.JavaType-">findValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-">findValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getActiveView--">getActiveView</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getAnnotationIntrospector--">getAnnotationIntrospector</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getAttribute-java.lang.Object-">getAttribute</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getConfig--">getConfig</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultNullKeySerializer--">getDefaultNullKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultNullValueSerializer--">getDefaultNullValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultPropertyFormat-java.lang.Class-">getDefaultPropertyFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultPropertyInclusion-java.lang.Class-">getDefaultPropertyInclusion</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getFilterProvider--">getFilterProvider</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getLocale--">getLocale</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getSerializationView--">getSerializationView</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getTimeZone--">getTimeZone</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getTypeFactory--">getTypeFactory</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getUnknownTypeSerializer-java.lang.Class-">getUnknownTypeSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#handlePrimaryContextualization-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.BeanProperty-">handlePrimaryContextualization</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#handleSecondaryContextualization-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.BeanProperty-">handleSecondaryContextualization</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#hasSerializationFeatures-int-">hasSerializationFeatures</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#invalidTypeIdException-com.fasterxml.jackson.databind.JavaType-java.lang.String-java.lang.String-">invalidTypeIdException</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#isEnabled-com.fasterxml.jackson.databind.MapperFeature-">isEnabled</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#isEnabled-com.fasterxml.jackson.databind.SerializationFeature-">isEnabled</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#isUnknownTypeSerializer-com.fasterxml.jackson.databind.JsonSerializer-">isUnknownTypeSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#mappingException-java.lang.String-java.lang.Object...-">mappingException</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#mappingException-java.lang.Throwable-java.lang.String-java.lang.Object...-">mappingException</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportBadDefinition-java.lang.Class-java.lang.String-java.lang.Throwable-">reportBadDefinition</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportBadDefinition-com.fasterxml.jackson.databind.JavaType-java.lang.String-">reportBadDefinition</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportBadDefinition-com.fasterxml.jackson.databind.JavaType-java.lang.String-java.lang.Throwable-">reportBadDefinition</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportBadPropertyDefinition-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-java.lang.String-java.lang.Object...-">reportBadPropertyDefinition</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportBadTypeDefinition-com.fasterxml.jackson.databind.BeanDescription-java.lang.String-java.lang.Object...-">reportBadTypeDefinition</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportMappingProblem-java.lang.String-java.lang.Object...-">reportMappingProblem</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportMappingProblem-java.lang.Throwable-java.lang.String-java.lang.Object...-">reportMappingProblem</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setAttribute-java.lang.Object-java.lang.Object-">setAttribute</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setDefaultKeySerializer-com.fasterxml.jackson.databind.JsonSerializer-">setDefaultKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setNullKeySerializer-com.fasterxml.jackson.databind.JsonSerializer-">setNullKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setNullValueSerializer-com.fasterxml.jackson.databind.JsonSerializer-">setNullValueSerializer</a></code></li> 421</ul> 422<ul class="blockList"> 423<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.DatabindContext"> 424<!-- --> 425</a> 426<h3>Methods inherited from class com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></h3> 427<code><a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_colonConcat-java.lang.String-java.lang.String-">_colonConcat</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_desc-java.lang.String-">_desc</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_format-java.lang.String-java.lang.Object...-">_format</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_quotedString-java.lang.String-">_quotedString</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_throwNotASubtype-com.fasterxml.jackson.databind.JavaType-java.lang.String-">_throwNotASubtype</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_throwSubtypeClassNotAllowed-com.fasterxml.jackson.databind.JavaType-java.lang.String-com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator-">_throwSubtypeClassNotAllowed</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_throwSubtypeNameNotAllowed-com.fasterxml.jackson.databind.JavaType-java.lang.String-com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator-">_throwSubtypeNameNotAllowed</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_truncate-java.lang.String-">_truncate</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#constructSpecializedType-com.fasterxml.jackson.databind.JavaType-java.lang.Class-">constructSpecializedType</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#constructType-java.lang.reflect.Type-">constructType</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#converterInstance-com.fasterxml.jackson.databind.introspect.Annotated-java.lang.Object-">converterInstance</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#objectIdGeneratorInstance-com.fasterxml.jackson.databind.introspect.Annotated-com.fasterxml.jackson.databind.introspect.ObjectIdInfo-">objectIdGeneratorInstance</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#objectIdResolverInstance-com.fasterxml.jackson.databind.introspect.Annotated-com.fasterxml.jackson.databind.introspect.ObjectIdInfo-">objectIdResolverInstance</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#reportBadDefinition-java.lang.Class-java.lang.String-">reportBadDefinition</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#resolveAndValidateSubType-com.fasterxml.jackson.databind.JavaType-java.lang.String-com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator-">resolveAndValidateSubType</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#resolveSubType-com.fasterxml.jackson.databind.JavaType-java.lang.String-">resolveSubType</a></code></li> 428</ul> 429<ul class="blockList"> 430<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 431<!-- --> 432</a> 433<h3>Methods inherited from class 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> 434<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> 435</ul> 436</li> 437</ul> 438</li> 439</ul> 440</div> 441<div class="details"> 442<ul class="blockList"> 443<li class="blockList"> 444<!-- ============ FIELD DETAIL =========== --> 445<ul class="blockList"> 446<li class="blockList"><a name="field.detail"> 447<!-- --> 448</a> 449<h3>Field Detail</h3> 450<a name="Z:Z_seenObjectIds"> 451<!-- --> 452</a> 453<ul class="blockList"> 454<li class="blockList"> 455<h4>_seenObjectIds</h4> 456<pre>protected transient <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,<a href="../../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</a>> _seenObjectIds</pre> 457<div class="block">Per-serialization map Object Ids that have seen so far, iff 458 Object Id handling is enabled.</div> 459</li> 460</ul> 461<a name="Z:Z_objectIdGenerators"> 462<!-- --> 463</a> 464<ul class="blockList"> 465<li class="blockList"> 466<h4>_objectIdGenerators</h4> 467<pre>protected transient <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</a><?>> _objectIdGenerators</pre> 468</li> 469</ul> 470<a name="Z:Z_generator"> 471<!-- --> 472</a> 473<ul class="blockListLast"> 474<li class="blockList"> 475<h4>_generator</h4> 476<pre>protected transient <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> _generator</pre> 477<div class="block">Generator used for serialization. Needed mostly for error reporting 478 purposes.</div> 479<dl> 480<dt><span class="simpleTagLabel">Since:</span></dt> 481<dd>2.8</dd> 482</dl> 483</li> 484</ul> 485</li> 486</ul> 487<!-- ========= CONSTRUCTOR DETAIL ======== --> 488<ul class="blockList"> 489<li class="blockList"><a name="constructor.detail"> 490<!-- --> 491</a> 492<h3>Constructor Detail</h3> 493<a name="DefaultSerializerProvider--"> 494<!-- --> 495</a> 496<ul class="blockList"> 497<li class="blockList"> 498<h4>DefaultSerializerProvider</h4> 499<pre>protected DefaultSerializerProvider()</pre> 500</li> 501</ul> 502<a name="DefaultSerializerProvider-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.ser.SerializerFactory-"> 503<!-- --> 504</a> 505<ul class="blockList"> 506<li class="blockList"> 507<h4>DefaultSerializerProvider</h4> 508<pre>protected DefaultSerializerProvider(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> src, 509 <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 510 <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> f)</pre> 511</li> 512</ul> 513<a name="DefaultSerializerProvider-com.fasterxml.jackson.databind.ser.DefaultSerializerProvider-"> 514<!-- --> 515</a> 516<ul class="blockListLast"> 517<li class="blockList"> 518<h4>DefaultSerializerProvider</h4> 519<pre>protected DefaultSerializerProvider(<a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a> src)</pre> 520</li> 521</ul> 522</li> 523</ul> 524<!-- ============ METHOD DETAIL ========== --> 525<ul class="blockList"> 526<li class="blockList"><a name="method.detail"> 527<!-- --> 528</a> 529<h3>Method Detail</h3> 530<a name="createInstance-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.ser.SerializerFactory-"> 531<!-- --> 532</a> 533<ul class="blockList"> 534<li class="blockList"> 535<h4>createInstance</h4> 536<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a> createInstance(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 537 <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> jsf)</pre> 538<div class="block">Method that sub-classes need to implement: used to create a non-blueprint instances 539 from the blueprint. 540 This is needed to retain state during serialization.</div> 541</li> 542</ul> 543<a name="copy--"> 544<!-- --> 545</a> 546<ul class="blockList"> 547<li class="blockList"> 548<h4>copy</h4> 549<pre>public <a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a> copy()</pre> 550<div class="block">Method needed to ensure that <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#copy--"><code>ObjectMapper.copy()</code></a> will work 551 properly; specifically, that caches are cleared, but settings 552 will otherwise remain identical; and that no sharing of state 553 occurs.</div> 554<dl> 555<dt><span class="simpleTagLabel">Since:</span></dt> 556<dd>2.5</dd> 557</dl> 558</li> 559</ul> 560<a name="serializerInstance-com.fasterxml.jackson.databind.introspect.Annotated-java.lang.Object-"> 561<!-- --> 562</a> 563<ul class="blockList"> 564<li class="blockList"> 565<h4>serializerInstance</h4> 566<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<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>> serializerInstance(<a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> annotated, 567 <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> serDef) 568 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 569<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#serializerInstance-com.fasterxml.jackson.databind.introspect.Annotated-java.lang.Object-">SerializerProvider</a></code></span></div> 570<div class="block">Method that can be called to construct and configure serializer instance, 571 either given a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> to instantiate (with default constructor), 572 or an uninitialized serializer instance. 573 Either way, serialize will be properly resolved 574 (via <a href="../../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><code>ResolvableSerializer</code></a>) and/or contextualized 575 (via <a href="../../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><code>ContextualSerializer</code></a>) as necessary.</div> 576<dl> 577<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 578<dd><code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#serializerInstance-com.fasterxml.jackson.databind.introspect.Annotated-java.lang.Object-">serializerInstance</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></code></dd> 579<dt><span class="paramLabel">Parameters:</span></dt> 580<dd><code>annotated</code> - Annotated entity that contained definition</dd> 581<dd><code>serDef</code> - Serializer definition: either an instance or class</dd> 582<dt><span class="throwsLabel">Throws:</span></dt> 583<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 584</dl> 585</li> 586</ul> 587<a name="includeFilterInstance-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-java.lang.Class-"> 588<!-- --> 589</a> 590<ul class="blockList"> 591<li class="blockList"> 592<h4>includeFilterInstance</h4> 593<pre>public <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> includeFilterInstance(<a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> forProperty, 594 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> filterClass)</pre> 595<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#includeFilterInstance-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-java.lang.Class-">SerializerProvider</a></code></span></div> 596<div class="block">Method that can be called to construct and configure <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonInclude.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonInclude</code></a> 597 filter instance, 598 given a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> to instantiate (with default constructor, by default).</div> 599<dl> 600<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 601<dd><code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#includeFilterInstance-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-java.lang.Class-">includeFilterInstance</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></code></dd> 602<dt><span class="paramLabel">Parameters:</span></dt> 603<dd><code>forProperty</code> - (optional) If filter is created for a property, that property; 604 `null` if filter created via defaulting, global or per-type.</dd> 605</dl> 606</li> 607</ul> 608<a name="includeFilterSuppressNulls-java.lang.Object-"> 609<!-- --> 610</a> 611<ul class="blockList"> 612<li class="blockList"> 613<h4>includeFilterSuppressNulls</h4> 614<pre>public boolean includeFilterSuppressNulls(<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> filter) 615 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 616<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#includeFilterSuppressNulls-java.lang.Object-">SerializerProvider</a></code></span></div> 617<div class="block">Follow-up method that may be called after calling <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#includeFilterInstance-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-java.lang.Class-"><code>SerializerProvider.includeFilterInstance(com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition, java.lang.Class<?>)</code></a>, 618 to check handling of `null` values by the filter.</div> 619<dl> 620<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 621<dd><code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#includeFilterSuppressNulls-java.lang.Object-">includeFilterSuppressNulls</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></code></dd> 622<dt><span class="throwsLabel">Throws:</span></dt> 623<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 624</dl> 625</li> 626</ul> 627<a name="findObjectId-java.lang.Object-com.fasterxml.jackson.annotation.ObjectIdGenerator-"> 628<!-- --> 629</a> 630<ul class="blockList"> 631<li class="blockList"> 632<h4>findObjectId</h4> 633<pre>public <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</a> findObjectId(<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> forPojo, 634 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</a><?> generatorType)</pre> 635<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findObjectId-java.lang.Object-com.fasterxml.jackson.annotation.ObjectIdGenerator-">SerializerProvider</a></code></span></div> 636<div class="block">Method called to find the Object Id for given POJO, if one 637 has been generated. Will always return a non-null Object; 638 contents vary depending on whether an Object Id already 639 exists or not.</div> 640<dl> 641<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 642<dd><code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findObjectId-java.lang.Object-com.fasterxml.jackson.annotation.ObjectIdGenerator-">findObjectId</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></code></dd> 643</dl> 644</li> 645</ul> 646<a name="Z:Z_createObjectIdMap--"> 647<!-- --> 648</a> 649<ul class="blockList"> 650<li class="blockList"> 651<h4>_createObjectIdMap</h4> 652<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<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>,<a href="../../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</a>> _createObjectIdMap()</pre> 653<div class="block">Overridable helper method used for creating <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> 654 used for storing mappings from serializable objects to their 655 Object Ids.</div> 656<dl> 657<dt><span class="simpleTagLabel">Since:</span></dt> 658<dd>2.3</dd> 659</dl> 660</li> 661</ul> 662<a name="hasSerializerFor-java.lang.Class-java.util.concurrent.atomic.AtomicReference-"> 663<!-- --> 664</a> 665<ul class="blockList"> 666<li class="blockList"> 667<h4>hasSerializerFor</h4> 668<pre>public boolean hasSerializerFor(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 669 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>> cause)</pre> 670<div class="block">Method that can be called to see if this serializer provider 671 can find a serializer for an instance of given class. 672<p> 673 Note that no Exceptions are thrown, including unchecked ones: 674 implementations are to swallow exceptions if necessary.</div> 675</li> 676</ul> 677<a name="getGenerator--"> 678<!-- --> 679</a> 680<ul class="blockList"> 681<li class="blockList"> 682<h4>getGenerator</h4> 683<pre>public <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> getGenerator()</pre> 684<div class="block">Accessor for the <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> currently in use for serializing 685 content. Null for blueprint instances; non-null for actual active 686 provider instances.</div> 687<dl> 688<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 689<dd><code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getGenerator--">getGenerator</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></code></dd> 690<dt><span class="simpleTagLabel">Since:</span></dt> 691<dd>2.8</dd> 692</dl> 693</li> 694</ul> 695<a name="serializeValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-"> 696<!-- --> 697</a> 698<ul class="blockList"> 699<li class="blockList"> 700<h4>serializeValue</h4> 701<pre>public void serializeValue(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 702 <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> value) 703 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 704<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> 705 for serializing given value, using serializers that 706 this provider has access to (via caching and/or creating new serializers 707 as need be).</div> 708<dl> 709<dt><span class="throwsLabel">Throws:</span></dt> 710<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 711</dl> 712</li> 713</ul> 714<a name="serializeValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-com.fasterxml.jackson.databind.JavaType-"> 715<!-- --> 716</a> 717<ul class="blockList"> 718<li class="blockList"> 719<h4>serializeValue</h4> 720<pre>public void serializeValue(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 721 <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> value, 722 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType) 723 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 724<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> 725 for serializing given value (assumed to be of specified root type, 726 instead of runtime type of value), 727 using serializers that 728 this provider has access to (via caching and/or creating new serializers 729 as need be),</div> 730<dl> 731<dt><span class="paramLabel">Parameters:</span></dt> 732<dd><code>rootType</code> - Type to use for locating serializer to use, instead of actual 733 runtime type. Must be actual type, or one of its super types</dd> 734<dt><span class="throwsLabel">Throws:</span></dt> 735<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 736</dl> 737</li> 738</ul> 739<a name="serializeValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.JsonSerializer-"> 740<!-- --> 741</a> 742<ul class="blockList"> 743<li class="blockList"> 744<h4>serializeValue</h4> 745<pre>public void serializeValue(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 746 <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> value, 747 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 748 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<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>> ser) 749 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 750<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> 751 for serializing given value (assumed to be of specified root type, 752 instead of runtime type of value), when it may know specific 753 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> to use.</div> 754<dl> 755<dt><span class="paramLabel">Parameters:</span></dt> 756<dd><code>rootType</code> - Type to use for locating serializer to use, instead of actual 757 runtime type, if no serializer is passed</dd> 758<dd><code>ser</code> - Root Serializer to use, if not null</dd> 759<dt><span class="throwsLabel">Throws:</span></dt> 760<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 761<dt><span class="simpleTagLabel">Since:</span></dt> 762<dd>2.1</dd> 763</dl> 764</li> 765</ul> 766<a name="serializePolymorphic-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.jsontype.TypeSerializer-"> 767<!-- --> 768</a> 769<ul class="blockList"> 770<li class="blockList"> 771<h4>serializePolymorphic</h4> 772<pre>public void serializePolymorphic(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 773 <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> value, 774 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 775 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<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>> valueSer, 776 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer) 777 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 778<div class="block">Alternate serialization call used for polymorphic types, when <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype"><code>TypeSerializer</code></a> 779 is already known, but the actual serializer may or may not be.</div> 780<dl> 781<dt><span class="throwsLabel">Throws:</span></dt> 782<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 783<dt><span class="simpleTagLabel">Since:</span></dt> 784<dd>2.6</dd> 785</dl> 786</li> 787</ul> 788<a name="Z:Z_serializeNull-com.fasterxml.jackson.core.JsonGenerator-"> 789<!-- --> 790</a> 791<ul class="blockList"> 792<li class="blockList"> 793<h4>_serializeNull</h4> 794<pre>protected void _serializeNull(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen) 795 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 796<div class="block">Helper method called when root value to serialize is null</div> 797<dl> 798<dt><span class="throwsLabel">Throws:</span></dt> 799<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 800<dt><span class="simpleTagLabel">Since:</span></dt> 801<dd>2.3</dd> 802</dl> 803</li> 804</ul> 805<a name="cachedSerializersCount--"> 806<!-- --> 807</a> 808<ul class="blockList"> 809<li class="blockList"> 810<h4>cachedSerializersCount</h4> 811<pre>public int cachedSerializersCount()</pre> 812<div class="block">Method that can be used to determine how many serializers this 813 provider is caching currently 814 (if it does caching: default implementation does) 815 Exact count depends on what kind of serializers get cached; 816 default implementation caches all serializers, including ones that 817 are eagerly constructed (for optimal access speed) 818<p> 819 The main use case for this method is to allow conditional flushing of 820 serializer cache, if certain number of entries is reached.</div> 821</li> 822</ul> 823<a name="flushCachedSerializers--"> 824<!-- --> 825</a> 826<ul class="blockList"> 827<li class="blockList"> 828<h4>flushCachedSerializers</h4> 829<pre>public void flushCachedSerializers()</pre> 830<div class="block">Method that will drop all serializers currently cached by this provider. 831 This can be used to remove memory usage (in case some serializers are 832 only used once or so), or to force re-construction of serializers after 833 configuration changes for mapper than owns the provider.</div> 834</li> 835</ul> 836<a name="acceptJsonFormatVisitor-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-"> 837<!-- --> 838</a> 839<ul class="blockList"> 840<li class="blockList"> 841<h4>acceptJsonFormatVisitor</h4> 842<pre>public void acceptJsonFormatVisitor(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> javaType, 843 <a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor) 844 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 845<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> 846 to to expose the format of the given to to the given visitor</div> 847<dl> 848<dt><span class="paramLabel">Parameters:</span></dt> 849<dd><code>javaType</code> - The type for which to generate format</dd> 850<dd><code>visitor</code> - the visitor to accept the format</dd> 851<dt><span class="throwsLabel">Throws:</span></dt> 852<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 853</dl> 854</li> 855</ul> 856<a name="generateJsonSchema-java.lang.Class-"> 857<!-- --> 858</a> 859<ul class="blockListLast"> 860<li class="blockList"> 861<h4>generateJsonSchema</h4> 862<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 863public <a href="../../../../../com/fasterxml/jackson/databind/jsonschema/JsonSchema.html" title="class in com.fasterxml.jackson.databind.jsonschema">JsonSchema</a> generateJsonSchema(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type) 864 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 865<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Should not be used any more</span></div> 866<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> 867 to generate <a href="http://json-schema.org/">JSON schema</a> for 868 given type.</div> 869<dl> 870<dt><span class="paramLabel">Parameters:</span></dt> 871<dd><code>type</code> - The type for which to generate schema</dd> 872<dt><span class="throwsLabel">Throws:</span></dt> 873<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 874</dl> 875</li> 876</ul> 877</li> 878</ul> 879</li> 880</ul> 881</div> 882</div> 883<!-- ========= END OF CLASS DATA ========= --> 884<!-- ======= START OF BOTTOM NAVBAR ====== --> 885<div class="bottomNav"><a name="navbar.bottom"> 886<!-- --> 887</a> 888<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 889<a name="navbar.bottom.firstrow"> 890<!-- --> 891</a> 892<ul class="navList" title="Navigation"> 893<li><a href="../../../../../overview-summary.html">Overview</a></li> 894<li><a href="package-summary.html">Package</a></li> 895<li class="navBarCell1Rev">Class</li> 896<li><a href="class-use/DefaultSerializerProvider.html">Use</a></li> 897<li><a href="package-tree.html">Tree</a></li> 898<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 899<li><a href="../../../../../index-all.html">Index</a></li> 900<li><a href="../../../../../help-doc.html">Help</a></li> 901</ul> 902</div> 903<div class="subNav"> 904<ul class="navList"> 905<li><a href="../../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Prev Class</span></a></li> 906<li><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Next Class</span></a></li> 907</ul> 908<ul class="navList"> 909<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" target="_top">Frames</a></li> 910<li><a href="DefaultSerializerProvider.html" target="_top">No Frames</a></li> 911</ul> 912<ul class="navList" id="allclasses_navbar_bottom"> 913<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 914</ul> 915<div> 916<script type="text/javascript"><!-- 917 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 918 if(window==top) { 919 allClassesLink.style.display = "block"; 920 } 921 else { 922 allClassesLink.style.display = "none"; 923 } 924 //--> 925</script> 926</div> 927<div> 928<ul class="subNavList"> 929<li>Summary: </li> 930<li><a href="#nested.class.summary">Nested</a> | </li> 931<li><a href="#field.summary">Field</a> | </li> 932<li><a href="#constructor.summary">Constr</a> | </li> 933<li><a href="#method.summary">Method</a></li> 934</ul> 935<ul class="subNavList"> 936<li>Detail: </li> 937<li><a href="#field.detail">Field</a> | </li> 938<li><a href="#constructor.detail">Constr</a> | </li> 939<li><a href="#method.detail">Method</a></li> 940</ul> 941</div> 942<a name="skip.navbar.bottom"> 943<!-- --> 944</a></div> 945<!-- ======== END OF BOTTOM NAVBAR ======= --> 946<p class="legalCopy"><small>Copyright © 2008–2019 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 947</body> 948</html> 949