• 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_25) on Mon Jun 02 17:48:57 PDT 2014 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>DefaultSerializerProvider (jackson-databind 2.4.0 API)</title>
8<meta name="date" content="2014-06-02">
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.4.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.4/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/Map.html?is-external=true" title="class or interface in java.util">Map</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#_attributes">_attributes</a>, <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#_stdNullValueSerializer">_stdNullValueSerializer</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>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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>
232<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#_createObjectIdMap()">_createObjectIdMap</a></strong>()</code>
233<div class="block">Overridable helper method used for creating <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>
234 used for storing mappings from serializable objects to their
235 Object Ids.</div>
236</td>
237</tr>
238<tr class="rowColor">
239<td class="colFirst"><code>protected void</code></td>
240<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#_serializeNull(com.fasterxml.jackson.core.JsonGenerator)">_serializeNull</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen)</code>
241<div class="block">Helper method called when root value to serialize is null</div>
242</td>
243</tr>
244<tr class="altColor">
245<td class="colFirst"><code>void</code></td>
246<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,
247                       <a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a>&nbsp;visitor)</code>
248<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>
249 to to expose the format of the given to to the given visitor</div>
250</td>
251</tr>
252<tr class="rowColor">
253<td class="colFirst"><code>int</code></td>
254<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#cachedSerializersCount()">cachedSerializersCount</a></strong>()</code>
255<div class="block">Method that can be used to determine how many serializers this
256 provider is caching currently
257 (if it does caching: default implementation does)
258 Exact count depends on what kind of serializers get cached;
259 default implementation caches all serializers, including ones that
260 are eagerly constructed (for optimal access speed)</div>
261</td>
262</tr>
263<tr class="altColor">
264<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>
265<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,
266              <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a>&nbsp;jsf)</code>
267<div class="block">Overridable method, used to create a non-blueprint instances from the blueprint.</div>
268</td>
269</tr>
270<tr class="rowColor">
271<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>
272<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,
273            <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.4/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>
274<div class="block">Method called to find the Object Id for given POJO, if one
275 has been generated.</div>
276</td>
277</tr>
278<tr class="altColor">
279<td class="colFirst"><code>void</code></td>
280<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#flushCachedSerializers()">flushCachedSerializers</a></strong>()</code>
281<div class="block">Method that will drop all serializers currently cached by this provider.</div>
282</td>
283</tr>
284<tr class="rowColor">
285<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>
286<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>
287<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>
288 to generate <a href="http://json-schema.org/">JSON schema</a> for
289 given type.</div>
290</td>
291</tr>
292<tr class="altColor">
293<td class="colFirst"><code>boolean</code></td>
294<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>
295<div class="block"><strong>Deprecated.</strong>&nbsp;</div>
296</td>
297</tr>
298<tr class="rowColor">
299<td class="colFirst"><code>boolean</code></td>
300<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#hasSerializerFor(java.lang.Class, java.util.concurrent.atomic.AtomicReference)">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,
301                <a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&gt;&nbsp;cause)</code>
302<div class="block">Method that can be called to see if this serializer provider
303 can find a serializer for an instance of given class.</div>
304</td>
305</tr>
306<tr class="altColor">
307<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>
308<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,
309                  <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>
310<div class="block">Method that can be called to construct and configure serializer instance,
311 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),
312 or an uninitialized serializer instance.</div>
313</td>
314</tr>
315<tr class="rowColor">
316<td class="colFirst"><code>void</code></td>
317<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.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
318              <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>
319<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>
320 for serializing given value, using serializers that
321 this provider has access to (via caching and/or creating new serializers
322 as need be).</div>
323</td>
324</tr>
325<tr class="altColor">
326<td class="colFirst"><code>void</code></td>
327<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.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
328              <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,
329              <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType)</code>
330<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>
331 for serializing given value (assumed to be of specified root type,
332 instead of runtime type of value),
333 using serializers that
334 this provider has access to (via caching and/or creating new serializers
335 as need be),</div>
336</td>
337</tr>
338<tr class="rowColor">
339<td class="colFirst"><code>void</code></td>
340<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.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
341              <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,
342              <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType,
343              <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>
344<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>
345 for serializing given value (assumed to be of specified root type,
346 instead of runtime type of value), when it may know specific
347 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> to use.</div>
348</td>
349</tr>
350</table>
351<ul class="blockList">
352<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.SerializerProvider">
353<!--   -->
354</a>
355<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>
356<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#_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#findPrimaryPropertySerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)">findPrimaryPropertySerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findPrimaryPropertySerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">findPrimaryPropertySerializer</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#getAttribute(java.lang.Object)">getAttribute</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#handleContextualization(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)">handleContextualization</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#handlePrimaryContextualization(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)">handlePrimaryContextualization</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#handleSecondaryContextualization(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)">handleSecondaryContextualization</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#hasSerializationFeatures(int)">hasSerializationFeatures</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#setAttribute(java.lang.Object, java.lang.Object)">setAttribute</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>
357</ul>
358<ul class="blockList">
359<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.DatabindContext">
360<!--   -->
361</a>
362<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>
363<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>, <a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#objectIdResolverInstance(com.fasterxml.jackson.databind.introspect.Annotated, com.fasterxml.jackson.databind.introspect.ObjectIdInfo)">objectIdResolverInstance</a></code></li>
364</ul>
365<ul class="blockList">
366<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
367<!--   -->
368</a>
369<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>
370<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>
371</ul>
372</li>
373</ul>
374</li>
375</ul>
376</div>
377<div class="details">
378<ul class="blockList">
379<li class="blockList">
380<!-- ============ FIELD DETAIL =========== -->
381<ul class="blockList">
382<li class="blockList"><a name="field_detail">
383<!--   -->
384</a>
385<h3>Field Detail</h3>
386<a name="_seenObjectIds">
387<!--   -->
388</a>
389<ul class="blockList">
390<li class="blockList">
391<h4>_seenObjectIds</h4>
392<pre>protected transient&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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>
393<div class="block">Per-serialization map Object Ids that have seen so far, iff
394 Object Id handling is enabled.</div>
395</li>
396</ul>
397<a name="_objectIdGenerators">
398<!--   -->
399</a>
400<ul class="blockListLast">
401<li class="blockList">
402<h4>_objectIdGenerators</h4>
403<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.4/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>
404</li>
405</ul>
406</li>
407</ul>
408<!-- ========= CONSTRUCTOR DETAIL ======== -->
409<ul class="blockList">
410<li class="blockList"><a name="constructor_detail">
411<!--   -->
412</a>
413<h3>Constructor Detail</h3>
414<a name="DefaultSerializerProvider()">
415<!--   -->
416</a>
417<ul class="blockList">
418<li class="blockList">
419<h4>DefaultSerializerProvider</h4>
420<pre>protected&nbsp;DefaultSerializerProvider()</pre>
421</li>
422</ul>
423<a name="DefaultSerializerProvider(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)">
424<!--   -->
425</a>
426<ul class="blockListLast">
427<li class="blockList">
428<h4>DefaultSerializerProvider</h4>
429<pre>protected&nbsp;DefaultSerializerProvider(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;src,
430                         <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
431                         <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a>&nbsp;f)</pre>
432</li>
433</ul>
434</li>
435</ul>
436<!-- ============ METHOD DETAIL ========== -->
437<ul class="blockList">
438<li class="blockList"><a name="method_detail">
439<!--   -->
440</a>
441<h3>Method Detail</h3>
442<a name="createInstance(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)">
443<!--   -->
444</a>
445<ul class="blockList">
446<li class="blockList">
447<h4>createInstance</h4>
448<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,
449                                       <a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a>&nbsp;jsf)</pre>
450<div class="block">Overridable method, used to create a non-blueprint instances from the blueprint.
451 This is needed to retain state during serialization.</div>
452</li>
453</ul>
454<a name="serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object)">
455<!--   -->
456</a>
457<ul class="blockList">
458<li class="blockList">
459<h4>serializeValue</h4>
460<pre>public&nbsp;void&nbsp;serializeValue(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
461                  <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)
462                    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></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, using serializers that
465 this provider has access to (via caching and/or creating new serializers
466 as need be).</div>
467<dl><dt><span class="strong">Throws:</span></dt>
468<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></dl>
469</li>
470</ul>
471<a name="serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object, com.fasterxml.jackson.databind.JavaType)">
472<!--   -->
473</a>
474<ul class="blockList">
475<li class="blockList">
476<h4>serializeValue</h4>
477<pre>public&nbsp;void&nbsp;serializeValue(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
478                  <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,
479                  <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType)
480                    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></pre>
481<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>
482 for serializing given value (assumed to be of specified root type,
483 instead of runtime type of value),
484 using serializers that
485 this provider has access to (via caching and/or creating new serializers
486 as need be),</div>
487<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rootType</code> - Type to use for locating serializer to use, instead of actual
488    runtime type. Must be actual type, or one of its super types</dd>
489<dt><span class="strong">Throws:</span></dt>
490<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></dl>
491</li>
492</ul>
493<a name="serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JsonSerializer)">
494<!--   -->
495</a>
496<ul class="blockList">
497<li class="blockList">
498<h4>serializeValue</h4>
499<pre>public&nbsp;void&nbsp;serializeValue(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
500                  <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,
501                  <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType,
502                  <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)
503                    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></pre>
504<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>
505 for serializing given value (assumed to be of specified root type,
506 instead of runtime type of value), when it may know specific
507 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> to use.</div>
508<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rootType</code> - Type to use for locating serializer to use, instead of actual
509    runtime type, if no serializer is passed</dd><dd><code>ser</code> - Root Serializer to use, if not null</dd>
510<dt><span class="strong">Throws:</span></dt>
511<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><dt><span class="strong">Since:</span></dt>
512  <dd>2.1</dd></dl>
513</li>
514</ul>
515<a name="_serializeNull(com.fasterxml.jackson.core.JsonGenerator)">
516<!--   -->
517</a>
518<ul class="blockList">
519<li class="blockList">
520<h4>_serializeNull</h4>
521<pre>protected&nbsp;void&nbsp;_serializeNull(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen)
522                       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></pre>
523<div class="block">Helper method called when root value to serialize is null</div>
524<dl><dt><span class="strong">Throws:</span></dt>
525<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><dt><span class="strong">Since:</span></dt>
526  <dd>2.3</dd></dl>
527</li>
528</ul>
529<a name="generateJsonSchema(java.lang.Class)">
530<!--   -->
531</a>
532<ul class="blockList">
533<li class="blockList">
534<h4>generateJsonSchema</h4>
535<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)
536                              throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
537<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>
538 to generate <a href="http://json-schema.org/">JSON schema</a> for
539 given type.</div>
540<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The type for which to generate schema</dd>
541<dt><span class="strong">Throws:</span></dt>
542<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl>
543</li>
544</ul>
545<a name="acceptJsonFormatVisitor(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper)">
546<!--   -->
547</a>
548<ul class="blockList">
549<li class="blockList">
550<h4>acceptJsonFormatVisitor</h4>
551<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,
552                           <a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a>&nbsp;visitor)
553                             throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
554<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>
555 to to expose the format of the given to to the given visitor</div>
556<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>
557<dt><span class="strong">Throws:</span></dt>
558<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl>
559</li>
560</ul>
561<a name="hasSerializerFor(java.lang.Class)">
562<!--   -->
563</a>
564<ul class="blockList">
565<li class="blockList">
566<h4>hasSerializerFor</h4>
567<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>
568public&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>
569<div class="block"><span class="strong">Deprecated.</span>&nbsp;</div>
570</li>
571</ul>
572<a name="hasSerializerFor(java.lang.Class, java.util.concurrent.atomic.AtomicReference)">
573<!--   -->
574</a>
575<ul class="blockList">
576<li class="blockList">
577<h4>hasSerializerFor</h4>
578<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,
579                       <a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&gt;&nbsp;cause)</pre>
580<div class="block">Method that can be called to see if this serializer provider
581 can find a serializer for an instance of given class.
582<p>
583 Note that no Exceptions are thrown, including unchecked ones:
584 implementations are to swallow exceptions if necessary.</div>
585</li>
586</ul>
587<a name="cachedSerializersCount()">
588<!--   -->
589</a>
590<ul class="blockList">
591<li class="blockList">
592<h4>cachedSerializersCount</h4>
593<pre>public&nbsp;int&nbsp;cachedSerializersCount()</pre>
594<div class="block">Method that can be used to determine how many serializers this
595 provider is caching currently
596 (if it does caching: default implementation does)
597 Exact count depends on what kind of serializers get cached;
598 default implementation caches all serializers, including ones that
599 are eagerly constructed (for optimal access speed)
600<p>
601 The main use case for this method is to allow conditional flushing of
602 serializer cache, if certain number of entries is reached.</div>
603</li>
604</ul>
605<a name="flushCachedSerializers()">
606<!--   -->
607</a>
608<ul class="blockList">
609<li class="blockList">
610<h4>flushCachedSerializers</h4>
611<pre>public&nbsp;void&nbsp;flushCachedSerializers()</pre>
612<div class="block">Method that will drop all serializers currently cached by this provider.
613 This can be used to remove memory usage (in case some serializers are
614 only used once or so), or to force re-construction of serializers after
615 configuration changes for mapper than owns the provider.</div>
616</li>
617</ul>
618<a name="findObjectId(java.lang.Object, com.fasterxml.jackson.annotation.ObjectIdGenerator)">
619<!--   -->
620</a>
621<ul class="blockList">
622<li class="blockList">
623<h4>findObjectId</h4>
624<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,
625                            <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.4/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>
626<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>
627<div class="block">Method called to find the Object Id for given POJO, if one
628 has been generated. Will always return a non-null Object;
629 contents vary depending on whether an Object Id already
630 exists or not.</div>
631<dl>
632<dt><strong>Specified by:</strong></dt>
633<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>
634</dl>
635</li>
636</ul>
637<a name="_createObjectIdMap()">
638<!--   -->
639</a>
640<ul class="blockList">
641<li class="blockList">
642<h4>_createObjectIdMap</h4>
643<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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;&nbsp;_createObjectIdMap()</pre>
644<div class="block">Overridable helper method used for creating <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>
645 used for storing mappings from serializable objects to their
646 Object Ids.</div>
647<dl><dt><span class="strong">Since:</span></dt>
648  <dd>2.3</dd></dl>
649</li>
650</ul>
651<a name="serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated, java.lang.Object)">
652<!--   -->
653</a>
654<ul class="blockListLast">
655<li class="blockList">
656<h4>serializerInstance</h4>
657<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,
658                                        <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)
659                                          throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
660<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>
661<div class="block">Method that can be called to construct and configure serializer instance,
662 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),
663 or an uninitialized serializer instance.
664 Either way, serialize will be properly resolved
665 (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
666 (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>
667<dl>
668<dt><strong>Specified by:</strong></dt>
669<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>
670<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>
671<dt><span class="strong">Throws:</span></dt>
672<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl>
673</li>
674</ul>
675</li>
676</ul>
677</li>
678</ul>
679</div>
680</div>
681<!-- ========= END OF CLASS DATA ========= -->
682<!-- ======= START OF BOTTOM NAVBAR ====== -->
683<div class="bottomNav"><a name="navbar_bottom">
684<!--   -->
685</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
686<!--   -->
687</a>
688<ul class="navList" title="Navigation">
689<li><a href="../../../../../overview-summary.html">Overview</a></li>
690<li><a href="package-summary.html">Package</a></li>
691<li class="navBarCell1Rev">Class</li>
692<li><a href="class-use/DefaultSerializerProvider.html">Use</a></li>
693<li><a href="package-tree.html">Tree</a></li>
694<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
695<li><a href="../../../../../index-all.html">Index</a></li>
696<li><a href="../../../../../help-doc.html">Help</a></li>
697</ul>
698</div>
699<div class="subNav">
700<ul class="navList">
701<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>
702<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>
703</ul>
704<ul class="navList">
705<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" target="_top">Frames</a></li>
706<li><a href="DefaultSerializerProvider.html" target="_top">No Frames</a></li>
707</ul>
708<ul class="navList" id="allclasses_navbar_bottom">
709<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
710</ul>
711<div>
712<script type="text/javascript"><!--
713  allClassesLink = document.getElementById("allclasses_navbar_bottom");
714  if(window==top) {
715    allClassesLink.style.display = "block";
716  }
717  else {
718    allClassesLink.style.display = "none";
719  }
720  //-->
721</script>
722</div>
723<div>
724<ul class="subNavList">
725<li>Summary:&nbsp;</li>
726<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
727<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
728<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
729<li><a href="#method_summary">Method</a></li>
730</ul>
731<ul class="subNavList">
732<li>Detail:&nbsp;</li>
733<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
734<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
735<li><a href="#method_detail">Method</a></li>
736</ul>
737</div>
738<a name="skip-navbar_bottom">
739<!--   -->
740</a></div>
741<!-- ======== END OF BOTTOM NAVBAR ======= -->
742<p class="legalCopy"><small>Copyright &#169; 2014 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
743</body>
744</html>
745