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 (1.8.0) on Sun Jul 19 11:36:52 PDT 2015 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>SimpleSerializers (jackson-databind 2.6.0 API)</title>
8<meta name="date" content="2015-07-19">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10<script type="text/javascript" src="../../../../../script.js"></script>
11</head>
12<body>
13<script type="text/javascript"><!--
14    try {
15        if (location.href.indexOf('is-external=true') == -1) {
16            parent.document.title="SimpleSerializers (jackson-databind 2.6.0 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10};
23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
24var altColor = "altColor";
25var rowColor = "rowColor";
26var tableTab = "tableTab";
27var activeTableTab = "activeTableTab";
28</script>
29<noscript>
30<div>JavaScript is disabled on your browser.</div>
31</noscript>
32<!-- ========= START OF TOP NAVBAR ======= -->
33<div class="topNav"><a name="navbar.top">
34<!--   -->
35</a>
36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37<a name="navbar.top.firstrow">
38<!--   -->
39</a>
40<ul class="navList" title="Navigation">
41<li><a href="../../../../../overview-summary.html">Overview</a></li>
42<li><a href="package-summary.html">Package</a></li>
43<li class="navBarCell1Rev">Class</li>
44<li><a href="class-use/SimpleSerializers.html">Use</a></li>
45<li><a href="package-tree.html">Tree</a></li>
46<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
47<li><a href="../../../../../index-all.html">Index</a></li>
48<li><a href="../../../../../help-doc.html">Help</a></li>
49</ul>
50</div>
51<div class="subNav">
52<ul class="navList">
53<li><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleValueInstantiators.html" title="class in com.fasterxml.jackson.databind.module"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
55</ul>
56<ul class="navList">
57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/module/SimpleSerializers.html" target="_top">Frames</a></li>
58<li><a href="SimpleSerializers.html" target="_top">No&nbsp;Frames</a></li>
59</ul>
60<ul class="navList" id="allclasses_navbar_top">
61<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
62</ul>
63<div>
64<script type="text/javascript"><!--
65  allClassesLink = document.getElementById("allclasses_navbar_top");
66  if(window==top) {
67    allClassesLink.style.display = "block";
68  }
69  else {
70    allClassesLink.style.display = "none";
71  }
72  //-->
73</script>
74</div>
75<div>
76<ul class="subNavList">
77<li>Summary:&nbsp;</li>
78<li>Nested&nbsp;|&nbsp;</li>
79<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
80<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
81<li><a href="#method.summary">Method</a></li>
82</ul>
83<ul class="subNavList">
84<li>Detail:&nbsp;</li>
85<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
86<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
87<li><a href="#method.detail">Method</a></li>
88</ul>
89</div>
90<a name="skip.navbar.top">
91<!--   -->
92</a></div>
93<!-- ========= END OF TOP NAVBAR ========= -->
94<!-- ======== START OF CLASS DATA ======== -->
95<div class="header">
96<div class="subTitle">com.fasterxml.jackson.databind.module</div>
97<h2 title="Class SimpleSerializers" class="title">Class SimpleSerializers</h2>
98</div>
99<div class="contentContainer">
100<ul class="inheritance">
101<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>
102<li>
103<ul class="inheritance">
104<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>
105<li>
106<ul class="inheritance">
107<li>com.fasterxml.jackson.databind.module.SimpleSerializers</li>
108</ul>
109</li>
110</ul>
111</li>
112</ul>
113<div class="description">
114<ul class="blockList">
115<li class="blockList">
116<dl>
117<dt>All Implemented Interfaces:</dt>
118<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>
119</dl>
120<hr>
121<br>
122<pre>public class <span class="typeNameLabel">SimpleSerializers</span>
123extends <a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a>
124implements <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>
125<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
126 serializers based on raw (type erased class).
127 It can work well for basic bean and scalar type serializers, but is not
128 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).
129<p>
130 Type registrations are assumed to be general; meaning that registration of serializer
131 for a super type will also be used for handling subtypes, unless an exact match
132 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
133 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>
134<dl>
135<dt><span class="seeLabel">See Also:</span></dt>
136<dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.module.SimpleSerializers">Serialized Form</a></dd>
137</dl>
138</li>
139</ul>
140</div>
141<div class="summary">
142<ul class="blockList">
143<li class="blockList">
144<!-- ======== NESTED CLASS SUMMARY ======== -->
145<ul class="blockList">
146<li class="blockList"><a name="nested.class.summary">
147<!--   -->
148</a>
149<h3>Nested Class Summary</h3>
150<ul class="blockList">
151<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.ser.Serializers">
152<!--   -->
153</a>
154<h3>Nested classes/interfaces inherited from interface&nbsp;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>
155<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></li>
156</ul>
157</li>
158</ul>
159<!-- =========== FIELD SUMMARY =========== -->
160<ul class="blockList">
161<li class="blockList"><a name="field.summary">
162<!--   -->
163</a>
164<h3>Field Summary</h3>
165<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
166<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
167<tr>
168<th class="colFirst" scope="col">Modifier and Type</th>
169<th class="colLast" scope="col">Field and Description</th>
170</tr>
171<tr class="altColor">
172<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>&lt;<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>&lt;?&gt;&gt;</code></td>
173<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#Z:Z_classMappings">_classMappings</a></span></code>
174<div class="block">Class-based mappings that are used both for exact and
175 sub-class matches.</div>
176</td>
177</tr>
178<tr class="rowColor">
179<td class="colFirst"><code>protected boolean</code></td>
180<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#Z:Z_hasEnumSerializer">_hasEnumSerializer</a></span></code>
181<div class="block">Flag to help find "generic" enum serializer, if one has been registered.</div>
182</td>
183</tr>
184<tr class="altColor">
185<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>&lt;<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>&lt;?&gt;&gt;</code></td>
186<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#Z:Z_interfaceMappings">_interfaceMappings</a></span></code>
187<div class="block">Interface-based matches.</div>
188</td>
189</tr>
190</table>
191</li>
192</ul>
193<!-- ======== CONSTRUCTOR SUMMARY ======== -->
194<ul class="blockList">
195<li class="blockList"><a name="constructor.summary">
196<!--   -->
197</a>
198<h3>Constructor Summary</h3>
199<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
200<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
201<tr>
202<th class="colOne" scope="col">Constructor and Description</th>
203</tr>
204<tr class="altColor">
205<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#SimpleSerializers--">SimpleSerializers</a></span>()</code>&nbsp;</td>
206</tr>
207<tr class="rowColor">
208<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#SimpleSerializers-java.util.List-">SimpleSerializers</a></span>(<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>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;&gt;&nbsp;sers)</code>&nbsp;</td>
209</tr>
210</table>
211</li>
212</ul>
213<!-- ========== METHOD SUMMARY =========== -->
214<ul class="blockList">
215<li class="blockList"><a name="method.summary">
216<!--   -->
217</a>
218<h3>Method Summary</h3>
219<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
220<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
221<tr>
222<th class="colFirst" scope="col">Modifier and Type</th>
223<th class="colLast" scope="col">Method and Description</th>
224</tr>
225<tr id="i0" class="altColor">
226<td class="colFirst"><code>protected void</code></td>
227<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#Z:Z_addSerializer-java.lang.Class-com.fasterxml.jackson.databind.JsonSerializer-">_addSerializer</a></span>(<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>&lt;?&gt;&nbsp;cls,
228              <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;&nbsp;ser)</code>&nbsp;</td>
229</tr>
230<tr id="i1" class="rowColor">
231<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;</code></td>
232<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#Z:Z_findInterfaceMapping-java.lang.Class-com.fasterxml.jackson.databind.type.ClassKey-">_findInterfaceMapping</a></span>(<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>&lt;?&gt;&nbsp;cls,
233                     <a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a>&nbsp;key)</code>&nbsp;</td>
234</tr>
235<tr id="i2" class="altColor">
236<td class="colFirst"><code>&lt;T&gt;&nbsp;void</code></td>
237<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#addSerializer-java.lang.Class-com.fasterxml.jackson.databind.JsonSerializer-">addSerializer</a></span>(<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>&lt;? extends T&gt;&nbsp;type,
238             <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;T&gt;&nbsp;ser)</code>&nbsp;</td>
239</tr>
240<tr id="i3" class="rowColor">
241<td class="colFirst"><code>void</code></td>
242<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#addSerializer-com.fasterxml.jackson.databind.JsonSerializer-">addSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;&nbsp;ser)</code>
243<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>
244 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
245 sanity check).</div>
246</td>
247</tr>
248<tr id="i4" class="altColor">
249<td class="colFirst"><code>void</code></td>
250<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#addSerializers-java.util.List-">addSerializers</a></span>(<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>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;&gt;&nbsp;sers)</code>&nbsp;</td>
251</tr>
252<tr id="i5" class="rowColor">
253<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;</code></td>
254<td class="colLast"><code><span class="memberNameLink"><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></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
255                   <a href="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type">ArrayType</a>&nbsp;type,
256                   <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a>&nbsp;beanDesc,
257                   <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;elementTypeSerializer,
258                   <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<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>&gt;&nbsp;elementValueSerializer)</code>
259<div class="block">Method called by serialization framework first time a serializer is needed for
260 specified array type.</div>
261</td>
262</tr>
263<tr id="i6" class="altColor">
264<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;</code></td>
265<td class="colLast"><code><span class="memberNameLink"><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></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
266                            <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionLikeType.html" title="class in com.fasterxml.jackson.databind.type">CollectionLikeType</a>&nbsp;type,
267                            <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a>&nbsp;beanDesc,
268                            <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;elementTypeSerializer,
269                            <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<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>&gt;&nbsp;elementValueSerializer)</code>
270<div class="block">Method called by serialization framework first time a serializer is needed for
271 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>,
272 but does not implement it).</div>
273</td>
274</tr>
275<tr id="i7" class="rowColor">
276<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;</code></td>
277<td class="colLast"><code><span class="memberNameLink"><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></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
278                        <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionType.html" title="class in com.fasterxml.jackson.databind.type">CollectionType</a>&nbsp;type,
279                        <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a>&nbsp;beanDesc,
280                        <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;elementTypeSerializer,
281                        <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<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>&gt;&nbsp;elementValueSerializer)</code>
282<div class="block">Method called by serialization framework first time a serializer is needed for
283 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>
284</td>
285</tr>
286<tr id="i8" class="altColor">
287<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;</code></td>
288<td class="colLast"><code><span class="memberNameLink"><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></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
289                     <a href="../../../../../com/fasterxml/jackson/databind/type/MapLikeType.html" title="class in com.fasterxml.jackson.databind.type">MapLikeType</a>&nbsp;type,
290                     <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a>&nbsp;beanDesc,
291                     <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<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>&gt;&nbsp;keySerializer,
292                     <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;elementTypeSerializer,
293                     <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<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>&gt;&nbsp;elementValueSerializer)</code>
294<div class="block">Method called by serialization framework first time a serializer is needed for
295 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>,
296 but does not implement it).</div>
297</td>
298</tr>
299<tr id="i9" class="rowColor">
300<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;</code></td>
301<td class="colLast"><code><span class="memberNameLink"><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></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
302                 <a href="../../../../../com/fasterxml/jackson/databind/type/MapType.html" title="class in com.fasterxml.jackson.databind.type">MapType</a>&nbsp;type,
303                 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a>&nbsp;beanDesc,
304                 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<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>&gt;&nbsp;keySerializer,
305                 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;elementTypeSerializer,
306                 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<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>&gt;&nbsp;elementValueSerializer)</code>
307<div class="block">Method called by serialization framework first time a serializer is needed for
308 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>
309</td>
310</tr>
311<tr id="i10" class="altColor">
312<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;</code></td>
313<td class="colLast"><code><span class="memberNameLink"><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></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
314              <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type,
315              <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a>&nbsp;beanDesc)</code>
316<div class="block">Method called by serialization framework first time a serializer is needed for
317 specified type, which is not of a container type (for which other methods are
318 called).</div>
319</td>
320</tr>
321</table>
322<ul class="blockList">
323<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
324<!--   -->
325</a>
326<h3>Methods inherited from class&nbsp;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>
327<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>
328</ul>
329</li>
330</ul>
331</li>
332</ul>
333</div>
334<div class="details">
335<ul class="blockList">
336<li class="blockList">
337<!-- ============ FIELD DETAIL =========== -->
338<ul class="blockList">
339<li class="blockList"><a name="field.detail">
340<!--   -->
341</a>
342<h3>Field Detail</h3>
343<a name="Z:Z_classMappings">
344<!--   -->
345</a>
346<ul class="blockList">
347<li class="blockList">
348<h4>_classMappings</h4>
349<pre>protected&nbsp;<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>&lt;<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>&lt;?&gt;&gt; _classMappings</pre>
350<div class="block">Class-based mappings that are used both for exact and
351 sub-class matches.</div>
352</li>
353</ul>
354<a name="Z:Z_interfaceMappings">
355<!--   -->
356</a>
357<ul class="blockList">
358<li class="blockList">
359<h4>_interfaceMappings</h4>
360<pre>protected&nbsp;<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>&lt;<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>&lt;?&gt;&gt; _interfaceMappings</pre>
361<div class="block">Interface-based matches.</div>
362</li>
363</ul>
364<a name="Z:Z_hasEnumSerializer">
365<!--   -->
366</a>
367<ul class="blockListLast">
368<li class="blockList">
369<h4>_hasEnumSerializer</h4>
370<pre>protected&nbsp;boolean _hasEnumSerializer</pre>
371<div class="block">Flag to help find "generic" enum serializer, if one has been registered.</div>
372<dl>
373<dt><span class="simpleTagLabel">Since:</span></dt>
374<dd>2.3</dd>
375</dl>
376</li>
377</ul>
378</li>
379</ul>
380<!-- ========= CONSTRUCTOR DETAIL ======== -->
381<ul class="blockList">
382<li class="blockList"><a name="constructor.detail">
383<!--   -->
384</a>
385<h3>Constructor Detail</h3>
386<a name="SimpleSerializers--">
387<!--   -->
388</a>
389<ul class="blockList">
390<li class="blockList">
391<h4>SimpleSerializers</h4>
392<pre>public&nbsp;SimpleSerializers()</pre>
393</li>
394</ul>
395<a name="SimpleSerializers-java.util.List-">
396<!--   -->
397</a>
398<ul class="blockListLast">
399<li class="blockList">
400<h4>SimpleSerializers</h4>
401<pre>public&nbsp;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>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;&gt;&nbsp;sers)</pre>
402<dl>
403<dt><span class="simpleTagLabel">Since:</span></dt>
404<dd>2.1</dd>
405</dl>
406</li>
407</ul>
408</li>
409</ul>
410<!-- ============ METHOD DETAIL ========== -->
411<ul class="blockList">
412<li class="blockList"><a name="method.detail">
413<!--   -->
414</a>
415<h3>Method Detail</h3>
416<a name="addSerializer-com.fasterxml.jackson.databind.JsonSerializer-">
417<!--   -->
418</a>
419<ul class="blockList">
420<li class="blockList">
421<h4>addSerializer</h4>
422<pre>public&nbsp;void&nbsp;addSerializer(<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;&nbsp;ser)</pre>
423<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>
424 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
425 sanity check).
426 For serializers that do not declare handled type, use the variant that takes
427 two arguments.</div>
428<dl>
429<dt><span class="paramLabel">Parameters:</span></dt>
430<dd><code>ser</code> - </dd>
431</dl>
432</li>
433</ul>
434<a name="addSerializer-java.lang.Class-com.fasterxml.jackson.databind.JsonSerializer-">
435<!--   -->
436</a>
437<ul class="blockList">
438<li class="blockList">
439<h4>addSerializer</h4>
440<pre>public&nbsp;&lt;T&gt;&nbsp;void&nbsp;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>&lt;? extends T&gt;&nbsp;type,
441                              <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;T&gt;&nbsp;ser)</pre>
442</li>
443</ul>
444<a name="addSerializers-java.util.List-">
445<!--   -->
446</a>
447<ul class="blockList">
448<li class="blockList">
449<h4>addSerializers</h4>
450<pre>public&nbsp;void&nbsp;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>&lt;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;&gt;&nbsp;sers)</pre>
451<dl>
452<dt><span class="simpleTagLabel">Since:</span></dt>
453<dd>2.1</dd>
454</dl>
455</li>
456</ul>
457<a name="findSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanDescription-">
458<!--   -->
459</a>
460<ul class="blockList">
461<li class="blockList">
462<h4>findSerializer</h4>
463<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;&nbsp;findSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
464                                        <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type,
465                                        <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a>&nbsp;beanDesc)</pre>
466<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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></span></div>
467<div class="block">Method called by serialization framework first time a serializer is needed for
468 specified type, which is not of a container type (for which other methods are
469 called).</div>
470<dl>
471<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
472<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>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd>
473<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
474<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>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd>
475<dt><span class="paramLabel">Parameters:</span></dt>
476<dd><code>config</code> - Serialization configuration in use</dd>
477<dd><code>type</code> - Fully resolved type of instances to serialize</dd>
478<dd><code>beanDesc</code> - Additional information about type</dd>
479<dt><span class="returnLabel">Returns:</span></dt>
480<dd>Configured serializer to use for the type; or null if implementation
481    does not recognize or support type</dd>
482</dl>
483</li>
484</ul>
485<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-">
486<!--   -->
487</a>
488<ul class="blockList">
489<li class="blockList">
490<h4>findArraySerializer</h4>
491<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;&nbsp;findArraySerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
492                                             <a href="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type">ArrayType</a>&nbsp;type,
493                                             <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a>&nbsp;beanDesc,
494                                             <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;elementTypeSerializer,
495                                             <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<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>&gt;&nbsp;elementValueSerializer)</pre>
496<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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></span></div>
497<div class="block">Method called by serialization framework first time a serializer is needed for
498 specified array type.
499 Implementation should return a serializer instance if it supports
500 specified type; or null if it does not.</div>
501<dl>
502<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
503<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>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd>
504<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
505<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>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd>
506</dl>
507</li>
508</ul>
509<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-">
510<!--   -->
511</a>
512<ul class="blockList">
513<li class="blockList">
514<h4>findCollectionSerializer</h4>
515<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;&nbsp;findCollectionSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
516                                                  <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionType.html" title="class in com.fasterxml.jackson.databind.type">CollectionType</a>&nbsp;type,
517                                                  <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a>&nbsp;beanDesc,
518                                                  <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;elementTypeSerializer,
519                                                  <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<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>&gt;&nbsp;elementValueSerializer)</pre>
520<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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></span></div>
521<div class="block">Method called by serialization framework first time a serializer is needed for
522 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.
523 Implementation should return a serializer instance if it supports
524 specified type; or null if it does not.</div>
525<dl>
526<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
527<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>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd>
528<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
529<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>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd>
530</dl>
531</li>
532</ul>
533<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-">
534<!--   -->
535</a>
536<ul class="blockList">
537<li class="blockList">
538<h4>findCollectionLikeSerializer</h4>
539<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;&nbsp;findCollectionLikeSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
540                                                      <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionLikeType.html" title="class in com.fasterxml.jackson.databind.type">CollectionLikeType</a>&nbsp;type,
541                                                      <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a>&nbsp;beanDesc,
542                                                      <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;elementTypeSerializer,
543                                                      <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<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>&gt;&nbsp;elementValueSerializer)</pre>
544<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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></span></div>
545<div class="block">Method called by serialization framework first time a serializer is needed for
546 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>,
547 but does not implement it).
548 Implementation should return a serializer instance if it supports
549 specified type; or null if it does not.</div>
550<dl>
551<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
552<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>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd>
553<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
554<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>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd>
555</dl>
556</li>
557</ul>
558<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-">
559<!--   -->
560</a>
561<ul class="blockList">
562<li class="blockList">
563<h4>findMapSerializer</h4>
564<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;&nbsp;findMapSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
565                                           <a href="../../../../../com/fasterxml/jackson/databind/type/MapType.html" title="class in com.fasterxml.jackson.databind.type">MapType</a>&nbsp;type,
566                                           <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a>&nbsp;beanDesc,
567                                           <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<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>&gt;&nbsp;keySerializer,
568                                           <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;elementTypeSerializer,
569                                           <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<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>&gt;&nbsp;elementValueSerializer)</pre>
570<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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></span></div>
571<div class="block">Method called by serialization framework first time a serializer is needed for
572 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.
573 Implementation should return a serializer instance if it supports
574 specified type; or null if it does not.</div>
575<dl>
576<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
577<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>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd>
578<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
579<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>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd>
580</dl>
581</li>
582</ul>
583<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-">
584<!--   -->
585</a>
586<ul class="blockList">
587<li class="blockList">
588<h4>findMapLikeSerializer</h4>
589<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;&nbsp;findMapLikeSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
590                                               <a href="../../../../../com/fasterxml/jackson/databind/type/MapLikeType.html" title="class in com.fasterxml.jackson.databind.type">MapLikeType</a>&nbsp;type,
591                                               <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a>&nbsp;beanDesc,
592                                               <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<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>&gt;&nbsp;keySerializer,
593                                               <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;elementTypeSerializer,
594                                               <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<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>&gt;&nbsp;elementValueSerializer)</pre>
595<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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></span></div>
596<div class="block">Method called by serialization framework first time a serializer is needed for
597 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>,
598 but does not implement it).
599 Implementation should return a serializer instance if it supports
600 specified type; or null if it does not.</div>
601<dl>
602<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
603<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>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd>
604<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
605<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>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd>
606</dl>
607</li>
608</ul>
609<a name="Z:Z_findInterfaceMapping-java.lang.Class-com.fasterxml.jackson.databind.type.ClassKey-">
610<!--   -->
611</a>
612<ul class="blockList">
613<li class="blockList">
614<h4>_findInterfaceMapping</h4>
615<pre>protected&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;&nbsp;_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>&lt;?&gt;&nbsp;cls,
616                                                  <a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a>&nbsp;key)</pre>
617</li>
618</ul>
619<a name="Z:Z_addSerializer-java.lang.Class-com.fasterxml.jackson.databind.JsonSerializer-">
620<!--   -->
621</a>
622<ul class="blockListLast">
623<li class="blockList">
624<h4>_addSerializer</h4>
625<pre>protected&nbsp;void&nbsp;_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>&lt;?&gt;&nbsp;cls,
626                              <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;?&gt;&nbsp;ser)</pre>
627</li>
628</ul>
629</li>
630</ul>
631</li>
632</ul>
633</div>
634</div>
635<!-- ========= END OF CLASS DATA ========= -->
636<!-- ======= START OF BOTTOM NAVBAR ====== -->
637<div class="bottomNav"><a name="navbar.bottom">
638<!--   -->
639</a>
640<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
641<a name="navbar.bottom.firstrow">
642<!--   -->
643</a>
644<ul class="navList" title="Navigation">
645<li><a href="../../../../../overview-summary.html">Overview</a></li>
646<li><a href="package-summary.html">Package</a></li>
647<li class="navBarCell1Rev">Class</li>
648<li><a href="class-use/SimpleSerializers.html">Use</a></li>
649<li><a href="package-tree.html">Tree</a></li>
650<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
651<li><a href="../../../../../index-all.html">Index</a></li>
652<li><a href="../../../../../help-doc.html">Help</a></li>
653</ul>
654</div>
655<div class="subNav">
656<ul class="navList">
657<li><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
658<li><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleValueInstantiators.html" title="class in com.fasterxml.jackson.databind.module"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
659</ul>
660<ul class="navList">
661<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/module/SimpleSerializers.html" target="_top">Frames</a></li>
662<li><a href="SimpleSerializers.html" target="_top">No&nbsp;Frames</a></li>
663</ul>
664<ul class="navList" id="allclasses_navbar_bottom">
665<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
666</ul>
667<div>
668<script type="text/javascript"><!--
669  allClassesLink = document.getElementById("allclasses_navbar_bottom");
670  if(window==top) {
671    allClassesLink.style.display = "block";
672  }
673  else {
674    allClassesLink.style.display = "none";
675  }
676  //-->
677</script>
678</div>
679<div>
680<ul class="subNavList">
681<li>Summary:&nbsp;</li>
682<li>Nested&nbsp;|&nbsp;</li>
683<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
684<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
685<li><a href="#method.summary">Method</a></li>
686</ul>
687<ul class="subNavList">
688<li>Detail:&nbsp;</li>
689<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
690<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
691<li><a href="#method.detail">Method</a></li>
692</ul>
693</div>
694<a name="skip.navbar.bottom">
695<!--   -->
696</a></div>
697<!-- ======== END OF BOTTOM NAVBAR ======= -->
698<p class="legalCopy"><small>Copyright &#169; 2014&#x2013;2015 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
699</body>
700</html>
701