1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_25) on Thu Jan 01 17:43:55 PST 2015 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>SerializerProvider (jackson-databind 2.5.0 API)</title> 8<meta name="date" content="2015-01-01"> 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="SerializerProvider (jackson-databind 2.5.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/SerializerProvider.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/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 41<li>Next Class</li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../index.html?com/fasterxml/jackson/databind/SerializerProvider.html" target="_top">Frames</a></li> 45<li><a href="SerializerProvider.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Nested | </li> 66<li><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</div> 84<h2 title="Class SerializerProvider" class="title">Class SerializerProvider</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<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> 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>com.fasterxml.jackson.databind.SerializerProvider</li> 95</ul> 96</li> 97</ul> 98</li> 99</ul> 100<div class="description"> 101<ul class="blockList"> 102<li class="blockList"> 103<dl> 104<dt>Direct Known Subclasses:</dt> 105<dd><a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a></dd> 106</dl> 107<hr> 108<br> 109<pre>public abstract class <span class="strong">SerializerProvider</span> 110extends <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></pre> 111<div class="block">Class that defines API used by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and 112 <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a>s to obtain serializers capable of serializing 113 instances of specific types; as well as the default implementation 114 of the functionality. 115<p> 116 Provider handles caching aspects of serializer handling; all construction 117 details are delegated to <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>SerializerFactory</code></a> instance. 118<p> 119 Object life-cycle is such that an initial instance ("blueprint") is created 120 and referenced 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> intances; 121 but for actual usage, a configured instance is created by using 122 a create method in sub-class 123 <a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser"><code>DefaultSerializerProvider</code></a>. 124 Only this instance can be used for actual serialization calls; blueprint 125 object is only to be used for creating instances.</div> 126</li> 127</ul> 128</div> 129<div class="summary"> 130<ul class="blockList"> 131<li class="blockList"> 132<!-- =========== FIELD SUMMARY =========== --> 133<ul class="blockList"> 134<li class="blockList"><a name="field_summary"> 135<!-- --> 136</a> 137<h3>Field Summary</h3> 138<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 139<caption><span>Fields</span><span class="tabEnd"> </span></caption> 140<tr> 141<th class="colFirst" scope="col">Modifier and Type</th> 142<th class="colLast" scope="col">Field and Description</th> 143</tr> 144<tr class="altColor"> 145<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a></code></td> 146<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_attributes">_attributes</a></strong></code> 147<div class="block">Lazily-constructed holder for per-call attributes.</div> 148</td> 149</tr> 150<tr class="rowColor"> 151<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 152<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_config">_config</a></strong></code> 153<div class="block">Serialization configuration to use for serialization processing.</div> 154</td> 155</tr> 156<tr class="altColor"> 157<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</a></code></td> 158<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_dateFormat">_dateFormat</a></strong></code> 159<div class="block">Lazily acquired and instantiated formatter object: initialized 160 first time it is needed, reused afterwards.</div> 161</td> 162</tr> 163<tr class="rowColor"> 164<td class="colFirst"><code>protected <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> 165<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_keySerializer">_keySerializer</a></strong></code> 166<div class="block">Serializer used to output non-null keys of Maps (which will get 167 output as JSON Objects), if not null; if null, us the standard 168 default key serializer.</div> 169</td> 170</tr> 171<tr class="altColor"> 172<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ser/impl/ReadOnlyClassToSerializerMap.html" title="class in com.fasterxml.jackson.databind.ser.impl">ReadOnlyClassToSerializerMap</a></code></td> 173<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_knownSerializers">_knownSerializers</a></strong></code> 174<div class="block">For fast lookups, we will have a local non-shared read-only 175 map that contains serializers previously fetched.</div> 176</td> 177</tr> 178<tr class="rowColor"> 179<td class="colFirst"><code>protected <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> 180<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_nullKeySerializer">_nullKeySerializer</a></strong></code> 181<div class="block">Serializer used to (try to) output a null key, due to an entry of 182 <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> having null key.</div> 183</td> 184</tr> 185<tr class="altColor"> 186<td class="colFirst"><code>protected <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> 187<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_nullValueSerializer">_nullValueSerializer</a></strong></code> 188<div class="block">Serializer used to output a null value.</div> 189</td> 190</tr> 191<tr class="rowColor"> 192<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/util/RootNameLookup.html" title="class in com.fasterxml.jackson.databind.util">RootNameLookup</a></code></td> 193<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_rootNames">_rootNames</a></strong></code> 194<div class="block">Helper object for keeping track of introspected root names</div> 195</td> 196</tr> 197<tr class="altColor"> 198<td class="colFirst"><code>protected <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><?></code></td> 199<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_serializationView">_serializationView</a></strong></code> 200<div class="block">View used for currently active serialization, if any.</div> 201</td> 202</tr> 203<tr class="rowColor"> 204<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html" title="class in com.fasterxml.jackson.databind.ser">SerializerCache</a></code></td> 205<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_serializerCache">_serializerCache</a></strong></code> 206<div class="block">Cache for doing type-to-value-serializer lookups.</div> 207</td> 208</tr> 209<tr class="altColor"> 210<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a></code></td> 211<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_serializerFactory">_serializerFactory</a></strong></code> 212<div class="block">Factory used for constructing actual serializer instances.</div> 213</td> 214</tr> 215<tr class="rowColor"> 216<td class="colFirst"><code>protected boolean</code></td> 217<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_stdNullValueSerializer">_stdNullValueSerializer</a></strong></code> 218<div class="block">Flag set to indicate that we are using vanilla null value serialization</div> 219</td> 220</tr> 221<tr class="altColor"> 222<td class="colFirst"><code>protected <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> 223<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_unknownTypeSerializer">_unknownTypeSerializer</a></strong></code> 224<div class="block">Serializer that gets called for values of types for which no 225 serializers can be constructed.</div> 226</td> 227</tr> 228<tr class="rowColor"> 229<td class="colFirst"><code>protected static boolean</code></td> 230<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#CACHE_UNKNOWN_MAPPINGS">CACHE_UNKNOWN_MAPPINGS</a></strong></code> 231<div class="block">Setting for determining whether mappings for "unknown classes" should be 232 cached for faster resolution.</div> 233</td> 234</tr> 235<tr class="altColor"> 236<td class="colFirst"><code>static <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> 237<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#DEFAULT_NULL_KEY_SERIALIZER">DEFAULT_NULL_KEY_SERIALIZER</a></strong></code> </td> 238</tr> 239<tr class="rowColor"> 240<td class="colFirst"><code>protected static <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> 241<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#DEFAULT_UNKNOWN_SERIALIZER">DEFAULT_UNKNOWN_SERIALIZER</a></strong></code> 242<div class="block">NOTE: changed to <code>protected</code> for 2.3; no need to be publicly available.</div> 243</td> 244</tr> 245</table> 246</li> 247</ul> 248<!-- ======== CONSTRUCTOR SUMMARY ======== --> 249<ul class="blockList"> 250<li class="blockList"><a name="constructor_summary"> 251<!-- --> 252</a> 253<h3>Constructor Summary</h3> 254<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 255<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 256<tr> 257<th class="colFirst" scope="col">Modifier</th> 258<th class="colLast" scope="col">Constructor and Description</th> 259</tr> 260<tr class="altColor"> 261<td class="colFirst"><code> </code></td> 262<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#SerializerProvider()">SerializerProvider</a></strong>()</code> 263<div class="block">Constructor for creating master (or "blue-print") provider object, 264 which is only used as the template for constructing per-binding 265 instances.</div> 266</td> 267</tr> 268<tr class="rowColor"> 269<td class="colFirst"><code>protected </code></td> 270<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#SerializerProvider(com.fasterxml.jackson.databind.SerializerProvider)">SerializerProvider</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> src)</code> 271<div class="block">Copy-constructor used when making a copy of a blueprint instance.</div> 272</td> 273</tr> 274<tr class="altColor"> 275<td class="colFirst"><code>protected </code></td> 276<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#SerializerProvider(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)">SerializerProvider</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> src, 277 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 278 <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> f)</code> 279<div class="block">"Copy-constructor", used by sub-classes.</div> 280</td> 281</tr> 282</table> 283</li> 284</ul> 285<!-- ========== METHOD SUMMARY =========== --> 286<ul class="blockList"> 287<li class="blockList"><a name="method_summary"> 288<!-- --> 289</a> 290<h3>Method Summary</h3> 291<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 292<caption><span>Methods</span><span class="tabEnd"> </span></caption> 293<tr> 294<th class="colFirst" scope="col">Modifier and Type</th> 295<th class="colLast" scope="col">Method and Description</th> 296</tr> 297<tr class="altColor"> 298<td class="colFirst"><code>protected <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> 299<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_createAndCacheUntypedSerializer(java.lang.Class)">_createAndCacheUntypedSerializer</a></strong>(<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> 300<div class="block">Method that will try to construct a value serializer; and if 301 one is successfully created, cache it for reuse.</div> 302</td> 303</tr> 304<tr class="rowColor"> 305<td class="colFirst"><code>protected <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> 306<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_createAndCacheUntypedSerializer(com.fasterxml.jackson.databind.JavaType)">_createAndCacheUntypedSerializer</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> </td> 307</tr> 308<tr class="altColor"> 309<td class="colFirst"><code>protected <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> 310<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_createUntypedSerializer(com.fasterxml.jackson.databind.JavaType)">_createUntypedSerializer</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> </td> 311</tr> 312<tr class="rowColor"> 313<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</a></code></td> 314<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_dateFormat()">_dateFormat</a></strong>()</code> </td> 315</tr> 316<tr class="altColor"> 317<td class="colFirst"><code>protected <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> 318<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_findExplicitUntypedSerializer(java.lang.Class)">_findExplicitUntypedSerializer</a></strong>(<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><?> runtimeType)</code> 319<div class="block">Method that will try to find a serializer, either from cache 320 or by constructing one; but will not return an "unknown" serializer 321 if this can not be done but rather returns null.</div> 322</td> 323</tr> 324<tr class="rowColor"> 325<td class="colFirst"><code>protected <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> 326<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_handleContextualResolvable(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)">_handleContextualResolvable</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 327 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 328<div class="block">Helper method called to resolve and contextualize given 329 serializer, if and as necessary.</div> 330</td> 331</tr> 332<tr class="altColor"> 333<td class="colFirst"><code>protected <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> 334<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_handleResolvable(com.fasterxml.jackson.databind.JsonSerializer)">_handleResolvable</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</code> </td> 335</tr> 336<tr class="rowColor"> 337<td class="colFirst"><code>protected void</code></td> 338<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_reportIncompatibleRootType(java.lang.Object, com.fasterxml.jackson.databind.JavaType)">_reportIncompatibleRootType</a></strong>(<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, 339 <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType)</code> </td> 340</tr> 341<tr class="altColor"> 342<td class="colFirst"><code>void</code></td> 343<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateKey(java.util.Date, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateKey</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date, 344 com.fasterxml.jackson.core.JsonGenerator jgen)</code> 345<div class="block">Method that will handle serialization of Dates used as <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> keys, 346 based on <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><code>SerializationFeature.WRITE_DATE_KEYS_AS_TIMESTAMPS</code></a> 347 value (and if using textual representation, configured date format)</div> 348</td> 349</tr> 350<tr class="rowColor"> 351<td class="colFirst"><code>void</code></td> 352<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateKey(long, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateKey</a></strong>(long timestamp, 353 com.fasterxml.jackson.core.JsonGenerator jgen)</code> 354<div class="block">Method that will handle serialization of Dates used as <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> keys, 355 based on <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><code>SerializationFeature.WRITE_DATE_KEYS_AS_TIMESTAMPS</code></a> 356 value (and if using textual representation, configured date format)</div> 357</td> 358</tr> 359<tr class="altColor"> 360<td class="colFirst"><code>void</code></td> 361<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateValue(java.util.Date, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateValue</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date, 362 com.fasterxml.jackson.core.JsonGenerator jgen)</code> 363<div class="block">Method that will handle serialization of Date(-like) values, using 364 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>SerializationConfig</code></a> settings to determine expected serialization 365 behavior.</div> 366</td> 367</tr> 368<tr class="rowColor"> 369<td class="colFirst"><code>void</code></td> 370<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateValue(long, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateValue</a></strong>(long timestamp, 371 com.fasterxml.jackson.core.JsonGenerator jgen)</code> 372<div class="block">Method that will handle serialization of Date(-like) values, using 373 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>SerializationConfig</code></a> settings to determine expected serialization 374 behavior.</div> 375</td> 376</tr> 377<tr class="altColor"> 378<td class="colFirst"><code>void</code></td> 379<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeField(java.lang.String, java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeField</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, 380 <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, 381 com.fasterxml.jackson.core.JsonGenerator jgen)</code> 382<div class="block">Convenience method that will serialize given field with specified 383 value.</div> 384</td> 385</tr> 386<tr class="rowColor"> 387<td class="colFirst"><code>void</code></td> 388<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeNull(com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeNull</a></strong>(com.fasterxml.jackson.core.JsonGenerator jgen)</code> </td> 389</tr> 390<tr class="altColor"> 391<td class="colFirst"><code>void</code></td> 392<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeValue(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeValue</a></strong>(<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, 393 com.fasterxml.jackson.core.JsonGenerator jgen)</code> 394<div class="block">Convenience method that will serialize given value (which can be 395 null) using standard serializer locating functionality.</div> 396</td> 397</tr> 398<tr class="rowColor"> 399<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> 400<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findKeySerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">findKeySerializer</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> keyType, 401 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 402<div class="block">Method called to get the serializer to use for serializing 403 non-null Map keys.</div> 404</td> 405</tr> 406<tr class="altColor"> 407<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> 408<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findNullKeySerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">findNullKeySerializer</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> serializationType, 409 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 410<div class="block">Method called to find a serializer to use for null values for given 411 declared type.</div> 412</td> 413</tr> 414<tr class="rowColor"> 415<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> 416<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findNullValueSerializer(com.fasterxml.jackson.databind.BeanProperty)">findNullValueSerializer</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 417<div class="block">Method called to get the serializer to use for serializing null 418 values for specified property.</div> 419</td> 420</tr> 421<tr class="altColor"> 422<td class="colFirst"><code>abstract <a href="../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</a></code></td> 423<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findObjectId(java.lang.Object, com.fasterxml.jackson.annotation.ObjectIdGenerator)">findObjectId</a></strong>(<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, 424 com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generatorType)</code> 425<div class="block">Method called to find the Object Id for given POJO, if one 426 has been generated.</div> 427</td> 428</tr> 429<tr class="rowColor"> 430<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> 431<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findPrimaryPropertySerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)">findPrimaryPropertySerializer</a></strong>(<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><?> valueType, 432 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> </td> 433</tr> 434<tr class="altColor"> 435<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> 436<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findPrimaryPropertySerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">findPrimaryPropertySerializer</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 437 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 438<div class="block">Similar to <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)"><code>findValueSerializer(JavaType, BeanProperty)</code></a>, but used 439 when finding "primary" property value serializer (one directly handling 440 value of the property).</div> 441</td> 442</tr> 443<tr class="rowColor"> 444<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> 445<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypedValueSerializer(java.lang.Class, boolean, com.fasterxml.jackson.databind.BeanProperty)">findTypedValueSerializer</a></strong>(<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><?> valueType, 446 boolean cache, 447 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 448<div class="block">Method called to locate regular serializer, matching type serializer, 449 and if both found, wrap them in a serializer that calls both in correct 450 sequence.</div> 451</td> 452</tr> 453<tr class="altColor"> 454<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> 455<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypedValueSerializer(com.fasterxml.jackson.databind.JavaType, boolean, com.fasterxml.jackson.databind.BeanProperty)">findTypedValueSerializer</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 456 boolean cache, 457 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 458<div class="block">Method called to locate regular serializer, matching type serializer, 459 and if both found, wrap them in a serializer that calls both in correct 460 sequence.</div> 461</td> 462</tr> 463<tr class="rowColor"> 464<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> 465<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(java.lang.Class)">findValueSerializer</a></strong>(<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><?> valueType)</code> 466<div class="block">Method variant used when we do NOT want contextualization to happen; it will need 467 to be handled at a later point, but caller wants to be able to do that 468 as needed; sometimes to avoid infinite loops</div> 469</td> 470</tr> 471<tr class="altColor"> 472<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> 473<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)">findValueSerializer</a></strong>(<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><?> valueType, 474 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 475<div class="block">Method called to get hold of a serializer for a value of given type; 476 or if no such serializer can be found, a default handler (which 477 may do a best-effort generic serialization or just simply 478 throw an exception when invoked).</div> 479</td> 480</tr> 481<tr class="rowColor"> 482<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> 483<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(com.fasterxml.jackson.databind.JavaType)">findValueSerializer</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType)</code> 484<div class="block">Method variant used when we do NOT want contextualization to happen; it will need 485 to be handled at a later point, but caller wants to be able to do that 486 as needed; sometimes to avoid infinite loops</div> 487</td> 488</tr> 489<tr class="altColor"> 490<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> 491<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">findValueSerializer</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 492 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 493<div class="block">Similar to <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)"><code>findValueSerializer(Class,BeanProperty)</code></a>, but takes 494 full generics-aware type instead of raw class.</div> 495</td> 496</tr> 497<tr class="rowColor"> 498<td class="colFirst"><code><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><?></code></td> 499<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getActiveView()">getActiveView</a></strong>()</code> 500<div class="block">Accessor for locating currently active view, if any; 501 returns null if no view has been set.</div> 502</td> 503</tr> 504<tr class="altColor"> 505<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a></code></td> 506<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getAnnotationIntrospector()">getAnnotationIntrospector</a></strong>()</code> 507<div class="block">Convenience method for accessing serialization view in use (if any); equivalent to:</div> 508</td> 509</tr> 510<tr class="rowColor"> 511<td class="colFirst"><code><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> 512<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getAttribute(java.lang.Object)">getAttribute</a></strong>(<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> key)</code> 513<div class="block">Method for accessing attributes available in this context.</div> 514</td> 515</tr> 516<tr class="altColor"> 517<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 518<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getConfig()">getConfig</a></strong>()</code> 519<div class="block">Method for accessing configuration for the serialization processing.</div> 520</td> 521</tr> 522<tr class="rowColor"> 523<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> 524<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultNullKeySerializer()">getDefaultNullKeySerializer</a></strong>()</code> </td> 525</tr> 526<tr class="altColor"> 527<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> 528<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultNullValueSerializer()">getDefaultNullValueSerializer</a></strong>()</code> </td> 529</tr> 530<tr class="rowColor"> 531<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</a></code></td> 532<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getFilterProvider()">getFilterProvider</a></strong>()</code> 533<div class="block">Convenience method for accessing provider to find serialization filters used, 534 equivalent to calling:</div> 535</td> 536</tr> 537<tr class="altColor"> 538<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a></code></td> 539<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getLocale()">getLocale</a></strong>()</code> 540<div class="block">Method for accessing default Locale to use: convenience method for</div> 541</td> 542</tr> 543<tr class="rowColor"> 544<td class="colFirst"><code><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><?></code></td> 545<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getSerializationView()">getSerializationView</a></strong>()</code> 546<div class="block"><strong>Deprecated.</strong> 547<div class="block"><i>Since 2.2, use <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getActiveView()"><code>getActiveView()</code></a> instead.</i></div> 548</div> 549</td> 550</tr> 551<tr class="altColor"> 552<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a></code></td> 553<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getTimeZone()">getTimeZone</a></strong>()</code> 554<div class="block">Method for accessing default TimeZone to use: convenience method for</div> 555</td> 556</tr> 557<tr class="rowColor"> 558<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a></code></td> 559<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getTypeFactory()">getTypeFactory</a></strong>()</code> </td> 560</tr> 561<tr class="altColor"> 562<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> 563<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getUnknownTypeSerializer(java.lang.Class)">getUnknownTypeSerializer</a></strong>(<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><?> unknownType)</code> 564<div class="block">Method called to get the serializer to use if provider 565 can not determine an actual type-specific serializer 566 to use; typically when none of <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>SerializerFactory</code></a> 567 instances are able to construct a serializer.</div> 568</td> 569</tr> 570<tr class="rowColor"> 571<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 572<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#handlePrimaryContextualization(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)">handlePrimaryContextualization</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 573 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 574<div class="block">Method called for primary property serializers (ones 575 directly created to serialize values of a POJO property), 576 to handle details of resolving 577 <a href="../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><code>ContextualSerializer</code></a> with given property context.</div> 578</td> 579</tr> 580<tr class="altColor"> 581<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 582<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#handleSecondaryContextualization(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)">handleSecondaryContextualization</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 583 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 584<div class="block">Method called for secondary property serializers (ones 585 NOT directly created to serialize values of a POJO property 586 but instead created as a dependant serializer -- such as value serializers 587 for structured types, or serializers for root values) 588 to handle details of resolving 589 <a href="../../../../com/fasterxml/jackson/databind/deser/ContextualDeserializer.html" title="interface in com.fasterxml.jackson.databind.deser"><code>ContextualDeserializer</code></a> with given property context.</div> 590</td> 591</tr> 592<tr class="rowColor"> 593<td class="colFirst"><code>boolean</code></td> 594<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#hasSerializationFeatures(int)">hasSerializationFeatures</a></strong>(int featureMask)</code> 595<div class="block">"Bulk" access method for checking that all features specified by 596 mask are enabled.</div> 597</td> 598</tr> 599<tr class="altColor"> 600<td class="colFirst"><code>boolean</code></td> 601<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#isEnabled(com.fasterxml.jackson.databind.SerializationFeature)">isEnabled</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> feature)</code> 602<div class="block">Convenience method for checking whether specified serialization 603 feature is enabled or not.</div> 604</td> 605</tr> 606<tr class="rowColor"> 607<td class="colFirst"><code>boolean</code></td> 608<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#isUnknownTypeSerializer(com.fasterxml.jackson.databind.JsonSerializer)">isUnknownTypeSerializer</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</code> 609<div class="block">Helper method called to see if given serializer is considered to be 610 something returned by <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getUnknownTypeSerializer(java.lang.Class)"><code>getUnknownTypeSerializer(java.lang.Class<?>)</code></a>, that is, something 611 for which no regular serializer was found or constructed.</div> 612</td> 613</tr> 614<tr class="altColor"> 615<td class="colFirst"><code>abstract <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> 616<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated, java.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, 617 <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> 618<div class="block">Method that can be called to construct and configure serializer instance, 619 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), 620 or an uninitialized serializer instance.</div> 621</td> 622</tr> 623<tr class="rowColor"> 624<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></code></td> 625<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setAttribute(java.lang.Object, java.lang.Object)">setAttribute</a></strong>(<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> key, 626 <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> 627<div class="block">Method for setting per-call value of given attribute.</div> 628</td> 629</tr> 630<tr class="altColor"> 631<td class="colFirst"><code>void</code></td> 632<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setDefaultKeySerializer(com.fasterxml.jackson.databind.JsonSerializer)">setDefaultKeySerializer</a></strong>(<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>> ks)</code> 633<div class="block">Method that can be used to specify serializer that will be 634 used to write JSON property names matching null keys for Java 635 Maps (which will throw an exception if try write such property 636 name)</div> 637</td> 638</tr> 639<tr class="rowColor"> 640<td class="colFirst"><code>void</code></td> 641<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setNullKeySerializer(com.fasterxml.jackson.databind.JsonSerializer)">setNullKeySerializer</a></strong>(<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>> nks)</code> 642<div class="block">Method that can be used to specify serializer to use for serializing 643 all non-null JSON property names, unless more specific key serializer 644 is found (i.e.</div> 645</td> 646</tr> 647<tr class="altColor"> 648<td class="colFirst"><code>void</code></td> 649<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setNullValueSerializer(com.fasterxml.jackson.databind.JsonSerializer)">setNullValueSerializer</a></strong>(<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>> nvs)</code> 650<div class="block">Method that can be used to specify serializer that will be 651 used to write JSON values matching Java null values 652 instead of default one (which simply writes JSON null).</div> 653</td> 654</tr> 655</table> 656<ul class="blockList"> 657<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.DatabindContext"> 658<!-- --> 659</a> 660<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> 661<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> 662</ul> 663<ul class="blockList"> 664<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 665<!-- --> 666</a> 667<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> 668<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> 669</ul> 670</li> 671</ul> 672</li> 673</ul> 674</div> 675<div class="details"> 676<ul class="blockList"> 677<li class="blockList"> 678<!-- ============ FIELD DETAIL =========== --> 679<ul class="blockList"> 680<li class="blockList"><a name="field_detail"> 681<!-- --> 682</a> 683<h3>Field Detail</h3> 684<a name="CACHE_UNKNOWN_MAPPINGS"> 685<!-- --> 686</a> 687<ul class="blockList"> 688<li class="blockList"> 689<h4>CACHE_UNKNOWN_MAPPINGS</h4> 690<pre>protected static final boolean CACHE_UNKNOWN_MAPPINGS</pre> 691<div class="block">Setting for determining whether mappings for "unknown classes" should be 692 cached for faster resolution. Usually this isn't needed, but maybe it 693 is in some cases?</div> 694<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.fasterxml.jackson.databind.SerializerProvider.CACHE_UNKNOWN_MAPPINGS">Constant Field Values</a></dd></dl> 695</li> 696</ul> 697<a name="DEFAULT_NULL_KEY_SERIALIZER"> 698<!-- --> 699</a> 700<ul class="blockList"> 701<li class="blockList"> 702<h4>DEFAULT_NULL_KEY_SERIALIZER</h4> 703<pre>public static final <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>> DEFAULT_NULL_KEY_SERIALIZER</pre> 704</li> 705</ul> 706<a name="DEFAULT_UNKNOWN_SERIALIZER"> 707<!-- --> 708</a> 709<ul class="blockList"> 710<li class="blockList"> 711<h4>DEFAULT_UNKNOWN_SERIALIZER</h4> 712<pre>protected static final <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>> DEFAULT_UNKNOWN_SERIALIZER</pre> 713<div class="block">NOTE: changed to <code>protected</code> for 2.3; no need to be publicly available.</div> 714</li> 715</ul> 716<a name="_config"> 717<!-- --> 718</a> 719<ul class="blockList"> 720<li class="blockList"> 721<h4>_config</h4> 722<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> _config</pre> 723<div class="block">Serialization configuration to use for serialization processing.</div> 724</li> 725</ul> 726<a name="_serializationView"> 727<!-- --> 728</a> 729<ul class="blockList"> 730<li class="blockList"> 731<h4>_serializationView</h4> 732<pre>protected final <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><?> _serializationView</pre> 733<div class="block">View used for currently active serialization, if any. 734 Only set for non-blueprint instances.</div> 735</li> 736</ul> 737<a name="_serializerFactory"> 738<!-- --> 739</a> 740<ul class="blockList"> 741<li class="blockList"> 742<h4>_serializerFactory</h4> 743<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> _serializerFactory</pre> 744<div class="block">Factory used for constructing actual serializer instances. 745 Only set for non-blueprint instances.</div> 746</li> 747</ul> 748<a name="_serializerCache"> 749<!-- --> 750</a> 751<ul class="blockList"> 752<li class="blockList"> 753<h4>_serializerCache</h4> 754<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html" title="class in com.fasterxml.jackson.databind.ser">SerializerCache</a> _serializerCache</pre> 755<div class="block">Cache for doing type-to-value-serializer lookups.</div> 756</li> 757</ul> 758<a name="_rootNames"> 759<!-- --> 760</a> 761<ul class="blockList"> 762<li class="blockList"> 763<h4>_rootNames</h4> 764<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/util/RootNameLookup.html" title="class in com.fasterxml.jackson.databind.util">RootNameLookup</a> _rootNames</pre> 765<div class="block">Helper object for keeping track of introspected root names</div> 766</li> 767</ul> 768<a name="_attributes"> 769<!-- --> 770</a> 771<ul class="blockList"> 772<li class="blockList"> 773<h4>_attributes</h4> 774<pre>protected transient <a href="../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a> _attributes</pre> 775<div class="block">Lazily-constructed holder for per-call attributes. 776 Only set for non-blueprint instances.</div> 777<dl><dt><span class="strong">Since:</span></dt> 778 <dd>2.3</dd></dl> 779</li> 780</ul> 781<a name="_unknownTypeSerializer"> 782<!-- --> 783</a> 784<ul class="blockList"> 785<li class="blockList"> 786<h4>_unknownTypeSerializer</h4> 787<pre>protected <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>> _unknownTypeSerializer</pre> 788<div class="block">Serializer that gets called for values of types for which no 789 serializers can be constructed. 790<p> 791 The default serializer will simply thrown an exception.</div> 792</li> 793</ul> 794<a name="_keySerializer"> 795<!-- --> 796</a> 797<ul class="blockList"> 798<li class="blockList"> 799<h4>_keySerializer</h4> 800<pre>protected <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>> _keySerializer</pre> 801<div class="block">Serializer used to output non-null keys of Maps (which will get 802 output as JSON Objects), if not null; if null, us the standard 803 default key serializer.</div> 804</li> 805</ul> 806<a name="_nullValueSerializer"> 807<!-- --> 808</a> 809<ul class="blockList"> 810<li class="blockList"> 811<h4>_nullValueSerializer</h4> 812<pre>protected <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>> _nullValueSerializer</pre> 813<div class="block">Serializer used to output a null value. Default implementation 814 writes nulls using <code>JsonGenerator.writeNull()</code>.</div> 815</li> 816</ul> 817<a name="_nullKeySerializer"> 818<!-- --> 819</a> 820<ul class="blockList"> 821<li class="blockList"> 822<h4>_nullKeySerializer</h4> 823<pre>protected <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>> _nullKeySerializer</pre> 824<div class="block">Serializer used to (try to) output a null key, due to an entry of 825 <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> having null key. 826 The default implementation will throw an exception if this happens; 827 alternative implementation (like one that would write an Empty String) 828 can be defined.</div> 829</li> 830</ul> 831<a name="_knownSerializers"> 832<!-- --> 833</a> 834<ul class="blockList"> 835<li class="blockList"> 836<h4>_knownSerializers</h4> 837<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/ser/impl/ReadOnlyClassToSerializerMap.html" title="class in com.fasterxml.jackson.databind.ser.impl">ReadOnlyClassToSerializerMap</a> _knownSerializers</pre> 838<div class="block">For fast lookups, we will have a local non-shared read-only 839 map that contains serializers previously fetched.</div> 840</li> 841</ul> 842<a name="_dateFormat"> 843<!-- --> 844</a> 845<ul class="blockList"> 846<li class="blockList"> 847<h4>_dateFormat</h4> 848<pre>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</a> _dateFormat</pre> 849<div class="block">Lazily acquired and instantiated formatter object: initialized 850 first time it is needed, reused afterwards. Used via instances 851 (not blueprints), so that access need not be thread-safe.</div> 852</li> 853</ul> 854<a name="_stdNullValueSerializer"> 855<!-- --> 856</a> 857<ul class="blockListLast"> 858<li class="blockList"> 859<h4>_stdNullValueSerializer</h4> 860<pre>protected final boolean _stdNullValueSerializer</pre> 861<div class="block">Flag set to indicate that we are using vanilla null value serialization</div> 862<dl><dt><span class="strong">Since:</span></dt> 863 <dd>2.3</dd></dl> 864</li> 865</ul> 866</li> 867</ul> 868<!-- ========= CONSTRUCTOR DETAIL ======== --> 869<ul class="blockList"> 870<li class="blockList"><a name="constructor_detail"> 871<!-- --> 872</a> 873<h3>Constructor Detail</h3> 874<a name="SerializerProvider()"> 875<!-- --> 876</a> 877<ul class="blockList"> 878<li class="blockList"> 879<h4>SerializerProvider</h4> 880<pre>public SerializerProvider()</pre> 881<div class="block">Constructor for creating master (or "blue-print") provider object, 882 which is only used as the template for constructing per-binding 883 instances.</div> 884</li> 885</ul> 886<a name="SerializerProvider(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)"> 887<!-- --> 888</a> 889<ul class="blockList"> 890<li class="blockList"> 891<h4>SerializerProvider</h4> 892<pre>protected SerializerProvider(<a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> src, 893 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 894 <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> f)</pre> 895<div class="block">"Copy-constructor", used by sub-classes.</div> 896<dl><dt><span class="strong">Parameters:</span></dt><dd><code>src</code> - Blueprint object used as the baseline for this instance</dd></dl> 897</li> 898</ul> 899<a name="SerializerProvider(com.fasterxml.jackson.databind.SerializerProvider)"> 900<!-- --> 901</a> 902<ul class="blockListLast"> 903<li class="blockList"> 904<h4>SerializerProvider</h4> 905<pre>protected SerializerProvider(<a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> src)</pre> 906<div class="block">Copy-constructor used when making a copy of a blueprint instance.</div> 907<dl><dt><span class="strong">Since:</span></dt> 908 <dd>2.4.4</dd></dl> 909</li> 910</ul> 911</li> 912</ul> 913<!-- ============ METHOD DETAIL ========== --> 914<ul class="blockList"> 915<li class="blockList"><a name="method_detail"> 916<!-- --> 917</a> 918<h3>Method Detail</h3> 919<a name="setDefaultKeySerializer(com.fasterxml.jackson.databind.JsonSerializer)"> 920<!-- --> 921</a> 922<ul class="blockList"> 923<li class="blockList"> 924<h4>setDefaultKeySerializer</h4> 925<pre>public void setDefaultKeySerializer(<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>> ks)</pre> 926<div class="block">Method that can be used to specify serializer that will be 927 used to write JSON property names matching null keys for Java 928 Maps (which will throw an exception if try write such property 929 name)</div> 930</li> 931</ul> 932<a name="setNullValueSerializer(com.fasterxml.jackson.databind.JsonSerializer)"> 933<!-- --> 934</a> 935<ul class="blockList"> 936<li class="blockList"> 937<h4>setNullValueSerializer</h4> 938<pre>public void setNullValueSerializer(<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>> nvs)</pre> 939<div class="block">Method that can be used to specify serializer that will be 940 used to write JSON values matching Java null values 941 instead of default one (which simply writes JSON null). 942<p> 943 Note that you can get finer control over serializer to use by overriding 944 <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findNullValueSerializer(com.fasterxml.jackson.databind.BeanProperty)"><code>findNullValueSerializer(com.fasterxml.jackson.databind.BeanProperty)</code></a>, which gets called once per each 945 property.</div> 946</li> 947</ul> 948<a name="setNullKeySerializer(com.fasterxml.jackson.databind.JsonSerializer)"> 949<!-- --> 950</a> 951<ul class="blockList"> 952<li class="blockList"> 953<h4>setNullKeySerializer</h4> 954<pre>public void setNullKeySerializer(<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>> nks)</pre> 955<div class="block">Method that can be used to specify serializer to use for serializing 956 all non-null JSON property names, unless more specific key serializer 957 is found (i.e. if not custom key serializer has been registered for 958 Java type). 959<p> 960 Note that key serializer registration are different from value serializer 961 registrations.</div> 962</li> 963</ul> 964<a name="getConfig()"> 965<!-- --> 966</a> 967<ul class="blockList"> 968<li class="blockList"> 969<h4>getConfig</h4> 970<pre>public final <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> getConfig()</pre> 971<div class="block">Method for accessing configuration for the serialization processing.</div> 972<dl> 973<dt><strong>Specified by:</strong></dt> 974<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getConfig()">getConfig</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 975</dl> 976</li> 977</ul> 978<a name="getAnnotationIntrospector()"> 979<!-- --> 980</a> 981<ul class="blockList"> 982<li class="blockList"> 983<h4>getAnnotationIntrospector</h4> 984<pre>public final <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a> getAnnotationIntrospector()</pre> 985<div class="block"><strong>Description copied from class: <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getAnnotationIntrospector()">DatabindContext</a></code></strong></div> 986<div class="block">Convenience method for accessing serialization view in use (if any); equivalent to: 987<pre> 988 getConfig().getAnnotationIntrospector(); 989</pre></div> 990<dl> 991<dt><strong>Specified by:</strong></dt> 992<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getAnnotationIntrospector()">getAnnotationIntrospector</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 993</dl> 994</li> 995</ul> 996<a name="getTypeFactory()"> 997<!-- --> 998</a> 999<ul class="blockList"> 1000<li class="blockList"> 1001<h4>getTypeFactory</h4> 1002<pre>public final <a href="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a> getTypeFactory()</pre> 1003<dl> 1004<dt><strong>Specified by:</strong></dt> 1005<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getTypeFactory()">getTypeFactory</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 1006</dl> 1007</li> 1008</ul> 1009<a name="getActiveView()"> 1010<!-- --> 1011</a> 1012<ul class="blockList"> 1013<li class="blockList"> 1014<h4>getActiveView</h4> 1015<pre>public final <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><?> getActiveView()</pre> 1016<div class="block"><strong>Description copied from class: <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getActiveView()">DatabindContext</a></code></strong></div> 1017<div class="block">Accessor for locating currently active view, if any; 1018 returns null if no view has been set.</div> 1019<dl> 1020<dt><strong>Specified by:</strong></dt> 1021<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getActiveView()">getActiveView</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 1022</dl> 1023</li> 1024</ul> 1025<a name="getSerializationView()"> 1026<!-- --> 1027</a> 1028<ul class="blockList"> 1029<li class="blockList"> 1030<h4>getSerializationView</h4> 1031<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> 1032public final <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><?> getSerializationView()</pre> 1033<div class="block"><span class="strong">Deprecated.</span> <i>Since 2.2, use <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getActiveView()"><code>getActiveView()</code></a> instead.</i></div> 1034</li> 1035</ul> 1036<a name="getAttribute(java.lang.Object)"> 1037<!-- --> 1038</a> 1039<ul class="blockList"> 1040<li class="blockList"> 1041<h4>getAttribute</h4> 1042<pre>public <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> getAttribute(<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> key)</pre> 1043<div class="block"><strong>Description copied from class: <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getAttribute(java.lang.Object)">DatabindContext</a></code></strong></div> 1044<div class="block">Method for accessing attributes available in this context. 1045 Per-call attributes have highest precedence; attributes set 1046 via <a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a> or <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> have lower 1047 precedence.</div> 1048<dl> 1049<dt><strong>Specified by:</strong></dt> 1050<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getAttribute(java.lang.Object)">getAttribute</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 1051<dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key of the attribute to get</dd> 1052<dt><span class="strong">Returns:</span></dt><dd>Value of the attribute, if any; null otherwise</dd></dl> 1053</li> 1054</ul> 1055<a name="setAttribute(java.lang.Object, java.lang.Object)"> 1056<!-- --> 1057</a> 1058<ul class="blockList"> 1059<li class="blockList"> 1060<h4>setAttribute</h4> 1061<pre>public <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> setAttribute(<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> key, 1062 <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)</pre> 1063<div class="block"><strong>Description copied from class: <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#setAttribute(java.lang.Object, java.lang.Object)">DatabindContext</a></code></strong></div> 1064<div class="block">Method for setting per-call value of given attribute. 1065 This will override any previously defined value for the 1066 attribute within this context.</div> 1067<dl> 1068<dt><strong>Specified by:</strong></dt> 1069<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#setAttribute(java.lang.Object, java.lang.Object)">setAttribute</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 1070<dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - Key of the attribute to set</dd><dd><code>value</code> - Value to set attribute to</dd> 1071<dt><span class="strong">Returns:</span></dt><dd>This context object, to allow chaining</dd></dl> 1072</li> 1073</ul> 1074<a name="isEnabled(com.fasterxml.jackson.databind.SerializationFeature)"> 1075<!-- --> 1076</a> 1077<ul class="blockList"> 1078<li class="blockList"> 1079<h4>isEnabled</h4> 1080<pre>public final boolean isEnabled(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> feature)</pre> 1081<div class="block">Convenience method for checking whether specified serialization 1082 feature is enabled or not. 1083 Shortcut for: 1084<pre> 1085 getConfig().isEnabled(feature); 1086</pre></div> 1087</li> 1088</ul> 1089<a name="hasSerializationFeatures(int)"> 1090<!-- --> 1091</a> 1092<ul class="blockList"> 1093<li class="blockList"> 1094<h4>hasSerializationFeatures</h4> 1095<pre>public final boolean hasSerializationFeatures(int featureMask)</pre> 1096<div class="block">"Bulk" access method for checking that all features specified by 1097 mask are enabled.</div> 1098<dl><dt><span class="strong">Since:</span></dt> 1099 <dd>2.3</dd></dl> 1100</li> 1101</ul> 1102<a name="getFilterProvider()"> 1103<!-- --> 1104</a> 1105<ul class="blockList"> 1106<li class="blockList"> 1107<h4>getFilterProvider</h4> 1108<pre>public final <a href="../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</a> getFilterProvider()</pre> 1109<div class="block">Convenience method for accessing provider to find serialization filters used, 1110 equivalent to calling: 1111<pre> 1112 getConfig().getFilterProvider(); 1113</pre></div> 1114</li> 1115</ul> 1116<a name="getLocale()"> 1117<!-- --> 1118</a> 1119<ul class="blockList"> 1120<li class="blockList"> 1121<h4>getLocale</h4> 1122<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> getLocale()</pre> 1123<div class="block">Method for accessing default Locale to use: convenience method for 1124<pre> 1125 getConfig().getLocale(); 1126</pre></div> 1127</li> 1128</ul> 1129<a name="getTimeZone()"> 1130<!-- --> 1131</a> 1132<ul class="blockList"> 1133<li class="blockList"> 1134<h4>getTimeZone</h4> 1135<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> getTimeZone()</pre> 1136<div class="block">Method for accessing default TimeZone to use: convenience method for 1137<pre> 1138 getConfig().getTimeZone(); 1139</pre></div> 1140</li> 1141</ul> 1142<a name="findObjectId(java.lang.Object, com.fasterxml.jackson.annotation.ObjectIdGenerator)"> 1143<!-- --> 1144</a> 1145<ul class="blockList"> 1146<li class="blockList"> 1147<h4>findObjectId</h4> 1148<pre>public abstract <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, 1149 com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generatorType)</pre> 1150<div class="block">Method called to find the Object Id for given POJO, if one 1151 has been generated. Will always return a non-null Object; 1152 contents vary depending on whether an Object Id already 1153 exists or not.</div> 1154</li> 1155</ul> 1156<a name="findValueSerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)"> 1157<!-- --> 1158</a> 1159<ul class="blockList"> 1160<li class="blockList"> 1161<h4>findValueSerializer</h4> 1162<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>> findValueSerializer(<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><?> valueType, 1163 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1164 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1165<div class="block">Method called to get hold of a serializer for a value of given type; 1166 or if no such serializer can be found, a default handler (which 1167 may do a best-effort generic serialization or just simply 1168 throw an exception when invoked). 1169<p> 1170 Note: this method is only called for non-null values; not for keys 1171 or null values. For these, check out other accessor methods. 1172<p> 1173 Note that starting with version 1.5, serializers should also be type-aware 1174 if they handle polymorphic types. That means that it may be necessary 1175 to also use a <a href="../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype"><code>TypeSerializer</code></a> based on declared (static) type 1176 being serializer (whereas actual data may be serialized using dynamic 1177 type)</div> 1178<dl><dt><span class="strong">Throws:</span></dt> 1179<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code> - if there are fatal problems with 1180 accessing suitable serializer; including that of not 1181 finding any serializer</dd></dl> 1182</li> 1183</ul> 1184<a name="findValueSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)"> 1185<!-- --> 1186</a> 1187<ul class="blockList"> 1188<li class="blockList"> 1189<h4>findValueSerializer</h4> 1190<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>> findValueSerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 1191 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1192 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1193<div class="block">Similar to <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)"><code>findValueSerializer(Class,BeanProperty)</code></a>, but takes 1194 full generics-aware type instead of raw class. 1195 This is necessary for accurate handling of external type information, 1196 to handle polymorphic types.</div> 1197<dl><dt><span class="strong">Parameters:</span></dt><dd><code>property</code> - When creating secondary serializers, property for which 1198 serializer is needed: annotations of the property (or bean that contains it) 1199 may be checked to create contextual serializers.</dd> 1200<dt><span class="strong">Throws:</span></dt> 1201<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 1202</li> 1203</ul> 1204<a name="findValueSerializer(java.lang.Class)"> 1205<!-- --> 1206</a> 1207<ul class="blockList"> 1208<li class="blockList"> 1209<h4>findValueSerializer</h4> 1210<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>> findValueSerializer(<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><?> valueType) 1211 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1212<div class="block">Method variant used when we do NOT want contextualization to happen; it will need 1213 to be handled at a later point, but caller wants to be able to do that 1214 as needed; sometimes to avoid infinite loops</div> 1215<dl><dt><span class="strong">Throws:</span></dt> 1216<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt> 1217 <dd>2.5</dd></dl> 1218</li> 1219</ul> 1220<a name="findValueSerializer(com.fasterxml.jackson.databind.JavaType)"> 1221<!-- --> 1222</a> 1223<ul class="blockList"> 1224<li class="blockList"> 1225<h4>findValueSerializer</h4> 1226<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>> findValueSerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType) 1227 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1228<div class="block">Method variant used when we do NOT want contextualization to happen; it will need 1229 to be handled at a later point, but caller wants to be able to do that 1230 as needed; sometimes to avoid infinite loops</div> 1231<dl><dt><span class="strong">Throws:</span></dt> 1232<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt> 1233 <dd>2.5</dd></dl> 1234</li> 1235</ul> 1236<a name="findPrimaryPropertySerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)"> 1237<!-- --> 1238</a> 1239<ul class="blockList"> 1240<li class="blockList"> 1241<h4>findPrimaryPropertySerializer</h4> 1242<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>> findPrimaryPropertySerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 1243 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1244 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1245<div class="block">Similar to <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)"><code>findValueSerializer(JavaType, BeanProperty)</code></a>, but used 1246 when finding "primary" property value serializer (one directly handling 1247 value of the property). Difference has to do with contextual resolution, 1248 and method(s) called: this method should only be called when caller is 1249 certain that this is the primary property value serializer.</div> 1250<dl><dt><span class="strong">Parameters:</span></dt><dd><code>property</code> - Property that is being handled; will never be null, and its 1251 type has to match <code>valueType</code> parameter.</dd> 1252<dt><span class="strong">Throws:</span></dt> 1253<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt> 1254 <dd>2.3</dd></dl> 1255</li> 1256</ul> 1257<a name="findPrimaryPropertySerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)"> 1258<!-- --> 1259</a> 1260<ul class="blockList"> 1261<li class="blockList"> 1262<h4>findPrimaryPropertySerializer</h4> 1263<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>> findPrimaryPropertySerializer(<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><?> valueType, 1264 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1265 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1266<dl><dt><span class="strong">Throws:</span></dt> 1267<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt> 1268 <dd>2.3</dd></dl> 1269</li> 1270</ul> 1271<a name="findTypedValueSerializer(java.lang.Class, boolean, com.fasterxml.jackson.databind.BeanProperty)"> 1272<!-- --> 1273</a> 1274<ul class="blockList"> 1275<li class="blockList"> 1276<h4>findTypedValueSerializer</h4> 1277<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>> findTypedValueSerializer(<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><?> valueType, 1278 boolean cache, 1279 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1280 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1281<div class="block">Method called to locate regular serializer, matching type serializer, 1282 and if both found, wrap them in a serializer that calls both in correct 1283 sequence. This method is currently only used for root-level serializer 1284 handling to allow for simpler caching. A call can always be replaced 1285 by equivalent calls to access serializer and type serializer separately.</div> 1286<dl><dt><span class="strong">Parameters:</span></dt><dd><code>valueType</code> - Type for purpose of locating a serializer; usually dynamic 1287 runtime type, but can also be static declared type, depending on configuration</dd><dd><code>cache</code> - Whether resulting value serializer should be cached or not; this is just 1288 a hint</dd><dd><code>property</code> - When creating secondary serializers, property for which 1289 serializer is needed: annotations of the property (or bean that contains it) 1290 may be checked to create contextual serializers.</dd> 1291<dt><span class="strong">Throws:</span></dt> 1292<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 1293</li> 1294</ul> 1295<a name="findTypedValueSerializer(com.fasterxml.jackson.databind.JavaType, boolean, com.fasterxml.jackson.databind.BeanProperty)"> 1296<!-- --> 1297</a> 1298<ul class="blockList"> 1299<li class="blockList"> 1300<h4>findTypedValueSerializer</h4> 1301<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>> findTypedValueSerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 1302 boolean cache, 1303 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1304 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1305<div class="block">Method called to locate regular serializer, matching type serializer, 1306 and if both found, wrap them in a serializer that calls both in correct 1307 sequence. This method is currently only used for root-level serializer 1308 handling to allow for simpler caching. A call can always be replaced 1309 by equivalent calls to access serializer and type serializer separately.</div> 1310<dl><dt><span class="strong">Parameters:</span></dt><dd><code>valueType</code> - Declared type of value being serialized (which may not 1311 be actual runtime type); used for finding both value serializer and 1312 type serializer to use for adding polymorphic type (if any)</dd><dd><code>cache</code> - Whether resulting value serializer should be cached or not; this is just 1313 a hint</dd><dd><code>property</code> - When creating secondary serializers, property for which 1314 serializer is needed: annotations of the property (or bean that contains it) 1315 may be checked to create contextual serializers.</dd> 1316<dt><span class="strong">Throws:</span></dt> 1317<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 1318</li> 1319</ul> 1320<a name="findKeySerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)"> 1321<!-- --> 1322</a> 1323<ul class="blockList"> 1324<li class="blockList"> 1325<h4>findKeySerializer</h4> 1326<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>> findKeySerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> keyType, 1327 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1328 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1329<div class="block">Method called to get the serializer to use for serializing 1330 non-null Map keys. Separation from regular 1331 <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)"><code>findValueSerializer(java.lang.Class<?>, com.fasterxml.jackson.databind.BeanProperty)</code></a> method is because actual write 1332 method must be different (@link JsonGenerator#writeFieldName}; 1333 but also since behavior for some key types may differ. 1334<p> 1335 Note that the serializer itself can be called with instances 1336 of any Java object, but not nulls.</div> 1337<dl><dt><span class="strong">Throws:</span></dt> 1338<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 1339</li> 1340</ul> 1341<a name="getDefaultNullKeySerializer()"> 1342<!-- --> 1343</a> 1344<ul class="blockList"> 1345<li class="blockList"> 1346<h4>getDefaultNullKeySerializer</h4> 1347<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>> getDefaultNullKeySerializer()</pre> 1348<dl><dt><span class="strong">Since:</span></dt> 1349 <dd>2.0</dd></dl> 1350</li> 1351</ul> 1352<a name="getDefaultNullValueSerializer()"> 1353<!-- --> 1354</a> 1355<ul class="blockList"> 1356<li class="blockList"> 1357<h4>getDefaultNullValueSerializer</h4> 1358<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>> getDefaultNullValueSerializer()</pre> 1359<dl><dt><span class="strong">Since:</span></dt> 1360 <dd>2.0</dd></dl> 1361</li> 1362</ul> 1363<a name="findNullKeySerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)"> 1364<!-- --> 1365</a> 1366<ul class="blockList"> 1367<li class="blockList"> 1368<h4>findNullKeySerializer</h4> 1369<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>> findNullKeySerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> serializationType, 1370 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1371 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1372<div class="block">Method called to find a serializer to use for null values for given 1373 declared type. Note that type is completely based on declared type, 1374 since nulls in Java have no type and thus runtime type can not be 1375 determined.</div> 1376<dl><dt><span class="strong">Throws:</span></dt> 1377<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt> 1378 <dd>2.0</dd></dl> 1379</li> 1380</ul> 1381<a name="findNullValueSerializer(com.fasterxml.jackson.databind.BeanProperty)"> 1382<!-- --> 1383</a> 1384<ul class="blockList"> 1385<li class="blockList"> 1386<h4>findNullValueSerializer</h4> 1387<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>> findNullValueSerializer(<a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1388 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1389<div class="block">Method called to get the serializer to use for serializing null 1390 values for specified property. 1391<p> 1392 Default implementation simply calls <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultNullValueSerializer()"><code>getDefaultNullValueSerializer()</code></a>; 1393 can be overridden to add custom null serialization for properties 1394 of certain type or name. This gives method full granularity to basically 1395 override null handling for any specific property or class of properties.</div> 1396<dl><dt><span class="strong">Throws:</span></dt> 1397<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt> 1398 <dd>2.0</dd></dl> 1399</li> 1400</ul> 1401<a name="getUnknownTypeSerializer(java.lang.Class)"> 1402<!-- --> 1403</a> 1404<ul class="blockList"> 1405<li class="blockList"> 1406<h4>getUnknownTypeSerializer</h4> 1407<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>> getUnknownTypeSerializer(<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><?> unknownType)</pre> 1408<div class="block">Method called to get the serializer to use if provider 1409 can not determine an actual type-specific serializer 1410 to use; typically when none of <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>SerializerFactory</code></a> 1411 instances are able to construct a serializer. 1412<p> 1413 Typically, returned serializer will throw an exception, 1414 although alternatively <a href="../../../../com/fasterxml/jackson/databind/ser/std/ToStringSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std"><code>ToStringSerializer</code></a> 1415 could be returned as well.</div> 1416<dl><dt><span class="strong">Parameters:</span></dt><dd><code>unknownType</code> - Type for which no serializer is found</dd></dl> 1417</li> 1418</ul> 1419<a name="isUnknownTypeSerializer(com.fasterxml.jackson.databind.JsonSerializer)"> 1420<!-- --> 1421</a> 1422<ul class="blockList"> 1423<li class="blockList"> 1424<h4>isUnknownTypeSerializer</h4> 1425<pre>public boolean isUnknownTypeSerializer(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</pre> 1426<div class="block">Helper method called to see if given serializer is considered to be 1427 something returned by <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getUnknownTypeSerializer(java.lang.Class)"><code>getUnknownTypeSerializer(java.lang.Class<?>)</code></a>, that is, something 1428 for which no regular serializer was found or constructed.</div> 1429<dl><dt><span class="strong">Since:</span></dt> 1430 <dd>2.5</dd></dl> 1431</li> 1432</ul> 1433<a name="serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated, java.lang.Object)"> 1434<!-- --> 1435</a> 1436<ul class="blockList"> 1437<li class="blockList"> 1438<h4>serializerInstance</h4> 1439<pre>public abstract <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, 1440 <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) 1441 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1442<div class="block">Method that can be called to construct and configure serializer instance, 1443 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), 1444 or an uninitialized serializer instance. 1445 Either way, serialize will be properly resolved 1446 (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 1447 (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> 1448<dl><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> 1449<dt><span class="strong">Throws:</span></dt> 1450<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 1451</li> 1452</ul> 1453<a name="handlePrimaryContextualization(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)"> 1454<!-- --> 1455</a> 1456<ul class="blockList"> 1457<li class="blockList"> 1458<h4>handlePrimaryContextualization</h4> 1459<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> handlePrimaryContextualization(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 1460 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1461 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1462<div class="block">Method called for primary property serializers (ones 1463 directly created to serialize values of a POJO property), 1464 to handle details of resolving 1465 <a href="../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><code>ContextualSerializer</code></a> with given property context.</div> 1466<dl><dt><span class="strong">Parameters:</span></dt><dd><code>property</code> - Property for which the given primary serializer is used; never null.</dd> 1467<dt><span class="strong">Throws:</span></dt> 1468<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt> 1469 <dd>2.3</dd></dl> 1470</li> 1471</ul> 1472<a name="handleSecondaryContextualization(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)"> 1473<!-- --> 1474</a> 1475<ul class="blockList"> 1476<li class="blockList"> 1477<h4>handleSecondaryContextualization</h4> 1478<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> handleSecondaryContextualization(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 1479 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1480 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1481<div class="block">Method called for secondary property serializers (ones 1482 NOT directly created to serialize values of a POJO property 1483 but instead created as a dependant serializer -- such as value serializers 1484 for structured types, or serializers for root values) 1485 to handle details of resolving 1486 <a href="../../../../com/fasterxml/jackson/databind/deser/ContextualDeserializer.html" title="interface in com.fasterxml.jackson.databind.deser"><code>ContextualDeserializer</code></a> with given property context. 1487 Given that these serializers are not directly related to given property 1488 (or, in case of root value property, to any property), annotations 1489 accessible may or may not be relevant.</div> 1490<dl><dt><span class="strong">Parameters:</span></dt><dd><code>property</code> - Property for which serializer is used, if any; null 1491 when deserializing root values</dd> 1492<dt><span class="strong">Throws:</span></dt> 1493<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt> 1494 <dd>2.3</dd></dl> 1495</li> 1496</ul> 1497<a name="defaultSerializeValue(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)"> 1498<!-- --> 1499</a> 1500<ul class="blockList"> 1501<li class="blockList"> 1502<h4>defaultSerializeValue</h4> 1503<pre>public final void defaultSerializeValue(<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, 1504 com.fasterxml.jackson.core.JsonGenerator jgen) 1505 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>, 1506 com.fasterxml.jackson.core.JsonProcessingException</pre> 1507<div class="block">Convenience method that will serialize given value (which can be 1508 null) using standard serializer locating functionality. It can 1509 be called for all values including field and Map values, but usually 1510 field values are best handled calling 1511 <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeField(java.lang.String, java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)"><code>defaultSerializeField(java.lang.String, java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)</code></a> instead.</div> 1512<dl><dt><span class="strong">Throws:</span></dt> 1513<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> 1514<dd><code>com.fasterxml.jackson.core.JsonProcessingException</code></dd></dl> 1515</li> 1516</ul> 1517<a name="defaultSerializeField(java.lang.String, java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)"> 1518<!-- --> 1519</a> 1520<ul class="blockList"> 1521<li class="blockList"> 1522<h4>defaultSerializeField</h4> 1523<pre>public final void defaultSerializeField(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, 1524 <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, 1525 com.fasterxml.jackson.core.JsonGenerator jgen) 1526 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>, 1527 com.fasterxml.jackson.core.JsonProcessingException</pre> 1528<div class="block">Convenience method that will serialize given field with specified 1529 value. Value may be null. Serializer is done using the usual 1530 null) using standard serializer locating functionality.</div> 1531<dl><dt><span class="strong">Throws:</span></dt> 1532<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> 1533<dd><code>com.fasterxml.jackson.core.JsonProcessingException</code></dd></dl> 1534</li> 1535</ul> 1536<a name="defaultSerializeDateValue(long, com.fasterxml.jackson.core.JsonGenerator)"> 1537<!-- --> 1538</a> 1539<ul class="blockList"> 1540<li class="blockList"> 1541<h4>defaultSerializeDateValue</h4> 1542<pre>public final void defaultSerializeDateValue(long timestamp, 1543 com.fasterxml.jackson.core.JsonGenerator jgen) 1544 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>, 1545 com.fasterxml.jackson.core.JsonProcessingException</pre> 1546<div class="block">Method that will handle serialization of Date(-like) values, using 1547 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>SerializationConfig</code></a> settings to determine expected serialization 1548 behavior. 1549 Note: date here means "full" date, that is, date AND time, as per 1550 Java convention (and not date-only values like in SQL)</div> 1551<dl><dt><span class="strong">Throws:</span></dt> 1552<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> 1553<dd><code>com.fasterxml.jackson.core.JsonProcessingException</code></dd></dl> 1554</li> 1555</ul> 1556<a name="defaultSerializeDateValue(java.util.Date, com.fasterxml.jackson.core.JsonGenerator)"> 1557<!-- --> 1558</a> 1559<ul class="blockList"> 1560<li class="blockList"> 1561<h4>defaultSerializeDateValue</h4> 1562<pre>public final void defaultSerializeDateValue(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date, 1563 com.fasterxml.jackson.core.JsonGenerator jgen) 1564 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>, 1565 com.fasterxml.jackson.core.JsonProcessingException</pre> 1566<div class="block">Method that will handle serialization of Date(-like) values, using 1567 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>SerializationConfig</code></a> settings to determine expected serialization 1568 behavior. 1569 Note: date here means "full" date, that is, date AND time, as per 1570 Java convention (and not date-only values like in SQL)</div> 1571<dl><dt><span class="strong">Throws:</span></dt> 1572<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> 1573<dd><code>com.fasterxml.jackson.core.JsonProcessingException</code></dd></dl> 1574</li> 1575</ul> 1576<a name="defaultSerializeDateKey(long, com.fasterxml.jackson.core.JsonGenerator)"> 1577<!-- --> 1578</a> 1579<ul class="blockList"> 1580<li class="blockList"> 1581<h4>defaultSerializeDateKey</h4> 1582<pre>public void defaultSerializeDateKey(long timestamp, 1583 com.fasterxml.jackson.core.JsonGenerator jgen) 1584 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>, 1585 com.fasterxml.jackson.core.JsonProcessingException</pre> 1586<div class="block">Method that will handle serialization of Dates used as <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> keys, 1587 based on <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><code>SerializationFeature.WRITE_DATE_KEYS_AS_TIMESTAMPS</code></a> 1588 value (and if using textual representation, configured date format)</div> 1589<dl><dt><span class="strong">Throws:</span></dt> 1590<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> 1591<dd><code>com.fasterxml.jackson.core.JsonProcessingException</code></dd></dl> 1592</li> 1593</ul> 1594<a name="defaultSerializeDateKey(java.util.Date, com.fasterxml.jackson.core.JsonGenerator)"> 1595<!-- --> 1596</a> 1597<ul class="blockList"> 1598<li class="blockList"> 1599<h4>defaultSerializeDateKey</h4> 1600<pre>public void defaultSerializeDateKey(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date, 1601 com.fasterxml.jackson.core.JsonGenerator jgen) 1602 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>, 1603 com.fasterxml.jackson.core.JsonProcessingException</pre> 1604<div class="block">Method that will handle serialization of Dates used as <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> keys, 1605 based on <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><code>SerializationFeature.WRITE_DATE_KEYS_AS_TIMESTAMPS</code></a> 1606 value (and if using textual representation, configured date format)</div> 1607<dl><dt><span class="strong">Throws:</span></dt> 1608<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> 1609<dd><code>com.fasterxml.jackson.core.JsonProcessingException</code></dd></dl> 1610</li> 1611</ul> 1612<a name="defaultSerializeNull(com.fasterxml.jackson.core.JsonGenerator)"> 1613<!-- --> 1614</a> 1615<ul class="blockList"> 1616<li class="blockList"> 1617<h4>defaultSerializeNull</h4> 1618<pre>public final void defaultSerializeNull(com.fasterxml.jackson.core.JsonGenerator jgen) 1619 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>, 1620 com.fasterxml.jackson.core.JsonProcessingException</pre> 1621<dl><dt><span class="strong">Throws:</span></dt> 1622<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> 1623<dd><code>com.fasterxml.jackson.core.JsonProcessingException</code></dd></dl> 1624</li> 1625</ul> 1626<a name="_reportIncompatibleRootType(java.lang.Object, com.fasterxml.jackson.databind.JavaType)"> 1627<!-- --> 1628</a> 1629<ul class="blockList"> 1630<li class="blockList"> 1631<h4>_reportIncompatibleRootType</h4> 1632<pre>protected void _reportIncompatibleRootType(<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, 1633 <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType) 1634 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>, 1635 com.fasterxml.jackson.core.JsonProcessingException</pre> 1636<dl><dt><span class="strong">Throws:</span></dt> 1637<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> 1638<dd><code>com.fasterxml.jackson.core.JsonProcessingException</code></dd></dl> 1639</li> 1640</ul> 1641<a name="_findExplicitUntypedSerializer(java.lang.Class)"> 1642<!-- --> 1643</a> 1644<ul class="blockList"> 1645<li class="blockList"> 1646<h4>_findExplicitUntypedSerializer</h4> 1647<pre>protected <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>> _findExplicitUntypedSerializer(<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><?> runtimeType) 1648 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1649<div class="block">Method that will try to find a serializer, either from cache 1650 or by constructing one; but will not return an "unknown" serializer 1651 if this can not be done but rather returns null.</div> 1652<dl><dt><span class="strong">Returns:</span></dt><dd>Serializer if one can be found, null if not.</dd> 1653<dt><span class="strong">Throws:</span></dt> 1654<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 1655</li> 1656</ul> 1657<a name="_createAndCacheUntypedSerializer(java.lang.Class)"> 1658<!-- --> 1659</a> 1660<ul class="blockList"> 1661<li class="blockList"> 1662<h4>_createAndCacheUntypedSerializer</h4> 1663<pre>protected <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>> _createAndCacheUntypedSerializer(<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) 1664 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1665<div class="block">Method that will try to construct a value serializer; and if 1666 one is successfully created, cache it for reuse.</div> 1667<dl><dt><span class="strong">Throws:</span></dt> 1668<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 1669</li> 1670</ul> 1671<a name="_createAndCacheUntypedSerializer(com.fasterxml.jackson.databind.JavaType)"> 1672<!-- --> 1673</a> 1674<ul class="blockList"> 1675<li class="blockList"> 1676<h4>_createAndCacheUntypedSerializer</h4> 1677<pre>protected <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>> _createAndCacheUntypedSerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type) 1678 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1679<dl><dt><span class="strong">Throws:</span></dt> 1680<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 1681</li> 1682</ul> 1683<a name="_createUntypedSerializer(com.fasterxml.jackson.databind.JavaType)"> 1684<!-- --> 1685</a> 1686<ul class="blockList"> 1687<li class="blockList"> 1688<h4>_createUntypedSerializer</h4> 1689<pre>protected <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>> _createUntypedSerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type) 1690 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1691<dl><dt><span class="strong">Throws:</span></dt> 1692<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt> 1693 <dd>2.1</dd></dl> 1694</li> 1695</ul> 1696<a name="_handleContextualResolvable(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)"> 1697<!-- --> 1698</a> 1699<ul class="blockList"> 1700<li class="blockList"> 1701<h4>_handleContextualResolvable</h4> 1702<pre>protected <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>> _handleContextualResolvable(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 1703 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1704 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1705<div class="block">Helper method called to resolve and contextualize given 1706 serializer, if and as necessary.</div> 1707<dl><dt><span class="strong">Throws:</span></dt> 1708<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 1709</li> 1710</ul> 1711<a name="_handleResolvable(com.fasterxml.jackson.databind.JsonSerializer)"> 1712<!-- --> 1713</a> 1714<ul class="blockList"> 1715<li class="blockList"> 1716<h4>_handleResolvable</h4> 1717<pre>protected <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>> _handleResolvable(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser) 1718 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1719<dl><dt><span class="strong">Throws:</span></dt> 1720<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 1721</li> 1722</ul> 1723<a name="_dateFormat()"> 1724<!-- --> 1725</a> 1726<ul class="blockListLast"> 1727<li class="blockList"> 1728<h4>_dateFormat</h4> 1729<pre>protected final <a href="http://docs.oracle.com/javase/6/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</a> _dateFormat()</pre> 1730</li> 1731</ul> 1732</li> 1733</ul> 1734</li> 1735</ul> 1736</div> 1737</div> 1738<!-- ========= END OF CLASS DATA ========= --> 1739<!-- ======= START OF BOTTOM NAVBAR ====== --> 1740<div class="bottomNav"><a name="navbar_bottom"> 1741<!-- --> 1742</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 1743<!-- --> 1744</a> 1745<ul class="navList" title="Navigation"> 1746<li><a href="../../../../overview-summary.html">Overview</a></li> 1747<li><a href="package-summary.html">Package</a></li> 1748<li class="navBarCell1Rev">Class</li> 1749<li><a href="class-use/SerializerProvider.html">Use</a></li> 1750<li><a href="package-tree.html">Tree</a></li> 1751<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 1752<li><a href="../../../../index-all.html">Index</a></li> 1753<li><a href="../../../../help-doc.html">Help</a></li> 1754</ul> 1755</div> 1756<div class="subNav"> 1757<ul class="navList"> 1758<li><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 1759<li>Next Class</li> 1760</ul> 1761<ul class="navList"> 1762<li><a href="../../../../index.html?com/fasterxml/jackson/databind/SerializerProvider.html" target="_top">Frames</a></li> 1763<li><a href="SerializerProvider.html" target="_top">No Frames</a></li> 1764</ul> 1765<ul class="navList" id="allclasses_navbar_bottom"> 1766<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 1767</ul> 1768<div> 1769<script type="text/javascript"><!-- 1770 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 1771 if(window==top) { 1772 allClassesLink.style.display = "block"; 1773 } 1774 else { 1775 allClassesLink.style.display = "none"; 1776 } 1777 //--> 1778</script> 1779</div> 1780<div> 1781<ul class="subNavList"> 1782<li>Summary: </li> 1783<li>Nested | </li> 1784<li><a href="#field_summary">Field</a> | </li> 1785<li><a href="#constructor_summary">Constr</a> | </li> 1786<li><a href="#method_summary">Method</a></li> 1787</ul> 1788<ul class="subNavList"> 1789<li>Detail: </li> 1790<li><a href="#field_detail">Field</a> | </li> 1791<li><a href="#constructor_detail">Constr</a> | </li> 1792<li><a href="#method_detail">Method</a></li> 1793</ul> 1794</div> 1795<a name="skip-navbar_bottom"> 1796<!-- --> 1797</a></div> 1798<!-- ======== END OF BOTTOM NAVBAR ======= --> 1799<p class="legalCopy"><small>Copyright © 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 1800</body> 1801</html> 1802