1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_25) on Thu Jan 01 17:43:57 PST 2015 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>SimpleSerializers (jackson-databind 2.5.0 API)</title> 8<meta name="date" content="2015-01-01"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="SimpleSerializers (jackson-databind 2.5.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 89<li> 90<ul class="inheritance"> 91<li><a href="../../../../../com/fasterxml/jackson/databind/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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, com.fasterxml.jackson.databind.JsonSerializer)">_addSerializer</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> 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, com.fasterxml.jackson.databind.type.ClassKey)">_findInterfaceMapping</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> 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, com.fasterxml.jackson.databind.JsonSerializer)">addSerializer</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? 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/6/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/6/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, com.fasterxml.jackson.databind.type.ArrayType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.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/6/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, com.fasterxml.jackson.databind.type.CollectionLikeType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.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/6/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/6/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, com.fasterxml.jackson.databind.type.CollectionType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.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/6/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/6/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, 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)">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/6/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/6/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/6/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, 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)">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/6/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/6/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/6/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, com.fasterxml.jackson.databind.JavaType, com.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 type (for which other methods are 302 called).</div> 303</td> 304</tr> 305</table> 306<ul class="blockList"> 307<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 308<!-- --> 309</a> 310<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 311<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> 312</ul> 313</li> 314</ul> 315</li> 316</ul> 317</div> 318<div class="details"> 319<ul class="blockList"> 320<li class="blockList"> 321<!-- ============ FIELD DETAIL =========== --> 322<ul class="blockList"> 323<li class="blockList"><a name="field_detail"> 324<!-- --> 325</a> 326<h3>Field Detail</h3> 327<a name="_classMappings"> 328<!-- --> 329</a> 330<ul class="blockList"> 331<li class="blockList"> 332<h4>_classMappings</h4> 333<pre>protected <a href="http://docs.oracle.com/javase/6/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> 334<div class="block">Class-based mappings that are used both for exact and 335 sub-class matches.</div> 336</li> 337</ul> 338<a name="_interfaceMappings"> 339<!-- --> 340</a> 341<ul class="blockList"> 342<li class="blockList"> 343<h4>_interfaceMappings</h4> 344<pre>protected <a href="http://docs.oracle.com/javase/6/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> 345<div class="block">Interface-based matches.</div> 346</li> 347</ul> 348<a name="_hasEnumSerializer"> 349<!-- --> 350</a> 351<ul class="blockListLast"> 352<li class="blockList"> 353<h4>_hasEnumSerializer</h4> 354<pre>protected boolean _hasEnumSerializer</pre> 355<div class="block">Flag to help find "generic" enum serializer, if one has been registered.</div> 356<dl><dt><span class="strong">Since:</span></dt> 357 <dd>2.3</dd></dl> 358</li> 359</ul> 360</li> 361</ul> 362<!-- ========= CONSTRUCTOR DETAIL ======== --> 363<ul class="blockList"> 364<li class="blockList"><a name="constructor_detail"> 365<!-- --> 366</a> 367<h3>Constructor Detail</h3> 368<a name="SimpleSerializers()"> 369<!-- --> 370</a> 371<ul class="blockList"> 372<li class="blockList"> 373<h4>SimpleSerializers</h4> 374<pre>public SimpleSerializers()</pre> 375</li> 376</ul> 377<a name="SimpleSerializers(java.util.List)"> 378<!-- --> 379</a> 380<ul class="blockListLast"> 381<li class="blockList"> 382<h4>SimpleSerializers</h4> 383<pre>public SimpleSerializers(<a href="http://docs.oracle.com/javase/6/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> 384<dl><dt><span class="strong">Since:</span></dt> 385 <dd>2.1</dd></dl> 386</li> 387</ul> 388</li> 389</ul> 390<!-- ============ METHOD DETAIL ========== --> 391<ul class="blockList"> 392<li class="blockList"><a name="method_detail"> 393<!-- --> 394</a> 395<h3>Method Detail</h3> 396<a name="addSerializer(com.fasterxml.jackson.databind.JsonSerializer)"> 397<!-- --> 398</a> 399<ul class="blockList"> 400<li class="blockList"> 401<h4>addSerializer</h4> 402<pre>public void addSerializer(<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</pre> 403<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> 404 specifies (which MUST return a non-null class; and can NOT be <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>, as a 405 sanity check). 406 For serializers that do not declare handled type, use the variant that takes 407 two arguments.</div> 408<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ser</code> - </dd></dl> 409</li> 410</ul> 411<a name="addSerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer)"> 412<!-- --> 413</a> 414<ul class="blockList"> 415<li class="blockList"> 416<h4>addSerializer</h4> 417<pre>public <T> void addSerializer(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends T> type, 418 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><T> ser)</pre> 419</li> 420</ul> 421<a name="addSerializers(java.util.List)"> 422<!-- --> 423</a> 424<ul class="blockList"> 425<li class="blockList"> 426<h4>addSerializers</h4> 427<pre>public void addSerializers(<a href="http://docs.oracle.com/javase/6/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> 428<dl><dt><span class="strong">Since:</span></dt> 429 <dd>2.1</dd></dl> 430</li> 431</ul> 432<a name="findSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanDescription)"> 433<!-- --> 434</a> 435<ul class="blockList"> 436<li class="blockList"> 437<h4>findSerializer</h4> 438<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, 439 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 440 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</pre> 441<div class="block"><strong>Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanDescription)">Serializers</a></code></strong></div> 442<div class="block">Method called by serialization framework first time a serializer is needed for 443 specified type, which is not of a container type (for which other methods are 444 called).</div> 445<dl> 446<dt><strong>Specified by:</strong></dt> 447<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType, com.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> 448<dt><strong>Overrides:</strong></dt> 449<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#findSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType, com.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> 450<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> 451<dt><span class="strong">Returns:</span></dt><dd>Configured serializer to use for the type; or null if implementation 452 does not recognize or support type</dd></dl> 453</li> 454</ul> 455<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)"> 456<!-- --> 457</a> 458<ul class="blockList"> 459<li class="blockList"> 460<h4>findArraySerializer</h4> 461<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, 462 <a href="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type">ArrayType</a> type, 463 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 464 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 465 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> elementValueSerializer)</pre> 466<div class="block"><strong>Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#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)">Serializers</a></code></strong></div> 467<div class="block">Method called by serialization framework first time a serializer is needed for 468 specified array type. 469 Implementation should return a serializer instance if it supports 470 specified type; or null if it does not.</div> 471<dl> 472<dt><strong>Specified by:</strong></dt> 473<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#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)">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> 474<dt><strong>Overrides:</strong></dt> 475<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#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)">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> 476</dl> 477</li> 478</ul> 479<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)"> 480<!-- --> 481</a> 482<ul class="blockList"> 483<li class="blockList"> 484<h4>findCollectionSerializer</h4> 485<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, 486 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionType.html" title="class in com.fasterxml.jackson.databind.type">CollectionType</a> type, 487 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 488 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 489 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> elementValueSerializer)</pre> 490<div class="block"><strong>Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#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)">Serializers</a></code></strong></div> 491<div class="block">Method called by serialization framework first time a serializer is needed for 492 specified <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type. 493 Implementation should return a serializer instance if it supports 494 specified type; or null if it does not.</div> 495<dl> 496<dt><strong>Specified by:</strong></dt> 497<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#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)">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> 498<dt><strong>Overrides:</strong></dt> 499<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#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)">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> 500</dl> 501</li> 502</ul> 503<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)"> 504<!-- --> 505</a> 506<ul class="blockList"> 507<li class="blockList"> 508<h4>findCollectionLikeSerializer</h4> 509<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, 510 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionLikeType.html" title="class in com.fasterxml.jackson.databind.type">CollectionLikeType</a> type, 511 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 512 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 513 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> elementValueSerializer)</pre> 514<div class="block"><strong>Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#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)">Serializers</a></code></strong></div> 515<div class="block">Method called by serialization framework first time a serializer is needed for 516 specified "Collection-like" type (type that acts like <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>, 517 but does not implement it). 518 Implementation should return a serializer instance if it supports 519 specified type; or null if it does not.</div> 520<dl> 521<dt><strong>Specified by:</strong></dt> 522<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#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)">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> 523<dt><strong>Overrides:</strong></dt> 524<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#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)">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> 525</dl> 526</li> 527</ul> 528<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)"> 529<!-- --> 530</a> 531<ul class="blockList"> 532<li class="blockList"> 533<h4>findMapSerializer</h4> 534<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, 535 <a href="../../../../../com/fasterxml/jackson/databind/type/MapType.html" title="class in com.fasterxml.jackson.databind.type">MapType</a> type, 536 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 537 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> keySerializer, 538 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 539 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> elementValueSerializer)</pre> 540<div class="block"><strong>Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#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)">Serializers</a></code></strong></div> 541<div class="block">Method called by serialization framework first time a serializer is needed for 542 specified <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> type. 543 Implementation should return a serializer instance if it supports 544 specified type; or null if it does not.</div> 545<dl> 546<dt><strong>Specified by:</strong></dt> 547<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#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)">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> 548<dt><strong>Overrides:</strong></dt> 549<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#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)">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> 550</dl> 551</li> 552</ul> 553<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)"> 554<!-- --> 555</a> 556<ul class="blockList"> 557<li class="blockList"> 558<h4>findMapLikeSerializer</h4> 559<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, 560 <a href="../../../../../com/fasterxml/jackson/databind/type/MapLikeType.html" title="class in com.fasterxml.jackson.databind.type">MapLikeType</a> type, 561 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 562 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> keySerializer, 563 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 564 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> elementValueSerializer)</pre> 565<div class="block"><strong>Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#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)">Serializers</a></code></strong></div> 566<div class="block">Method called by serialization framework first time a serializer is needed for 567 specified "Map-like" type (type that acts like <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>, 568 but does not implement it). 569 Implementation should return a serializer instance if it supports 570 specified type; or null if it does not.</div> 571<dl> 572<dt><strong>Specified by:</strong></dt> 573<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#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)">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> 574<dt><strong>Overrides:</strong></dt> 575<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#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)">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> 576</dl> 577</li> 578</ul> 579<a name="_findInterfaceMapping(java.lang.Class, com.fasterxml.jackson.databind.type.ClassKey)"> 580<!-- --> 581</a> 582<ul class="blockList"> 583<li class="blockList"> 584<h4>_findInterfaceMapping</h4> 585<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/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 586 <a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a> key)</pre> 587</li> 588</ul> 589<a name="_addSerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer)"> 590<!-- --> 591</a> 592<ul class="blockListLast"> 593<li class="blockList"> 594<h4>_addSerializer</h4> 595<pre>protected void _addSerializer(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 596 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</pre> 597</li> 598</ul> 599</li> 600</ul> 601</li> 602</ul> 603</div> 604</div> 605<!-- ========= END OF CLASS DATA ========= --> 606<!-- ======= START OF BOTTOM NAVBAR ====== --> 607<div class="bottomNav"><a name="navbar_bottom"> 608<!-- --> 609</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 610<!-- --> 611</a> 612<ul class="navList" title="Navigation"> 613<li><a href="../../../../../overview-summary.html">Overview</a></li> 614<li><a href="package-summary.html">Package</a></li> 615<li class="navBarCell1Rev">Class</li> 616<li><a href="class-use/SimpleSerializers.html">Use</a></li> 617<li><a href="package-tree.html">Tree</a></li> 618<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 619<li><a href="../../../../../index-all.html">Index</a></li> 620<li><a href="../../../../../help-doc.html">Help</a></li> 621</ul> 622</div> 623<div class="subNav"> 624<ul class="navList"> 625<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> 626<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> 627</ul> 628<ul class="navList"> 629<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/module/SimpleSerializers.html" target="_top">Frames</a></li> 630<li><a href="SimpleSerializers.html" target="_top">No Frames</a></li> 631</ul> 632<ul class="navList" id="allclasses_navbar_bottom"> 633<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 634</ul> 635<div> 636<script type="text/javascript"><!-- 637 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 638 if(window==top) { 639 allClassesLink.style.display = "block"; 640 } 641 else { 642 allClassesLink.style.display = "none"; 643 } 644 //--> 645</script> 646</div> 647<div> 648<ul class="subNavList"> 649<li>Summary: </li> 650<li>Nested | </li> 651<li><a href="#field_summary">Field</a> | </li> 652<li><a href="#constructor_summary">Constr</a> | </li> 653<li><a href="#method_summary">Method</a></li> 654</ul> 655<ul class="subNavList"> 656<li>Detail: </li> 657<li><a href="#field_detail">Field</a> | </li> 658<li><a href="#constructor_detail">Constr</a> | </li> 659<li><a href="#method_detail">Method</a></li> 660</ul> 661</div> 662<a name="skip-navbar_bottom"> 663<!-- --> 664</a></div> 665<!-- ======== END OF BOTTOM NAVBAR ======= --> 666<p class="legalCopy"><small>Copyright © 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 667</body> 668</html> 669