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:13 PDT 2016 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>SimpleSerializers (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="SimpleSerializers (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/SimpleSerializers.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/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleValueInstantiators.html" title="class in com.fasterxml.jackson.databind.module"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/module/SimpleSerializers.html" target="_top">Frames</a></li> 45<li><a href="SimpleSerializers.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.module</div> 84<h2 title="Class SimpleSerializers" class="title">Class SimpleSerializers</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/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">com.fasterxml.jackson.databind.ser.Serializers.Base</a></li> 92<li> 93<ul class="inheritance"> 94<li>com.fasterxml.jackson.databind.module.SimpleSerializers</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>All Implemented Interfaces:</dt> 105<dd><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> 106</dl> 107<hr> 108<br> 109<pre>public class <span class="strong">SimpleSerializers</span> 110extends <a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a> 111implements <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre> 112<div class="block">Simple implementation <a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser"><code>Serializers</code></a> which allows registration of 113 serializers based on raw (type erased class). 114 It can work well for basic bean and scalar type serializers, but is not 115 a good fit for handling generic types (like <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>s and <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>s). 116<p> 117 Type registrations are assumed to be general; meaning that registration of serializer 118 for a super type will also be used for handling subtypes, unless an exact match 119 is found first. As an example, handler for <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang"><code>CharSequence</code></a> would also be used 120 serializing <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang"><code>StringBuilder</code></a> instances, unless a direct mapping was found.</div> 121<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.module.SimpleSerializers">Serialized Form</a></dd></dl> 122</li> 123</ul> 124</div> 125<div class="summary"> 126<ul class="blockList"> 127<li class="blockList"> 128<!-- ======== NESTED CLASS SUMMARY ======== --> 129<ul class="blockList"> 130<li class="blockList"><a name="nested_class_summary"> 131<!-- --> 132</a> 133<h3>Nested Class Summary</h3> 134<ul class="blockList"> 135<li class="blockList"><a name="nested_classes_inherited_from_class_com.fasterxml.jackson.databind.ser.Serializers"> 136<!-- --> 137</a> 138<h3>Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.ser.<a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></h3> 139<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></li> 140</ul> 141</li> 142</ul> 143<!-- =========== FIELD SUMMARY =========== --> 144<ul class="blockList"> 145<li class="blockList"><a name="field_summary"> 146<!-- --> 147</a> 148<h3>Field Summary</h3> 149<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 150<caption><span>Fields</span><span class="tabEnd"> </span></caption> 151<tr> 152<th class="colFirst" scope="col">Modifier and Type</th> 153<th class="colLast" scope="col">Field and Description</th> 154</tr> 155<tr class="altColor"> 156<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a><<a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a>,<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>></code></td> 157<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#_classMappings">_classMappings</a></strong></code> 158<div class="block">Class-based mappings that are used both for exact and 159 sub-class matches.</div> 160</td> 161</tr> 162<tr class="rowColor"> 163<td class="colFirst"><code>protected boolean</code></td> 164<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#_hasEnumSerializer">_hasEnumSerializer</a></strong></code> 165<div class="block">Flag to help find "generic" enum serializer, if one has been registered.</div> 166</td> 167</tr> 168<tr class="altColor"> 169<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a><<a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a>,<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>></code></td> 170<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#_interfaceMappings">_interfaceMappings</a></strong></code> 171<div class="block">Interface-based matches.</div> 172</td> 173</tr> 174</table> 175</li> 176</ul> 177<!-- ======== CONSTRUCTOR SUMMARY ======== --> 178<ul class="blockList"> 179<li class="blockList"><a name="constructor_summary"> 180<!-- --> 181</a> 182<h3>Constructor Summary</h3> 183<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 184<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 185<tr> 186<th class="colOne" scope="col">Constructor and Description</th> 187</tr> 188<tr class="altColor"> 189<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#SimpleSerializers()">SimpleSerializers</a></strong>()</code> </td> 190</tr> 191<tr class="rowColor"> 192<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#SimpleSerializers(java.util.List)">SimpleSerializers</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> sers)</code> </td> 193</tr> 194</table> 195</li> 196</ul> 197<!-- ========== METHOD SUMMARY =========== --> 198<ul class="blockList"> 199<li class="blockList"><a name="method_summary"> 200<!-- --> 201</a> 202<h3>Method Summary</h3> 203<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 204<caption><span>Methods</span><span class="tabEnd"> </span></caption> 205<tr> 206<th class="colFirst" scope="col">Modifier and Type</th> 207<th class="colLast" scope="col">Method and Description</th> 208</tr> 209<tr class="altColor"> 210<td class="colFirst"><code>protected void</code></td> 211<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#_addSerializer(java.lang.Class,%20com.fasterxml.jackson.databind.JsonSerializer)">_addSerializer</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 212 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</code> </td> 213</tr> 214<tr class="rowColor"> 215<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 216<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#_findInterfaceMapping(java.lang.Class,%20com.fasterxml.jackson.databind.type.ClassKey)">_findInterfaceMapping</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 217 <a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a> key)</code> </td> 218</tr> 219<tr class="altColor"> 220<td class="colFirst"><code><T> void</code></td> 221<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#addSerializer(java.lang.Class,%20com.fasterxml.jackson.databind.JsonSerializer)">addSerializer</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><? extends T> type, 222 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><T> ser)</code> </td> 223</tr> 224<tr class="rowColor"> 225<td class="colFirst"><code>void</code></td> 226<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#addSerializer(com.fasterxml.jackson.databind.JsonSerializer)">addSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</code> 227<div class="block">Method for adding given serializer for type that <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#handledType()"><code>JsonSerializer.handledType()</code></a> 228 specifies (which MUST return a non-null class; and can NOT be <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>, as a 229 sanity check).</div> 230</td> 231</tr> 232<tr class="altColor"> 233<td class="colFirst"><code>void</code></td> 234<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#addSerializers(java.util.List)">addSerializers</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> sers)</code> </td> 235</tr> 236<tr class="rowColor"> 237<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 238<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#findArraySerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.ArrayType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findArraySerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 239 <a href="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type">ArrayType</a> type, 240 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 241 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 242 <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>> elementValueSerializer)</code> 243<div class="block">Method called by serialization framework first time a serializer is needed for 244 specified array type.</div> 245</td> 246</tr> 247<tr class="altColor"> 248<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 249<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#findCollectionLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.CollectionLikeType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findCollectionLikeSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 250 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionLikeType.html" title="class in com.fasterxml.jackson.databind.type">CollectionLikeType</a> type, 251 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 252 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 253 <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>> elementValueSerializer)</code> 254<div class="block">Method called by serialization framework first time a serializer is needed for 255 specified "Collection-like" type (type that acts like <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>, 256 but does not implement it).</div> 257</td> 258</tr> 259<tr class="rowColor"> 260<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 261<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#findCollectionSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.CollectionType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findCollectionSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 262 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionType.html" title="class in com.fasterxml.jackson.databind.type">CollectionType</a> type, 263 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 264 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 265 <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>> elementValueSerializer)</code> 266<div class="block">Method called by serialization framework first time a serializer is needed for 267 specified <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type.</div> 268</td> 269</tr> 270<tr class="altColor"> 271<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 272<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#findMapLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.MapLikeType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.JsonSerializer,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findMapLikeSerializer</a></strong>(<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/type/MapLikeType.html" title="class in com.fasterxml.jackson.databind.type">MapLikeType</a> type, 274 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 275 <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, 276 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 277 <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>> elementValueSerializer)</code> 278<div class="block">Method called by serialization framework first time a serializer is needed for 279 specified "Map-like" type (type that acts like <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>, 280 but does not implement it).</div> 281</td> 282</tr> 283<tr class="rowColor"> 284<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 285<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#findMapSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.MapType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.JsonSerializer,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findMapSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 286 <a href="../../../../../com/fasterxml/jackson/databind/type/MapType.html" title="class in com.fasterxml.jackson.databind.type">MapType</a> type, 287 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 288 <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, 289 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 290 <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>> elementValueSerializer)</code> 291<div class="block">Method called by serialization framework first time a serializer is needed for 292 specified <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> type.</div> 293</td> 294</tr> 295<tr class="altColor"> 296<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 297<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#findSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.JavaType,%20com.fasterxml.jackson.databind.BeanDescription)">findSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 298 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 299 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</code> 300<div class="block">Method called by serialization framework first time a serializer is needed for 301 specified type, which is not of a container or reference type (for which 302 other methods are called).</div> 303</td> 304</tr> 305</table> 306<ul class="blockList"> 307<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.ser.Serializers.Base"> 308<!-- --> 309</a> 310<h3>Methods inherited from class com.fasterxml.jackson.databind.ser.<a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></h3> 311<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#findReferenceSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.ReferenceType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findReferenceSerializer</a></code></li> 312</ul> 313<ul class="blockList"> 314<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 315<!-- --> 316</a> 317<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> 318<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> 319</ul> 320</li> 321</ul> 322</li> 323</ul> 324</div> 325<div class="details"> 326<ul class="blockList"> 327<li class="blockList"> 328<!-- ============ FIELD DETAIL =========== --> 329<ul class="blockList"> 330<li class="blockList"><a name="field_detail"> 331<!-- --> 332</a> 333<h3>Field Detail</h3> 334<a name="_classMappings"> 335<!-- --> 336</a> 337<ul class="blockList"> 338<li class="blockList"> 339<h4>_classMappings</h4> 340<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a><<a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a>,<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> _classMappings</pre> 341<div class="block">Class-based mappings that are used both for exact and 342 sub-class matches.</div> 343</li> 344</ul> 345<a name="_interfaceMappings"> 346<!-- --> 347</a> 348<ul class="blockList"> 349<li class="blockList"> 350<h4>_interfaceMappings</h4> 351<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a><<a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a>,<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> _interfaceMappings</pre> 352<div class="block">Interface-based matches.</div> 353</li> 354</ul> 355<a name="_hasEnumSerializer"> 356<!-- --> 357</a> 358<ul class="blockListLast"> 359<li class="blockList"> 360<h4>_hasEnumSerializer</h4> 361<pre>protected boolean _hasEnumSerializer</pre> 362<div class="block">Flag to help find "generic" enum serializer, if one has been registered.</div> 363<dl><dt><span class="strong">Since:</span></dt> 364 <dd>2.3</dd></dl> 365</li> 366</ul> 367</li> 368</ul> 369<!-- ========= CONSTRUCTOR DETAIL ======== --> 370<ul class="blockList"> 371<li class="blockList"><a name="constructor_detail"> 372<!-- --> 373</a> 374<h3>Constructor Detail</h3> 375<a name="SimpleSerializers()"> 376<!-- --> 377</a> 378<ul class="blockList"> 379<li class="blockList"> 380<h4>SimpleSerializers</h4> 381<pre>public SimpleSerializers()</pre> 382</li> 383</ul> 384<a name="SimpleSerializers(java.util.List)"> 385<!-- --> 386</a> 387<ul class="blockListLast"> 388<li class="blockList"> 389<h4>SimpleSerializers</h4> 390<pre>public SimpleSerializers(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> sers)</pre> 391<dl><dt><span class="strong">Since:</span></dt> 392 <dd>2.1</dd></dl> 393</li> 394</ul> 395</li> 396</ul> 397<!-- ============ METHOD DETAIL ========== --> 398<ul class="blockList"> 399<li class="blockList"><a name="method_detail"> 400<!-- --> 401</a> 402<h3>Method Detail</h3> 403<a name="addSerializer(com.fasterxml.jackson.databind.JsonSerializer)"> 404<!-- --> 405</a> 406<ul class="blockList"> 407<li class="blockList"> 408<h4>addSerializer</h4> 409<pre>public void addSerializer(<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</pre> 410<div class="block">Method for adding given serializer for type that <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#handledType()"><code>JsonSerializer.handledType()</code></a> 411 specifies (which MUST return a non-null class; and can NOT be <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>, as a 412 sanity check). 413 For serializers that do not declare handled type, use the variant that takes 414 two arguments.</div> 415<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ser</code> - </dd></dl> 416</li> 417</ul> 418<a name="addSerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer)"> 419<!-- --> 420</a> 421<ul class="blockList"> 422<li class="blockList"> 423<h4>addSerializer</h4> 424<pre>public <T> void addSerializer(<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><? extends T> type, 425 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><T> ser)</pre> 426</li> 427</ul> 428<a name="addSerializers(java.util.List)"> 429<!-- --> 430</a> 431<ul class="blockList"> 432<li class="blockList"> 433<h4>addSerializers</h4> 434<pre>public void addSerializers(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> sers)</pre> 435<dl><dt><span class="strong">Since:</span></dt> 436 <dd>2.1</dd></dl> 437</li> 438</ul> 439<a name="findSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanDescription)"> 440<!-- --> 441</a> 442<ul class="blockList"> 443<li class="blockList"> 444<h4>findSerializer</h4> 445<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> findSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 446 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 447 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</pre> 448<div class="block"><strong>Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.JavaType,%20com.fasterxml.jackson.databind.BeanDescription)">Serializers</a></code></strong></div> 449<div class="block">Method called by serialization framework first time a serializer is needed for 450 specified type, which is not of a container or reference type (for which 451 other methods are called).</div> 452<dl> 453<dt><strong>Specified by:</strong></dt> 454<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.JavaType,%20com.fasterxml.jackson.databind.BeanDescription)">findSerializer</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd> 455<dt><strong>Overrides:</strong></dt> 456<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#findSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.JavaType,%20com.fasterxml.jackson.databind.BeanDescription)">findSerializer</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd> 457<dt><span class="strong">Parameters:</span></dt><dd><code>config</code> - Serialization configuration in use</dd><dd><code>type</code> - Fully resolved type of instances to serialize</dd><dd><code>beanDesc</code> - Additional information about type</dd> 458<dt><span class="strong">Returns:</span></dt><dd>Configured serializer to use for the type; or null if implementation 459 does not recognize or support type</dd></dl> 460</li> 461</ul> 462<a name="findArraySerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.ArrayType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)"> 463<!-- --> 464</a> 465<ul class="blockList"> 466<li class="blockList"> 467<h4>findArraySerializer</h4> 468<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> findArraySerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 469 <a href="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type">ArrayType</a> type, 470 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 471 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 472 <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>> elementValueSerializer)</pre> 473<div class="block"><strong>Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findArraySerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.ArrayType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">Serializers</a></code></strong></div> 474<div class="block">Method called by serialization framework first time a serializer is needed for 475 specified array type. 476 Implementation should return a serializer instance if it supports 477 specified type; or null if it does not.</div> 478<dl> 479<dt><strong>Specified by:</strong></dt> 480<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findArraySerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.ArrayType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findArraySerializer</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd> 481<dt><strong>Overrides:</strong></dt> 482<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#findArraySerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.ArrayType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findArraySerializer</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd> 483</dl> 484</li> 485</ul> 486<a name="findCollectionSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.CollectionType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)"> 487<!-- --> 488</a> 489<ul class="blockList"> 490<li class="blockList"> 491<h4>findCollectionSerializer</h4> 492<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> findCollectionSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 493 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionType.html" title="class in com.fasterxml.jackson.databind.type">CollectionType</a> type, 494 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 495 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 496 <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>> elementValueSerializer)</pre> 497<div class="block"><strong>Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findCollectionSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.CollectionType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">Serializers</a></code></strong></div> 498<div class="block">Method called by serialization framework first time a serializer is needed for 499 specified <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type. 500 Implementation should return a serializer instance if it supports 501 specified type; or null if it does not.</div> 502<dl> 503<dt><strong>Specified by:</strong></dt> 504<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findCollectionSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.CollectionType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findCollectionSerializer</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd> 505<dt><strong>Overrides:</strong></dt> 506<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#findCollectionSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.CollectionType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findCollectionSerializer</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd> 507</dl> 508</li> 509</ul> 510<a name="findCollectionLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.CollectionLikeType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)"> 511<!-- --> 512</a> 513<ul class="blockList"> 514<li class="blockList"> 515<h4>findCollectionLikeSerializer</h4> 516<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> findCollectionLikeSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 517 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionLikeType.html" title="class in com.fasterxml.jackson.databind.type">CollectionLikeType</a> type, 518 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 519 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 520 <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>> elementValueSerializer)</pre> 521<div class="block"><strong>Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findCollectionLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.CollectionLikeType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">Serializers</a></code></strong></div> 522<div class="block">Method called by serialization framework first time a serializer is needed for 523 specified "Collection-like" type (type that acts like <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>, 524 but does not implement it). 525 Implementation should return a serializer instance if it supports 526 specified type; or null if it does not.</div> 527<dl> 528<dt><strong>Specified by:</strong></dt> 529<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findCollectionLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.CollectionLikeType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findCollectionLikeSerializer</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd> 530<dt><strong>Overrides:</strong></dt> 531<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#findCollectionLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.CollectionLikeType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findCollectionLikeSerializer</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd> 532</dl> 533</li> 534</ul> 535<a name="findMapSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.MapType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)"> 536<!-- --> 537</a> 538<ul class="blockList"> 539<li class="blockList"> 540<h4>findMapSerializer</h4> 541<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> findMapSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 542 <a href="../../../../../com/fasterxml/jackson/databind/type/MapType.html" title="class in com.fasterxml.jackson.databind.type">MapType</a> type, 543 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 544 <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, 545 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 546 <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>> elementValueSerializer)</pre> 547<div class="block"><strong>Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findMapSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.MapType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.JsonSerializer,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">Serializers</a></code></strong></div> 548<div class="block">Method called by serialization framework first time a serializer is needed for 549 specified <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> type. 550 Implementation should return a serializer instance if it supports 551 specified type; or null if it does not.</div> 552<dl> 553<dt><strong>Specified by:</strong></dt> 554<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findMapSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.MapType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.JsonSerializer,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findMapSerializer</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd> 555<dt><strong>Overrides:</strong></dt> 556<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#findMapSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.MapType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.JsonSerializer,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findMapSerializer</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd> 557</dl> 558</li> 559</ul> 560<a name="findMapLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.MapLikeType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)"> 561<!-- --> 562</a> 563<ul class="blockList"> 564<li class="blockList"> 565<h4>findMapLikeSerializer</h4> 566<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> findMapLikeSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 567 <a href="../../../../../com/fasterxml/jackson/databind/type/MapLikeType.html" title="class in com.fasterxml.jackson.databind.type">MapLikeType</a> type, 568 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 569 <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, 570 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 571 <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>> elementValueSerializer)</pre> 572<div class="block"><strong>Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findMapLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.MapLikeType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.JsonSerializer,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">Serializers</a></code></strong></div> 573<div class="block">Method called by serialization framework first time a serializer is needed for 574 specified "Map-like" type (type that acts like <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>, 575 but does not implement it). 576 Implementation should return a serializer instance if it supports 577 specified type; or null if it does not.</div> 578<dl> 579<dt><strong>Specified by:</strong></dt> 580<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findMapLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.MapLikeType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.JsonSerializer,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findMapLikeSerializer</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd> 581<dt><strong>Overrides:</strong></dt> 582<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#findMapLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.type.MapLikeType,%20com.fasterxml.jackson.databind.BeanDescription,%20com.fasterxml.jackson.databind.JsonSerializer,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JsonSerializer)">findMapLikeSerializer</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd> 583</dl> 584</li> 585</ul> 586<a name="_findInterfaceMapping(java.lang.Class, com.fasterxml.jackson.databind.type.ClassKey)"> 587<!-- --> 588</a> 589<ul class="blockList"> 590<li class="blockList"> 591<h4>_findInterfaceMapping</h4> 592<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> _findInterfaceMapping(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 593 <a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a> key)</pre> 594</li> 595</ul> 596<a name="_addSerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer)"> 597<!-- --> 598</a> 599<ul class="blockListLast"> 600<li class="blockList"> 601<h4>_addSerializer</h4> 602<pre>protected void _addSerializer(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 603 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</pre> 604</li> 605</ul> 606</li> 607</ul> 608</li> 609</ul> 610</div> 611</div> 612<!-- ========= END OF CLASS DATA ========= --> 613<!-- ======= START OF BOTTOM NAVBAR ====== --> 614<div class="bottomNav"><a name="navbar_bottom"> 615<!-- --> 616</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 617<!-- --> 618</a> 619<ul class="navList" title="Navigation"> 620<li><a href="../../../../../overview-summary.html">Overview</a></li> 621<li><a href="package-summary.html">Package</a></li> 622<li class="navBarCell1Rev">Class</li> 623<li><a href="class-use/SimpleSerializers.html">Use</a></li> 624<li><a href="package-tree.html">Tree</a></li> 625<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 626<li><a href="../../../../../index-all.html">Index</a></li> 627<li><a href="../../../../../help-doc.html">Help</a></li> 628</ul> 629</div> 630<div class="subNav"> 631<ul class="navList"> 632<li><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module"><span class="strong">Prev Class</span></a></li> 633<li><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleValueInstantiators.html" title="class in com.fasterxml.jackson.databind.module"><span class="strong">Next Class</span></a></li> 634</ul> 635<ul class="navList"> 636<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/module/SimpleSerializers.html" target="_top">Frames</a></li> 637<li><a href="SimpleSerializers.html" target="_top">No Frames</a></li> 638</ul> 639<ul class="navList" id="allclasses_navbar_bottom"> 640<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 641</ul> 642<div> 643<script type="text/javascript"><!-- 644 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 645 if(window==top) { 646 allClassesLink.style.display = "block"; 647 } 648 else { 649 allClassesLink.style.display = "none"; 650 } 651 //--> 652</script> 653</div> 654<div> 655<ul class="subNavList"> 656<li>Summary: </li> 657<li>Nested | </li> 658<li><a href="#field_summary">Field</a> | </li> 659<li><a href="#constructor_summary">Constr</a> | </li> 660<li><a href="#method_summary">Method</a></li> 661</ul> 662<ul class="subNavList"> 663<li>Detail: </li> 664<li><a href="#field_detail">Field</a> | </li> 665<li><a href="#constructor_detail">Constr</a> | </li> 666<li><a href="#method_detail">Method</a></li> 667</ul> 668</div> 669<a name="skip-navbar_bottom"> 670<!-- --> 671</a></div> 672<!-- ======== END OF BOTTOM NAVBAR ======= --> 673<p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 674</body> 675</html> 676