• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 Sun Jul 14 20:03:27 PDT 2013 -->
6<title>SerializerProvider (Jackson JSON Processor)</title>
7<meta name="date" content="2013-07-14">
8<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
9</head>
10<body>
11<script type="text/javascript"><!--
12    if (location.href.indexOf('is-external=true') == -1) {
13        parent.document.title="SerializerProvider (Jackson JSON Processor)";
14    }
15//-->
16</script>
17<noscript>
18<div>JavaScript is disabled on your browser.</div>
19</noscript>
20<!-- ========= START OF TOP NAVBAR ======= -->
21<div class="topNav"><a name="navbar_top">
22<!--   -->
23</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
24<!--   -->
25</a>
26<ul class="navList" title="Navigation">
27<li><a href="../../../../overview-summary.html">Overview</a></li>
28<li><a href="package-summary.html">Package</a></li>
29<li class="navBarCell1Rev">Class</li>
30<li><a href="class-use/SerializerProvider.html">Use</a></li>
31<li><a href="package-tree.html">Tree</a></li>
32<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
33<li><a href="../../../../index-all.html">Index</a></li>
34<li><a href="../../../../help-doc.html">Help</a></li>
35</ul>
36</div>
37<div class="subNav">
38<ul class="navList">
39<li><a href="../../../../org/codehaus/jackson/map/SerializerFactory.Config.html" title="class in org.codehaus.jackson.map"><span class="strong">Prev Class</span></a></li>
40<li><a href="../../../../org/codehaus/jackson/map/Serializers.html" title="interface in org.codehaus.jackson.map"><span class="strong">Next Class</span></a></li>
41</ul>
42<ul class="navList">
43<li><a href="../../../../index.html?org/codehaus/jackson/map/SerializerProvider.html" target="_top">Frames</a></li>
44<li><a href="SerializerProvider.html" target="_top">No Frames</a></li>
45</ul>
46<ul class="navList" id="allclasses_navbar_top">
47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
48</ul>
49<div>
50<script type="text/javascript"><!--
51  allClassesLink = document.getElementById("allclasses_navbar_top");
52  if(window==top) {
53    allClassesLink.style.display = "block";
54  }
55  else {
56    allClassesLink.style.display = "none";
57  }
58  //-->
59</script>
60</div>
61<div>
62<ul class="subNavList">
63<li>Summary:&nbsp;</li>
64<li>Nested&nbsp;|&nbsp;</li>
65<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
66<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
67<li><a href="#method_summary">Method</a></li>
68</ul>
69<ul class="subNavList">
70<li>Detail:&nbsp;</li>
71<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
72<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
73<li><a href="#method_detail">Method</a></li>
74</ul>
75</div>
76<a name="skip-navbar_top">
77<!--   -->
78</a></div>
79<!-- ========= END OF TOP NAVBAR ========= -->
80<!-- ======== START OF CLASS DATA ======== -->
81<div class="header">
82<div class="subTitle">org.codehaus.jackson.map</div>
83<h2 title="Class SerializerProvider" class="title">Class SerializerProvider</h2>
84</div>
85<div class="contentContainer">
86<ul class="inheritance">
87<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>
88<li>
89<ul class="inheritance">
90<li>org.codehaus.jackson.map.SerializerProvider</li>
91</ul>
92</li>
93</ul>
94<div class="description">
95<ul class="blockList">
96<li class="blockList">
97<dl>
98<dt>Direct Known Subclasses:</dt>
99<dd><a href="../../../../org/codehaus/jackson/map/ser/StdSerializerProvider.html" title="class in org.codehaus.jackson.map.ser">StdSerializerProvider</a></dd>
100</dl>
101<hr>
102<br>
103<pre>public abstract class <span class="strong">SerializerProvider</span>
104extends <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></pre>
105<div class="block">Abstract class that defines API used by <a href="../../../../org/codehaus/jackson/map/ObjectMapper.html" title="class in org.codehaus.jackson.map"><code>ObjectMapper</code></a> and
106 <a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map"><code>JsonSerializer</code></a>s to obtain serializers capable of serializing
107 instances of specific types.
108<p>
109 Note about usage: for <a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map"><code>JsonSerializer</code></a> instances, only accessors
110 for locating other (sub-)serializers are to be used. <a href="../../../../org/codehaus/jackson/map/ObjectMapper.html" title="class in org.codehaus.jackson.map"><code>ObjectMapper</code></a>,
111 on the other hand, is to initialize recursive serialization process by
112 calling <a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#serializeValue(org.codehaus.jackson.map.SerializationConfig, org.codehaus.jackson.JsonGenerator, java.lang.Object, org.codehaus.jackson.map.SerializerFactory)"><code>serializeValue(org.codehaus.jackson.map.SerializationConfig, org.codehaus.jackson.JsonGenerator, java.lang.Object, org.codehaus.jackson.map.SerializerFactory)</code></a>.</div>
113</li>
114</ul>
115</div>
116<div class="summary">
117<ul class="blockList">
118<li class="blockList">
119<!-- =========== FIELD SUMMARY =========== -->
120<ul class="blockList">
121<li class="blockList"><a name="field_summary">
122<!--   -->
123</a>
124<h3>Field Summary</h3>
125<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
126<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
127<tr>
128<th class="colFirst" scope="col">Modifier and Type</th>
129<th class="colLast" scope="col">Field and Description</th>
130</tr>
131<tr class="altColor">
132<td class="colFirst"><code>protected <a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map">SerializationConfig</a></code></td>
133<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#_config">_config</a></strong></code>
134<div class="block">Serialization configuration to use for serialization processing.</div>
135</td>
136</tr>
137<tr class="rowColor">
138<td class="colFirst"><code>protected <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;</code></td>
139<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#_serializationView">_serializationView</a></strong></code>
140<div class="block">View used for currently active serialization</div>
141</td>
142</tr>
143<tr class="altColor">
144<td class="colFirst"><code>protected static <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a></code></td>
145<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#TYPE_OBJECT">TYPE_OBJECT</a></strong></code>&nbsp;</td>
146</tr>
147</table>
148</li>
149</ul>
150<!-- ======== CONSTRUCTOR SUMMARY ======== -->
151<ul class="blockList">
152<li class="blockList"><a name="constructor_summary">
153<!--   -->
154</a>
155<h3>Constructor Summary</h3>
156<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
157<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
158<tr>
159<th class="colFirst" scope="col">Modifier</th>
160<th class="colLast" scope="col">Constructor and Description</th>
161</tr>
162<tr class="altColor">
163<td class="colFirst"><code>protected </code></td>
164<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#SerializerProvider(org.codehaus.jackson.map.SerializationConfig)">SerializerProvider</a></strong>(<a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map">SerializationConfig</a>&nbsp;config)</code>&nbsp;</td>
165</tr>
166</table>
167</li>
168</ul>
169<!-- ========== METHOD SUMMARY =========== -->
170<ul class="blockList">
171<li class="blockList"><a name="method_summary">
172<!--   -->
173</a>
174<h3>Method Summary</h3>
175<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
176<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
177<tr>
178<th class="colFirst" scope="col">Modifier and Type</th>
179<th class="colLast" scope="col">Method and Description</th>
180</tr>
181<tr class="altColor">
182<td class="colFirst"><code>abstract int</code></td>
183<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#cachedSerializersCount()">cachedSerializersCount</a></strong>()</code>
184<div class="block">Method that can be used to determine how many serializers this
185 provider is caching currently
186 (if it does caching: default implementation does)
187 Exact count depends on what kind of serializers get cached;
188 default implementation caches all serializers, including ones that
189 are eagerly constructed (for optimal access speed)</div>
190</td>
191</tr>
192<tr class="rowColor">
193<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a></code></td>
194<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#constructSpecializedType(org.codehaus.jackson.type.JavaType, java.lang.Class)">constructSpecializedType</a></strong>(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;baseType,
195                        <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;subclass)</code>&nbsp;</td>
196</tr>
197<tr class="altColor">
198<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a></code></td>
199<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#constructType(java.lang.reflect.Type)">constructType</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type)</code>&nbsp;</td>
200</tr>
201<tr class="rowColor">
202<td class="colFirst"><code>abstract void</code></td>
203<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#defaultSerializeDateKey(java.util.Date, org.codehaus.jackson.JsonGenerator)">defaultSerializeDateKey</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a>&nbsp;date,
204                       <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen)</code>
205<div class="block">Method that will handle serialization of Dates used as <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> keys,
206 based on <a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><code>SerializationConfig.Feature.WRITE_DATE_KEYS_AS_TIMESTAMPS</code></a>
207 value (and if using textual representation, configured date format)</div>
208</td>
209</tr>
210<tr class="altColor">
211<td class="colFirst"><code>abstract void</code></td>
212<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#defaultSerializeDateKey(long, org.codehaus.jackson.JsonGenerator)">defaultSerializeDateKey</a></strong>(long&nbsp;timestamp,
213                       <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen)</code>
214<div class="block">Method that will handle serialization of Dates used as <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> keys,
215 based on <a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><code>SerializationConfig.Feature.WRITE_DATE_KEYS_AS_TIMESTAMPS</code></a>
216 value (and if using textual representation, configured date format)</div>
217</td>
218</tr>
219<tr class="rowColor">
220<td class="colFirst"><code>abstract void</code></td>
221<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#defaultSerializeDateValue(java.util.Date, org.codehaus.jackson.JsonGenerator)">defaultSerializeDateValue</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a>&nbsp;date,
222                         <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen)</code>
223<div class="block">Method that will handle serialization of Date(-like) values, using
224 <a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map"><code>SerializationConfig</code></a> settings to determine expected serialization
225 behavior.</div>
226</td>
227</tr>
228<tr class="altColor">
229<td class="colFirst"><code>abstract void</code></td>
230<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#defaultSerializeDateValue(long, org.codehaus.jackson.JsonGenerator)">defaultSerializeDateValue</a></strong>(long&nbsp;timestamp,
231                         <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen)</code>
232<div class="block">Method that will handle serialization of Date(-like) values, using
233 <a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map"><code>SerializationConfig</code></a> settings to determine expected serialization
234 behavior.</div>
235</td>
236</tr>
237<tr class="rowColor">
238<td class="colFirst"><code>void</code></td>
239<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#defaultSerializeField(java.lang.String, java.lang.Object, org.codehaus.jackson.JsonGenerator)">defaultSerializeField</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName,
240                     <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>&nbsp;value,
241                     <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen)</code>
242<div class="block">Convenience method that will serialize given field with specified
243 value.</div>
244</td>
245</tr>
246<tr class="altColor">
247<td class="colFirst"><code>void</code></td>
248<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#defaultSerializeNull(org.codehaus.jackson.JsonGenerator)">defaultSerializeNull</a></strong>(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen)</code>&nbsp;</td>
249</tr>
250<tr class="rowColor">
251<td class="colFirst"><code>void</code></td>
252<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#defaultSerializeValue(java.lang.Object, org.codehaus.jackson.JsonGenerator)">defaultSerializeValue</a></strong>(<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>&nbsp;value,
253                     <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen)</code>
254<div class="block">Convenience method that will serialize given value (which can be
255 null) using standard serializer locating functionality.</div>
256</td>
257</tr>
258<tr class="altColor">
259<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;</code></td>
260<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#findKeySerializer(org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)">findKeySerializer</a></strong>(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;keyType,
261                 <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a>&nbsp;property)</code>
262<div class="block">Method called to get the serializer to use for serializing
263 non-null Map keys.</div>
264</td>
265</tr>
266<tr class="rowColor">
267<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;</code></td>
268<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#findTypedValueSerializer(java.lang.Class, boolean)">findTypedValueSerializer</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>&lt;?&gt;&nbsp;valueType,
269                        boolean&nbsp;cache)</code>
270<div class="block"><strong>Deprecated.</strong>&nbsp;
271<div class="block"><i>As of version 1.7, use version that exposes property object
272    instead of just its type (needed for contextual serializers)</i></div>
273</div>
274</td>
275</tr>
276<tr class="altColor">
277<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;</code></td>
278<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#findTypedValueSerializer(java.lang.Class, boolean, org.codehaus.jackson.map.BeanProperty)">findTypedValueSerializer</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>&lt;?&gt;&nbsp;valueType,
279                        boolean&nbsp;cache,
280                        <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a>&nbsp;property)</code>
281<div class="block">Method called to locate regular serializer, matching type serializer,
282 and if both found, wrap them in a serializer that calls both in correct
283 sequence.</div>
284</td>
285</tr>
286<tr class="rowColor">
287<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;</code></td>
288<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#findTypedValueSerializer(org.codehaus.jackson.type.JavaType, boolean)">findTypedValueSerializer</a></strong>(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;valueType,
289                        boolean&nbsp;cache)</code>
290<div class="block"><strong>Deprecated.</strong>&nbsp;
291<div class="block"><i>As of version 1.7, use version that exposes property object
292    instead of just its type (needed for contextual serializers)</i></div>
293</div>
294</td>
295</tr>
296<tr class="altColor">
297<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;</code></td>
298<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#findTypedValueSerializer(org.codehaus.jackson.type.JavaType, boolean, org.codehaus.jackson.map.BeanProperty)">findTypedValueSerializer</a></strong>(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;valueType,
299                        boolean&nbsp;cache,
300                        <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a>&nbsp;property)</code>
301<div class="block">Method called to locate regular serializer, matching type serializer,
302 and if both found, wrap them in a serializer that calls both in correct
303 sequence.</div>
304</td>
305</tr>
306<tr class="rowColor">
307<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;</code></td>
308<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#findValueSerializer(java.lang.Class)">findValueSerializer</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>&lt;?&gt;&nbsp;runtimeType)</code>
309<div class="block"><strong>Deprecated.</strong>&nbsp;
310<div class="block"><i>As of version 1.7, use version that exposes property object
311    instead of just its type (needed for contextual serializers)</i></div>
312</div>
313</td>
314</tr>
315<tr class="altColor">
316<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;</code></td>
317<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#findValueSerializer(java.lang.Class, org.codehaus.jackson.map.BeanProperty)">findValueSerializer</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>&lt;?&gt;&nbsp;runtimeType,
318                   <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a>&nbsp;property)</code>
319<div class="block">Method called to get hold of a serializer for a value of given type;
320 or if no such serializer can be found, a default handler (which
321 may do a best-effort generic serialization or just simply
322 throw an exception when invoked).</div>
323</td>
324</tr>
325<tr class="rowColor">
326<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;</code></td>
327<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#findValueSerializer(org.codehaus.jackson.type.JavaType)">findValueSerializer</a></strong>(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;serializationType)</code>
328<div class="block"><strong>Deprecated.</strong>&nbsp;
329<div class="block"><i>As of version 1.7, use version that exposes property object
330    instead of just its type (needed for contextual serializers)</i></div>
331</div>
332</td>
333</tr>
334<tr class="altColor">
335<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;</code></td>
336<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#findValueSerializer(org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)">findValueSerializer</a></strong>(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;serializationType,
337                   <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a>&nbsp;property)</code>
338<div class="block">Similar to <a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#findValueSerializer(java.lang.Class)"><code>findValueSerializer(Class)</code></a>, but takes full generics-aware
339 type instead of raw class.</div>
340</td>
341</tr>
342<tr class="rowColor">
343<td class="colFirst"><code>abstract void</code></td>
344<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#flushCachedSerializers()">flushCachedSerializers</a></strong>()</code>
345<div class="block">Method that will drop all serializers currently cached by this provider.</div>
346</td>
347</tr>
348<tr class="altColor">
349<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/schema/JsonSchema.html" title="class in org.codehaus.jackson.schema">JsonSchema</a></code></td>
350<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#generateJsonSchema(java.lang.Class, org.codehaus.jackson.map.SerializationConfig, org.codehaus.jackson.map.SerializerFactory)">generateJsonSchema</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>&lt;?&gt;&nbsp;type,
351                  <a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map">SerializationConfig</a>&nbsp;config,
352                  <a href="../../../../org/codehaus/jackson/map/SerializerFactory.html" title="class in org.codehaus.jackson.map">SerializerFactory</a>&nbsp;jsf)</code>
353<div class="block">Generate <a href="http://json-schema.org/">Json-schema</a> for
354 given type.</div>
355</td>
356</tr>
357<tr class="rowColor">
358<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map">SerializationConfig</a></code></td>
359<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#getConfig()">getConfig</a></strong>()</code>
360<div class="block">Method for accessing configuration for the serialization processing.</div>
361</td>
362</tr>
363<tr class="altColor">
364<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/map/ser/FilterProvider.html" title="class in org.codehaus.jackson.map.ser">FilterProvider</a></code></td>
365<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#getFilterProvider()">getFilterProvider</a></strong>()</code>
366<div class="block">Convenience method for accessing provider to find serialization filters used,
367 equivalent to calling:</div>
368</td>
369</tr>
370<tr class="rowColor">
371<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;</code></td>
372<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#getKeySerializer()">getKeySerializer</a></strong>()</code>
373<div class="block"><strong>Deprecated.</strong>&nbsp;
374<div class="block"><i>As of version 1.7, use version that exposes property object
375    instead of just its type (needed for contextual serializers)</i></div>
376</div>
377</td>
378</tr>
379<tr class="altColor">
380<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;</code></td>
381<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#getKeySerializer(org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)">getKeySerializer</a></strong>(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;valueType,
382                <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a>&nbsp;property)</code>
383<div class="block"><strong>Deprecated.</strong>&nbsp;
384<div class="block"><i>As of version 1.8</i></div>
385</div>
386</td>
387</tr>
388<tr class="rowColor">
389<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;</code></td>
390<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#getNullKeySerializer()">getNullKeySerializer</a></strong>()</code>
391<div class="block">Method called to get the serializer to use for serializing
392 Map keys that are nulls: this is needed since JSON does not allow
393 any non-String value as key, including null.</div>
394</td>
395</tr>
396<tr class="altColor">
397<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;</code></td>
398<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#getNullValueSerializer()">getNullValueSerializer</a></strong>()</code>
399<div class="block">Method called to get the serializer to use for serializing
400 values (root level, Array members or List field values)
401 that are nulls.</div>
402</td>
403</tr>
404<tr class="rowColor">
405<td class="colFirst"><code><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;</code></td>
406<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#getSerializationView()">getSerializationView</a></strong>()</code>
407<div class="block">Convenience method for accessing serialization view in use (if any); equivalent to:</div>
408</td>
409</tr>
410<tr class="altColor">
411<td class="colFirst"><code>abstract <a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;</code></td>
412<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#getUnknownTypeSerializer(java.lang.Class)">getUnknownTypeSerializer</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>&lt;?&gt;&nbsp;unknownType)</code>
413<div class="block">Method called to get the serializer to use if provider
414 can not determine an actual type-specific serializer
415 to use; typically when none of <a href="../../../../org/codehaus/jackson/map/SerializerFactory.html" title="class in org.codehaus.jackson.map"><code>SerializerFactory</code></a>
416 instances are able to construct a serializer.</div>
417</td>
418</tr>
419<tr class="rowColor">
420<td class="colFirst"><code>abstract boolean</code></td>
421<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#hasSerializerFor(org.codehaus.jackson.map.SerializationConfig, java.lang.Class, org.codehaus.jackson.map.SerializerFactory)">hasSerializerFor</a></strong>(<a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map">SerializationConfig</a>&nbsp;cfg,
422                <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,
423                <a href="../../../../org/codehaus/jackson/map/SerializerFactory.html" title="class in org.codehaus.jackson.map">SerializerFactory</a>&nbsp;jsf)</code>
424<div class="block">Method that can be called to see if this serializer provider
425 can find a serializer for an instance of given class.</div>
426</td>
427</tr>
428<tr class="altColor">
429<td class="colFirst"><code>boolean</code></td>
430<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#isEnabled(org.codehaus.jackson.map.SerializationConfig.Feature)">isEnabled</a></strong>(<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a>&nbsp;feature)</code>
431<div class="block">Convenience method for checking whether specified serialization
432 feature is enabled or not.</div>
433</td>
434</tr>
435<tr class="rowColor">
436<td class="colFirst"><code>abstract void</code></td>
437<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#serializeValue(org.codehaus.jackson.map.SerializationConfig, org.codehaus.jackson.JsonGenerator, java.lang.Object, org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.SerializerFactory)">serializeValue</a></strong>(<a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map">SerializationConfig</a>&nbsp;cfg,
438              <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen,
439              <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>&nbsp;value,
440              <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;rootType,
441              <a href="../../../../org/codehaus/jackson/map/SerializerFactory.html" title="class in org.codehaus.jackson.map">SerializerFactory</a>&nbsp;jsf)</code>
442<div class="block">The method to be called by <a href="../../../../org/codehaus/jackson/map/ObjectMapper.html" title="class in org.codehaus.jackson.map"><code>ObjectMapper</code></a> to
443 execute recursive serialization, using serializers that
444 this provider has access to; and using specified root type
445 for locating first-level serializer.</div>
446</td>
447</tr>
448<tr class="altColor">
449<td class="colFirst"><code>abstract void</code></td>
450<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#serializeValue(org.codehaus.jackson.map.SerializationConfig, org.codehaus.jackson.JsonGenerator, java.lang.Object, org.codehaus.jackson.map.SerializerFactory)">serializeValue</a></strong>(<a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map">SerializationConfig</a>&nbsp;cfg,
451              <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen,
452              <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>&nbsp;value,
453              <a href="../../../../org/codehaus/jackson/map/SerializerFactory.html" title="class in org.codehaus.jackson.map">SerializerFactory</a>&nbsp;jsf)</code>
454<div class="block">The method to be called by <a href="../../../../org/codehaus/jackson/map/ObjectMapper.html" title="class in org.codehaus.jackson.map"><code>ObjectMapper</code></a> to
455 execute recursive serialization, using serializers that
456 this provider has access to.</div>
457</td>
458</tr>
459<tr class="rowColor">
460<td class="colFirst"><code>abstract void</code></td>
461<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#setDefaultKeySerializer(org.codehaus.jackson.map.JsonSerializer)">setDefaultKeySerializer</a></strong>(<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;ks)</code>
462<div class="block">Method that can be used to specify serializer to use for serializing
463 all non-null JSON property names, unless more specific key serializer
464 is found (i.e.</div>
465</td>
466</tr>
467<tr class="altColor">
468<td class="colFirst"><code>abstract void</code></td>
469<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#setNullKeySerializer(org.codehaus.jackson.map.JsonSerializer)">setNullKeySerializer</a></strong>(<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;nks)</code>
470<div class="block">Method that can be used to specify serializer that will be
471 used to write JSON property names matching null keys for Java
472 Maps (which will throw an exception if try write such property
473 name)</div>
474</td>
475</tr>
476<tr class="rowColor">
477<td class="colFirst"><code>abstract void</code></td>
478<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#setNullValueSerializer(org.codehaus.jackson.map.JsonSerializer)">setNullValueSerializer</a></strong>(<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;nvs)</code>
479<div class="block">Method that can be used to specify serializer that will be
480 used to write JSON values matching Java null values
481 instead of default one (which simply writes JSON null)</div>
482</td>
483</tr>
484</table>
485<ul class="blockList">
486<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
487<!--   -->
488</a>
489<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>
490<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>
491</ul>
492</li>
493</ul>
494</li>
495</ul>
496</div>
497<div class="details">
498<ul class="blockList">
499<li class="blockList">
500<!-- ============ FIELD DETAIL =========== -->
501<ul class="blockList">
502<li class="blockList"><a name="field_detail">
503<!--   -->
504</a>
505<h3>Field Detail</h3>
506<a name="TYPE_OBJECT">
507<!--   -->
508</a>
509<ul class="blockList">
510<li class="blockList">
511<h4>TYPE_OBJECT</h4>
512<pre>protected static final&nbsp;<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a> TYPE_OBJECT</pre>
513</li>
514</ul>
515<a name="_config">
516<!--   -->
517</a>
518<ul class="blockList">
519<li class="blockList">
520<h4>_config</h4>
521<pre>protected final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map">SerializationConfig</a> _config</pre>
522<div class="block">Serialization configuration to use for serialization processing.</div>
523</li>
524</ul>
525<a name="_serializationView">
526<!--   -->
527</a>
528<ul class="blockListLast">
529<li class="blockList">
530<h4>_serializationView</h4>
531<pre>protected final&nbsp;<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; _serializationView</pre>
532<div class="block">View used for currently active serialization</div>
533</li>
534</ul>
535</li>
536</ul>
537<!-- ========= CONSTRUCTOR DETAIL ======== -->
538<ul class="blockList">
539<li class="blockList"><a name="constructor_detail">
540<!--   -->
541</a>
542<h3>Constructor Detail</h3>
543<a name="SerializerProvider(org.codehaus.jackson.map.SerializationConfig)">
544<!--   -->
545</a>
546<ul class="blockListLast">
547<li class="blockList">
548<h4>SerializerProvider</h4>
549<pre>protected&nbsp;SerializerProvider(<a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map">SerializationConfig</a>&nbsp;config)</pre>
550</li>
551</ul>
552</li>
553</ul>
554<!-- ============ METHOD DETAIL ========== -->
555<ul class="blockList">
556<li class="blockList"><a name="method_detail">
557<!--   -->
558</a>
559<h3>Method Detail</h3>
560<a name="setNullKeySerializer(org.codehaus.jackson.map.JsonSerializer)">
561<!--   -->
562</a>
563<ul class="blockList">
564<li class="blockList">
565<h4>setNullKeySerializer</h4>
566<pre>public abstract&nbsp;void&nbsp;setNullKeySerializer(<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;nks)</pre>
567<div class="block">Method that can be used to specify serializer that will be
568 used to write JSON property names matching null keys for Java
569 Maps (which will throw an exception if try write such property
570 name)</div>
571<dl><dt><span class="strong">Since:</span></dt>
572  <dd>1.8</dd></dl>
573</li>
574</ul>
575<a name="setNullValueSerializer(org.codehaus.jackson.map.JsonSerializer)">
576<!--   -->
577</a>
578<ul class="blockList">
579<li class="blockList">
580<h4>setNullValueSerializer</h4>
581<pre>public abstract&nbsp;void&nbsp;setNullValueSerializer(<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;nvs)</pre>
582<div class="block">Method that can be used to specify serializer that will be
583 used to write JSON values matching Java null values
584 instead of default one (which simply writes JSON null)</div>
585<dl><dt><span class="strong">Since:</span></dt>
586  <dd>1.8</dd></dl>
587</li>
588</ul>
589<a name="setDefaultKeySerializer(org.codehaus.jackson.map.JsonSerializer)">
590<!--   -->
591</a>
592<ul class="blockList">
593<li class="blockList">
594<h4>setDefaultKeySerializer</h4>
595<pre>public abstract&nbsp;void&nbsp;setDefaultKeySerializer(<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;ks)</pre>
596<div class="block">Method that can be used to specify serializer to use for serializing
597 all non-null JSON property names, unless more specific key serializer
598 is found (i.e. if not custom key serializer has been registered for
599 Java type).
600<p>
601 Note that key serializer registration are different from value serializer
602 registrations.</div>
603<dl><dt><span class="strong">Since:</span></dt>
604  <dd>1.8</dd></dl>
605</li>
606</ul>
607<a name="serializeValue(org.codehaus.jackson.map.SerializationConfig, org.codehaus.jackson.JsonGenerator, java.lang.Object, org.codehaus.jackson.map.SerializerFactory)">
608<!--   -->
609</a>
610<ul class="blockList">
611<li class="blockList">
612<h4>serializeValue</h4>
613<pre>public abstract&nbsp;void&nbsp;serializeValue(<a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map">SerializationConfig</a>&nbsp;cfg,
614                  <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen,
615                  <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>&nbsp;value,
616                  <a href="../../../../org/codehaus/jackson/map/SerializerFactory.html" title="class in org.codehaus.jackson.map">SerializerFactory</a>&nbsp;jsf)
617                             throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
618                                    <a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></pre>
619<div class="block">The method to be called by <a href="../../../../org/codehaus/jackson/map/ObjectMapper.html" title="class in org.codehaus.jackson.map"><code>ObjectMapper</code></a> to
620 execute recursive serialization, using serializers that
621 this provider has access to.</div>
622<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jsf</code> - Underlying factory object used for creating serializers
623    as needed</dd>
624<dt><span class="strong">Throws:</span></dt>
625<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
626<dd><code><a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></code></dd></dl>
627</li>
628</ul>
629<a name="serializeValue(org.codehaus.jackson.map.SerializationConfig, org.codehaus.jackson.JsonGenerator, java.lang.Object, org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.SerializerFactory)">
630<!--   -->
631</a>
632<ul class="blockList">
633<li class="blockList">
634<h4>serializeValue</h4>
635<pre>public abstract&nbsp;void&nbsp;serializeValue(<a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map">SerializationConfig</a>&nbsp;cfg,
636                  <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen,
637                  <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>&nbsp;value,
638                  <a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;rootType,
639                  <a href="../../../../org/codehaus/jackson/map/SerializerFactory.html" title="class in org.codehaus.jackson.map">SerializerFactory</a>&nbsp;jsf)
640                             throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
641                                    <a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></pre>
642<div class="block">The method to be called by <a href="../../../../org/codehaus/jackson/map/ObjectMapper.html" title="class in org.codehaus.jackson.map"><code>ObjectMapper</code></a> to
643 execute recursive serialization, using serializers that
644 this provider has access to; and using specified root type
645 for locating first-level serializer.</div>
646<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rootType</code> - Type to use for locating serializer to use, instead of actual
647    runtime type. Must be actual type, or one of its super types</dd>
648<dt><span class="strong">Throws:</span></dt>
649<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
650<dd><code><a href="../../../../org/codehaus/jackson/JsonGenerationException.html" title="class in org.codehaus.jackson">JsonGenerationException</a></code></dd><dt><span class="strong">Since:</span></dt>
651  <dd>1.5</dd></dl>
652</li>
653</ul>
654<a name="generateJsonSchema(java.lang.Class, org.codehaus.jackson.map.SerializationConfig, org.codehaus.jackson.map.SerializerFactory)">
655<!--   -->
656</a>
657<ul class="blockList">
658<li class="blockList">
659<h4>generateJsonSchema</h4>
660<pre>public abstract&nbsp;<a href="../../../../org/codehaus/jackson/schema/JsonSchema.html" title="class in org.codehaus.jackson.schema">JsonSchema</a>&nbsp;generateJsonSchema(<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;type,
661                            <a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map">SerializationConfig</a>&nbsp;config,
662                            <a href="../../../../org/codehaus/jackson/map/SerializerFactory.html" title="class in org.codehaus.jackson.map">SerializerFactory</a>&nbsp;jsf)
663                                       throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre>
664<div class="block">Generate <a href="http://json-schema.org/">Json-schema</a> for
665 given type.</div>
666<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The type for which to generate schema</dd>
667<dt><span class="strong">Throws:</span></dt>
668<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></dd></dl>
669</li>
670</ul>
671<a name="hasSerializerFor(org.codehaus.jackson.map.SerializationConfig, java.lang.Class, org.codehaus.jackson.map.SerializerFactory)">
672<!--   -->
673</a>
674<ul class="blockList">
675<li class="blockList">
676<h4>hasSerializerFor</h4>
677<pre>public abstract&nbsp;boolean&nbsp;hasSerializerFor(<a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map">SerializationConfig</a>&nbsp;cfg,
678                       <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,
679                       <a href="../../../../org/codehaus/jackson/map/SerializerFactory.html" title="class in org.codehaus.jackson.map">SerializerFactory</a>&nbsp;jsf)</pre>
680<div class="block">Method that can be called to see if this serializer provider
681 can find a serializer for an instance of given class.
682<p>
683 Note that no Exceptions are thrown, including unchecked ones:
684 implementations are to swallow exceptions if necessary.</div>
685</li>
686</ul>
687<a name="getConfig()">
688<!--   -->
689</a>
690<ul class="blockList">
691<li class="blockList">
692<h4>getConfig</h4>
693<pre>public final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map">SerializationConfig</a>&nbsp;getConfig()</pre>
694<div class="block">Method for accessing configuration for the serialization processing.</div>
695</li>
696</ul>
697<a name="isEnabled(org.codehaus.jackson.map.SerializationConfig.Feature)">
698<!--   -->
699</a>
700<ul class="blockList">
701<li class="blockList">
702<h4>isEnabled</h4>
703<pre>public final&nbsp;boolean&nbsp;isEnabled(<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a>&nbsp;feature)</pre>
704<div class="block">Convenience method for checking whether specified serialization
705 feature is enabled or not.
706 Shortcut for:
707<pre>
708  getConfig().isEnabled(feature);
709</pre></div>
710</li>
711</ul>
712<a name="getSerializationView()">
713<!--   -->
714</a>
715<ul class="blockList">
716<li class="blockList">
717<h4>getSerializationView</h4>
718<pre>public final&nbsp;<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;getSerializationView()</pre>
719<div class="block">Convenience method for accessing serialization view in use (if any); equivalent to:
720<pre>
721   getConfig().getSerializationView();
722</pre></div>
723<dl><dt><span class="strong">Since:</span></dt>
724  <dd>1.4</dd></dl>
725</li>
726</ul>
727<a name="getFilterProvider()">
728<!--   -->
729</a>
730<ul class="blockList">
731<li class="blockList">
732<h4>getFilterProvider</h4>
733<pre>public final&nbsp;<a href="../../../../org/codehaus/jackson/map/ser/FilterProvider.html" title="class in org.codehaus.jackson.map.ser">FilterProvider</a>&nbsp;getFilterProvider()</pre>
734<div class="block">Convenience method for accessing provider to find serialization filters used,
735 equivalent to calling:
736<pre>
737   getConfig().getFilterProvider();
738</pre></div>
739<dl><dt><span class="strong">Since:</span></dt>
740  <dd>1.4</dd></dl>
741</li>
742</ul>
743<a name="constructType(java.lang.reflect.Type)">
744<!--   -->
745</a>
746<ul class="blockList">
747<li class="blockList">
748<h4>constructType</h4>
749<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;constructType(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a>&nbsp;type)</pre>
750<dl><dt><span class="strong">Since:</span></dt>
751  <dd>1.8</dd></dl>
752</li>
753</ul>
754<a name="constructSpecializedType(org.codehaus.jackson.type.JavaType, java.lang.Class)">
755<!--   -->
756</a>
757<ul class="blockList">
758<li class="blockList">
759<h4>constructSpecializedType</h4>
760<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;constructSpecializedType(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;baseType,
761                                <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;subclass)</pre>
762<dl><dt><span class="strong">Since:</span></dt>
763  <dd>1.9.1</dd></dl>
764</li>
765</ul>
766<a name="findValueSerializer(java.lang.Class, org.codehaus.jackson.map.BeanProperty)">
767<!--   -->
768</a>
769<ul class="blockList">
770<li class="blockList">
771<h4>findValueSerializer</h4>
772<pre>public abstract&nbsp;<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;findValueSerializer(<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;runtimeType,
773                                         <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a>&nbsp;property)
774                                                    throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre>
775<div class="block">Method called to get hold of a serializer for a value of given type;
776 or if no such serializer can be found, a default handler (which
777 may do a best-effort generic serialization or just simply
778 throw an exception when invoked).
779<p>
780 Note: this method is only called for non-null values; not for keys
781 or null values. For these, check out other accessor methods.
782<p>
783 Note that starting with version 1.5, serializers should also be type-aware
784 if they handle polymorphic types. That means that it may be necessary
785 to also use a <a href="../../../../org/codehaus/jackson/map/TypeSerializer.html" title="class in org.codehaus.jackson.map"><code>TypeSerializer</code></a> based on declared (static) type
786 being serializer (whereas actual data may be serialized using dynamic
787 type)</div>
788<dl><dt><span class="strong">Throws:</span></dt>
789<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code> - if there are fatal problems with
790   accessing suitable serializer; including that of not
791   finding any serializer</dd></dl>
792</li>
793</ul>
794<a name="findValueSerializer(org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)">
795<!--   -->
796</a>
797<ul class="blockList">
798<li class="blockList">
799<h4>findValueSerializer</h4>
800<pre>public abstract&nbsp;<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;findValueSerializer(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;serializationType,
801                                         <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a>&nbsp;property)
802                                                    throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre>
803<div class="block">Similar to <a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#findValueSerializer(java.lang.Class)"><code>findValueSerializer(Class)</code></a>, but takes full generics-aware
804 type instead of raw class.</div>
805<dl><dt><span class="strong">Throws:</span></dt>
806<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt>
807  <dd>1.5</dd></dl>
808</li>
809</ul>
810<a name="findTypedValueSerializer(java.lang.Class, boolean, org.codehaus.jackson.map.BeanProperty)">
811<!--   -->
812</a>
813<ul class="blockList">
814<li class="blockList">
815<h4>findTypedValueSerializer</h4>
816<pre>public abstract&nbsp;<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;findTypedValueSerializer(<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;valueType,
817                                              boolean&nbsp;cache,
818                                              <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a>&nbsp;property)
819                                                         throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre>
820<div class="block">Method called to locate regular serializer, matching type serializer,
821 and if both found, wrap them in a serializer that calls both in correct
822 sequence. This method is currently only used for root-level serializer
823 handling to allow for simpler caching. A call can always be replaced
824 by equivalent calls to access serializer and type serializer separately.</div>
825<dl><dt><span class="strong">Parameters:</span></dt><dd><code>valueType</code> - Type for purpose of locating a serializer; usually dynamic
826   runtime type, but can also be static declared type, depending on configuration</dd><dd><code>cache</code> - Whether resulting value serializer should be cached or not; this is just
827    a hint</dd>
828<dt><span class="strong">Throws:</span></dt>
829<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt>
830  <dd>1.5</dd></dl>
831</li>
832</ul>
833<a name="findTypedValueSerializer(org.codehaus.jackson.type.JavaType, boolean, org.codehaus.jackson.map.BeanProperty)">
834<!--   -->
835</a>
836<ul class="blockList">
837<li class="blockList">
838<h4>findTypedValueSerializer</h4>
839<pre>public abstract&nbsp;<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;findTypedValueSerializer(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;valueType,
840                                              boolean&nbsp;cache,
841                                              <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a>&nbsp;property)
842                                                         throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre>
843<div class="block">Method called to locate regular serializer, matching type serializer,
844 and if both found, wrap them in a serializer that calls both in correct
845 sequence. This method is currently only used for root-level serializer
846 handling to allow for simpler caching. A call can always be replaced
847 by equivalent calls to access serializer and type serializer separately.</div>
848<dl><dt><span class="strong">Parameters:</span></dt><dd><code>valueType</code> - Declared type of value being serialized (which may not
849    be actual runtime type); used for finding both value serializer and
850    type serializer to use for adding polymorphic type (if any)</dd><dd><code>cache</code> - Whether resulting value serializer should be cached or not; this is just
851    a hint</dd>
852<dt><span class="strong">Throws:</span></dt>
853<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt>
854  <dd>1.5</dd></dl>
855</li>
856</ul>
857<a name="findKeySerializer(org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)">
858<!--   -->
859</a>
860<ul class="blockList">
861<li class="blockList">
862<h4>findKeySerializer</h4>
863<pre>public abstract&nbsp;<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;findKeySerializer(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;keyType,
864                                       <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a>&nbsp;property)
865                                                  throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre>
866<div class="block">Method called to get the serializer to use for serializing
867 non-null Map keys. Separation from regular
868 <a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#findValueSerializer(java.lang.Class, org.codehaus.jackson.map.BeanProperty)"><code>findValueSerializer(java.lang.Class&lt;?&gt;, org.codehaus.jackson.map.BeanProperty)</code></a> method is because actual write
869 method must be different (@link JsonGenerator#writeFieldName};
870 but also since behavior for some key types may differ.
871<p>
872 Note that the serializer itself can be called with instances
873 of any Java object, but not nulls.</div>
874<dl><dt><span class="strong">Throws:</span></dt>
875<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></dd><dt><span class="strong">Since:</span></dt>
876  <dd>1.8</dd></dl>
877</li>
878</ul>
879<a name="findValueSerializer(java.lang.Class)">
880<!--   -->
881</a>
882<ul class="blockList">
883<li class="blockList">
884<h4>findValueSerializer</h4>
885<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
886public final&nbsp;<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;findValueSerializer(<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;runtimeType)
887                                                 throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre>
888<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>As of version 1.7, use version that exposes property object
889    instead of just its type (needed for contextual serializers)</i></div>
890<div class="block">Deprecated version of accessor method that was used before version 1.7.
891 Implemented as final to ensure that existing code does not accidentally
892 try to redefine it (given that it is not called by core mapper code)</div>
893<dl><dt><span class="strong">Throws:</span></dt>
894<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></dd></dl>
895</li>
896</ul>
897<a name="findValueSerializer(org.codehaus.jackson.type.JavaType)">
898<!--   -->
899</a>
900<ul class="blockList">
901<li class="blockList">
902<h4>findValueSerializer</h4>
903<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
904public final&nbsp;<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;findValueSerializer(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;serializationType)
905                                                 throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre>
906<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>As of version 1.7, use version that exposes property object
907    instead of just its type (needed for contextual serializers)</i></div>
908<div class="block">Deprecated version of accessor method that was used before version 1.7.
909 Implemented as final to ensure that existing code does not accidentally
910 try to redefine it (given that it is not called by core mapper code)</div>
911<dl><dt><span class="strong">Throws:</span></dt>
912<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></dd></dl>
913</li>
914</ul>
915<a name="findTypedValueSerializer(java.lang.Class, boolean)">
916<!--   -->
917</a>
918<ul class="blockList">
919<li class="blockList">
920<h4>findTypedValueSerializer</h4>
921<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
922public final&nbsp;<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;findTypedValueSerializer(<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;valueType,
923                                                         boolean&nbsp;cache)
924                                                      throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre>
925<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>As of version 1.7, use version that exposes property object
926    instead of just its type (needed for contextual serializers)</i></div>
927<div class="block">Deprecated version of accessor method that was used before version 1.7.
928 Implemented as final to ensure that existing code does not accidentally
929 try to redefine it (given that it is not called by core mapper code)</div>
930<dl><dt><span class="strong">Throws:</span></dt>
931<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></dd></dl>
932</li>
933</ul>
934<a name="findTypedValueSerializer(org.codehaus.jackson.type.JavaType, boolean)">
935<!--   -->
936</a>
937<ul class="blockList">
938<li class="blockList">
939<h4>findTypedValueSerializer</h4>
940<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
941public final&nbsp;<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;findTypedValueSerializer(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;valueType,
942                                                         boolean&nbsp;cache)
943                                                      throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre>
944<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>As of version 1.7, use version that exposes property object
945    instead of just its type (needed for contextual serializers)</i></div>
946<div class="block">Deprecated version of accessor method that was used before version 1.7.
947 Implemented as final to ensure that existing code does not accidentally
948 try to redefine it (given that it is not called by core mapper code)</div>
949<dl><dt><span class="strong">Throws:</span></dt>
950<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></dd></dl>
951</li>
952</ul>
953<a name="getKeySerializer()">
954<!--   -->
955</a>
956<ul class="blockList">
957<li class="blockList">
958<h4>getKeySerializer</h4>
959<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
960public final&nbsp;<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;getKeySerializer()
961                                              throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre>
962<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>As of version 1.7, use version that exposes property object
963    instead of just its type (needed for contextual serializers)</i></div>
964<div class="block">Deprecated version of accessor method that was used before version 1.7.
965 Implemented as final to ensure that existing code does not accidentally
966 try to redefine it (given that it is not called by core mapper code)</div>
967<dl><dt><span class="strong">Throws:</span></dt>
968<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></dd></dl>
969</li>
970</ul>
971<a name="getKeySerializer(org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)">
972<!--   -->
973</a>
974<ul class="blockList">
975<li class="blockList">
976<h4>getKeySerializer</h4>
977<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
978public final&nbsp;<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;getKeySerializer(<a href="../../../../org/codehaus/jackson/type/JavaType.html" title="class in org.codehaus.jackson.type">JavaType</a>&nbsp;valueType,
979                                                 <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a>&nbsp;property)
980                                              throws <a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></pre>
981<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>As of version 1.8</i></div>
982<div class="block">Deprecated version of accessor method that was used before version 1.8;
983 renamed as <a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#findKeySerializer(org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)"><code>findKeySerializer(org.codehaus.jackson.type.JavaType, org.codehaus.jackson.map.BeanProperty)</code></a>, since process is now
984 more complicated than simple lookup.</div>
985<dl><dt><span class="strong">Throws:</span></dt>
986<dd><code><a href="../../../../org/codehaus/jackson/map/JsonMappingException.html" title="class in org.codehaus.jackson.map">JsonMappingException</a></code></dd></dl>
987</li>
988</ul>
989<a name="getNullKeySerializer()">
990<!--   -->
991</a>
992<ul class="blockList">
993<li class="blockList">
994<h4>getNullKeySerializer</h4>
995<pre>public abstract&nbsp;<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;getNullKeySerializer()</pre>
996<div class="block">Method called to get the serializer to use for serializing
997 Map keys that are nulls: this is needed since JSON does not allow
998 any non-String value as key, including null.
999<p>
1000 Typically, returned serializer
1001 will either throw an exception, or use an empty String; but
1002 other behaviors are possible.</div>
1003</li>
1004</ul>
1005<a name="getNullValueSerializer()">
1006<!--   -->
1007</a>
1008<ul class="blockList">
1009<li class="blockList">
1010<h4>getNullValueSerializer</h4>
1011<pre>public abstract&nbsp;<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;getNullValueSerializer()</pre>
1012<div class="block">Method called to get the serializer to use for serializing
1013 values (root level, Array members or List field values)
1014 that are nulls. Specific accessor is needed because nulls
1015 in Java do not contain type information.
1016<p>
1017 Typically returned serializer just writes out Json literal
1018 null value.</div>
1019</li>
1020</ul>
1021<a name="getUnknownTypeSerializer(java.lang.Class)">
1022<!--   -->
1023</a>
1024<ul class="blockList">
1025<li class="blockList">
1026<h4>getUnknownTypeSerializer</h4>
1027<pre>public abstract&nbsp;<a href="../../../../org/codehaus/jackson/map/JsonSerializer.html" title="class in org.codehaus.jackson.map">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;getUnknownTypeSerializer(<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;unknownType)</pre>
1028<div class="block">Method called to get the serializer to use if provider
1029 can not determine an actual type-specific serializer
1030 to use; typically when none of <a href="../../../../org/codehaus/jackson/map/SerializerFactory.html" title="class in org.codehaus.jackson.map"><code>SerializerFactory</code></a>
1031 instances are able to construct a serializer.
1032<p>
1033 Typically, returned serializer will throw an exception,
1034 although alternatively <a href="../../../../org/codehaus/jackson/map/ser/ToStringSerializer.html" title="class in org.codehaus.jackson.map.ser"><code>ToStringSerializer</code></a> could
1035 be returned as well.</div>
1036<dl><dt><span class="strong">Parameters:</span></dt><dd><code>unknownType</code> - Type for which no serializer is found</dd></dl>
1037</li>
1038</ul>
1039<a name="defaultSerializeValue(java.lang.Object, org.codehaus.jackson.JsonGenerator)">
1040<!--   -->
1041</a>
1042<ul class="blockList">
1043<li class="blockList">
1044<h4>defaultSerializeValue</h4>
1045<pre>public final&nbsp;void&nbsp;defaultSerializeValue(<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>&nbsp;value,
1046                         <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen)
1047                                 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1048                                        <a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></pre>
1049<div class="block">Convenience method that will serialize given value (which can be
1050 null) using standard serializer locating functionality. It can
1051 be called for all values including field and Map values, but usually
1052 field values are best handled calling
1053 <a href="../../../../org/codehaus/jackson/map/SerializerProvider.html#defaultSerializeField(java.lang.String, java.lang.Object, org.codehaus.jackson.JsonGenerator)"><code>defaultSerializeField(java.lang.String, java.lang.Object, org.codehaus.jackson.JsonGenerator)</code></a> instead.</div>
1054<dl><dt><span class="strong">Throws:</span></dt>
1055<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1056<dd><code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></code></dd></dl>
1057</li>
1058</ul>
1059<a name="defaultSerializeField(java.lang.String, java.lang.Object, org.codehaus.jackson.JsonGenerator)">
1060<!--   -->
1061</a>
1062<ul class="blockList">
1063<li class="blockList">
1064<h4>defaultSerializeField</h4>
1065<pre>public final&nbsp;void&nbsp;defaultSerializeField(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName,
1066                         <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>&nbsp;value,
1067                         <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen)
1068                                 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1069                                        <a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></pre>
1070<div class="block">Convenience method that will serialize given field with specified
1071 value. Value may be null. Serializer is done using the usual
1072 null) using standard serializer locating functionality.</div>
1073<dl><dt><span class="strong">Throws:</span></dt>
1074<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1075<dd><code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></code></dd></dl>
1076</li>
1077</ul>
1078<a name="defaultSerializeDateValue(long, org.codehaus.jackson.JsonGenerator)">
1079<!--   -->
1080</a>
1081<ul class="blockList">
1082<li class="blockList">
1083<h4>defaultSerializeDateValue</h4>
1084<pre>public abstract&nbsp;void&nbsp;defaultSerializeDateValue(long&nbsp;timestamp,
1085                             <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen)
1086                                        throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1087                                               <a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></pre>
1088<div class="block">Method that will handle serialization of Date(-like) values, using
1089 <a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map"><code>SerializationConfig</code></a> settings to determine expected serialization
1090 behavior.
1091 Note: date here means "full" date, that is, date AND time, as per
1092 Java convention (and not date-only values like in SQL)</div>
1093<dl><dt><span class="strong">Throws:</span></dt>
1094<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1095<dd><code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></code></dd></dl>
1096</li>
1097</ul>
1098<a name="defaultSerializeDateValue(java.util.Date, org.codehaus.jackson.JsonGenerator)">
1099<!--   -->
1100</a>
1101<ul class="blockList">
1102<li class="blockList">
1103<h4>defaultSerializeDateValue</h4>
1104<pre>public abstract&nbsp;void&nbsp;defaultSerializeDateValue(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a>&nbsp;date,
1105                             <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen)
1106                                        throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1107                                               <a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></pre>
1108<div class="block">Method that will handle serialization of Date(-like) values, using
1109 <a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map"><code>SerializationConfig</code></a> settings to determine expected serialization
1110 behavior.
1111 Note: date here means "full" date, that is, date AND time, as per
1112 Java convention (and not date-only values like in SQL)</div>
1113<dl><dt><span class="strong">Throws:</span></dt>
1114<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1115<dd><code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></code></dd></dl>
1116</li>
1117</ul>
1118<a name="defaultSerializeDateKey(long, org.codehaus.jackson.JsonGenerator)">
1119<!--   -->
1120</a>
1121<ul class="blockList">
1122<li class="blockList">
1123<h4>defaultSerializeDateKey</h4>
1124<pre>public abstract&nbsp;void&nbsp;defaultSerializeDateKey(long&nbsp;timestamp,
1125                           <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen)
1126                                      throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1127                                             <a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></pre>
1128<div class="block">Method that will handle serialization of Dates used as <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> keys,
1129 based on <a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><code>SerializationConfig.Feature.WRITE_DATE_KEYS_AS_TIMESTAMPS</code></a>
1130 value (and if using textual representation, configured date format)</div>
1131<dl><dt><span class="strong">Throws:</span></dt>
1132<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1133<dd><code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></code></dd><dt><span class="strong">Since:</span></dt>
1134  <dd>1.9</dd></dl>
1135</li>
1136</ul>
1137<a name="defaultSerializeDateKey(java.util.Date, org.codehaus.jackson.JsonGenerator)">
1138<!--   -->
1139</a>
1140<ul class="blockList">
1141<li class="blockList">
1142<h4>defaultSerializeDateKey</h4>
1143<pre>public abstract&nbsp;void&nbsp;defaultSerializeDateKey(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a>&nbsp;date,
1144                           <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen)
1145                                      throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1146                                             <a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></pre>
1147<div class="block">Method that will handle serialization of Dates used as <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> keys,
1148 based on <a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><code>SerializationConfig.Feature.WRITE_DATE_KEYS_AS_TIMESTAMPS</code></a>
1149 value (and if using textual representation, configured date format)</div>
1150<dl><dt><span class="strong">Throws:</span></dt>
1151<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1152<dd><code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></code></dd><dt><span class="strong">Since:</span></dt>
1153  <dd>1.9</dd></dl>
1154</li>
1155</ul>
1156<a name="defaultSerializeNull(org.codehaus.jackson.JsonGenerator)">
1157<!--   -->
1158</a>
1159<ul class="blockList">
1160<li class="blockList">
1161<h4>defaultSerializeNull</h4>
1162<pre>public final&nbsp;void&nbsp;defaultSerializeNull(<a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson">JsonGenerator</a>&nbsp;jgen)
1163                                throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1164                                       <a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></pre>
1165<dl><dt><span class="strong">Throws:</span></dt>
1166<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1167<dd><code><a href="../../../../org/codehaus/jackson/JsonProcessingException.html" title="class in org.codehaus.jackson">JsonProcessingException</a></code></dd><dt><span class="strong">Since:</span></dt>
1168  <dd>1.7</dd></dl>
1169</li>
1170</ul>
1171<a name="cachedSerializersCount()">
1172<!--   -->
1173</a>
1174<ul class="blockList">
1175<li class="blockList">
1176<h4>cachedSerializersCount</h4>
1177<pre>public abstract&nbsp;int&nbsp;cachedSerializersCount()</pre>
1178<div class="block">Method that can be used to determine how many serializers this
1179 provider is caching currently
1180 (if it does caching: default implementation does)
1181 Exact count depends on what kind of serializers get cached;
1182 default implementation caches all serializers, including ones that
1183 are eagerly constructed (for optimal access speed)
1184<p>
1185 The main use case for this method is to allow conditional flushing of
1186 serializer cache, if certain number of entries is reached.</div>
1187<dl><dt><span class="strong">Since:</span></dt>
1188  <dd>1.4</dd></dl>
1189</li>
1190</ul>
1191<a name="flushCachedSerializers()">
1192<!--   -->
1193</a>
1194<ul class="blockListLast">
1195<li class="blockList">
1196<h4>flushCachedSerializers</h4>
1197<pre>public abstract&nbsp;void&nbsp;flushCachedSerializers()</pre>
1198<div class="block">Method that will drop all serializers currently cached by this provider.
1199 This can be used to remove memory usage (in case some serializers are
1200 only used once or so), or to force re-construction of serializers after
1201 configuration changes for mapper than owns the provider.</div>
1202<dl><dt><span class="strong">Since:</span></dt>
1203  <dd>1.4</dd></dl>
1204</li>
1205</ul>
1206</li>
1207</ul>
1208</li>
1209</ul>
1210</div>
1211</div>
1212<!-- ========= END OF CLASS DATA ========= -->
1213<!-- ======= START OF BOTTOM NAVBAR ====== -->
1214<div class="bottomNav"><a name="navbar_bottom">
1215<!--   -->
1216</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
1217<!--   -->
1218</a>
1219<ul class="navList" title="Navigation">
1220<li><a href="../../../../overview-summary.html">Overview</a></li>
1221<li><a href="package-summary.html">Package</a></li>
1222<li class="navBarCell1Rev">Class</li>
1223<li><a href="class-use/SerializerProvider.html">Use</a></li>
1224<li><a href="package-tree.html">Tree</a></li>
1225<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
1226<li><a href="../../../../index-all.html">Index</a></li>
1227<li><a href="../../../../help-doc.html">Help</a></li>
1228</ul>
1229</div>
1230<div class="subNav">
1231<ul class="navList">
1232<li><a href="../../../../org/codehaus/jackson/map/SerializerFactory.Config.html" title="class in org.codehaus.jackson.map"><span class="strong">Prev Class</span></a></li>
1233<li><a href="../../../../org/codehaus/jackson/map/Serializers.html" title="interface in org.codehaus.jackson.map"><span class="strong">Next Class</span></a></li>
1234</ul>
1235<ul class="navList">
1236<li><a href="../../../../index.html?org/codehaus/jackson/map/SerializerProvider.html" target="_top">Frames</a></li>
1237<li><a href="SerializerProvider.html" target="_top">No Frames</a></li>
1238</ul>
1239<ul class="navList" id="allclasses_navbar_bottom">
1240<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
1241</ul>
1242<div>
1243<script type="text/javascript"><!--
1244  allClassesLink = document.getElementById("allclasses_navbar_bottom");
1245  if(window==top) {
1246    allClassesLink.style.display = "block";
1247  }
1248  else {
1249    allClassesLink.style.display = "none";
1250  }
1251  //-->
1252</script>
1253</div>
1254<div>
1255<ul class="subNavList">
1256<li>Summary:&nbsp;</li>
1257<li>Nested&nbsp;|&nbsp;</li>
1258<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
1259<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
1260<li><a href="#method_summary">Method</a></li>
1261</ul>
1262<ul class="subNavList">
1263<li>Detail:&nbsp;</li>
1264<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
1265<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
1266<li><a href="#method_detail">Method</a></li>
1267</ul>
1268</div>
1269<a name="skip-navbar_bottom">
1270<!--   -->
1271</a></div>
1272<!-- ======== END OF BOTTOM NAVBAR ======= -->
1273</body>
1274</html>
1275