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_79) on Fri Jan 15 20:28:43 PST 2016 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>DefaultSerializerProvider (jackson-databind 2.7.0 API)</title> 8<meta name="date" content="2016-01-15"> 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="DefaultSerializerProvider (jackson-databind 2.7.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/DefaultSerializerProvider.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/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.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/DefaultSerializerProvider.html" target="_top">Frames</a></li> 45<li><a href="DefaultSerializerProvider.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><a href="#nested_class_summary">Nested</a> | </li> 66<li><a href="#field_summary">Field</a> | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li><a href="#field_detail">Field</a> | </li> 73<li><a href="#constructor_detail">Constr</a> | </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="Class DefaultSerializerProvider" class="title">Class DefaultSerializerProvider</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 89<li> 90<ul class="inheritance"> 91<li><a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.DatabindContext</a></li> 92<li> 93<ul class="inheritance"> 94<li><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.SerializerProvider</a></li> 95<li> 96<ul class="inheritance"> 97<li>com.fasterxml.jackson.databind.ser.DefaultSerializerProvider</li> 98</ul> 99</li> 100</ul> 101</li> 102</ul> 103</li> 104</ul> 105<div class="description"> 106<ul class="blockList"> 107<li class="blockList"> 108<dl> 109<dt>All Implemented Interfaces:</dt> 110<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> 111</dl> 112<dl> 113<dt>Direct Known Subclasses:</dt> 114<dd><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider.Impl</a></dd> 115</dl> 116<hr> 117<br> 118<pre>public abstract class <span class="strong">DefaultSerializerProvider</span> 119extends <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> 120implements <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre> 121<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>: 122 adds methods only exposed to <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>, 123 as well as constructors. 124<p> 125 Note that class is abstract just because it does not 126 define <a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#createInstance(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.ser.SerializerFactory)"><code>createInstance(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)</code></a> method. 127<p> 128 Also note that all custom <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a> 129 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> 130 requires this type, not basic provider type.</div> 131<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.ser.DefaultSerializerProvider">Serialized Form</a></dd></dl> 132</li> 133</ul> 134</div> 135<div class="summary"> 136<ul class="blockList"> 137<li class="blockList"> 138<!-- ======== NESTED CLASS SUMMARY ======== --> 139<ul class="blockList"> 140<li class="blockList"><a name="nested_class_summary"> 141<!-- --> 142</a> 143<h3>Nested Class Summary</h3> 144<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> 145<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> 146<tr> 147<th class="colFirst" scope="col">Modifier and Type</th> 148<th class="colLast" scope="col">Class and Description</th> 149</tr> 150<tr class="altColor"> 151<td class="colFirst"><code>static class </code></td> 152<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider.Impl</a></strong></code> 153<div class="block">Concrete implementation that defines factory method(s), 154 defined as final.</div> 155</td> 156</tr> 157</table> 158</li> 159</ul> 160<!-- =========== FIELD SUMMARY =========== --> 161<ul class="blockList"> 162<li class="blockList"><a name="field_summary"> 163<!-- --> 164</a> 165<h3>Field Summary</h3> 166<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 167<caption><span>Fields</span><span class="tabEnd"> </span></caption> 168<tr> 169<th class="colFirst" scope="col">Modifier and Type</th> 170<th class="colLast" scope="col">Field and Description</th> 171</tr> 172<tr class="altColor"> 173<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</a><?>></code></td> 174<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#_objectIdGenerators">_objectIdGenerators</a></strong></code> </td> 175</tr> 176<tr class="rowColor"> 177<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/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> 178<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#_seenObjectIds">_seenObjectIds</a></strong></code> 179<div class="block">Per-serialization map Object Ids that have seen so far, iff 180 Object Id handling is enabled.</div> 181</td> 182</tr> 183</table> 184<ul class="blockList"> 185<li class="blockList"><a name="fields_inherited_from_class_com.fasterxml.jackson.databind.SerializerProvider"> 186<!-- --> 187</a> 188<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> 189<code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_attributes">_attributes</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_config">_config</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_dateFormat">_dateFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_keySerializer">_keySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_knownSerializers">_knownSerializers</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_nullKeySerializer">_nullKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_nullValueSerializer">_nullValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_serializationView">_serializationView</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_serializerCache">_serializerCache</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_serializerFactory">_serializerFactory</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_stdNullValueSerializer">_stdNullValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_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> 190</ul> 191</li> 192</ul> 193<!-- ======== CONSTRUCTOR SUMMARY ======== --> 194<ul class="blockList"> 195<li class="blockList"><a name="constructor_summary"> 196<!-- --> 197</a> 198<h3>Constructor Summary</h3> 199<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 200<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 201<tr> 202<th class="colFirst" scope="col">Modifier</th> 203<th class="colLast" scope="col">Constructor and Description</th> 204</tr> 205<tr class="altColor"> 206<td class="colFirst"><code>protected </code></td> 207<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#DefaultSerializerProvider()">DefaultSerializerProvider</a></strong>()</code> </td> 208</tr> 209<tr class="rowColor"> 210<td class="colFirst"><code>protected </code></td> 211<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#DefaultSerializerProvider(com.fasterxml.jackson.databind.ser.DefaultSerializerProvider)">DefaultSerializerProvider</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a> src)</code> </td> 212</tr> 213<tr class="altColor"> 214<td class="colFirst"><code>protected </code></td> 215<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#DefaultSerializerProvider(com.fasterxml.jackson.databind.SerializerProvider,%20com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.ser.SerializerFactory)">DefaultSerializerProvider</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> src, 216 <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 217 <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> f)</code> </td> 218</tr> 219</table> 220</li> 221</ul> 222<!-- ========== METHOD SUMMARY =========== --> 223<ul class="blockList"> 224<li class="blockList"><a name="method_summary"> 225<!-- --> 226</a> 227<h3>Method Summary</h3> 228<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 229<caption><span>Methods</span><span class="tabEnd"> </span></caption> 230<tr> 231<th class="colFirst" scope="col">Modifier and Type</th> 232<th class="colLast" scope="col">Method and Description</th> 233</tr> 234<tr class="altColor"> 235<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/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> 236<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#_createObjectIdMap()">_createObjectIdMap</a></strong>()</code> 237<div class="block">Overridable helper method used for creating <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> 238 used for storing mappings from serializable objects to their 239 Object Ids.</div> 240</td> 241</tr> 242<tr class="rowColor"> 243<td class="colFirst"><code>protected void</code></td> 244<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#_serializeNull(com.fasterxml.jackson.core.JsonGenerator)">_serializeNull</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen)</code> 245<div class="block">Helper method called when root value to serialize is null</div> 246</td> 247</tr> 248<tr class="altColor"> 249<td class="colFirst"><code>void</code></td> 250<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#acceptJsonFormatVisitor(com.fasterxml.jackson.databind.JavaType,%20com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper)">acceptJsonFormatVisitor</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> javaType, 251 <a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor)</code> 252<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> 253 to to expose the format of the given to to the given visitor</div> 254</td> 255</tr> 256<tr class="rowColor"> 257<td class="colFirst"><code>int</code></td> 258<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#cachedSerializersCount()">cachedSerializersCount</a></strong>()</code> 259<div class="block">Method that can be used to determine how many serializers this 260 provider is caching currently 261 (if it does caching: default implementation does) 262 Exact count depends on what kind of serializers get cached; 263 default implementation caches all serializers, including ones that 264 are eagerly constructed (for optimal access speed)</div> 265</td> 266</tr> 267<tr class="altColor"> 268<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> 269<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#copy()">copy</a></strong>()</code> 270<div class="block">Method needed to ensure that <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#copy()"><code>ObjectMapper.copy()</code></a> will work 271 properly; specifically, that caches are cleared, but settings 272 will otherwise remain identical; and that no sharing of state 273 occurs.</div> 274</td> 275</tr> 276<tr class="rowColor"> 277<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> 278<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#createInstance(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.ser.SerializerFactory)">createInstance</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 279 <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> jsf)</code> 280<div class="block">Overridable method, used to create a non-blueprint instances from the blueprint.</div> 281</td> 282</tr> 283<tr class="altColor"> 284<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> 285<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#findObjectId(java.lang.Object,%20com.fasterxml.jackson.annotation.ObjectIdGenerator)">findObjectId</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> forPojo, 286 <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</a><?> generatorType)</code> 287<div class="block">Method called to find the Object Id for given POJO, if one 288 has been generated.</div> 289</td> 290</tr> 291<tr class="rowColor"> 292<td class="colFirst"><code>void</code></td> 293<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#flushCachedSerializers()">flushCachedSerializers</a></strong>()</code> 294<div class="block">Method that will drop all serializers currently cached by this provider.</div> 295</td> 296</tr> 297<tr class="altColor"> 298<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> 299<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#generateJsonSchema(java.lang.Class)">generateJsonSchema</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</code> 300<div class="block"><strong>Deprecated.</strong> 301<div class="block"><i>Should not be used any more</i></div> 302</div> 303</td> 304</tr> 305<tr class="rowColor"> 306<td class="colFirst"><code>boolean</code></td> 307<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#hasSerializerFor(java.lang.Class,%20java.util.concurrent.atomic.AtomicReference)">hasSerializerFor</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 308 <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>> cause)</code> 309<div class="block">Method that can be called to see if this serializer provider 310 can find a serializer for an instance of given class.</div> 311</td> 312</tr> 313<tr class="altColor"> 314<td class="colFirst"><code>void</code></td> 315<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializePolymorphic(com.fasterxml.jackson.core.JsonGenerator,%20java.lang.Object,%20com.fasterxml.jackson.databind.JavaType,%20com.fasterxml.jackson.databind.JsonSerializer,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializePolymorphic</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 316 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 317 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 318 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> valueSer, 319 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer)</code> 320<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> 321 is already known, but the actual serializer may or may not be.</div> 322</td> 323</tr> 324<tr class="rowColor"> 325<td class="colFirst"><code>void</code></td> 326<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializePolymorphic(com.fasterxml.jackson.core.JsonGenerator,%20java.lang.Object,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializePolymorphic</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 327 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 328 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer)</code> 329<div class="block"><strong>Deprecated.</strong> 330<div class="block"><i>since 2.6; remove from 2.7 or later</i></div> 331</div> 332</td> 333</tr> 334<tr class="altColor"> 335<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 336<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated,%20java.lang.Object)">serializerInstance</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> annotated, 337 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> serDef)</code> 338<div class="block">Method that can be called to construct and configure serializer instance, 339 either given a <a href="http://docs.oracle.com/javase/7/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), 340 or an uninitialized serializer instance.</div> 341</td> 342</tr> 343<tr class="rowColor"> 344<td class="colFirst"><code>void</code></td> 345<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializeValue(com.fasterxml.jackson.core.JsonGenerator,%20java.lang.Object)">serializeValue</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 346 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 347<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> 348 for serializing given value, using serializers that 349 this provider has access to (via caching and/or creating new serializers 350 as need be).</div> 351</td> 352</tr> 353<tr class="altColor"> 354<td class="colFirst"><code>void</code></td> 355<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializeValue(com.fasterxml.jackson.core.JsonGenerator,%20java.lang.Object,%20com.fasterxml.jackson.databind.JavaType)">serializeValue</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 356 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 357 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType)</code> 358<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> 359 for serializing given value (assumed to be of specified root type, 360 instead of runtime type of value), 361 using serializers that 362 this provider has access to (via caching and/or creating new serializers 363 as need be),</div> 364</td> 365</tr> 366<tr class="rowColor"> 367<td class="colFirst"><code>void</code></td> 368<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializeValue(com.fasterxml.jackson.core.JsonGenerator,%20java.lang.Object,%20com.fasterxml.jackson.databind.JavaType,%20com.fasterxml.jackson.databind.JsonSerializer)">serializeValue</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 369 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 370 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 371 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> ser)</code> 372<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> 373 for serializing given value (assumed to be of specified root type, 374 instead of runtime type of value), when it may know specific 375 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> to use.</div> 376</td> 377</tr> 378</table> 379<ul class="blockList"> 380<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.SerializerProvider"> 381<!-- --> 382</a> 383<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> 384<code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_createAndCacheUntypedSerializer(java.lang.Class)">_createAndCacheUntypedSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_createAndCacheUntypedSerializer(com.fasterxml.jackson.databind.JavaType)">_createAndCacheUntypedSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_createUntypedSerializer(com.fasterxml.jackson.databind.JavaType)">_createUntypedSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_dateFormat()">_dateFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_findExplicitUntypedSerializer(java.lang.Class)">_findExplicitUntypedSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_handleContextualResolvable(com.fasterxml.jackson.databind.JsonSerializer,%20com.fasterxml.jackson.databind.BeanProperty)">_handleContextualResolvable</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_handleResolvable(com.fasterxml.jackson.databind.JsonSerializer)">_handleResolvable</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_reportIncompatibleRootType(java.lang.Object,%20com.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,%20com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateKey</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateKey(long,%20com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateKey</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateValue(java.util.Date,%20com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateValue(long,%20com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeField(java.lang.String,%20java.lang.Object,%20com.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,%20com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findKeySerializer(java.lang.Class,%20com.fasterxml.jackson.databind.BeanProperty)">findKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findKeySerializer(com.fasterxml.jackson.databind.JavaType,%20com.fasterxml.jackson.databind.BeanProperty)">findKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findNullKeySerializer(com.fasterxml.jackson.databind.JavaType,%20com.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,%20com.fasterxml.jackson.databind.BeanProperty)">findPrimaryPropertySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findPrimaryPropertySerializer(com.fasterxml.jackson.databind.JavaType,%20com.fasterxml.jackson.databind.BeanProperty)">findPrimaryPropertySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypedValueSerializer(java.lang.Class,%20boolean,%20com.fasterxml.jackson.databind.BeanProperty)">findTypedValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypedValueSerializer(com.fasterxml.jackson.databind.JavaType,%20boolean,%20com.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,%20com.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,%20com.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#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,%20com.fasterxml.jackson.databind.BeanProperty)">handlePrimaryContextualization</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#handleSecondaryContextualization(com.fasterxml.jackson.databind.JsonSerializer,%20com.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#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,%20java.lang.Object...)">mappingException</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setAttribute(java.lang.Object,%20java.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> 385</ul> 386<ul class="blockList"> 387<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.DatabindContext"> 388<!-- --> 389</a> 390<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> 391<code><a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#constructSpecializedType(com.fasterxml.jackson.databind.JavaType,%20java.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,%20java.lang.Object)">converterInstance</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#objectIdGeneratorInstance(com.fasterxml.jackson.databind.introspect.Annotated,%20com.fasterxml.jackson.databind.introspect.ObjectIdInfo)">objectIdGeneratorInstance</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#objectIdResolverInstance(com.fasterxml.jackson.databind.introspect.Annotated,%20com.fasterxml.jackson.databind.introspect.ObjectIdInfo)">objectIdResolverInstance</a></code></li> 392</ul> 393<ul class="blockList"> 394<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 395<!-- --> 396</a> 397<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 398<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> 399</ul> 400</li> 401</ul> 402</li> 403</ul> 404</div> 405<div class="details"> 406<ul class="blockList"> 407<li class="blockList"> 408<!-- ============ FIELD DETAIL =========== --> 409<ul class="blockList"> 410<li class="blockList"><a name="field_detail"> 411<!-- --> 412</a> 413<h3>Field Detail</h3> 414<a name="_seenObjectIds"> 415<!-- --> 416</a> 417<ul class="blockList"> 418<li class="blockList"> 419<h4>_seenObjectIds</h4> 420<pre>protected transient <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/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> 421<div class="block">Per-serialization map Object Ids that have seen so far, iff 422 Object Id handling is enabled.</div> 423</li> 424</ul> 425<a name="_objectIdGenerators"> 426<!-- --> 427</a> 428<ul class="blockListLast"> 429<li class="blockList"> 430<h4>_objectIdGenerators</h4> 431<pre>protected transient <a href="http://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><<a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</a><?>> _objectIdGenerators</pre> 432</li> 433</ul> 434</li> 435</ul> 436<!-- ========= CONSTRUCTOR DETAIL ======== --> 437<ul class="blockList"> 438<li class="blockList"><a name="constructor_detail"> 439<!-- --> 440</a> 441<h3>Constructor Detail</h3> 442<a name="DefaultSerializerProvider()"> 443<!-- --> 444</a> 445<ul class="blockList"> 446<li class="blockList"> 447<h4>DefaultSerializerProvider</h4> 448<pre>protected DefaultSerializerProvider()</pre> 449</li> 450</ul> 451<a name="DefaultSerializerProvider(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)"> 452<!-- --> 453</a> 454<ul class="blockList"> 455<li class="blockList"> 456<h4>DefaultSerializerProvider</h4> 457<pre>protected DefaultSerializerProvider(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> src, 458 <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 459 <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> f)</pre> 460</li> 461</ul> 462<a name="DefaultSerializerProvider(com.fasterxml.jackson.databind.ser.DefaultSerializerProvider)"> 463<!-- --> 464</a> 465<ul class="blockListLast"> 466<li class="blockList"> 467<h4>DefaultSerializerProvider</h4> 468<pre>protected DefaultSerializerProvider(<a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a> src)</pre> 469</li> 470</ul> 471</li> 472</ul> 473<!-- ============ METHOD DETAIL ========== --> 474<ul class="blockList"> 475<li class="blockList"><a name="method_detail"> 476<!-- --> 477</a> 478<h3>Method Detail</h3> 479<a name="copy()"> 480<!-- --> 481</a> 482<ul class="blockList"> 483<li class="blockList"> 484<h4>copy</h4> 485<pre>public <a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a> copy()</pre> 486<div class="block">Method needed to ensure that <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#copy()"><code>ObjectMapper.copy()</code></a> will work 487 properly; specifically, that caches are cleared, but settings 488 will otherwise remain identical; and that no sharing of state 489 occurs.</div> 490<dl><dt><span class="strong">Since:</span></dt> 491 <dd>2.5</dd></dl> 492</li> 493</ul> 494<a name="createInstance(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)"> 495<!-- --> 496</a> 497<ul class="blockList"> 498<li class="blockList"> 499<h4>createInstance</h4> 500<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, 501 <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> jsf)</pre> 502<div class="block">Overridable method, used to create a non-blueprint instances from the blueprint. 503 This is needed to retain state during serialization.</div> 504</li> 505</ul> 506<a name="serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object)"> 507<!-- --> 508</a> 509<ul class="blockList"> 510<li class="blockList"> 511<h4>serializeValue</h4> 512<pre>public void serializeValue(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 513 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 514 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 515<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> 516 for serializing given value, using serializers that 517 this provider has access to (via caching and/or creating new serializers 518 as need be).</div> 519<dl><dt><span class="strong">Throws:</span></dt> 520<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> 521</li> 522</ul> 523<a name="serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object, com.fasterxml.jackson.databind.JavaType)"> 524<!-- --> 525</a> 526<ul class="blockList"> 527<li class="blockList"> 528<h4>serializeValue</h4> 529<pre>public void serializeValue(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 530 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 531 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType) 532 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 533<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> 534 for serializing given value (assumed to be of specified root type, 535 instead of runtime type of value), 536 using serializers that 537 this provider has access to (via caching and/or creating new serializers 538 as need be),</div> 539<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rootType</code> - Type to use for locating serializer to use, instead of actual 540 runtime type. Must be actual type, or one of its super types</dd> 541<dt><span class="strong">Throws:</span></dt> 542<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> 543</li> 544</ul> 545<a name="serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JsonSerializer)"> 546<!-- --> 547</a> 548<ul class="blockList"> 549<li class="blockList"> 550<h4>serializeValue</h4> 551<pre>public void serializeValue(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 552 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 553 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 554 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> ser) 555 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 556<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> 557 for serializing given value (assumed to be of specified root type, 558 instead of runtime type of value), when it may know specific 559 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> to use.</div> 560<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rootType</code> - Type to use for locating serializer to use, instead of actual 561 runtime type, if no serializer is passed</dd><dd><code>ser</code> - Root Serializer to use, if not null</dd> 562<dt><span class="strong">Throws:</span></dt> 563<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd><dt><span class="strong">Since:</span></dt> 564 <dd>2.1</dd></dl> 565</li> 566</ul> 567<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)"> 568<!-- --> 569</a> 570<ul class="blockList"> 571<li class="blockList"> 572<h4>serializePolymorphic</h4> 573<pre>public void serializePolymorphic(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 574 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 575 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 576 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> valueSer, 577 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer) 578 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 579<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> 580 is already known, but the actual serializer may or may not be.</div> 581<dl><dt><span class="strong">Throws:</span></dt> 582<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd><dt><span class="strong">Since:</span></dt> 583 <dd>2.6</dd></dl> 584</li> 585</ul> 586<a name="serializePolymorphic(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object, com.fasterxml.jackson.databind.jsontype.TypeSerializer)"> 587<!-- --> 588</a> 589<ul class="blockList"> 590<li class="blockList"> 591<h4>serializePolymorphic</h4> 592<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 593public void serializePolymorphic(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 594 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 595 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer) 596 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 597<div class="block"><span class="strong">Deprecated.</span> <i>since 2.6; remove from 2.7 or later</i></div> 598<dl><dt><span class="strong">Throws:</span></dt> 599<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> 600</li> 601</ul> 602<a name="_serializeNull(com.fasterxml.jackson.core.JsonGenerator)"> 603<!-- --> 604</a> 605<ul class="blockList"> 606<li class="blockList"> 607<h4>_serializeNull</h4> 608<pre>protected void _serializeNull(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen) 609 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 610<div class="block">Helper method called when root value to serialize is null</div> 611<dl><dt><span class="strong">Throws:</span></dt> 612<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd><dt><span class="strong">Since:</span></dt> 613 <dd>2.3</dd></dl> 614</li> 615</ul> 616<a name="generateJsonSchema(java.lang.Class)"> 617<!-- --> 618</a> 619<ul class="blockList"> 620<li class="blockList"> 621<h4>generateJsonSchema</h4> 622<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 623public <a href="../../../../../com/fasterxml/jackson/databind/jsonschema/JsonSchema.html" title="class in com.fasterxml.jackson.databind.jsonschema">JsonSchema</a> generateJsonSchema(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type) 624 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 625<div class="block"><span class="strong">Deprecated.</span> <i>Should not be used any more</i></div> 626<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> 627 to generate <a href="http://json-schema.org/">JSON schema</a> for 628 given type.</div> 629<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The type for which to generate schema</dd> 630<dt><span class="strong">Throws:</span></dt> 631<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 632</li> 633</ul> 634<a name="acceptJsonFormatVisitor(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper)"> 635<!-- --> 636</a> 637<ul class="blockList"> 638<li class="blockList"> 639<h4>acceptJsonFormatVisitor</h4> 640<pre>public void acceptJsonFormatVisitor(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> javaType, 641 <a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor) 642 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 643<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> 644 to to expose the format of the given to to the given visitor</div> 645<dl><dt><span class="strong">Parameters:</span></dt><dd><code>javaType</code> - The type for which to generate format</dd><dd><code>visitor</code> - the visitor to accept the format</dd> 646<dt><span class="strong">Throws:</span></dt> 647<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 648</li> 649</ul> 650<a name="hasSerializerFor(java.lang.Class, java.util.concurrent.atomic.AtomicReference)"> 651<!-- --> 652</a> 653<ul class="blockList"> 654<li class="blockList"> 655<h4>hasSerializerFor</h4> 656<pre>public boolean hasSerializerFor(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 657 <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>> cause)</pre> 658<div class="block">Method that can be called to see if this serializer provider 659 can find a serializer for an instance of given class. 660<p> 661 Note that no Exceptions are thrown, including unchecked ones: 662 implementations are to swallow exceptions if necessary.</div> 663</li> 664</ul> 665<a name="cachedSerializersCount()"> 666<!-- --> 667</a> 668<ul class="blockList"> 669<li class="blockList"> 670<h4>cachedSerializersCount</h4> 671<pre>public int cachedSerializersCount()</pre> 672<div class="block">Method that can be used to determine how many serializers this 673 provider is caching currently 674 (if it does caching: default implementation does) 675 Exact count depends on what kind of serializers get cached; 676 default implementation caches all serializers, including ones that 677 are eagerly constructed (for optimal access speed) 678<p> 679 The main use case for this method is to allow conditional flushing of 680 serializer cache, if certain number of entries is reached.</div> 681</li> 682</ul> 683<a name="flushCachedSerializers()"> 684<!-- --> 685</a> 686<ul class="blockList"> 687<li class="blockList"> 688<h4>flushCachedSerializers</h4> 689<pre>public void flushCachedSerializers()</pre> 690<div class="block">Method that will drop all serializers currently cached by this provider. 691 This can be used to remove memory usage (in case some serializers are 692 only used once or so), or to force re-construction of serializers after 693 configuration changes for mapper than owns the provider.</div> 694</li> 695</ul> 696<a name="findObjectId(java.lang.Object, com.fasterxml.jackson.annotation.ObjectIdGenerator)"> 697<!-- --> 698</a> 699<ul class="blockList"> 700<li class="blockList"> 701<h4>findObjectId</h4> 702<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> forPojo, 703 <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</a><?> generatorType)</pre> 704<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findObjectId(java.lang.Object,%20com.fasterxml.jackson.annotation.ObjectIdGenerator)">SerializerProvider</a></code></strong></div> 705<div class="block">Method called to find the Object Id for given POJO, if one 706 has been generated. Will always return a non-null Object; 707 contents vary depending on whether an Object Id already 708 exists or not.</div> 709<dl> 710<dt><strong>Specified by:</strong></dt> 711<dd><code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findObjectId(java.lang.Object,%20com.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> 712</dl> 713</li> 714</ul> 715<a name="_createObjectIdMap()"> 716<!-- --> 717</a> 718<ul class="blockList"> 719<li class="blockList"> 720<h4>_createObjectIdMap</h4> 721<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/7/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> 722<div class="block">Overridable helper method used for creating <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> 723 used for storing mappings from serializable objects to their 724 Object Ids.</div> 725<dl><dt><span class="strong">Since:</span></dt> 726 <dd>2.3</dd></dl> 727</li> 728</ul> 729<a name="serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated, java.lang.Object)"> 730<!-- --> 731</a> 732<ul class="blockListLast"> 733<li class="blockList"> 734<h4>serializerInstance</h4> 735<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/7/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, 736 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> serDef) 737 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 738<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated,%20java.lang.Object)">SerializerProvider</a></code></strong></div> 739<div class="block">Method that can be called to construct and configure serializer instance, 740 either given a <a href="http://docs.oracle.com/javase/7/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), 741 or an uninitialized serializer instance. 742 Either way, serialize will be properly resolved 743 (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 744 (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> 745<dl> 746<dt><strong>Specified by:</strong></dt> 747<dd><code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated,%20java.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> 748<dt><span class="strong">Parameters:</span></dt><dd><code>annotated</code> - Annotated entity that contained definition</dd><dd><code>serDef</code> - Serializer definition: either an instance or class</dd> 749<dt><span class="strong">Throws:</span></dt> 750<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 751</li> 752</ul> 753</li> 754</ul> 755</li> 756</ul> 757</div> 758</div> 759<!-- ========= END OF CLASS DATA ========= --> 760<!-- ======= START OF BOTTOM NAVBAR ====== --> 761<div class="bottomNav"><a name="navbar_bottom"> 762<!-- --> 763</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 764<!-- --> 765</a> 766<ul class="navList" title="Navigation"> 767<li><a href="../../../../../overview-summary.html">Overview</a></li> 768<li><a href="package-summary.html">Package</a></li> 769<li class="navBarCell1Rev">Class</li> 770<li><a href="class-use/DefaultSerializerProvider.html">Use</a></li> 771<li><a href="package-tree.html">Tree</a></li> 772<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 773<li><a href="../../../../../index-all.html">Index</a></li> 774<li><a href="../../../../../help-doc.html">Help</a></li> 775</ul> 776</div> 777<div class="subNav"> 778<ul class="navList"> 779<li><a href="../../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><span class="strong">Prev Class</span></a></li> 780<li><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Next Class</span></a></li> 781</ul> 782<ul class="navList"> 783<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" target="_top">Frames</a></li> 784<li><a href="DefaultSerializerProvider.html" target="_top">No Frames</a></li> 785</ul> 786<ul class="navList" id="allclasses_navbar_bottom"> 787<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 788</ul> 789<div> 790<script type="text/javascript"><!-- 791 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 792 if(window==top) { 793 allClassesLink.style.display = "block"; 794 } 795 else { 796 allClassesLink.style.display = "none"; 797 } 798 //--> 799</script> 800</div> 801<div> 802<ul class="subNavList"> 803<li>Summary: </li> 804<li><a href="#nested_class_summary">Nested</a> | </li> 805<li><a href="#field_summary">Field</a> | </li> 806<li><a href="#constructor_summary">Constr</a> | </li> 807<li><a href="#method_summary">Method</a></li> 808</ul> 809<ul class="subNavList"> 810<li>Detail: </li> 811<li><a href="#field_detail">Field</a> | </li> 812<li><a href="#constructor_detail">Constr</a> | </li> 813<li><a href="#method_detail">Method</a></li> 814</ul> 815</div> 816<a name="skip-navbar_bottom"> 817<!-- --> 818</a></div> 819<!-- ======== END OF BOTTOM NAVBAR ======= --> 820<p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 821</body> 822</html> 823