1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (1.8.0) on Sun Jul 19 11:36:53 PDT 2015 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>DefaultSerializerProvider (jackson-databind 2.6.0 API)</title> 8<meta name="date" content="2015-07-19"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="DefaultSerializerProvider (jackson-databind 2.6.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":42,"i12":10,"i13":10,"i14":10,"i15":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="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 102<li> 103<ul class="inheritance"> 104<li><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="http://docs.oracle.com/javase/6/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="http://docs.oracle.com/javase/6/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://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><com.fasterxml.jackson.annotation.ObjectIdGenerator<?>></code></td> 190<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#Z:Z_objectIdGenerators">_objectIdGenerators</a></span></code> </td> 191</tr> 192<tr class="rowColor"> 193<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/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/6/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> 194<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#Z:Z_seenObjectIds">_seenObjectIds</a></span></code> 195<div class="block">Per-serialization map Object Ids that have seen so far, iff 196 Object Id handling is enabled.</div> 197</td> 198</tr> 199</table> 200<ul class="blockList"> 201<li class="blockList"><a name="fields.inherited.from.class.com.fasterxml.jackson.databind.SerializerProvider"> 202<!-- --> 203</a> 204<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> 205<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> 206</ul> 207</li> 208</ul> 209<!-- ======== CONSTRUCTOR SUMMARY ======== --> 210<ul class="blockList"> 211<li class="blockList"><a name="constructor.summary"> 212<!-- --> 213</a> 214<h3>Constructor Summary</h3> 215<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 216<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 217<tr> 218<th class="colFirst" scope="col">Modifier</th> 219<th class="colLast" scope="col">Constructor and Description</th> 220</tr> 221<tr class="altColor"> 222<td class="colFirst"><code>protected </code></td> 223<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#DefaultSerializerProvider--">DefaultSerializerProvider</a></span>()</code> </td> 224</tr> 225<tr class="rowColor"> 226<td class="colFirst"><code>protected </code></td> 227<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> 228</tr> 229<tr class="altColor"> 230<td class="colFirst"><code>protected </code></td> 231<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, 232 <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 233 <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> f)</code> </td> 234</tr> 235</table> 236</li> 237</ul> 238<!-- ========== METHOD SUMMARY =========== --> 239<ul class="blockList"> 240<li class="blockList"><a name="method.summary"> 241<!-- --> 242</a> 243<h3>Method Summary</h3> 244<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 245<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> 246<tr> 247<th class="colFirst" scope="col">Modifier and Type</th> 248<th class="colLast" scope="col">Method and Description</th> 249</tr> 250<tr id="i0" class="altColor"> 251<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/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/6/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> 252<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#Z:Z_createObjectIdMap--">_createObjectIdMap</a></span>()</code> 253<div class="block">Overridable helper method used for creating <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> 254 used for storing mappings from serializable objects to their 255 Object Ids.</div> 256</td> 257</tr> 258<tr id="i1" class="rowColor"> 259<td class="colFirst"><code>protected void</code></td> 260<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>(com.fasterxml.jackson.core.JsonGenerator gen)</code> 261<div class="block">Helper method called when root value to serialize is null</div> 262</td> 263</tr> 264<tr id="i2" class="altColor"> 265<td class="colFirst"><code>void</code></td> 266<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, 267 <a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor)</code> 268<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> 269 to to expose the format of the given to to the given visitor</div> 270</td> 271</tr> 272<tr id="i3" class="rowColor"> 273<td class="colFirst"><code>int</code></td> 274<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#cachedSerializersCount--">cachedSerializersCount</a></span>()</code> 275<div class="block">Method that can be used to determine how many serializers this 276 provider is caching currently 277 (if it does caching: default implementation does) 278 Exact count depends on what kind of serializers get cached; 279 default implementation caches all serializers, including ones that 280 are eagerly constructed (for optimal access speed)</div> 281</td> 282</tr> 283<tr id="i4" class="altColor"> 284<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> 285<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#copy--">copy</a></span>()</code> 286<div class="block">Method needed to ensure that <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#copy--"><code>ObjectMapper.copy()</code></a> will work 287 properly; specifically, that caches are cleared, but settings 288 will otherwise remain identical; and that no sharing of state 289 occurs.</div> 290</td> 291</tr> 292<tr id="i5" class="rowColor"> 293<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> 294<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, 295 <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> jsf)</code> 296<div class="block">Overridable method, used to create a non-blueprint instances from the blueprint.</div> 297</td> 298</tr> 299<tr id="i6" class="altColor"> 300<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> 301<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="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> forPojo, 302 com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generatorType)</code> 303<div class="block">Method called to find the Object Id for given POJO, if one 304 has been generated.</div> 305</td> 306</tr> 307<tr id="i7" class="rowColor"> 308<td class="colFirst"><code>void</code></td> 309<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#flushCachedSerializers--">flushCachedSerializers</a></span>()</code> 310<div class="block">Method that will drop all serializers currently cached by this provider.</div> 311</td> 312</tr> 313<tr id="i8" class="altColor"> 314<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> 315<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="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</code> 316<div class="block"><span class="deprecatedLabel">Deprecated.</span> 317<div class="block"><span class="deprecationComment">Should not be used any more</span></div> 318</div> 319</td> 320</tr> 321<tr id="i9" class="rowColor"> 322<td class="colFirst"><code>boolean</code></td> 323<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="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 324 <a href="http://docs.oracle.com/javase/6/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/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>> cause)</code> 325<div class="block">Method that can be called to see if this serializer provider 326 can find a serializer for an instance of given class.</div> 327</td> 328</tr> 329<tr id="i10" class="altColor"> 330<td class="colFirst"><code>void</code></td> 331<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>(com.fasterxml.jackson.core.JsonGenerator gen, 332 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 333 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 334 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> valueSer, 335 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer)</code> 336<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> 337 is already known, but the actual serializer may or may not be.</div> 338</td> 339</tr> 340<tr id="i11" class="rowColor"> 341<td class="colFirst"><code>void</code></td> 342<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.jsontype.TypeSerializer-">serializePolymorphic</a></span>(com.fasterxml.jackson.core.JsonGenerator gen, 343 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 344 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer)</code> 345<div class="block"><span class="deprecatedLabel">Deprecated.</span> 346<div class="block"><span class="deprecationComment">since 2.6; remove from 2.7 or later</span></div> 347</div> 348</td> 349</tr> 350<tr id="i12" class="altColor"> 351<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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 352<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, 353 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> serDef)</code> 354<div class="block">Method that can be called to construct and configure serializer instance, 355 either given a <a href="http://docs.oracle.com/javase/6/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), 356 or an uninitialized serializer instance.</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#serializeValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-">serializeValue</a></span>(com.fasterxml.jackson.core.JsonGenerator gen, 362 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 363<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> 364 for serializing given value, using serializers that 365 this provider has access to (via caching and/or creating new serializers 366 as need be).</div> 367</td> 368</tr> 369<tr id="i14" class="altColor"> 370<td class="colFirst"><code>void</code></td> 371<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>(com.fasterxml.jackson.core.JsonGenerator gen, 372 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 373 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType)</code> 374<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> 375 for serializing given value (assumed to be of specified root type, 376 instead of runtime type of value), 377 using serializers that 378 this provider has access to (via caching and/or creating new serializers 379 as need be),</div> 380</td> 381</tr> 382<tr id="i15" class="rowColor"> 383<td class="colFirst"><code>void</code></td> 384<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>(com.fasterxml.jackson.core.JsonGenerator gen, 385 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 386 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 387 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> ser)</code> 388<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> 389 for serializing given value (assumed to be of specified root type, 390 instead of runtime type of value), when it may know specific 391 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> to use.</div> 392</td> 393</tr> 394</table> 395<ul class="blockList"> 396<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.SerializerProvider"> 397<!-- --> 398</a> 399<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> 400<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#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-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#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#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#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> 401</ul> 402<ul class="blockList"> 403<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.DatabindContext"> 404<!-- --> 405</a> 406<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> 407<code><a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#canOverrideAccessModifiers--">canOverrideAccessModifiers</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#isEnabled-com.fasterxml.jackson.databind.MapperFeature-">isEnabled</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></code></li> 408</ul> 409<ul class="blockList"> 410<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 411<!-- --> 412</a> 413<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 414<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 415</ul> 416</li> 417</ul> 418</li> 419</ul> 420</div> 421<div class="details"> 422<ul class="blockList"> 423<li class="blockList"> 424<!-- ============ FIELD DETAIL =========== --> 425<ul class="blockList"> 426<li class="blockList"><a name="field.detail"> 427<!-- --> 428</a> 429<h3>Field Detail</h3> 430<a name="Z:Z_seenObjectIds"> 431<!-- --> 432</a> 433<ul class="blockList"> 434<li class="blockList"> 435<h4>_seenObjectIds</h4> 436<pre>protected transient <a href="http://docs.oracle.com/javase/6/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/6/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> 437<div class="block">Per-serialization map Object Ids that have seen so far, iff 438 Object Id handling is enabled.</div> 439</li> 440</ul> 441<a name="Z:Z_objectIdGenerators"> 442<!-- --> 443</a> 444<ul class="blockListLast"> 445<li class="blockList"> 446<h4>_objectIdGenerators</h4> 447<pre>protected transient <a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a><com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> _objectIdGenerators</pre> 448</li> 449</ul> 450</li> 451</ul> 452<!-- ========= CONSTRUCTOR DETAIL ======== --> 453<ul class="blockList"> 454<li class="blockList"><a name="constructor.detail"> 455<!-- --> 456</a> 457<h3>Constructor Detail</h3> 458<a name="DefaultSerializerProvider--"> 459<!-- --> 460</a> 461<ul class="blockList"> 462<li class="blockList"> 463<h4>DefaultSerializerProvider</h4> 464<pre>protected DefaultSerializerProvider()</pre> 465</li> 466</ul> 467<a name="DefaultSerializerProvider-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.ser.SerializerFactory-"> 468<!-- --> 469</a> 470<ul class="blockList"> 471<li class="blockList"> 472<h4>DefaultSerializerProvider</h4> 473<pre>protected DefaultSerializerProvider(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> src, 474 <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 475 <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> f)</pre> 476</li> 477</ul> 478<a name="DefaultSerializerProvider-com.fasterxml.jackson.databind.ser.DefaultSerializerProvider-"> 479<!-- --> 480</a> 481<ul class="blockListLast"> 482<li class="blockList"> 483<h4>DefaultSerializerProvider</h4> 484<pre>protected DefaultSerializerProvider(<a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a> src)</pre> 485</li> 486</ul> 487</li> 488</ul> 489<!-- ============ METHOD DETAIL ========== --> 490<ul class="blockList"> 491<li class="blockList"><a name="method.detail"> 492<!-- --> 493</a> 494<h3>Method Detail</h3> 495<a name="copy--"> 496<!-- --> 497</a> 498<ul class="blockList"> 499<li class="blockList"> 500<h4>copy</h4> 501<pre>public <a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a> copy()</pre> 502<div class="block">Method needed to ensure that <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#copy--"><code>ObjectMapper.copy()</code></a> will work 503 properly; specifically, that caches are cleared, but settings 504 will otherwise remain identical; and that no sharing of state 505 occurs.</div> 506<dl> 507<dt><span class="simpleTagLabel">Since:</span></dt> 508<dd>2.5</dd> 509</dl> 510</li> 511</ul> 512<a name="createInstance-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.ser.SerializerFactory-"> 513<!-- --> 514</a> 515<ul class="blockList"> 516<li class="blockList"> 517<h4>createInstance</h4> 518<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, 519 <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> jsf)</pre> 520<div class="block">Overridable method, used to create a non-blueprint instances from the blueprint. 521 This is needed to retain state during serialization.</div> 522</li> 523</ul> 524<a name="serializeValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-"> 525<!-- --> 526</a> 527<ul class="blockList"> 528<li class="blockList"> 529<h4>serializeValue</h4> 530<pre>public void serializeValue(com.fasterxml.jackson.core.JsonGenerator gen, 531 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 532 throws <a href="http://docs.oracle.com/javase/6/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, using serializers that 535 this provider has access to (via caching and/or creating new serializers 536 as need be).</div> 537<dl> 538<dt><span class="throwsLabel">Throws:</span></dt> 539<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 540</dl> 541</li> 542</ul> 543<a name="serializeValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-com.fasterxml.jackson.databind.JavaType-"> 544<!-- --> 545</a> 546<ul class="blockList"> 547<li class="blockList"> 548<h4>serializeValue</h4> 549<pre>public void serializeValue(com.fasterxml.jackson.core.JsonGenerator gen, 550 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 551 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType) 552 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 553<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> 554 for serializing given value (assumed to be of specified root type, 555 instead of runtime type of value), 556 using serializers that 557 this provider has access to (via caching and/or creating new serializers 558 as need be),</div> 559<dl> 560<dt><span class="paramLabel">Parameters:</span></dt> 561<dd><code>rootType</code> - Type to use for locating serializer to use, instead of actual 562 runtime type. Must be actual type, or one of its super types</dd> 563<dt><span class="throwsLabel">Throws:</span></dt> 564<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 565</dl> 566</li> 567</ul> 568<a name="serializeValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.JsonSerializer-"> 569<!-- --> 570</a> 571<ul class="blockList"> 572<li class="blockList"> 573<h4>serializeValue</h4> 574<pre>public void serializeValue(com.fasterxml.jackson.core.JsonGenerator gen, 575 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 576 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 577 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> ser) 578 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 579<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> 580 for serializing given value (assumed to be of specified root type, 581 instead of runtime type of value), when it may know specific 582 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> to use.</div> 583<dl> 584<dt><span class="paramLabel">Parameters:</span></dt> 585<dd><code>rootType</code> - Type to use for locating serializer to use, instead of actual 586 runtime type, if no serializer is passed</dd> 587<dd><code>ser</code> - Root Serializer to use, if not null</dd> 588<dt><span class="throwsLabel">Throws:</span></dt> 589<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 590<dt><span class="simpleTagLabel">Since:</span></dt> 591<dd>2.1</dd> 592</dl> 593</li> 594</ul> 595<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-"> 596<!-- --> 597</a> 598<ul class="blockList"> 599<li class="blockList"> 600<h4>serializePolymorphic</h4> 601<pre>public void serializePolymorphic(com.fasterxml.jackson.core.JsonGenerator gen, 602 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 603 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 604 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> valueSer, 605 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer) 606 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 607<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> 608 is already known, but the actual serializer may or may not be.</div> 609<dl> 610<dt><span class="throwsLabel">Throws:</span></dt> 611<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 612<dt><span class="simpleTagLabel">Since:</span></dt> 613<dd>2.6</dd> 614</dl> 615</li> 616</ul> 617<a name="serializePolymorphic-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-com.fasterxml.jackson.databind.jsontype.TypeSerializer-"> 618<!-- --> 619</a> 620<ul class="blockList"> 621<li class="blockList"> 622<h4>serializePolymorphic</h4> 623<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 624public void serializePolymorphic(com.fasterxml.jackson.core.JsonGenerator gen, 625 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 626 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer) 627 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 628<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since 2.6; remove from 2.7 or later</span></div> 629<dl> 630<dt><span class="throwsLabel">Throws:</span></dt> 631<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 632</dl> 633</li> 634</ul> 635<a name="Z:Z_serializeNull-com.fasterxml.jackson.core.JsonGenerator-"> 636<!-- --> 637</a> 638<ul class="blockList"> 639<li class="blockList"> 640<h4>_serializeNull</h4> 641<pre>protected void _serializeNull(com.fasterxml.jackson.core.JsonGenerator gen) 642 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 643<div class="block">Helper method called when root value to serialize is null</div> 644<dl> 645<dt><span class="throwsLabel">Throws:</span></dt> 646<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 647<dt><span class="simpleTagLabel">Since:</span></dt> 648<dd>2.3</dd> 649</dl> 650</li> 651</ul> 652<a name="generateJsonSchema-java.lang.Class-"> 653<!-- --> 654</a> 655<ul class="blockList"> 656<li class="blockList"> 657<h4>generateJsonSchema</h4> 658<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 659public <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/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type) 660 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 661<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Should not be used any more</span></div> 662<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> 663 to generate <a href="http://json-schema.org/">JSON schema</a> for 664 given type.</div> 665<dl> 666<dt><span class="paramLabel">Parameters:</span></dt> 667<dd><code>type</code> - The type for which to generate schema</dd> 668<dt><span class="throwsLabel">Throws:</span></dt> 669<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 670</dl> 671</li> 672</ul> 673<a name="acceptJsonFormatVisitor-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-"> 674<!-- --> 675</a> 676<ul class="blockList"> 677<li class="blockList"> 678<h4>acceptJsonFormatVisitor</h4> 679<pre>public void acceptJsonFormatVisitor(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> javaType, 680 <a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor) 681 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 682<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> 683 to to expose the format of the given to to the given visitor</div> 684<dl> 685<dt><span class="paramLabel">Parameters:</span></dt> 686<dd><code>javaType</code> - The type for which to generate format</dd> 687<dd><code>visitor</code> - the visitor to accept the format</dd> 688<dt><span class="throwsLabel">Throws:</span></dt> 689<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 690</dl> 691</li> 692</ul> 693<a name="hasSerializerFor-java.lang.Class-java.util.concurrent.atomic.AtomicReference-"> 694<!-- --> 695</a> 696<ul class="blockList"> 697<li class="blockList"> 698<h4>hasSerializerFor</h4> 699<pre>public boolean hasSerializerFor(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 700 <a href="http://docs.oracle.com/javase/6/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/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>> cause)</pre> 701<div class="block">Method that can be called to see if this serializer provider 702 can find a serializer for an instance of given class. 703<p> 704 Note that no Exceptions are thrown, including unchecked ones: 705 implementations are to swallow exceptions if necessary.</div> 706</li> 707</ul> 708<a name="cachedSerializersCount--"> 709<!-- --> 710</a> 711<ul class="blockList"> 712<li class="blockList"> 713<h4>cachedSerializersCount</h4> 714<pre>public int cachedSerializersCount()</pre> 715<div class="block">Method that can be used to determine how many serializers this 716 provider is caching currently 717 (if it does caching: default implementation does) 718 Exact count depends on what kind of serializers get cached; 719 default implementation caches all serializers, including ones that 720 are eagerly constructed (for optimal access speed) 721<p> 722 The main use case for this method is to allow conditional flushing of 723 serializer cache, if certain number of entries is reached.</div> 724</li> 725</ul> 726<a name="flushCachedSerializers--"> 727<!-- --> 728</a> 729<ul class="blockList"> 730<li class="blockList"> 731<h4>flushCachedSerializers</h4> 732<pre>public void flushCachedSerializers()</pre> 733<div class="block">Method that will drop all serializers currently cached by this provider. 734 This can be used to remove memory usage (in case some serializers are 735 only used once or so), or to force re-construction of serializers after 736 configuration changes for mapper than owns the provider.</div> 737</li> 738</ul> 739<a name="findObjectId-java.lang.Object-com.fasterxml.jackson.annotation.ObjectIdGenerator-"> 740<!-- --> 741</a> 742<ul class="blockList"> 743<li class="blockList"> 744<h4>findObjectId</h4> 745<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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> forPojo, 746 com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generatorType)</pre> 747<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> 748<div class="block">Method called to find the Object Id for given POJO, if one 749 has been generated. Will always return a non-null Object; 750 contents vary depending on whether an Object Id already 751 exists or not.</div> 752<dl> 753<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 754<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> 755</dl> 756</li> 757</ul> 758<a name="Z:Z_createObjectIdMap--"> 759<!-- --> 760</a> 761<ul class="blockList"> 762<li class="blockList"> 763<h4>_createObjectIdMap</h4> 764<pre>protected <a href="http://docs.oracle.com/javase/6/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/6/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> 765<div class="block">Overridable helper method used for creating <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> 766 used for storing mappings from serializable objects to their 767 Object Ids.</div> 768<dl> 769<dt><span class="simpleTagLabel">Since:</span></dt> 770<dd>2.3</dd> 771</dl> 772</li> 773</ul> 774<a name="serializerInstance-com.fasterxml.jackson.databind.introspect.Annotated-java.lang.Object-"> 775<!-- --> 776</a> 777<ul class="blockListLast"> 778<li class="blockList"> 779<h4>serializerInstance</h4> 780<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/6/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, 781 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> serDef) 782 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 783<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> 784<div class="block">Method that can be called to construct and configure serializer instance, 785 either given a <a href="http://docs.oracle.com/javase/6/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), 786 or an uninitialized serializer instance. 787 Either way, serialize will be properly resolved 788 (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 789 (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> 790<dl> 791<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 792<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> 793<dt><span class="paramLabel">Parameters:</span></dt> 794<dd><code>annotated</code> - Annotated entity that contained definition</dd> 795<dd><code>serDef</code> - Serializer definition: either an instance or class</dd> 796<dt><span class="throwsLabel">Throws:</span></dt> 797<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 798</dl> 799</li> 800</ul> 801</li> 802</ul> 803</li> 804</ul> 805</div> 806</div> 807<!-- ========= END OF CLASS DATA ========= --> 808<!-- ======= START OF BOTTOM NAVBAR ====== --> 809<div class="bottomNav"><a name="navbar.bottom"> 810<!-- --> 811</a> 812<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 813<a name="navbar.bottom.firstrow"> 814<!-- --> 815</a> 816<ul class="navList" title="Navigation"> 817<li><a href="../../../../../overview-summary.html">Overview</a></li> 818<li><a href="package-summary.html">Package</a></li> 819<li class="navBarCell1Rev">Class</li> 820<li><a href="class-use/DefaultSerializerProvider.html">Use</a></li> 821<li><a href="package-tree.html">Tree</a></li> 822<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 823<li><a href="../../../../../index-all.html">Index</a></li> 824<li><a href="../../../../../help-doc.html">Help</a></li> 825</ul> 826</div> 827<div class="subNav"> 828<ul class="navList"> 829<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> 830<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> 831</ul> 832<ul class="navList"> 833<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" target="_top">Frames</a></li> 834<li><a href="DefaultSerializerProvider.html" target="_top">No Frames</a></li> 835</ul> 836<ul class="navList" id="allclasses_navbar_bottom"> 837<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 838</ul> 839<div> 840<script type="text/javascript"><!-- 841 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 842 if(window==top) { 843 allClassesLink.style.display = "block"; 844 } 845 else { 846 allClassesLink.style.display = "none"; 847 } 848 //--> 849</script> 850</div> 851<div> 852<ul class="subNavList"> 853<li>Summary: </li> 854<li><a href="#nested.class.summary">Nested</a> | </li> 855<li><a href="#field.summary">Field</a> | </li> 856<li><a href="#constructor.summary">Constr</a> | </li> 857<li><a href="#method.summary">Method</a></li> 858</ul> 859<ul class="subNavList"> 860<li>Detail: </li> 861<li><a href="#field.detail">Field</a> | </li> 862<li><a href="#constructor.detail">Constr</a> | </li> 863<li><a href="#method.detail">Method</a></li> 864</ul> 865</div> 866<a name="skip.navbar.bottom"> 867<!-- --> 868</a></div> 869<!-- ======== END OF BOTTOM NAVBAR ======= --> 870<p class="legalCopy"><small>Copyright © 2014–2015 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 871</body> 872</html> 873