• 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 Sat Nov 16 21:43:19 PST 2013 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>BeanSerializer (jackson-databind 2.3.0 API)</title>
8<meta name="date" content="2013-11-16">
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="BeanSerializer (jackson-databind 2.3.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/BeanSerializer.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/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Prev Class</span></a></li>
41<li><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.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/BeanSerializer.html" target="_top">Frames</a></li>
45<li><a href="BeanSerializer.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_classes_inherited_from_class_com.fasterxml.jackson.databind.JsonSerializer">Nested</a>&nbsp;|&nbsp;</li>
66<li><a href="#fields_inherited_from_class_com.fasterxml.jackson.databind.ser.std.BeanSerializerBase">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>Field&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 BeanSerializer" class="title">Class BeanSerializer</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/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonSerializer</a>&lt;T&gt;</li>
92<li>
93<ul class="inheritance">
94<li><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">com.fasterxml.jackson.databind.ser.std.StdSerializer</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;</li>
95<li>
96<ul class="inheritance">
97<li><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">com.fasterxml.jackson.databind.ser.std.BeanSerializerBase</a></li>
98<li>
99<ul class="inheritance">
100<li>com.fasterxml.jackson.databind.ser.BeanSerializer</li>
101</ul>
102</li>
103</ul>
104</li>
105</ul>
106</li>
107</ul>
108</li>
109</ul>
110<div class="description">
111<ul class="blockList">
112<li class="blockList">
113<dl>
114<dt>All Implemented Interfaces:</dt>
115<dd><a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitable.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitable</a>, <a href="../../../../../com/fasterxml/jackson/databind/jsonschema/SchemaAware.html" title="interface in com.fasterxml.jackson.databind.jsonschema">SchemaAware</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser">ContextualSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" title="interface in com.fasterxml.jackson.databind.ser">ResolvableSerializer</a></dd>
116</dl>
117<hr>
118<br>
119<pre>public class <span class="strong">BeanSerializer</span>
120extends <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></pre>
121<div class="block">Serializer class that can serialize Java objects that map
122 to JSON Object output. Internally handling is mostly dealt with
123 by a sequence of <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanPropertyWriter</code></a>s that will handle
124 access value to serialize and call appropriate serializers to
125 write out JSON.
126<p>
127 Implementation note: we will post-process resulting serializer,
128 to figure out actual serializers for final types. This must be
129 done from <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#resolve(com.fasterxml.jackson.databind.SerializerProvider)"><code>BeanSerializerBase.resolve(com.fasterxml.jackson.databind.SerializerProvider)</code></a> method, and NOT from constructor;
130 otherwise we could end up with an infinite loop.</div>
131</li>
132</ul>
133</div>
134<div class="summary">
135<ul class="blockList">
136<li class="blockList">
137<!-- ======== NESTED CLASS SUMMARY ======== -->
138<ul class="blockList">
139<li class="blockList"><a name="nested_class_summary">
140<!--   -->
141</a>
142<h3>Nested Class Summary</h3>
143<ul class="blockList">
144<li class="blockList"><a name="nested_classes_inherited_from_class_com.fasterxml.jackson.databind.JsonSerializer">
145<!--   -->
146</a>
147<h3>Nested classes/interfaces inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a></h3>
148<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.None.html" title="class in com.fasterxml.jackson.databind">JsonSerializer.None</a></code></li>
149</ul>
150</li>
151</ul>
152<!-- =========== FIELD SUMMARY =========== -->
153<ul class="blockList">
154<li class="blockList"><a name="field_summary">
155<!--   -->
156</a>
157<h3>Field Summary</h3>
158<ul class="blockList">
159<li class="blockList"><a name="fields_inherited_from_class_com.fasterxml.jackson.databind.ser.std.BeanSerializerBase">
160<!--   -->
161</a>
162<h3>Fields inherited from class&nbsp;com.fasterxml.jackson.databind.ser.std.<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></h3>
163<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#_anyGetterWriter">_anyGetterWriter</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#_filteredProps">_filteredProps</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#_objectIdWriter">_objectIdWriter</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#_propertyFilterId">_propertyFilterId</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#_props">_props</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#_serializationShape">_serializationShape</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#_typeId">_typeId</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#NAME_FOR_OBJECT_REF">NAME_FOR_OBJECT_REF</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#NO_PROPS">NO_PROPS</a></code></li>
164</ul>
165<ul class="blockList">
166<li class="blockList"><a name="fields_inherited_from_class_com.fasterxml.jackson.databind.ser.std.StdSerializer">
167<!--   -->
168</a>
169<h3>Fields inherited from class&nbsp;com.fasterxml.jackson.databind.ser.std.<a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdSerializer</a></h3>
170<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#_handledType">_handledType</a></code></li>
171</ul>
172</li>
173</ul>
174<!-- ======== CONSTRUCTOR SUMMARY ======== -->
175<ul class="blockList">
176<li class="blockList"><a name="constructor_summary">
177<!--   -->
178</a>
179<h3>Constructor Summary</h3>
180<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
181<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
182<tr>
183<th class="colFirst" scope="col">Modifier</th>
184<th class="colLast" scope="col">Constructor and Description</th>
185</tr>
186<tr class="altColor">
187<td class="colFirst"><code>protected </code></td>
188<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#BeanSerializer(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase)">BeanSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a>&nbsp;src)</code>
189<div class="block">Alternate copy constructor that can be used to construct
190 standard <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializer</code></a> passing an instance of
191 "compatible enough" source serializer.</div>
192</td>
193</tr>
194<tr class="rowColor">
195<td class="colFirst"><code>protected </code></td>
196<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#BeanSerializer(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase, com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter)">BeanSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a>&nbsp;src,
197              <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a>&nbsp;objectIdWriter)</code>&nbsp;</td>
198</tr>
199<tr class="altColor">
200<td class="colFirst"><code>protected </code></td>
201<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#BeanSerializer(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase, com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter, java.lang.Object)">BeanSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a>&nbsp;src,
202              <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a>&nbsp;objectIdWriter,
203              <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;filterId)</code>&nbsp;</td>
204</tr>
205<tr class="rowColor">
206<td class="colFirst"><code>protected </code></td>
207<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#BeanSerializer(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase, java.lang.String[])">BeanSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a>&nbsp;src,
208              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;toIgnore)</code>&nbsp;</td>
209</tr>
210<tr class="altColor">
211<td class="colFirst"><code>&nbsp;</code></td>
212<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#BeanSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.ser.BeanSerializerBuilder, com.fasterxml.jackson.databind.ser.BeanPropertyWriter[], com.fasterxml.jackson.databind.ser.BeanPropertyWriter[])">BeanSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type,
213              <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</a>&nbsp;builder,
214              <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>[]&nbsp;properties,
215              <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>[]&nbsp;filteredProperties)</code>&nbsp;</td>
216</tr>
217</table>
218</li>
219</ul>
220<!-- ========== METHOD SUMMARY =========== -->
221<ul class="blockList">
222<li class="blockList"><a name="method_summary">
223<!--   -->
224</a>
225<h3>Method Summary</h3>
226<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
227<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
228<tr>
229<th class="colFirst" scope="col">Modifier and Type</th>
230<th class="colLast" scope="col">Method and Description</th>
231</tr>
232<tr class="altColor">
233<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></td>
234<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#asArraySerializer()">asArraySerializer</a></strong>()</code>
235<div class="block">Implementation has to check whether as-array serialization
236 is possible reliably; if (and only if) so, will construct
237 a <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/BeanAsArraySerializer.html" title="class in com.fasterxml.jackson.databind.ser.impl"><code>BeanAsArraySerializer</code></a>, otherwise will return this
238 serializer as is.</div>
239</td>
240</tr>
241<tr class="rowColor">
242<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializer</a></code></td>
243<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#createDummy(com.fasterxml.jackson.databind.JavaType)">createDummy</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;forType)</code>
244<div class="block">Method for constructing dummy bean serializer; one that
245 never outputs any properties</div>
246</td>
247</tr>
248<tr class="altColor">
249<td class="colFirst"><code>void</code></td>
250<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#serialize(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</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;bean,
251         <a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
252         <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>
253<div class="block">Main serialization method that will delegate actual output to
254 configured
255 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanPropertyWriter</code></a> instances.</div>
256</td>
257</tr>
258<tr class="rowColor">
259<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
260<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#toString()">toString</a></strong>()</code>&nbsp;</td>
261</tr>
262<tr class="altColor">
263<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>
264<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#unwrappingSerializer(com.fasterxml.jackson.databind.util.NameTransformer)">unwrappingSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/util/NameTransformer.html" title="class in com.fasterxml.jackson.databind.util">NameTransformer</a>&nbsp;unwrapper)</code>
265<div class="block">Method that will return serializer instance that produces
266 "unwrapped" serialization, if applicable for type being
267 serialized (which is the case for some serializers
268 that produce JSON Objects as output).</div>
269</td>
270</tr>
271<tr class="rowColor">
272<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></td>
273<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#withFilterId(java.lang.Object)">withFilterId</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;filterId)</code>
274<div class="block">Mutant factory used for creating a new instance with different
275 filter id (used with <code>JsonFilter</code> annotation)</div>
276</td>
277</tr>
278<tr class="altColor">
279<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></td>
280<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#withIgnorals(java.lang.String[])">withIgnorals</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;toIgnore)</code>
281<div class="block">Mutant factory used for creating a new instance with additional
282 set of properties to ignore (from properties this instance otherwise has)</div>
283</td>
284</tr>
285<tr class="rowColor">
286<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></td>
287<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#withObjectIdWriter(com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter)">withObjectIdWriter</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a>&nbsp;objectIdWriter)</code>
288<div class="block">Mutant factory used for creating a new instance with different
289 <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl"><code>ObjectIdWriter</code></a>.</div>
290</td>
291</tr>
292</table>
293<ul class="blockList">
294<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.ser.std.BeanSerializerBase">
295<!--   -->
296</a>
297<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.ser.std.<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></h3>
298<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#_serializeWithObjectId(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, boolean)">_serializeWithObjectId</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#_serializeWithObjectId(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">_serializeWithObjectId</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#acceptJsonFormatVisitor(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper, com.fasterxml.jackson.databind.JavaType)">acceptJsonFormatVisitor</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#createContextual(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.BeanProperty)">createContextual</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#findConvertingSerializer(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.ser.BeanPropertyWriter)">findConvertingSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#getSchema(com.fasterxml.jackson.databind.SerializerProvider, java.lang.reflect.Type)">getSchema</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#resolve(com.fasterxml.jackson.databind.SerializerProvider)">resolve</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#serializeFields(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serializeFields</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#serializeFieldsFiltered(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serializeFieldsFiltered</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#serializeWithType(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializeWithType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#usesObjectId()">usesObjectId</a></code></li>
299</ul>
300<ul class="blockList">
301<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.ser.std.StdSerializer">
302<!--   -->
303</a>
304<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.ser.std.<a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdSerializer</a></h3>
305<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#createObjectNode()">createObjectNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#createSchemaNode(java.lang.String)">createSchemaNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#createSchemaNode(java.lang.String, boolean)">createSchemaNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findConvertingContentSerializer(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.BeanProperty, com.fasterxml.jackson.databind.JsonSerializer)">findConvertingContentSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findPropertyFilter(com.fasterxml.jackson.databind.SerializerProvider, java.lang.Object, java.lang.Object)">findPropertyFilter</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#getSchema(com.fasterxml.jackson.databind.SerializerProvider, java.lang.reflect.Type, boolean)">getSchema</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#handledType()">handledType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#isDefaultSerializer(com.fasterxml.jackson.databind.JsonSerializer)">isDefaultSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#wrapAndThrow(com.fasterxml.jackson.databind.SerializerProvider, java.lang.Throwable, java.lang.Object, int)">wrapAndThrow</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#wrapAndThrow(com.fasterxml.jackson.databind.SerializerProvider, java.lang.Throwable, java.lang.Object, java.lang.String)">wrapAndThrow</a></code></li>
306</ul>
307<ul class="blockList">
308<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonSerializer">
309<!--   -->
310</a>
311<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a></h3>
312<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#getDelegatee()">getDelegatee</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#isEmpty(T)">isEmpty</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#isUnwrappingSerializer()">isUnwrappingSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#replaceDelegatee(com.fasterxml.jackson.databind.JsonSerializer)">replaceDelegatee</a></code></li>
313</ul>
314<ul class="blockList">
315<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
316<!--   -->
317</a>
318<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>
319<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#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>
320</ul>
321<ul class="blockList">
322<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.jsonschema.SchemaAware">
323<!--   -->
324</a>
325<h3>Methods inherited from interface&nbsp;com.fasterxml.jackson.databind.jsonschema.<a href="../../../../../com/fasterxml/jackson/databind/jsonschema/SchemaAware.html" title="interface in com.fasterxml.jackson.databind.jsonschema">SchemaAware</a></h3>
326<code><a href="../../../../../com/fasterxml/jackson/databind/jsonschema/SchemaAware.html#getSchema(com.fasterxml.jackson.databind.SerializerProvider, java.lang.reflect.Type, boolean)">getSchema</a></code></li>
327</ul>
328</li>
329</ul>
330</li>
331</ul>
332</div>
333<div class="details">
334<ul class="blockList">
335<li class="blockList">
336<!-- ========= CONSTRUCTOR DETAIL ======== -->
337<ul class="blockList">
338<li class="blockList"><a name="constructor_detail">
339<!--   -->
340</a>
341<h3>Constructor Detail</h3>
342<a name="BeanSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.ser.BeanSerializerBuilder, com.fasterxml.jackson.databind.ser.BeanPropertyWriter[], com.fasterxml.jackson.databind.ser.BeanPropertyWriter[])">
343<!--   -->
344</a>
345<ul class="blockList">
346<li class="blockList">
347<h4>BeanSerializer</h4>
348<pre>public&nbsp;BeanSerializer(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type,
349              <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</a>&nbsp;builder,
350              <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>[]&nbsp;properties,
351              <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>[]&nbsp;filteredProperties)</pre>
352<dl><dt><span class="strong">Parameters:</span></dt><dd><code>builder</code> - Builder object that contains collected information
353   that may be needed for serializer</dd><dd><code>properties</code> - Property writers used for actual serialization</dd></dl>
354</li>
355</ul>
356<a name="BeanSerializer(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase)">
357<!--   -->
358</a>
359<ul class="blockList">
360<li class="blockList">
361<h4>BeanSerializer</h4>
362<pre>protected&nbsp;BeanSerializer(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a>&nbsp;src)</pre>
363<div class="block">Alternate copy constructor that can be used to construct
364 standard <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializer</code></a> passing an instance of
365 "compatible enough" source serializer.</div>
366</li>
367</ul>
368<a name="BeanSerializer(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase, com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter)">
369<!--   -->
370</a>
371<ul class="blockList">
372<li class="blockList">
373<h4>BeanSerializer</h4>
374<pre>protected&nbsp;BeanSerializer(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a>&nbsp;src,
375              <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a>&nbsp;objectIdWriter)</pre>
376</li>
377</ul>
378<a name="BeanSerializer(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase, com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter, java.lang.Object)">
379<!--   -->
380</a>
381<ul class="blockList">
382<li class="blockList">
383<h4>BeanSerializer</h4>
384<pre>protected&nbsp;BeanSerializer(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a>&nbsp;src,
385              <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a>&nbsp;objectIdWriter,
386              <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;filterId)</pre>
387</li>
388</ul>
389<a name="BeanSerializer(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase, java.lang.String[])">
390<!--   -->
391</a>
392<ul class="blockListLast">
393<li class="blockList">
394<h4>BeanSerializer</h4>
395<pre>protected&nbsp;BeanSerializer(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a>&nbsp;src,
396              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;toIgnore)</pre>
397</li>
398</ul>
399</li>
400</ul>
401<!-- ============ METHOD DETAIL ========== -->
402<ul class="blockList">
403<li class="blockList"><a name="method_detail">
404<!--   -->
405</a>
406<h3>Method Detail</h3>
407<a name="createDummy(com.fasterxml.jackson.databind.JavaType)">
408<!--   -->
409</a>
410<ul class="blockList">
411<li class="blockList">
412<h4>createDummy</h4>
413<pre>public static&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializer</a>&nbsp;createDummy(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;forType)</pre>
414<div class="block">Method for constructing dummy bean serializer; one that
415 never outputs any properties</div>
416</li>
417</ul>
418<a name="unwrappingSerializer(com.fasterxml.jackson.databind.util.NameTransformer)">
419<!--   -->
420</a>
421<ul class="blockList">
422<li class="blockList">
423<h4>unwrappingSerializer</h4>
424<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;unwrappingSerializer(<a href="../../../../../com/fasterxml/jackson/databind/util/NameTransformer.html" title="class in com.fasterxml.jackson.databind.util">NameTransformer</a>&nbsp;unwrapper)</pre>
425<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#unwrappingSerializer(com.fasterxml.jackson.databind.util.NameTransformer)">JsonSerializer</a></code></strong></div>
426<div class="block">Method that will return serializer instance that produces
427 "unwrapped" serialization, if applicable for type being
428 serialized (which is the case for some serializers
429 that produce JSON Objects as output).
430 If no unwrapped serializer can be constructed, will simply
431 return serializer as-is.
432<p>
433 Default implementation just returns serializer as-is,
434 indicating that no unwrapped variant exists</div>
435<dl>
436<dt><strong>Overrides:</strong></dt>
437<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#unwrappingSerializer(com.fasterxml.jackson.databind.util.NameTransformer)">unwrappingSerializer</a></code>&nbsp;in class&nbsp;<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></dd>
438<dt><span class="strong">Parameters:</span></dt><dd><code>unwrapper</code> - Name transformation to use to convert between names
439   of unwrapper properties</dd></dl>
440</li>
441</ul>
442<a name="withObjectIdWriter(com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter)">
443<!--   -->
444</a>
445<ul class="blockList">
446<li class="blockList">
447<h4>withObjectIdWriter</h4>
448<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a>&nbsp;withObjectIdWriter(<a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a>&nbsp;objectIdWriter)</pre>
449<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#withObjectIdWriter(com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter)">BeanSerializerBase</a></code></strong></div>
450<div class="block">Mutant factory used for creating a new instance with different
451 <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl"><code>ObjectIdWriter</code></a>.</div>
452<dl>
453<dt><strong>Specified by:</strong></dt>
454<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#withObjectIdWriter(com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter)">withObjectIdWriter</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></dd>
455</dl>
456</li>
457</ul>
458<a name="withFilterId(java.lang.Object)">
459<!--   -->
460</a>
461<ul class="blockList">
462<li class="blockList">
463<h4>withFilterId</h4>
464<pre>protected&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a>&nbsp;withFilterId(<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;filterId)</pre>
465<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#withFilterId(java.lang.Object)">BeanSerializerBase</a></code></strong></div>
466<div class="block">Mutant factory used for creating a new instance with different
467 filter id (used with <code>JsonFilter</code> annotation)</div>
468<dl>
469<dt><strong>Specified by:</strong></dt>
470<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#withFilterId(java.lang.Object)">withFilterId</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></dd>
471</dl>
472</li>
473</ul>
474<a name="withIgnorals(java.lang.String[])">
475<!--   -->
476</a>
477<ul class="blockList">
478<li class="blockList">
479<h4>withIgnorals</h4>
480<pre>protected&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a>&nbsp;withIgnorals(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[]&nbsp;toIgnore)</pre>
481<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#withIgnorals(java.lang.String[])">BeanSerializerBase</a></code></strong></div>
482<div class="block">Mutant factory used for creating a new instance with additional
483 set of properties to ignore (from properties this instance otherwise has)</div>
484<dl>
485<dt><strong>Specified by:</strong></dt>
486<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#withIgnorals(java.lang.String[])">withIgnorals</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></dd>
487</dl>
488</li>
489</ul>
490<a name="asArraySerializer()">
491<!--   -->
492</a>
493<ul class="blockList">
494<li class="blockList">
495<h4>asArraySerializer</h4>
496<pre>protected&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a>&nbsp;asArraySerializer()</pre>
497<div class="block">Implementation has to check whether as-array serialization
498 is possible reliably; if (and only if) so, will construct
499 a <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/BeanAsArraySerializer.html" title="class in com.fasterxml.jackson.databind.ser.impl"><code>BeanAsArraySerializer</code></a>, otherwise will return this
500 serializer as is.</div>
501<dl>
502<dt><strong>Specified by:</strong></dt>
503<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#asArraySerializer()">asArraySerializer</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></dd>
504</dl>
505</li>
506</ul>
507<a name="serialize(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">
508<!--   -->
509</a>
510<ul class="blockList">
511<li class="blockList">
512<h4>serialize</h4>
513<pre>public final&nbsp;void&nbsp;serialize(<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;bean,
514             <a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
515             <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
516                     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>,
517                            <a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></pre>
518<div class="block">Main serialization method that will delegate actual output to
519 configured
520 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanPropertyWriter</code></a> instances.</div>
521<dl>
522<dt><strong>Specified by:</strong></dt>
523<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#serialize(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></dd>
524<dt><span class="strong">Parameters:</span></dt><dd><code>bean</code> - Value to serialize; can <b>not</b> be null.</dd><dd><code>jgen</code> - Generator used to output resulting Json content</dd><dd><code>provider</code> - Provider that can be used to get serializers for
525   serializing Objects value contains, if any.</dd>
526<dt><span class="strong">Throws:</span></dt>
527<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>
528<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></code></dd></dl>
529</li>
530</ul>
531<a name="toString()">
532<!--   -->
533</a>
534<ul class="blockListLast">
535<li class="blockList">
536<h4>toString</h4>
537<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
538<dl>
539<dt><strong>Overrides:</strong></dt>
540<dd><code><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></code>&nbsp;in class&nbsp;<code><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></code></dd>
541</dl>
542</li>
543</ul>
544</li>
545</ul>
546</li>
547</ul>
548</div>
549</div>
550<!-- ========= END OF CLASS DATA ========= -->
551<!-- ======= START OF BOTTOM NAVBAR ====== -->
552<div class="bottomNav"><a name="navbar_bottom">
553<!--   -->
554</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
555<!--   -->
556</a>
557<ul class="navList" title="Navigation">
558<li><a href="../../../../../overview-summary.html">Overview</a></li>
559<li><a href="package-summary.html">Package</a></li>
560<li class="navBarCell1Rev">Class</li>
561<li><a href="class-use/BeanSerializer.html">Use</a></li>
562<li><a href="package-tree.html">Tree</a></li>
563<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
564<li><a href="../../../../../index-all.html">Index</a></li>
565<li><a href="../../../../../help-doc.html">Help</a></li>
566</ul>
567</div>
568<div class="subNav">
569<ul class="navList">
570<li><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Prev Class</span></a></li>
571<li><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Next Class</span></a></li>
572</ul>
573<ul class="navList">
574<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/BeanSerializer.html" target="_top">Frames</a></li>
575<li><a href="BeanSerializer.html" target="_top">No Frames</a></li>
576</ul>
577<ul class="navList" id="allclasses_navbar_bottom">
578<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
579</ul>
580<div>
581<script type="text/javascript"><!--
582  allClassesLink = document.getElementById("allclasses_navbar_bottom");
583  if(window==top) {
584    allClassesLink.style.display = "block";
585  }
586  else {
587    allClassesLink.style.display = "none";
588  }
589  //-->
590</script>
591</div>
592<div>
593<ul class="subNavList">
594<li>Summary:&nbsp;</li>
595<li><a href="#nested_classes_inherited_from_class_com.fasterxml.jackson.databind.JsonSerializer">Nested</a>&nbsp;|&nbsp;</li>
596<li><a href="#fields_inherited_from_class_com.fasterxml.jackson.databind.ser.std.BeanSerializerBase">Field</a>&nbsp;|&nbsp;</li>
597<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
598<li><a href="#method_summary">Method</a></li>
599</ul>
600<ul class="subNavList">
601<li>Detail:&nbsp;</li>
602<li>Field&nbsp;|&nbsp;</li>
603<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
604<li><a href="#method_detail">Method</a></li>
605</ul>
606</div>
607<a name="skip-navbar_bottom">
608<!--   -->
609</a></div>
610<!-- ======== END OF BOTTOM NAVBAR ======= -->
611<p class="legalCopy"><small>Copyright &#169; 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
612</body>
613</html>
614