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_10-ea) on Mon Apr 22 19:50:39 PDT 2013 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>SimpleSerializers (jackson-databind 2.2.0 API)</title> 8<meta name="date" content="2013-04-22"> 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.2.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 <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> 164<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#_interfaceMappings">_interfaceMappings</a></strong></code> 165<div class="block">Interface-based matches.</div> 166</td> 167</tr> 168</table> 169</li> 170</ul> 171<!-- ======== CONSTRUCTOR SUMMARY ======== --> 172<ul class="blockList"> 173<li class="blockList"><a name="constructor_summary"> 174<!-- --> 175</a> 176<h3>Constructor Summary</h3> 177<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 178<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 179<tr> 180<th class="colOne" scope="col">Constructor and Description</th> 181</tr> 182<tr class="altColor"> 183<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#SimpleSerializers()">SimpleSerializers</a></strong>()</code> </td> 184</tr> 185<tr class="rowColor"> 186<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> 187</tr> 188</table> 189</li> 190</ul> 191<!-- ========== METHOD SUMMARY =========== --> 192<ul class="blockList"> 193<li class="blockList"><a name="method_summary"> 194<!-- --> 195</a> 196<h3>Method Summary</h3> 197<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 198<caption><span>Methods</span><span class="tabEnd"> </span></caption> 199<tr> 200<th class="colFirst" scope="col">Modifier and Type</th> 201<th class="colLast" scope="col">Method and Description</th> 202</tr> 203<tr class="altColor"> 204<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 205<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, 206 <a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a> key)</code> </td> 207</tr> 208<tr class="rowColor"> 209<td class="colFirst"><code><T> void</code></td> 210<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, 211 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><T> ser)</code> </td> 212</tr> 213<tr class="altColor"> 214<td class="colFirst"><code>void</code></td> 215<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> 216<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> 217 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 218 sanity check).</div> 219</td> 220</tr> 221<tr class="rowColor"> 222<td class="colFirst"><code>void</code></td> 223<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> 224</tr> 225<tr class="altColor"> 226<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 227<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, 228 <a href="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type">ArrayType</a> type, 229 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 230 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 231 <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> 232<div class="block">Method called by serialization framework first time a serializer is needed for 233 specified array type.</div> 234</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#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, 239 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionLikeType.html" title="class in com.fasterxml.jackson.databind.type">CollectionLikeType</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 "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>, 245 but does not implement it).</div> 246</td> 247</tr> 248<tr class="altColor"> 249<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 250<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, 251 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionType.html" title="class in com.fasterxml.jackson.databind.type">CollectionType</a> type, 252 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 253 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 254 <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> 255<div class="block">Method called by serialization framework first time a serializer is needed for 256 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> 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#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, 262 <a href="../../../../../com/fasterxml/jackson/databind/type/MapLikeType.html" title="class in com.fasterxml.jackson.databind.type">MapLikeType</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/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, 265 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 266 <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> 267<div class="block">Method called by serialization framework first time a serializer is needed for 268 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>, 269 but does not implement it).</div> 270</td> 271</tr> 272<tr class="altColor"> 273<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 274<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, 275 <a href="../../../../../com/fasterxml/jackson/databind/type/MapType.html" title="class in com.fasterxml.jackson.databind.type">MapType</a> type, 276 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 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>> keySerializer, 278 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 279 <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> 280<div class="block">Method called by serialization framework first time a serializer is needed for 281 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> 282</td> 283</tr> 284<tr class="rowColor"> 285<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 286<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, 287 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 288 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</code> 289<div class="block">Method called by serialization framework first time a serializer is needed for 290 specified type, which is not of a container type (for which other methods are 291 called).</div> 292</td> 293</tr> 294</table> 295<ul class="blockList"> 296<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 297<!-- --> 298</a> 299<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> 300<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> 301</ul> 302</li> 303</ul> 304</li> 305</ul> 306</div> 307<div class="details"> 308<ul class="blockList"> 309<li class="blockList"> 310<!-- ============ FIELD DETAIL =========== --> 311<ul class="blockList"> 312<li class="blockList"><a name="field_detail"> 313<!-- --> 314</a> 315<h3>Field Detail</h3> 316<a name="_classMappings"> 317<!-- --> 318</a> 319<ul class="blockList"> 320<li class="blockList"> 321<h4>_classMappings</h4> 322<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> 323<div class="block">Class-based mappings that are used both for exact and 324 sub-class matches.</div> 325</li> 326</ul> 327<a name="_interfaceMappings"> 328<!-- --> 329</a> 330<ul class="blockListLast"> 331<li class="blockList"> 332<h4>_interfaceMappings</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><?>> _interfaceMappings</pre> 334<div class="block">Interface-based matches.</div> 335</li> 336</ul> 337</li> 338</ul> 339<!-- ========= CONSTRUCTOR DETAIL ======== --> 340<ul class="blockList"> 341<li class="blockList"><a name="constructor_detail"> 342<!-- --> 343</a> 344<h3>Constructor Detail</h3> 345<a name="SimpleSerializers()"> 346<!-- --> 347</a> 348<ul class="blockList"> 349<li class="blockList"> 350<h4>SimpleSerializers</h4> 351<pre>public SimpleSerializers()</pre> 352</li> 353</ul> 354<a name="SimpleSerializers(java.util.List)"> 355<!-- --> 356</a> 357<ul class="blockListLast"> 358<li class="blockList"> 359<h4>SimpleSerializers</h4> 360<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> 361<dl><dt><span class="strong">Since:</span></dt> 362 <dd>2.1</dd></dl> 363</li> 364</ul> 365</li> 366</ul> 367<!-- ============ METHOD DETAIL ========== --> 368<ul class="blockList"> 369<li class="blockList"><a name="method_detail"> 370<!-- --> 371</a> 372<h3>Method Detail</h3> 373<a name="addSerializer(com.fasterxml.jackson.databind.JsonSerializer)"> 374<!-- --> 375</a> 376<ul class="blockList"> 377<li class="blockList"> 378<h4>addSerializer</h4> 379<pre>public void addSerializer(<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</pre> 380<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> 381 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 382 sanity check). 383 For serializers that do not declare handled type, use the variant that takes 384 two arguments.</div> 385<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ser</code> - </dd></dl> 386</li> 387</ul> 388<a name="addSerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer)"> 389<!-- --> 390</a> 391<ul class="blockList"> 392<li class="blockList"> 393<h4>addSerializer</h4> 394<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, 395 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><T> ser)</pre> 396</li> 397</ul> 398<a name="addSerializers(java.util.List)"> 399<!-- --> 400</a> 401<ul class="blockList"> 402<li class="blockList"> 403<h4>addSerializers</h4> 404<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> 405<dl><dt><span class="strong">Since:</span></dt> 406 <dd>2.1</dd></dl> 407</li> 408</ul> 409<a name="findSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanDescription)"> 410<!-- --> 411</a> 412<ul class="blockList"> 413<li class="blockList"> 414<h4>findSerializer</h4> 415<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, 416 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 417 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</pre> 418<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> 419<div class="block">Method called by serialization framework first time a serializer is needed for 420 specified type, which is not of a container type (for which other methods are 421 called).</div> 422<dl> 423<dt><strong>Specified by:</strong></dt> 424<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> 425<dt><strong>Overrides:</strong></dt> 426<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> 427<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> 428<dt><span class="strong">Returns:</span></dt><dd>Configured serializer to use for the type; or null if implementation 429 does not recognize or support type</dd></dl> 430</li> 431</ul> 432<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)"> 433<!-- --> 434</a> 435<ul class="blockList"> 436<li class="blockList"> 437<h4>findArraySerializer</h4> 438<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, 439 <a href="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type">ArrayType</a> type, 440 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 441 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 442 <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> 443<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> 444<div class="block">Method called by serialization framework first time a serializer is needed for 445 specified array type. 446 Implementation should return a serializer instance if it supports 447 specified type; or null if it does not.</div> 448<dl> 449<dt><strong>Specified by:</strong></dt> 450<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> 451<dt><strong>Overrides:</strong></dt> 452<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> 453</dl> 454</li> 455</ul> 456<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)"> 457<!-- --> 458</a> 459<ul class="blockList"> 460<li class="blockList"> 461<h4>findCollectionSerializer</h4> 462<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, 463 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionType.html" title="class in com.fasterxml.jackson.databind.type">CollectionType</a> type, 464 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 465 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 466 <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> 467<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> 468<div class="block">Method called by serialization framework first time a serializer is needed for 469 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. 470 Implementation should return a serializer instance if it supports 471 specified type; or null if it does not.</div> 472<dl> 473<dt><strong>Specified by:</strong></dt> 474<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> 475<dt><strong>Overrides:</strong></dt> 476<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> 477</dl> 478</li> 479</ul> 480<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)"> 481<!-- --> 482</a> 483<ul class="blockList"> 484<li class="blockList"> 485<h4>findCollectionLikeSerializer</h4> 486<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, 487 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionLikeType.html" title="class in com.fasterxml.jackson.databind.type">CollectionLikeType</a> type, 488 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 489 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 490 <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> 491<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> 492<div class="block">Method called by serialization framework first time a serializer is needed for 493 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>, 494 but does not implement it). 495 Implementation should return a serializer instance if it supports 496 specified type; or null if it does not.</div> 497<dl> 498<dt><strong>Specified by:</strong></dt> 499<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> 500<dt><strong>Overrides:</strong></dt> 501<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> 502</dl> 503</li> 504</ul> 505<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)"> 506<!-- --> 507</a> 508<ul class="blockList"> 509<li class="blockList"> 510<h4>findMapSerializer</h4> 511<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, 512 <a href="../../../../../com/fasterxml/jackson/databind/type/MapType.html" title="class in com.fasterxml.jackson.databind.type">MapType</a> type, 513 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 514 <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, 515 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 516 <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> 517<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> 518<div class="block">Method called by serialization framework first time a serializer is needed for 519 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. 520 Implementation should return a serializer instance if it supports 521 specified type; or null if it does not.</div> 522<dl> 523<dt><strong>Specified by:</strong></dt> 524<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> 525<dt><strong>Overrides:</strong></dt> 526<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> 527</dl> 528</li> 529</ul> 530<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)"> 531<!-- --> 532</a> 533<ul class="blockList"> 534<li class="blockList"> 535<h4>findMapLikeSerializer</h4> 536<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, 537 <a href="../../../../../com/fasterxml/jackson/databind/type/MapLikeType.html" title="class in com.fasterxml.jackson.databind.type">MapLikeType</a> type, 538 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 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>> keySerializer, 540 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 541 <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> 542<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> 543<div class="block">Method called by serialization framework first time a serializer is needed for 544 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>, 545 but does not implement it). 546 Implementation should return a serializer instance if it supports 547 specified type; or null if it does not.</div> 548<dl> 549<dt><strong>Specified by:</strong></dt> 550<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> 551<dt><strong>Overrides:</strong></dt> 552<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> 553</dl> 554</li> 555</ul> 556<a name="_findInterfaceMapping(java.lang.Class, com.fasterxml.jackson.databind.type.ClassKey)"> 557<!-- --> 558</a> 559<ul class="blockListLast"> 560<li class="blockList"> 561<h4>_findInterfaceMapping</h4> 562<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, 563 <a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a> key)</pre> 564</li> 565</ul> 566</li> 567</ul> 568</li> 569</ul> 570</div> 571</div> 572<!-- ========= END OF CLASS DATA ========= --> 573<!-- ======= START OF BOTTOM NAVBAR ====== --> 574<div class="bottomNav"><a name="navbar_bottom"> 575<!-- --> 576</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 577<!-- --> 578</a> 579<ul class="navList" title="Navigation"> 580<li><a href="../../../../../overview-summary.html">Overview</a></li> 581<li><a href="package-summary.html">Package</a></li> 582<li class="navBarCell1Rev">Class</li> 583<li><a href="class-use/SimpleSerializers.html">Use</a></li> 584<li><a href="package-tree.html">Tree</a></li> 585<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 586<li><a href="../../../../../index-all.html">Index</a></li> 587<li><a href="../../../../../help-doc.html">Help</a></li> 588</ul> 589</div> 590<div class="subNav"> 591<ul class="navList"> 592<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> 593<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> 594</ul> 595<ul class="navList"> 596<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/module/SimpleSerializers.html" target="_top">Frames</a></li> 597<li><a href="SimpleSerializers.html" target="_top">No Frames</a></li> 598</ul> 599<ul class="navList" id="allclasses_navbar_bottom"> 600<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 601</ul> 602<div> 603<script type="text/javascript"><!-- 604 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 605 if(window==top) { 606 allClassesLink.style.display = "block"; 607 } 608 else { 609 allClassesLink.style.display = "none"; 610 } 611 //--> 612</script> 613</div> 614<div> 615<ul class="subNavList"> 616<li>Summary: </li> 617<li>Nested | </li> 618<li><a href="#field_summary">Field</a> | </li> 619<li><a href="#constructor_summary">Constr</a> | </li> 620<li><a href="#method_summary">Method</a></li> 621</ul> 622<ul class="subNavList"> 623<li>Detail: </li> 624<li><a href="#field_detail">Field</a> | </li> 625<li><a href="#constructor_detail">Constr</a> | </li> 626<li><a href="#method_detail">Method</a></li> 627</ul> 628</div> 629<a name="skip-navbar_bottom"> 630<!-- --> 631</a></div> 632<!-- ======== END OF BOTTOM NAVBAR ======= --> 633<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 634</body> 635</html> 636