1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (version 1.7.0_10-ea) on Mon Apr 22 19:50:41 PDT 2013 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>DefaultSerializerProvider (jackson-databind 2.2.0 API)</title>
8<meta name="date" content="2013-04-22">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10</head>
11<body>
12<script type="text/javascript"><!--
13    if (location.href.indexOf('is-external=true') == -1) {
14        parent.document.title="DefaultSerializerProvider (jackson-databind 2.2.0 API)";
15    }
16//-->
17</script>
18<noscript>
19<div>JavaScript is disabled on your browser.</div>
20</noscript>
21<!-- ========= START OF TOP NAVBAR ======= -->
22<div class="topNav"><a name="navbar_top">
23<!--   -->
24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
25<!--   -->
26</a>
27<ul class="navList" title="Navigation">
28<li><a href="../../../../../overview-summary.html">Overview</a></li>
29<li><a href="package-summary.html">Package</a></li>
30<li class="navBarCell1Rev">Class</li>
31<li><a href="class-use/DefaultSerializerProvider.html">Use</a></li>
32<li><a href="package-tree.html">Tree</a></li>
33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
34<li><a href="../../../../../index-all.html">Index</a></li>
35<li><a href="../../../../../help-doc.html">Help</a></li>
36</ul>
37</div>
38<div class="subNav">
39<ul class="navList">
40<li><a href="../../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><span class="strong">Prev Class</span></a></li>
41<li><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Next Class</span></a></li>
42</ul>
43<ul class="navList">
44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" target="_top">Frames</a></li>
45<li><a href="DefaultSerializerProvider.html" target="_top">No Frames</a></li>
46</ul>
47<ul class="navList" id="allclasses_navbar_top">
48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
49</ul>
50<div>
51<script type="text/javascript"><!--
52  allClassesLink = document.getElementById("allclasses_navbar_top");
53  if(window==top) {
54    allClassesLink.style.display = "block";
55  }
56  else {
57    allClassesLink.style.display = "none";
58  }
59  //-->
60</script>
61</div>
62<div>
63<ul class="subNavList">
64<li>Summary:&nbsp;</li>
65<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
66<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
67<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
68<li><a href="#method_summary">Method</a></li>
69</ul>
70<ul class="subNavList">
71<li>Detail:&nbsp;</li>
72<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
73<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
74<li><a href="#method_detail">Method</a></li>
75</ul>
76</div>
77<a name="skip-navbar_top">
78<!--   -->
79</a></div>
80<!-- ========= END OF TOP NAVBAR ========= -->
81<!-- ======== START OF CLASS DATA ======== -->
82<div class="header">
83<div class="subTitle">com.fasterxml.jackson.databind.ser</div>
84<h2 title="Class DefaultSerializerProvider" class="title">Class DefaultSerializerProvider</h2>
85</div>
86<div class="contentContainer">
87<ul class="inheritance">
88<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
89<li>
90<ul class="inheritance">
91<li><a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.DatabindContext</a></li>
92<li>
93<ul class="inheritance">
94<li><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.SerializerProvider</a></li>
95<li>
96<ul class="inheritance">
97<li>com.fasterxml.jackson.databind.ser.DefaultSerializerProvider</li>
98</ul>
99</li>
100</ul>
101</li>
102</ul>
103</li>
104</ul>
105<div class="description">
106<ul class="blockList">
107<li class="blockList">
108<dl>
109<dt>All Implemented Interfaces:</dt>
110<dd><a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
111</dl>
112<dl>
113<dt>Direct Known Subclasses:</dt>
114<dd><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider.Impl</a></dd>
115</dl>
116<hr>
117<br>
118<pre>public abstract class <span class="strong">DefaultSerializerProvider</span>
119extends <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>
120implements <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre>
121<div class="block">Standard implementation used by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>:
122 adds methods only exposed to <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>,
123 as well as constructors.
124<p>
125 Note that class is abstract just because it does not
126 define <a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#createInstance(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)"><code>createInstance(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)</code></a> method.
127<p>
128 Also note that all custom <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a>
129 implementations must sub-class this class: <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>
130 requires this type, not basic provider type.</div>
131<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.ser.DefaultSerializerProvider">Serialized Form</a></dd></dl>
132</li>
133</ul>
134</div>
135<div class="summary">
136<ul class="blockList">
137<li class="blockList">
138<!-- ======== NESTED CLASS SUMMARY ======== -->
139<ul class="blockList">
140<li class="blockList"><a name="nested_class_summary">
141<!--   -->
142</a>
143<h3>Nested Class Summary</h3>
144<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
145<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
146<tr>
147<th class="colFirst" scope="col">Modifier and Type</th>
148<th class="colLast" scope="col">Class and Description</th>
149</tr>
150<tr class="altColor">
151<td class="colFirst"><code>static class&nbsp;</code></td>
152<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider.Impl</a></strong></code>
153<div class="block">Concrete implementation that defines factory method(s),
154 defined as final.</div>
155</td>
156</tr>
157</table>
158</li>
159</ul>
160<!-- =========== FIELD SUMMARY =========== -->
161<ul class="blockList">
162<li class="blockList"><a name="field_summary">
163<!--   -->
164</a>
165<h3>Field Summary</h3>
166<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
167<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
168<tr>
169<th class="colFirst" scope="col">Modifier and Type</th>
170<th class="colLast" scope="col">Field and Description</th>
171</tr>
172<tr class="altColor">
173<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.1.1/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</a>&lt;?&gt;&gt;</code></td>
174<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#_objectIdGenerators">_objectIdGenerators</a></strong></code>&nbsp;</td>
175</tr>
176<tr class="rowColor">
177<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true" title="class or interface in java.util">IdentityHashMap</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>,<a href="../../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</a>&gt;</code></td>
178<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#_seenObjectIds">_seenObjectIds</a></strong></code>
179<div class="block">Per-serialization map Object Ids that have seen so far, iff
180 Object Id handling is enabled.</div>
181</td>
182</tr>
183</table>
184<ul class="blockList">
185<li class="blockList"><a name="fields_inherited_from_class_com.fasterxml.jackson.databind.SerializerProvider">
186<!--   -->
187</a>
188<h3>Fields inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></h3>
189<code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_config">_config</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_dateFormat">_dateFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_keySerializer">_keySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_knownSerializers">_knownSerializers</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_nullKeySerializer">_nullKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_nullValueSerializer">_nullValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_rootNames">_rootNames</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_serializationView">_serializationView</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_serializerCache">_serializerCache</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_serializerFactory">_serializerFactory</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_unknownTypeSerializer">_unknownTypeSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#CACHE_UNKNOWN_MAPPINGS">CACHE_UNKNOWN_MAPPINGS</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#DEFAULT_NULL_KEY_SERIALIZER">DEFAULT_NULL_KEY_SERIALIZER</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#DEFAULT_UNKNOWN_SERIALIZER">DEFAULT_UNKNOWN_SERIALIZER</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#TYPE_OBJECT">TYPE_OBJECT</a></code></li>
190</ul>
191</li>
192</ul>
193<!-- ======== CONSTRUCTOR SUMMARY ======== -->
194<ul class="blockList">
195<li class="blockList"><a name="constructor_summary">
196<!--   -->
197</a>
198<h3>Constructor Summary</h3>
199<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
200<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
201<tr>
202<th class="colFirst" scope="col">Modifier</th>
203<th class="colLast" scope="col">Constructor and Description</th>
204</tr>
205<tr class="altColor">
206<td class="colFirst"><code>protected </code></td>
207<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#DefaultSerializerProvider()">DefaultSerializerProvider</a></strong>()</code>&nbsp;</td>
208</tr>
209<tr class="rowColor">
210<td class="colFirst"><code>protected </code></td>
211<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#DefaultSerializerProvider(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)">DefaultSerializerProvider</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;src,
212                         <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
213                         <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a>&nbsp;f)</code>&nbsp;</td>
214</tr>
215</table>
216</li>
217</ul>
218<!-- ========== METHOD SUMMARY =========== -->
219<ul class="blockList">
220<li class="blockList"><a name="method_summary">
221<!--   -->
222</a>
223<h3>Method Summary</h3>
224<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
225<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
226<tr>
227<th class="colFirst" scope="col">Modifier and Type</th>
228<th class="colLast" scope="col">Method and Description</th>
229</tr>
230<tr class="altColor">
231<td class="colFirst"><code>void</code></td>
232<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#acceptJsonFormatVisitor(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper)">acceptJsonFormatVisitor</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;javaType,
233                       <a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a>&nbsp;visitor)</code>
234<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>
235 to to expose the format of the given to to the given visitor</div>
236</td>
237</tr>
238<tr class="rowColor">
239<td class="colFirst"><code>int</code></td>
240<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#cachedSerializersCount()">cachedSerializersCount</a></strong>()</code>
241<div class="block">Method that can be used to determine how many serializers this
242 provider is caching currently
243 (if it does caching: default implementation does)
244 Exact count depends on what kind of serializers get cached;
245 default implementation caches all serializers, including ones that
246 are eagerly constructed (for optimal access speed)</div>
247</td>
248</tr>
249<tr class="altColor">
250<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a></code></td>
251<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#createInstance(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)">createInstance</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
252              <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a>&nbsp;jsf)</code>
253<div class="block">Overridable method, used to create a non-blueprint instances from the blueprint.</div>
254</td>
255</tr>
256<tr class="rowColor">
257<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</a></code></td>
258<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#findObjectId(java.lang.Object, com.fasterxml.jackson.annotation.ObjectIdGenerator)">findObjectId</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;forPojo,
259            <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.1.1/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</a>&lt;?&gt;&nbsp;generatorType)</code>
260<div class="block">Method called to find the Object Id for given POJO, if one
261 has been generated.</div>
262</td>
263</tr>
264<tr class="altColor">
265<td class="colFirst"><code>void</code></td>
266<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#flushCachedSerializers()">flushCachedSerializers</a></strong>()</code>
267<div class="block">Method that will drop all serializers currently cached by this provider.</div>
268</td>
269</tr>
270<tr class="rowColor">
271<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/jsonschema/JsonSchema.html" title="class in com.fasterxml.jackson.databind.jsonschema">JsonSchema</a></code></td>
272<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#generateJsonSchema(java.lang.Class)">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)</code>
273<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>
274 to generate <a href="http://json-schema.org/">JSON schema</a> for
275 given type.</div>
276</td>
277</tr>
278<tr class="altColor">
279<td class="colFirst"><code>boolean</code></td>
280<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#hasSerializerFor(java.lang.Class)">hasSerializerFor</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;cls)</code>
281<div class="block">Method that can be called to see if this serializer provider
282 can find a serializer for an instance of given class.</div>
283</td>
284</tr>
285<tr class="rowColor">
286<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;</code></td>
287<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated, java.lang.Object)">serializerInstance</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a>&nbsp;annotated,
288                  <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;serDef)</code>
289<div class="block">Method that can be called to construct and configure serializer instance,
290 either given a <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> to instantiate (with default constructor),
291 or an uninitialized serializer instance.</div>
292</td>
293</tr>
294<tr class="altColor">
295<td class="colFirst"><code>void</code></td>
296<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object)">serializeValue</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
297              <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)</code>
298<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>
299 for serializing given value, using serializers that
300 this provider has access to (via caching and/or creating new serializers
301 as need be).</div>
302</td>
303</tr>
304<tr class="rowColor">
305<td class="colFirst"><code>void</code></td>
306<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object, com.fasterxml.jackson.databind.JavaType)">serializeValue</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
307              <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,
308              <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType)</code>
309<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>
310 for serializing given value (assumed to be of specified root type,
311 instead of runtime type of value),
312 using serializers that
313 this provider has access to (via caching and/or creating new serializers
314 as need be),</div>
315</td>
316</tr>
317<tr class="altColor">
318<td class="colFirst"><code>void</code></td>
319<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JsonSerializer)">serializeValue</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
320              <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,
321              <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType,
322              <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser)</code>
323<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>
324 for serializing given value (assumed to be of specified root type,
325 instead of runtime type of value), when it may know specific
326 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> to use.</div>
327</td>
328</tr>
329</table>
330<ul class="blockList">
331<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.SerializerProvider">
332<!--   -->
333</a>
334<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></h3>
335<code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_createAndCacheUntypedSerializer(java.lang.Class)">_createAndCacheUntypedSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_createAndCacheUntypedSerializer(com.fasterxml.jackson.databind.JavaType)">_createAndCacheUntypedSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_createUntypedSerializer(com.fasterxml.jackson.databind.JavaType)">_createUntypedSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_dateFormat()">_dateFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_findExplicitUntypedSerializer(java.lang.Class)">_findExplicitUntypedSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_handleContextual(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)">_handleContextual</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_handleContextualResolvable(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)">_handleContextualResolvable</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_handleResolvable(com.fasterxml.jackson.databind.JsonSerializer)">_handleResolvable</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_reportIncompatibleRootType(java.lang.Object, com.fasterxml.jackson.databind.JavaType)">_reportIncompatibleRootType</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateKey(java.util.Date, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateKey</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateKey(long, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateKey</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateValue(java.util.Date, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateValue(long, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeField(java.lang.String, java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeField</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeNull(com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeValue(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findKeySerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">findKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findNullKeySerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">findNullKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findNullValueSerializer(com.fasterxml.jackson.databind.BeanProperty)">findNullValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypedValueSerializer(java.lang.Class, boolean, com.fasterxml.jackson.databind.BeanProperty)">findTypedValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypedValueSerializer(com.fasterxml.jackson.databind.JavaType, boolean, com.fasterxml.jackson.databind.BeanProperty)">findTypedValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)">findValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">findValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getActiveView()">getActiveView</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getAnnotationIntrospector()">getAnnotationIntrospector</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getConfig()">getConfig</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultNullKeySerializer()">getDefaultNullKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultNullValueSerializer()">getDefaultNullValueSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getFilterProvider()">getFilterProvider</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getLocale()">getLocale</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getSerializationView()">getSerializationView</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getTimeZone()">getTimeZone</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getTypeFactory()">getTypeFactory</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getUnknownTypeSerializer(java.lang.Class)">getUnknownTypeSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#isEnabled(com.fasterxml.jackson.databind.SerializationFeature)">isEnabled</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setDefaultKeySerializer(com.fasterxml.jackson.databind.JsonSerializer)">setDefaultKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setNullKeySerializer(com.fasterxml.jackson.databind.JsonSerializer)">setNullKeySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setNullValueSerializer(com.fasterxml.jackson.databind.JsonSerializer)">setNullValueSerializer</a></code></li>
336</ul>
337<ul class="blockList">
338<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.DatabindContext">
339<!--   -->
340</a>
341<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></h3>
342<code><a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#canOverrideAccessModifiers()">canOverrideAccessModifiers</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#constructSpecializedType(com.fasterxml.jackson.databind.JavaType, java.lang.Class)">constructSpecializedType</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#constructType(java.lang.reflect.Type)">constructType</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#converterInstance(com.fasterxml.jackson.databind.introspect.Annotated, java.lang.Object)">converterInstance</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#isEnabled(com.fasterxml.jackson.databind.MapperFeature)">isEnabled</a>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#objectIdGeneratorInstance(com.fasterxml.jackson.databind.introspect.Annotated, com.fasterxml.jackson.databind.introspect.ObjectIdInfo)">objectIdGeneratorInstance</a></code></li>
343</ul>
344<ul class="blockList">
345<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
346<!--   -->
347</a>
348<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>
349<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>
350</ul>
351</li>
352</ul>
353</li>
354</ul>
355</div>
356<div class="details">
357<ul class="blockList">
358<li class="blockList">
359<!-- ============ FIELD DETAIL =========== -->
360<ul class="blockList">
361<li class="blockList"><a name="field_detail">
362<!--   -->
363</a>
364<h3>Field Detail</h3>
365<a name="_seenObjectIds">
366<!--   -->
367</a>
368<ul class="blockList">
369<li class="blockList">
370<h4>_seenObjectIds</h4>
371<pre>protected transient&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true" title="class or interface in java.util">IdentityHashMap</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>,<a href="../../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</a>&gt; _seenObjectIds</pre>
372<div class="block">Per-serialization map Object Ids that have seen so far, iff
373 Object Id handling is enabled.</div>
374</li>
375</ul>
376<a name="_objectIdGenerators">
377<!--   -->
378</a>
379<ul class="blockListLast">
380<li class="blockList">
381<h4>_objectIdGenerators</h4>
382<pre>protected transient&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.1.1/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</a>&lt;?&gt;&gt; _objectIdGenerators</pre>
383</li>
384</ul>
385</li>
386</ul>
387<!-- ========= CONSTRUCTOR DETAIL ======== -->
388<ul class="blockList">
389<li class="blockList"><a name="constructor_detail">
390<!--   -->
391</a>
392<h3>Constructor Detail</h3>
393<a name="DefaultSerializerProvider()">
394<!--   -->
395</a>
396<ul class="blockList">
397<li class="blockList">
398<h4>DefaultSerializerProvider</h4>
399<pre>protected&nbsp;DefaultSerializerProvider()</pre>
400</li>
401</ul>
402<a name="DefaultSerializerProvider(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)">
403<!--   -->
404</a>
405<ul class="blockListLast">
406<li class="blockList">
407<h4>DefaultSerializerProvider</h4>
408<pre>protected&nbsp;DefaultSerializerProvider(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;src,
409                         <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
410                         <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a>&nbsp;f)</pre>
411</li>
412</ul>
413</li>
414</ul>
415<!-- ============ METHOD DETAIL ========== -->
416<ul class="blockList">
417<li class="blockList"><a name="method_detail">
418<!--   -->
419</a>
420<h3>Method Detail</h3>
421<a name="createInstance(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)">
422<!--   -->
423</a>
424<ul class="blockList">
425<li class="blockList">
426<h4>createInstance</h4>
427<pre>public abstract&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a>&nbsp;createInstance(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
428                                       <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a>&nbsp;jsf)</pre>
429<div class="block">Overridable method, used to create a non-blueprint instances from the blueprint.
430 This is needed to retain state during serialization.</div>
431</li>
432</ul>
433<a name="serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object)">
434<!--   -->
435</a>
436<ul class="blockList">
437<li class="blockList">
438<h4>serializeValue</h4>
439<pre>public&nbsp;void&nbsp;serializeValue(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
440                  <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)
441                    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>,
442                           <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></pre>
443<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>
444 for serializing given value, using serializers that
445 this provider has access to (via caching and/or creating new serializers
446 as need be).</div>
447<dl><dt><span class="strong">Throws:</span></dt>
448<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>
449<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></code></dd></dl>
450</li>
451</ul>
452<a name="serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object, com.fasterxml.jackson.databind.JavaType)">
453<!--   -->
454</a>
455<ul class="blockList">
456<li class="blockList">
457<h4>serializeValue</h4>
458<pre>public&nbsp;void&nbsp;serializeValue(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
459                  <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,
460                  <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType)
461                    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>,
462                           <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></pre>
463<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>
464 for serializing given value (assumed to be of specified root type,
465 instead of runtime type of value),
466 using serializers that
467 this provider has access to (via caching and/or creating new serializers
468 as need be),</div>
469<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rootType</code> - Type to use for locating serializer to use, instead of actual
470    runtime type. Must be actual type, or one of its super types</dd>
471<dt><span class="strong">Throws:</span></dt>
472<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>
473<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></code></dd></dl>
474</li>
475</ul>
476<a name="serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JsonSerializer)">
477<!--   -->
478</a>
479<ul class="blockList">
480<li class="blockList">
481<h4>serializeValue</h4>
482<pre>public&nbsp;void&nbsp;serializeValue(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
483                  <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,
484                  <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType,
485                  <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;ser)
486                    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>,
487                           <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></pre>
488<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>
489 for serializing given value (assumed to be of specified root type,
490 instead of runtime type of value), when it may know specific
491 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> to use.</div>
492<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rootType</code> - Type to use for locating serializer to use, instead of actual
493    runtime type, if no serializer is passed</dd><dd><code>ser</code> - Root Serializer to use, if not null</dd>
494<dt><span class="strong">Throws:</span></dt>
495<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>
496<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></code></dd><dt><span class="strong">Since:</span></dt>
497  <dd>2.1</dd></dl>
498</li>
499</ul>
500<a name="generateJsonSchema(java.lang.Class)">
501<!--   -->
502</a>
503<ul class="blockList">
504<li class="blockList">
505<h4>generateJsonSchema</h4>
506<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/jsonschema/JsonSchema.html" title="class in com.fasterxml.jackson.databind.jsonschema">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)
507                              throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
508<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>
509 to generate <a href="http://json-schema.org/">JSON schema</a> for
510 given type.</div>
511<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The type for which to generate schema</dd>
512<dt><span class="strong">Throws:</span></dt>
513<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl>
514</li>
515</ul>
516<a name="acceptJsonFormatVisitor(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper)">
517<!--   -->
518</a>
519<ul class="blockList">
520<li class="blockList">
521<h4>acceptJsonFormatVisitor</h4>
522<pre>public&nbsp;void&nbsp;acceptJsonFormatVisitor(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;javaType,
523                           <a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a>&nbsp;visitor)
524                             throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
525<div class="block">The method to be called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>
526 to to expose the format of the given to to the given visitor</div>
527<dl><dt><span class="strong">Parameters:</span></dt><dd><code>javaType</code> - The type for which to generate format</dd><dd><code>visitor</code> - the visitor to accept the format</dd>
528<dt><span class="strong">Throws:</span></dt>
529<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl>
530</li>
531</ul>
532<a name="hasSerializerFor(java.lang.Class)">
533<!--   -->
534</a>
535<ul class="blockList">
536<li class="blockList">
537<h4>hasSerializerFor</h4>
538<pre>public&nbsp;boolean&nbsp;hasSerializerFor(<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)</pre>
539<div class="block">Method that can be called to see if this serializer provider
540 can find a serializer for an instance of given class.
541<p>
542 Note that no Exceptions are thrown, including unchecked ones:
543 implementations are to swallow exceptions if necessary.</div>
544</li>
545</ul>
546<a name="cachedSerializersCount()">
547<!--   -->
548</a>
549<ul class="blockList">
550<li class="blockList">
551<h4>cachedSerializersCount</h4>
552<pre>public&nbsp;int&nbsp;cachedSerializersCount()</pre>
553<div class="block">Method that can be used to determine how many serializers this
554 provider is caching currently
555 (if it does caching: default implementation does)
556 Exact count depends on what kind of serializers get cached;
557 default implementation caches all serializers, including ones that
558 are eagerly constructed (for optimal access speed)
559<p>
560 The main use case for this method is to allow conditional flushing of
561 serializer cache, if certain number of entries is reached.</div>
562</li>
563</ul>
564<a name="flushCachedSerializers()">
565<!--   -->
566</a>
567<ul class="blockList">
568<li class="blockList">
569<h4>flushCachedSerializers</h4>
570<pre>public&nbsp;void&nbsp;flushCachedSerializers()</pre>
571<div class="block">Method that will drop all serializers currently cached by this provider.
572 This can be used to remove memory usage (in case some serializers are
573 only used once or so), or to force re-construction of serializers after
574 configuration changes for mapper than owns the provider.</div>
575</li>
576</ul>
577<a name="findObjectId(java.lang.Object, com.fasterxml.jackson.annotation.ObjectIdGenerator)">
578<!--   -->
579</a>
580<ul class="blockList">
581<li class="blockList">
582<h4>findObjectId</h4>
583<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</a>&nbsp;findObjectId(<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;forPojo,
584                            <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.1.1/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</a>&lt;?&gt;&nbsp;generatorType)</pre>
585<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findObjectId(java.lang.Object, com.fasterxml.jackson.annotation.ObjectIdGenerator)">SerializerProvider</a></code></strong></div>
586<div class="block">Method called to find the Object Id for given POJO, if one
587 has been generated. Will always return a non-null Object;
588 contents vary depending on whether an Object Id already
589 exists or not.</div>
590<dl>
591<dt><strong>Specified by:</strong></dt>
592<dd><code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findObjectId(java.lang.Object, com.fasterxml.jackson.annotation.ObjectIdGenerator)">findObjectId</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></code></dd>
593</dl>
594</li>
595</ul>
596<a name="serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated, java.lang.Object)">
597<!--   -->
598</a>
599<ul class="blockListLast">
600<li class="blockList">
601<h4>serializerInstance</h4>
602<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;serializerInstance(<a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a>&nbsp;annotated,
603                                        <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;serDef)
604                                          throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
605<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated, java.lang.Object)">SerializerProvider</a></code></strong></div>
606<div class="block">Method that can be called to construct and configure serializer instance,
607 either given a <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> to instantiate (with default constructor),
608 or an uninitialized serializer instance.
609 Either way, serialize will be properly resolved
610 (via <a href="../../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><code>ResolvableSerializer</code></a>) and/or contextualized
611 (via <a href="../../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><code>ContextualSerializer</code></a>) as necessary.</div>
612<dl>
613<dt><strong>Specified by:</strong></dt>
614<dd><code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated, java.lang.Object)">serializerInstance</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></code></dd>
615<dt><span class="strong">Parameters:</span></dt><dd><code>annotated</code> - Annotated entity that contained definition</dd><dd><code>serDef</code> - Serializer definition: either an instance or class</dd>
616<dt><span class="strong">Throws:</span></dt>
617<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl>
618</li>
619</ul>
620</li>
621</ul>
622</li>
623</ul>
624</div>
625</div>
626<!-- ========= END OF CLASS DATA ========= -->
627<!-- ======= START OF BOTTOM NAVBAR ====== -->
628<div class="bottomNav"><a name="navbar_bottom">
629<!--   -->
630</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
631<!--   -->
632</a>
633<ul class="navList" title="Navigation">
634<li><a href="../../../../../overview-summary.html">Overview</a></li>
635<li><a href="package-summary.html">Package</a></li>
636<li class="navBarCell1Rev">Class</li>
637<li><a href="class-use/DefaultSerializerProvider.html">Use</a></li>
638<li><a href="package-tree.html">Tree</a></li>
639<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
640<li><a href="../../../../../index-all.html">Index</a></li>
641<li><a href="../../../../../help-doc.html">Help</a></li>
642</ul>
643</div>
644<div class="subNav">
645<ul class="navList">
646<li><a href="../../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><span class="strong">Prev Class</span></a></li>
647<li><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Next Class</span></a></li>
648</ul>
649<ul class="navList">
650<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" target="_top">Frames</a></li>
651<li><a href="DefaultSerializerProvider.html" target="_top">No Frames</a></li>
652</ul>
653<ul class="navList" id="allclasses_navbar_bottom">
654<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
655</ul>
656<div>
657<script type="text/javascript"><!--
658  allClassesLink = document.getElementById("allclasses_navbar_bottom");
659  if(window==top) {
660    allClassesLink.style.display = "block";
661  }
662  else {
663    allClassesLink.style.display = "none";
664  }
665  //-->
666</script>
667</div>
668<div>
669<ul class="subNavList">
670<li>Summary:&nbsp;</li>
671<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
672<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
673<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
674<li><a href="#method_summary">Method</a></li>
675</ul>
676<ul class="subNavList">
677<li>Detail:&nbsp;</li>
678<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
679<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
680<li><a href="#method_detail">Method</a></li>
681</ul>
682</div>
683<a name="skip-navbar_bottom">
684<!--   -->
685</a></div>
686<!-- ======== END OF BOTTOM NAVBAR ======= -->
687<p class="legalCopy"><small>Copyright &#169; 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
688</body>
689</html>
690