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