• 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 (1.8.0_162) on Tue Jan 23 20:22:12 PST 2018 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>ObjectWriter (jackson-databind 2.9.0 API)</title>
8<meta name="date" content="2018-01-23">
9<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
10<script type="text/javascript" src="../../../../script.js"></script>
11</head>
12<body>
13<script type="text/javascript"><!--
14    try {
15        if (location.href.indexOf('is-external=true') == -1) {
16            parent.document.title="ObjectWriter (jackson-databind 2.9.0 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":42,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":42,"i59":42,"i60":42,"i61":42,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10};
23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
24var altColor = "altColor";
25var rowColor = "rowColor";
26var tableTab = "tableTab";
27var activeTableTab = "activeTableTab";
28</script>
29<noscript>
30<div>JavaScript is disabled on your browser.</div>
31</noscript>
32<!-- ========= START OF TOP NAVBAR ======= -->
33<div class="topNav"><a name="navbar.top">
34<!--   -->
35</a>
36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37<a name="navbar.top.firstrow">
38<!--   -->
39</a>
40<ul class="navList" title="Navigation">
41<li><a href="../../../../overview-summary.html">Overview</a></li>
42<li><a href="package-summary.html">Package</a></li>
43<li class="navBarCell1Rev">Class</li>
44<li><a href="class-use/ObjectWriter.html">Use</a></li>
45<li><a href="package-tree.html">Tree</a></li>
46<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
47<li><a href="../../../../index-all.html">Index</a></li>
48<li><a href="../../../../help-doc.html">Help</a></li>
49</ul>
50</div>
51<div class="subNav">
52<ul class="navList">
53<li><a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
55</ul>
56<ul class="navList">
57<li><a href="../../../../index.html?com/fasterxml/jackson/databind/ObjectWriter.html" target="_top">Frames</a></li>
58<li><a href="ObjectWriter.html" target="_top">No&nbsp;Frames</a></li>
59</ul>
60<ul class="navList" id="allclasses_navbar_top">
61<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
62</ul>
63<div>
64<script type="text/javascript"><!--
65  allClassesLink = document.getElementById("allclasses_navbar_top");
66  if(window==top) {
67    allClassesLink.style.display = "block";
68  }
69  else {
70    allClassesLink.style.display = "none";
71  }
72  //-->
73</script>
74</div>
75<div>
76<ul class="subNavList">
77<li>Summary:&nbsp;</li>
78<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
79<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
80<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
81<li><a href="#method.summary">Method</a></li>
82</ul>
83<ul class="subNavList">
84<li>Detail:&nbsp;</li>
85<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
86<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
87<li><a href="#method.detail">Method</a></li>
88</ul>
89</div>
90<a name="skip.navbar.top">
91<!--   -->
92</a></div>
93<!-- ========= END OF TOP NAVBAR ========= -->
94<!-- ======== START OF CLASS DATA ======== -->
95<div class="header">
96<div class="subTitle">com.fasterxml.jackson.databind</div>
97<h2 title="Class ObjectWriter" class="title">Class ObjectWriter</h2>
98</div>
99<div class="contentContainer">
100<ul class="inheritance">
101<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
102<li>
103<ul class="inheritance">
104<li>com.fasterxml.jackson.databind.ObjectWriter</li>
105</ul>
106</li>
107</ul>
108<div class="description">
109<ul class="blockList">
110<li class="blockList">
111<dl>
112<dt>All Implemented Interfaces:</dt>
113<dd><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/Versioned.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Versioned</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
114</dl>
115<hr>
116<br>
117<pre>public class <span class="typeNameLabel">ObjectWriter</span>
118extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
119implements <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/Versioned.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Versioned</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre>
120<div class="block">Builder object that can be used for per-serialization configuration of
121 serialization parameters, such as JSON View and root type to use.
122 (and thus fully thread-safe with no external synchronization);
123 new instances are constructed for different configurations.
124 Instances are initially constructed by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and can be
125 reused in completely thread-safe manner with no explicit synchronization</div>
126<dl>
127<dt><span class="seeLabel">See Also:</span></dt>
128<dd><a href="../../../../serialized-form.html#com.fasterxml.jackson.databind.ObjectWriter">Serialized Form</a></dd>
129</dl>
130</li>
131</ul>
132</div>
133<div class="summary">
134<ul class="blockList">
135<li class="blockList">
136<!-- ======== NESTED CLASS SUMMARY ======== -->
137<ul class="blockList">
138<li class="blockList"><a name="nested.class.summary">
139<!--   -->
140</a>
141<h3>Nested Class Summary</h3>
142<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
143<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
144<tr>
145<th class="colFirst" scope="col">Modifier and Type</th>
146<th class="colLast" scope="col">Class and Description</th>
147</tr>
148<tr class="altColor">
149<td class="colFirst"><code>static class&nbsp;</code></td>
150<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a></span></code>
151<div class="block">Helper class used for containing settings specifically related
152 to (re)configuring <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> constructed for
153 writing output.</div>
154</td>
155</tr>
156<tr class="rowColor">
157<td class="colFirst"><code>static class&nbsp;</code></td>
158<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a></span></code>
159<div class="block">As a minor optimization, we will make an effort to pre-fetch a serializer,
160 or at least relevant <code>TypeSerializer</code>, if given enough
161 information.</div>
162</td>
163</tr>
164</table>
165</li>
166</ul>
167<!-- =========== FIELD SUMMARY =========== -->
168<ul class="blockList">
169<li class="blockList"><a name="field.summary">
170<!--   -->
171</a>
172<h3>Field Summary</h3>
173<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
174<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
175<tr>
176<th class="colFirst" scope="col">Modifier and Type</th>
177<th class="colLast" scope="col">Field and Description</th>
178</tr>
179<tr class="altColor">
180<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td>
181<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_config">_config</a></span></code>
182<div class="block">General serialization configuration settings</div>
183</td>
184</tr>
185<tr class="rowColor">
186<td class="colFirst"><code>protected <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a></code></td>
187<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_generatorFactory">_generatorFactory</a></span></code>
188<div class="block">Factory used for constructing <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>s</div>
189</td>
190</tr>
191<tr class="altColor">
192<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a></code></td>
193<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_generatorSettings">_generatorSettings</a></span></code>
194<div class="block">Container for settings that need to be passed to <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>
195 constructed for serializing values.</div>
196</td>
197</tr>
198<tr class="rowColor">
199<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a></code></td>
200<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_prefetch">_prefetch</a></span></code>
201<div class="block">We may pre-fetch serializer if root type
202 is known (has been explicitly declared), and if so, reuse it afterwards.</div>
203</td>
204</tr>
205<tr class="altColor">
206<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a></code></td>
207<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_serializerFactory">_serializerFactory</a></span></code>&nbsp;</td>
208</tr>
209<tr class="rowColor">
210<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a></code></td>
211<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_serializerProvider">_serializerProvider</a></span></code>&nbsp;</td>
212</tr>
213<tr class="altColor">
214<td class="colFirst"><code>protected static <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</a></code></td>
215<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#NULL_PRETTY_PRINTER">NULL_PRETTY_PRINTER</a></span></code>
216<div class="block">We need to keep track of explicit disabling of pretty printing;
217 easiest to do by a token value.</div>
218</td>
219</tr>
220</table>
221</li>
222</ul>
223<!-- ======== CONSTRUCTOR SUMMARY ======== -->
224<ul class="blockList">
225<li class="blockList"><a name="constructor.summary">
226<!--   -->
227</a>
228<h3>Constructor Summary</h3>
229<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
230<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
231<tr>
232<th class="colFirst" scope="col">Modifier</th>
233<th class="colLast" scope="col">Constructor and Description</th>
234</tr>
235<tr class="altColor">
236<td class="colFirst"><code>protected </code></td>
237<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter-com.fasterxml.jackson.databind.ObjectMapper-com.fasterxml.jackson.databind.SerializationConfig-">ObjectWriter</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a>&nbsp;mapper,
238            <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config)</code>
239<div class="block">Alternative constructor for initial instantiation by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a></div>
240</td>
241</tr>
242<tr class="rowColor">
243<td class="colFirst"><code>protected </code></td>
244<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter-com.fasterxml.jackson.databind.ObjectMapper-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.core.FormatSchema-">ObjectWriter</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a>&nbsp;mapper,
245            <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
246            <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a>&nbsp;s)</code>
247<div class="block">Alternative constructor for initial instantiation by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a></div>
248</td>
249</tr>
250<tr class="altColor">
251<td class="colFirst"><code>protected </code></td>
252<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter-com.fasterxml.jackson.databind.ObjectMapper-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.core.PrettyPrinter-">ObjectWriter</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a>&nbsp;mapper,
253            <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
254            <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType,
255            <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</a>&nbsp;pp)</code>
256<div class="block">Constructor used by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> for initial instantiation</div>
257</td>
258</tr>
259<tr class="rowColor">
260<td class="colFirst"><code>protected </code></td>
261<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.core.JsonFactory-">ObjectWriter</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;base,
262            <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a>&nbsp;f)</code>&nbsp;</td>
263</tr>
264<tr class="altColor">
265<td class="colFirst"><code>protected </code></td>
266<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-">ObjectWriter</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;base,
267            <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config)</code>
268<div class="block">Copy constructor used for building variations.</div>
269</td>
270</tr>
271<tr class="rowColor">
272<td class="colFirst"><code>protected </code></td>
273<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.ObjectWriter.GeneratorSettings-com.fasterxml.jackson.databind.ObjectWriter.Prefetch-">ObjectWriter</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;base,
274            <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
275            <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a>&nbsp;genSettings,
276            <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a>&nbsp;prefetch)</code>
277<div class="block">Copy constructor used for building variations.</div>
278</td>
279</tr>
280</table>
281</li>
282</ul>
283<!-- ========== METHOD SUMMARY =========== -->
284<ul class="blockList">
285<li class="blockList"><a name="method.summary">
286<!--   -->
287</a>
288<h3>Method Summary</h3>
289<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
290<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
291<tr>
292<th class="colFirst" scope="col">Modifier and Type</th>
293<th class="colLast" scope="col">Method and Description</th>
294</tr>
295<tr id="i0" class="altColor">
296<td class="colFirst"><code>protected void</code></td>
297<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_configAndWriteValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-">_configAndWriteValue</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen,
298                    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
299<div class="block">Method called to configure the generator as necessary and then
300 call write functionality</div>
301</td>
302</tr>
303<tr id="i1" class="rowColor">
304<td class="colFirst"><code>protected void</code></td>
305<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_configureGenerator-com.fasterxml.jackson.core.JsonGenerator-">_configureGenerator</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen)</code>
306<div class="block">Helper method called to set or override settings of passed-in
307 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a></div>
308</td>
309</tr>
310<tr id="i2" class="altColor">
311<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
312<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter.GeneratorSettings-com.fasterxml.jackson.databind.ObjectWriter.Prefetch-">_new</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a>&nbsp;genSettings,
313    <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a>&nbsp;prefetch)</code>
314<div class="block">Overridable factory method called by various "withXxx()" methods.</div>
315</td>
316</tr>
317<tr id="i3" class="rowColor">
318<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
319<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.core.JsonFactory-">_new</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;base,
320    <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a>&nbsp;f)</code>
321<div class="block">Overridable factory method called by various "withXxx()" methods</div>
322</td>
323</tr>
324<tr id="i4" class="altColor">
325<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
326<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-">_new</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;base,
327    <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config)</code>
328<div class="block">Overridable factory method called by various "withXxx()" methods</div>
329</td>
330</tr>
331<tr id="i5" class="rowColor">
332<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td>
333<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_newSequenceWriter-boolean-com.fasterxml.jackson.core.JsonGenerator-boolean-">_newSequenceWriter</a></span>(boolean&nbsp;wrapInArray,
334                  <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen,
335                  boolean&nbsp;managedInput)</code>
336<div class="block">Overridable factory method called by <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValues-java.io.OutputStream-"><code>writeValues(OutputStream)</code></a>
337 method (and its various overrides), and initializes it as necessary.</div>
338</td>
339</tr>
340<tr id="i6" class="altColor">
341<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a></code></td>
342<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_serializerProvider--">_serializerProvider</a></span>()</code>
343<div class="block">Overridable helper method used for constructing
344 <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a> to use for serialization.</div>
345</td>
346</tr>
347<tr id="i7" class="rowColor">
348<td class="colFirst"><code>protected void</code></td>
349<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_verifySchemaType-com.fasterxml.jackson.core.FormatSchema-">_verifySchemaType</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a>&nbsp;schema)</code>&nbsp;</td>
350</tr>
351<tr id="i8" class="altColor">
352<td class="colFirst"><code>void</code></td>
353<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#acceptJsonFormatVisitor-java.lang.Class-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-">acceptJsonFormatVisitor</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;rawType,
354                       <a href="../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a>&nbsp;visitor)</code>
355<div class="block">Since 2.6</div>
356</td>
357</tr>
358<tr id="i9" class="rowColor">
359<td class="colFirst"><code>void</code></td>
360<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#acceptJsonFormatVisitor-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-">acceptJsonFormatVisitor</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type,
361                       <a href="../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a>&nbsp;visitor)</code>
362<div class="block">Method for visiting type hierarchy for given type, using specified visitor.</div>
363</td>
364</tr>
365<tr id="i10" class="altColor">
366<td class="colFirst"><code>boolean</code></td>
367<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#canSerialize-java.lang.Class-">canSerialize</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type)</code>&nbsp;</td>
368</tr>
369<tr id="i11" class="rowColor">
370<td class="colFirst"><code>boolean</code></td>
371<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#canSerialize-java.lang.Class-java.util.concurrent.atomic.AtomicReference-">canSerialize</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type,
372            <a href="http://docs.oracle.com/javase/7/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/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&gt;&nbsp;cause)</code>
373<div class="block">Method for checking whether instances of given type can be serialized,
374 and optionally why (as per <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><code>Throwable</code></a> returned).</div>
375</td>
376</tr>
377<tr id="i12" class="altColor">
378<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
379<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-">forType</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;rootType)</code>
380<div class="block">Method that will construct a new instance that uses specific type
381 as the root type for serialization, instead of runtime dynamic
382 type of the root object itself.</div>
383</td>
384</tr>
385<tr id="i13" class="rowColor">
386<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
387<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.databind.JavaType-">forType</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType)</code>
388<div class="block">Method that will construct a new instance that uses specific type
389 as the root type for serialization, instead of runtime dynamic
390 type of the root object itself.</div>
391</td>
392</tr>
393<tr id="i14" class="altColor">
394<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
395<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.core.type.TypeReference-">forType</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/type/TypeReference.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.type">TypeReference</a>&lt;?&gt;&nbsp;rootType)</code>
396<div class="block">Method that will construct a new instance that uses specific type
397 as the root type for serialization, instead of runtime dynamic
398 type of the root object itself.</div>
399</td>
400</tr>
401<tr id="i15" class="rowColor">
402<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a></code></td>
403<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getAttributes--">getAttributes</a></span>()</code>&nbsp;</td>
404</tr>
405<tr id="i16" class="altColor">
406<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td>
407<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getConfig--">getConfig</a></span>()</code>&nbsp;</td>
408</tr>
409<tr id="i17" class="rowColor">
410<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a></code></td>
411<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getFactory--">getFactory</a></span>()</code>&nbsp;</td>
412</tr>
413<tr id="i18" class="altColor">
414<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a></code></td>
415<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getTypeFactory--">getTypeFactory</a></span>()</code>&nbsp;</td>
416</tr>
417<tr id="i19" class="rowColor">
418<td class="colFirst"><code>boolean</code></td>
419<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#hasPrefetchedSerializer--">hasPrefetchedSerializer</a></span>()</code>
420<div class="block">Diagnostics method that can be called to check whether this writer
421 has pre-fetched serializer to use: pre-fetching improves performance
422 when writer instances are reused as it avoids a per-call serializer
423 lookup.</div>
424</td>
425</tr>
426<tr id="i20" class="altColor">
427<td class="colFirst"><code>boolean</code></td>
428<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#isEnabled-com.fasterxml.jackson.core.JsonGenerator.Feature-">isEnabled</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a>&nbsp;f)</code>&nbsp;</td>
429</tr>
430<tr id="i21" class="rowColor">
431<td class="colFirst"><code>boolean</code></td>
432<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#isEnabled-com.fasterxml.jackson.core.JsonParser.Feature-">isEnabled</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.Feature</a>&nbsp;f)</code>
433<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
434</td>
435</tr>
436<tr id="i22" class="altColor">
437<td class="colFirst"><code>boolean</code></td>
438<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#isEnabled-com.fasterxml.jackson.databind.MapperFeature-">isEnabled</a></span>(<a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>&nbsp;f)</code>&nbsp;</td>
439</tr>
440<tr id="i23" class="rowColor">
441<td class="colFirst"><code>boolean</code></td>
442<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#isEnabled-com.fasterxml.jackson.databind.SerializationFeature-">isEnabled</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>&nbsp;f)</code>&nbsp;</td>
443</tr>
444<tr id="i24" class="altColor">
445<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a></code></td>
446<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#version--">version</a></span>()</code>
447<div class="block">Method that will return version information stored in and read from jar
448 that contains this class.</div>
449</td>
450</tr>
451<tr id="i25" class="rowColor">
452<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
453<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.Base64Variant-">with</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/Base64Variant.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Base64Variant</a>&nbsp;b64variant)</code>
454<div class="block">Method that will construct a new instance that uses specified default
455 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/Base64Variant.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>Base64Variant</code></a> for base64 encoding</div>
456</td>
457</tr>
458<tr id="i26" class="altColor">
459<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
460<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.io.CharacterEscapes-">with</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/io/CharacterEscapes.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">CharacterEscapes</a>&nbsp;escapes)</code>&nbsp;</td>
461</tr>
462<tr id="i27" class="rowColor">
463<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
464<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.databind.cfg.ContextAttributes-">with</a></span>(<a href="../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a>&nbsp;attrs)</code>&nbsp;</td>
465</tr>
466<tr id="i28" class="altColor">
467<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
468<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-java.text.DateFormat-">with</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</a>&nbsp;df)</code>
469<div class="block">Fluent factory method that will construct a new writer instance that will
470 use specified date format for serializing dates; or if null passed, one
471 that will serialize dates as numeric timestamps.</div>
472</td>
473</tr>
474<tr id="i29" class="rowColor">
475<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
476<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.databind.ser.FilterProvider-">with</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</a>&nbsp;filterProvider)</code>
477<div class="block">Method that will construct a new instance that uses specified
478 provider for resolving filter instances by id.</div>
479</td>
480</tr>
481<tr id="i30" class="altColor">
482<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
483<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.FormatFeature-">with</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a>&nbsp;feature)</code>&nbsp;</td>
484</tr>
485<tr id="i31" class="rowColor">
486<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
487<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.FormatSchema-">with</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a>&nbsp;schema)</code>
488<div class="block">Method that will construct a new instance that uses specific format schema
489 for serialization.</div>
490</td>
491</tr>
492<tr id="i32" class="altColor">
493<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
494<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.JsonFactory-">with</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a>&nbsp;f)</code>&nbsp;</td>
495</tr>
496<tr id="i33" class="rowColor">
497<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
498<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.JsonGenerator.Feature-">with</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a>&nbsp;feature)</code>&nbsp;</td>
499</tr>
500<tr id="i34" class="altColor">
501<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
502<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-java.util.Locale-">with</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>&nbsp;l)</code>&nbsp;</td>
503</tr>
504<tr id="i35" class="rowColor">
505<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
506<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.PrettyPrinter-">with</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</a>&nbsp;pp)</code>
507<div class="block">Method that will construct a new instance that will use specified pretty
508 printer (or, if null, will not do any pretty-printing)</div>
509</td>
510</tr>
511<tr id="i36" class="altColor">
512<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
513<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.databind.SerializationFeature-">with</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>&nbsp;feature)</code>
514<div class="block">Method for constructing a new instance that is configured
515 with specified feature enabled.</div>
516</td>
517</tr>
518<tr id="i37" class="rowColor">
519<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
520<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-">with</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>&nbsp;first,
521    <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>...&nbsp;other)</code>
522<div class="block">Method for constructing a new instance that is configured
523 with specified features enabled.</div>
524</td>
525</tr>
526<tr id="i38" class="altColor">
527<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
528<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-java.util.TimeZone-">with</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a>&nbsp;tz)</code>&nbsp;</td>
529</tr>
530<tr id="i39" class="rowColor">
531<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
532<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withAttribute-java.lang.Object-java.lang.Object-">withAttribute</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;key,
533             <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>&nbsp;</td>
534</tr>
535<tr id="i40" class="altColor">
536<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
537<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withAttributes-java.util.Map-">withAttributes</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;?,?&gt;&nbsp;attrs)</code>
538<div class="block">Mutant factory method that allows construction of a new writer instance
539 that uses specified set of default attribute values.</div>
540</td>
541</tr>
542<tr id="i41" class="rowColor">
543<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
544<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withDefaultPrettyPrinter--">withDefaultPrettyPrinter</a></span>()</code>
545<div class="block">Method that will construct a new instance that will use the default
546 pretty printer for serialization.</div>
547</td>
548</tr>
549<tr id="i42" class="altColor">
550<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
551<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withFeatures-com.fasterxml.jackson.core.FormatFeature...-">withFeatures</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a>...&nbsp;features)</code>&nbsp;</td>
552</tr>
553<tr id="i43" class="rowColor">
554<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
555<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withFeatures-com.fasterxml.jackson.core.JsonGenerator.Feature...-">withFeatures</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a>...&nbsp;features)</code>&nbsp;</td>
556</tr>
557<tr id="i44" class="altColor">
558<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
559<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withFeatures-com.fasterxml.jackson.databind.SerializationFeature...-">withFeatures</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>...&nbsp;features)</code>
560<div class="block">Method for constructing a new instance that is configured
561 with specified features enabled.</div>
562</td>
563</tr>
564<tr id="i45" class="rowColor">
565<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
566<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without-com.fasterxml.jackson.core.FormatFeature-">without</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a>&nbsp;feature)</code>&nbsp;</td>
567</tr>
568<tr id="i46" class="altColor">
569<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
570<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without-com.fasterxml.jackson.core.JsonGenerator.Feature-">without</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a>&nbsp;feature)</code>&nbsp;</td>
571</tr>
572<tr id="i47" class="rowColor">
573<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
574<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without-com.fasterxml.jackson.databind.SerializationFeature-">without</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>&nbsp;feature)</code>
575<div class="block">Method for constructing a new instance that is configured
576 with specified feature enabled.</div>
577</td>
578</tr>
579<tr id="i48" class="altColor">
580<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
581<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-">without</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>&nbsp;first,
582       <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>...&nbsp;other)</code>
583<div class="block">Method for constructing a new instance that is configured
584 with specified features enabled.</div>
585</td>
586</tr>
587<tr id="i49" class="rowColor">
588<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
589<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutAttribute-java.lang.Object-">withoutAttribute</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;key)</code>&nbsp;</td>
590</tr>
591<tr id="i50" class="altColor">
592<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
593<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutFeatures-com.fasterxml.jackson.core.FormatFeature...-">withoutFeatures</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a>...&nbsp;features)</code>&nbsp;</td>
594</tr>
595<tr id="i51" class="rowColor">
596<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
597<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutFeatures-com.fasterxml.jackson.core.JsonGenerator.Feature...-">withoutFeatures</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a>...&nbsp;features)</code>&nbsp;</td>
598</tr>
599<tr id="i52" class="altColor">
600<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
601<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutFeatures-com.fasterxml.jackson.databind.SerializationFeature...-">withoutFeatures</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>...&nbsp;features)</code>
602<div class="block">Method for constructing a new instance that is configured
603 with specified features enabled.</div>
604</td>
605</tr>
606<tr id="i53" class="rowColor">
607<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
608<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutRootName--">withoutRootName</a></span>()</code>
609<div class="block">Convenience method that is same as calling:
610<code>
611   withRootName("")
612</code>
613 which will forcibly prevent use of root name wrapping when writing
614 values with this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div>
615</td>
616</tr>
617<tr id="i54" class="altColor">
618<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
619<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withRootName-com.fasterxml.jackson.databind.PropertyName-">withRootName</a></span>(<a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a>&nbsp;rootName)</code>&nbsp;</td>
620</tr>
621<tr id="i55" class="rowColor">
622<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
623<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withRootName-java.lang.String-">withRootName</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;rootName)</code>
624<div class="block">Method for constructing a new instance with configuration that
625 specifies what root name to use for "root element wrapping".</div>
626</td>
627</tr>
628<tr id="i56" class="altColor">
629<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
630<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withRootValueSeparator-com.fasterxml.jackson.core.SerializableString-">withRootValueSeparator</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/SerializableString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">SerializableString</a>&nbsp;sep)</code>&nbsp;</td>
631</tr>
632<tr id="i57" class="rowColor">
633<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
634<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withRootValueSeparator-java.lang.String-">withRootValueSeparator</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;sep)</code>&nbsp;</td>
635</tr>
636<tr id="i58" class="altColor">
637<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
638<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withSchema-com.fasterxml.jackson.core.FormatSchema-">withSchema</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a>&nbsp;schema)</code>
639<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
640<div class="block"><span class="deprecationComment">Since 2.5 use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.FormatSchema-"><code>with(FormatSchema)</code></a> instead</span></div>
641</div>
642</td>
643</tr>
644<tr id="i59" class="rowColor">
645<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
646<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withType-java.lang.Class-">withType</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;rootType)</code>
647<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
648<div class="block"><span class="deprecationComment">since 2.5 Use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-"><code>forType(Class)</code></a> instead</span></div>
649</div>
650</td>
651</tr>
652<tr id="i60" class="altColor">
653<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
654<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withType-com.fasterxml.jackson.databind.JavaType-">withType</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType)</code>
655<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
656<div class="block"><span class="deprecationComment">since 2.5 Use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.databind.JavaType-"><code>forType(JavaType)</code></a> instead</span></div>
657</div>
658</td>
659</tr>
660<tr id="i61" class="rowColor">
661<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
662<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withType-com.fasterxml.jackson.core.type.TypeReference-">withType</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/type/TypeReference.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.type">TypeReference</a>&lt;?&gt;&nbsp;rootType)</code>
663<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
664<div class="block"><span class="deprecationComment">since 2.5 Use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.core.type.TypeReference-"><code>forType(TypeReference)</code></a> instead</span></div>
665</div>
666</td>
667</tr>
668<tr id="i62" class="altColor">
669<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
670<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withView-java.lang.Class-">withView</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;view)</code>
671<div class="block">Method that will construct a new instance that uses specified
672 serialization view for serialization (with null basically disables
673 view processing)</div>
674</td>
675</tr>
676<tr id="i63" class="rowColor">
677<td class="colFirst"><code>void</code></td>
678<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue-java.io.DataOutput-java.lang.Object-">writeValue</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a>&nbsp;out,
679          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>&nbsp;</td>
680</tr>
681<tr id="i64" class="altColor">
682<td class="colFirst"><code>void</code></td>
683<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue-java.io.File-java.lang.Object-">writeValue</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;resultFile,
684          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
685<div class="block">Method that can be used to serialize any Java value as
686 JSON output, written to File provided.</div>
687</td>
688</tr>
689<tr id="i65" class="rowColor">
690<td class="colFirst"><code>void</code></td>
691<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-">writeValue</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen,
692          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
693<div class="block">Method that can be used to serialize any Java value as
694 JSON output, using provided <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>.</div>
695</td>
696</tr>
697<tr id="i66" class="altColor">
698<td class="colFirst"><code>void</code></td>
699<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue-java.io.OutputStream-java.lang.Object-">writeValue</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;out,
700          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
701<div class="block">Method that can be used to serialize any Java value as
702 JSON output, using output stream provided (using encoding
703 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonEncoding.html?is-external=true#UTF8" title="class or interface in com.fasterxml.jackson.core"><code>JsonEncoding.UTF8</code></a>).</div>
704</td>
705</tr>
706<tr id="i67" class="rowColor">
707<td class="colFirst"><code>void</code></td>
708<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue-java.io.Writer-java.lang.Object-">writeValue</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;w,
709          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
710<div class="block">Method that can be used to serialize any Java value as
711 JSON output, using Writer provided.</div>
712</td>
713</tr>
714<tr id="i68" class="altColor">
715<td class="colFirst"><code>byte[]</code></td>
716<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValueAsBytes-java.lang.Object-">writeValueAsBytes</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
717<div class="block">Method that can be used to serialize any Java value as
718 a byte array.</div>
719</td>
720</tr>
721<tr id="i69" class="rowColor">
722<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
723<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValueAsString-java.lang.Object-">writeValueAsString</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
724<div class="block">Method that can be used to serialize any Java value as
725 a String.</div>
726</td>
727</tr>
728<tr id="i70" class="altColor">
729<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td>
730<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValues-java.io.DataOutput-">writeValues</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a>&nbsp;out)</code>&nbsp;</td>
731</tr>
732<tr id="i71" class="rowColor">
733<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td>
734<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValues-java.io.File-">writeValues</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;out)</code>
735<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root
736 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div>
737</td>
738</tr>
739<tr id="i72" class="altColor">
740<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td>
741<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValues-com.fasterxml.jackson.core.JsonGenerator-">writeValues</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen)</code>
742<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root
743 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div>
744</td>
745</tr>
746<tr id="i73" class="rowColor">
747<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td>
748<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValues-java.io.OutputStream-">writeValues</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;out)</code>
749<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root
750 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div>
751</td>
752</tr>
753<tr id="i74" class="altColor">
754<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td>
755<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValues-java.io.Writer-">writeValues</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;out)</code>
756<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root
757 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div>
758</td>
759</tr>
760<tr id="i75" class="rowColor">
761<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td>
762<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValuesAsArray-java.io.DataOutput-">writeValuesAsArray</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a>&nbsp;out)</code>&nbsp;</td>
763</tr>
764<tr id="i76" class="altColor">
765<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td>
766<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValuesAsArray-java.io.File-">writeValuesAsArray</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;out)</code>
767<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of
768 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div>
769</td>
770</tr>
771<tr id="i77" class="rowColor">
772<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td>
773<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValuesAsArray-com.fasterxml.jackson.core.JsonGenerator-">writeValuesAsArray</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen)</code>
774<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of
775 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div>
776</td>
777</tr>
778<tr id="i78" class="altColor">
779<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td>
780<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValuesAsArray-java.io.OutputStream-">writeValuesAsArray</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;out)</code>
781<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of
782 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div>
783</td>
784</tr>
785<tr id="i79" class="rowColor">
786<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td>
787<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValuesAsArray-java.io.Writer-">writeValuesAsArray</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;out)</code>
788<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of
789 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div>
790</td>
791</tr>
792</table>
793<ul class="blockList">
794<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
795<!--   -->
796</a>
797<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
798<code><a href="http://docs.oracle.com/javase/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
799</ul>
800</li>
801</ul>
802</li>
803</ul>
804</div>
805<div class="details">
806<ul class="blockList">
807<li class="blockList">
808<!-- ============ FIELD DETAIL =========== -->
809<ul class="blockList">
810<li class="blockList"><a name="field.detail">
811<!--   -->
812</a>
813<h3>Field Detail</h3>
814<a name="NULL_PRETTY_PRINTER">
815<!--   -->
816</a>
817<ul class="blockList">
818<li class="blockList">
819<h4>NULL_PRETTY_PRINTER</h4>
820<pre>protected static final&nbsp;<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</a> NULL_PRETTY_PRINTER</pre>
821<div class="block">We need to keep track of explicit disabling of pretty printing;
822 easiest to do by a token value.</div>
823</li>
824</ul>
825<a name="Z:Z_config">
826<!--   -->
827</a>
828<ul class="blockList">
829<li class="blockList">
830<h4>_config</h4>
831<pre>protected final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> _config</pre>
832<div class="block">General serialization configuration settings</div>
833</li>
834</ul>
835<a name="Z:Z_serializerProvider">
836<!--   -->
837</a>
838<ul class="blockList">
839<li class="blockList">
840<h4>_serializerProvider</h4>
841<pre>protected final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a> _serializerProvider</pre>
842</li>
843</ul>
844<a name="Z:Z_serializerFactory">
845<!--   -->
846</a>
847<ul class="blockList">
848<li class="blockList">
849<h4>_serializerFactory</h4>
850<pre>protected final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> _serializerFactory</pre>
851</li>
852</ul>
853<a name="Z:Z_generatorFactory">
854<!--   -->
855</a>
856<ul class="blockList">
857<li class="blockList">
858<h4>_generatorFactory</h4>
859<pre>protected final&nbsp;<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a> _generatorFactory</pre>
860<div class="block">Factory used for constructing <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>s</div>
861</li>
862</ul>
863<a name="Z:Z_generatorSettings">
864<!--   -->
865</a>
866<ul class="blockList">
867<li class="blockList">
868<h4>_generatorSettings</h4>
869<pre>protected final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a> _generatorSettings</pre>
870<div class="block">Container for settings that need to be passed to <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>
871 constructed for serializing values.</div>
872<dl>
873<dt><span class="simpleTagLabel">Since:</span></dt>
874<dd>2.5</dd>
875</dl>
876</li>
877</ul>
878<a name="Z:Z_prefetch">
879<!--   -->
880</a>
881<ul class="blockListLast">
882<li class="blockList">
883<h4>_prefetch</h4>
884<pre>protected final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a> _prefetch</pre>
885<div class="block">We may pre-fetch serializer if root type
886 is known (has been explicitly declared), and if so, reuse it afterwards.
887 This allows avoiding further serializer lookups and increases
888 performance a bit on cases where readers are reused.</div>
889<dl>
890<dt><span class="simpleTagLabel">Since:</span></dt>
891<dd>2.5</dd>
892</dl>
893</li>
894</ul>
895</li>
896</ul>
897<!-- ========= CONSTRUCTOR DETAIL ======== -->
898<ul class="blockList">
899<li class="blockList"><a name="constructor.detail">
900<!--   -->
901</a>
902<h3>Constructor Detail</h3>
903<a name="ObjectWriter-com.fasterxml.jackson.databind.ObjectMapper-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.core.PrettyPrinter-">
904<!--   -->
905</a>
906<ul class="blockList">
907<li class="blockList">
908<h4>ObjectWriter</h4>
909<pre>protected&nbsp;ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a>&nbsp;mapper,
910                       <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
911                       <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType,
912                       <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</a>&nbsp;pp)</pre>
913<div class="block">Constructor used by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> for initial instantiation</div>
914</li>
915</ul>
916<a name="ObjectWriter-com.fasterxml.jackson.databind.ObjectMapper-com.fasterxml.jackson.databind.SerializationConfig-">
917<!--   -->
918</a>
919<ul class="blockList">
920<li class="blockList">
921<h4>ObjectWriter</h4>
922<pre>protected&nbsp;ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a>&nbsp;mapper,
923                       <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config)</pre>
924<div class="block">Alternative constructor for initial instantiation by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a></div>
925</li>
926</ul>
927<a name="ObjectWriter-com.fasterxml.jackson.databind.ObjectMapper-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.core.FormatSchema-">
928<!--   -->
929</a>
930<ul class="blockList">
931<li class="blockList">
932<h4>ObjectWriter</h4>
933<pre>protected&nbsp;ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a>&nbsp;mapper,
934                       <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
935                       <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a>&nbsp;s)</pre>
936<div class="block">Alternative constructor for initial instantiation by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a></div>
937</li>
938</ul>
939<a name="ObjectWriter-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.ObjectWriter.GeneratorSettings-com.fasterxml.jackson.databind.ObjectWriter.Prefetch-">
940<!--   -->
941</a>
942<ul class="blockList">
943<li class="blockList">
944<h4>ObjectWriter</h4>
945<pre>protected&nbsp;ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;base,
946                       <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
947                       <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a>&nbsp;genSettings,
948                       <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a>&nbsp;prefetch)</pre>
949<div class="block">Copy constructor used for building variations.</div>
950</li>
951</ul>
952<a name="ObjectWriter-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-">
953<!--   -->
954</a>
955<ul class="blockList">
956<li class="blockList">
957<h4>ObjectWriter</h4>
958<pre>protected&nbsp;ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;base,
959                       <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config)</pre>
960<div class="block">Copy constructor used for building variations.</div>
961</li>
962</ul>
963<a name="ObjectWriter-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.core.JsonFactory-">
964<!--   -->
965</a>
966<ul class="blockListLast">
967<li class="blockList">
968<h4>ObjectWriter</h4>
969<pre>protected&nbsp;ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;base,
970                       <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a>&nbsp;f)</pre>
971<dl>
972<dt><span class="simpleTagLabel">Since:</span></dt>
973<dd>2.3</dd>
974</dl>
975</li>
976</ul>
977</li>
978</ul>
979<!-- ============ METHOD DETAIL ========== -->
980<ul class="blockList">
981<li class="blockList"><a name="method.detail">
982<!--   -->
983</a>
984<h3>Method Detail</h3>
985<a name="version--">
986<!--   -->
987</a>
988<ul class="blockList">
989<li class="blockList">
990<h4>version</h4>
991<pre>public&nbsp;<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a>&nbsp;version()</pre>
992<div class="block">Method that will return version information stored in and read from jar
993 that contains this class.</div>
994<dl>
995<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
996<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/Versioned.html?is-external=true#version--" title="class or interface in com.fasterxml.jackson.core">version</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/Versioned.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Versioned</a></code></dd>
997</dl>
998</li>
999</ul>
1000<a name="Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.core.JsonFactory-">
1001<!--   -->
1002</a>
1003<ul class="blockList">
1004<li class="blockList">
1005<h4>_new</h4>
1006<pre>protected&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;_new(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;base,
1007                            <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a>&nbsp;f)</pre>
1008<div class="block">Overridable factory method called by various "withXxx()" methods</div>
1009<dl>
1010<dt><span class="simpleTagLabel">Since:</span></dt>
1011<dd>2.5</dd>
1012</dl>
1013</li>
1014</ul>
1015<a name="Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-">
1016<!--   -->
1017</a>
1018<ul class="blockList">
1019<li class="blockList">
1020<h4>_new</h4>
1021<pre>protected&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;_new(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;base,
1022                            <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config)</pre>
1023<div class="block">Overridable factory method called by various "withXxx()" methods</div>
1024<dl>
1025<dt><span class="simpleTagLabel">Since:</span></dt>
1026<dd>2.5</dd>
1027</dl>
1028</li>
1029</ul>
1030<a name="Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter.GeneratorSettings-com.fasterxml.jackson.databind.ObjectWriter.Prefetch-">
1031<!--   -->
1032</a>
1033<ul class="blockList">
1034<li class="blockList">
1035<h4>_new</h4>
1036<pre>protected&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;_new(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a>&nbsp;genSettings,
1037                            <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a>&nbsp;prefetch)</pre>
1038<div class="block">Overridable factory method called by various "withXxx()" methods.
1039 It assumes `this` as base for settings other than those directly
1040 passed in.</div>
1041<dl>
1042<dt><span class="simpleTagLabel">Since:</span></dt>
1043<dd>2.5</dd>
1044</dl>
1045</li>
1046</ul>
1047<a name="Z:Z_newSequenceWriter-boolean-com.fasterxml.jackson.core.JsonGenerator-boolean-">
1048<!--   -->
1049</a>
1050<ul class="blockList">
1051<li class="blockList">
1052<h4>_newSequenceWriter</h4>
1053<pre>protected&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a>&nbsp;_newSequenceWriter(boolean&nbsp;wrapInArray,
1054                                            <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen,
1055                                            boolean&nbsp;managedInput)
1056                                     throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
1057<div class="block">Overridable factory method called by <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValues-java.io.OutputStream-"><code>writeValues(OutputStream)</code></a>
1058 method (and its various overrides), and initializes it as necessary.</div>
1059<dl>
1060<dt><span class="throwsLabel">Throws:</span></dt>
1061<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1062<dt><span class="simpleTagLabel">Since:</span></dt>
1063<dd>2.5</dd>
1064</dl>
1065</li>
1066</ul>
1067<a name="with-com.fasterxml.jackson.databind.SerializationFeature-">
1068<!--   -->
1069</a>
1070<ul class="blockList">
1071<li class="blockList">
1072<h4>with</h4>
1073<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;with(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>&nbsp;feature)</pre>
1074<div class="block">Method for constructing a new instance that is configured
1075 with specified feature enabled.</div>
1076</li>
1077</ul>
1078<a name="with-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-">
1079<!--   -->
1080</a>
1081<ul class="blockList">
1082<li class="blockList">
1083<h4>with</h4>
1084<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;with(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>&nbsp;first,
1085                         <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>...&nbsp;other)</pre>
1086<div class="block">Method for constructing a new instance that is configured
1087 with specified features enabled.</div>
1088</li>
1089</ul>
1090<a name="withFeatures-com.fasterxml.jackson.databind.SerializationFeature...-">
1091<!--   -->
1092</a>
1093<ul class="blockList">
1094<li class="blockList">
1095<h4>withFeatures</h4>
1096<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withFeatures(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>...&nbsp;features)</pre>
1097<div class="block">Method for constructing a new instance that is configured
1098 with specified features enabled.</div>
1099</li>
1100</ul>
1101<a name="without-com.fasterxml.jackson.databind.SerializationFeature-">
1102<!--   -->
1103</a>
1104<ul class="blockList">
1105<li class="blockList">
1106<h4>without</h4>
1107<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;without(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>&nbsp;feature)</pre>
1108<div class="block">Method for constructing a new instance that is configured
1109 with specified feature enabled.</div>
1110</li>
1111</ul>
1112<a name="without-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-">
1113<!--   -->
1114</a>
1115<ul class="blockList">
1116<li class="blockList">
1117<h4>without</h4>
1118<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;without(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>&nbsp;first,
1119                            <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>...&nbsp;other)</pre>
1120<div class="block">Method for constructing a new instance that is configured
1121 with specified features enabled.</div>
1122</li>
1123</ul>
1124<a name="withoutFeatures-com.fasterxml.jackson.databind.SerializationFeature...-">
1125<!--   -->
1126</a>
1127<ul class="blockList">
1128<li class="blockList">
1129<h4>withoutFeatures</h4>
1130<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withoutFeatures(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>...&nbsp;features)</pre>
1131<div class="block">Method for constructing a new instance that is configured
1132 with specified features enabled.</div>
1133</li>
1134</ul>
1135<a name="with-com.fasterxml.jackson.core.JsonGenerator.Feature-">
1136<!--   -->
1137</a>
1138<ul class="blockList">
1139<li class="blockList">
1140<h4>with</h4>
1141<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;with(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a>&nbsp;feature)</pre>
1142<dl>
1143<dt><span class="simpleTagLabel">Since:</span></dt>
1144<dd>2.5</dd>
1145</dl>
1146</li>
1147</ul>
1148<a name="withFeatures-com.fasterxml.jackson.core.JsonGenerator.Feature...-">
1149<!--   -->
1150</a>
1151<ul class="blockList">
1152<li class="blockList">
1153<h4>withFeatures</h4>
1154<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withFeatures(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a>...&nbsp;features)</pre>
1155<dl>
1156<dt><span class="simpleTagLabel">Since:</span></dt>
1157<dd>2.5</dd>
1158</dl>
1159</li>
1160</ul>
1161<a name="without-com.fasterxml.jackson.core.JsonGenerator.Feature-">
1162<!--   -->
1163</a>
1164<ul class="blockList">
1165<li class="blockList">
1166<h4>without</h4>
1167<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;without(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a>&nbsp;feature)</pre>
1168<dl>
1169<dt><span class="simpleTagLabel">Since:</span></dt>
1170<dd>2.5</dd>
1171</dl>
1172</li>
1173</ul>
1174<a name="withoutFeatures-com.fasterxml.jackson.core.JsonGenerator.Feature...-">
1175<!--   -->
1176</a>
1177<ul class="blockList">
1178<li class="blockList">
1179<h4>withoutFeatures</h4>
1180<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withoutFeatures(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a>...&nbsp;features)</pre>
1181<dl>
1182<dt><span class="simpleTagLabel">Since:</span></dt>
1183<dd>2.5</dd>
1184</dl>
1185</li>
1186</ul>
1187<a name="with-com.fasterxml.jackson.core.FormatFeature-">
1188<!--   -->
1189</a>
1190<ul class="blockList">
1191<li class="blockList">
1192<h4>with</h4>
1193<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;with(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a>&nbsp;feature)</pre>
1194<dl>
1195<dt><span class="simpleTagLabel">Since:</span></dt>
1196<dd>2.7</dd>
1197</dl>
1198</li>
1199</ul>
1200<a name="withFeatures-com.fasterxml.jackson.core.FormatFeature...-">
1201<!--   -->
1202</a>
1203<ul class="blockList">
1204<li class="blockList">
1205<h4>withFeatures</h4>
1206<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withFeatures(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a>...&nbsp;features)</pre>
1207<dl>
1208<dt><span class="simpleTagLabel">Since:</span></dt>
1209<dd>2.7</dd>
1210</dl>
1211</li>
1212</ul>
1213<a name="without-com.fasterxml.jackson.core.FormatFeature-">
1214<!--   -->
1215</a>
1216<ul class="blockList">
1217<li class="blockList">
1218<h4>without</h4>
1219<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;without(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a>&nbsp;feature)</pre>
1220<dl>
1221<dt><span class="simpleTagLabel">Since:</span></dt>
1222<dd>2.7</dd>
1223</dl>
1224</li>
1225</ul>
1226<a name="withoutFeatures-com.fasterxml.jackson.core.FormatFeature...-">
1227<!--   -->
1228</a>
1229<ul class="blockList">
1230<li class="blockList">
1231<h4>withoutFeatures</h4>
1232<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withoutFeatures(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a>...&nbsp;features)</pre>
1233<dl>
1234<dt><span class="simpleTagLabel">Since:</span></dt>
1235<dd>2.7</dd>
1236</dl>
1237</li>
1238</ul>
1239<a name="forType-com.fasterxml.jackson.databind.JavaType-">
1240<!--   -->
1241</a>
1242<ul class="blockList">
1243<li class="blockList">
1244<h4>forType</h4>
1245<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;forType(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType)</pre>
1246<div class="block">Method that will construct a new instance that uses specific type
1247 as the root type for serialization, instead of runtime dynamic
1248 type of the root object itself.
1249<p>
1250 Note that method does NOT change state of this reader, but
1251 rather construct and returns a newly configured instance.</div>
1252<dl>
1253<dt><span class="simpleTagLabel">Since:</span></dt>
1254<dd>2.5</dd>
1255</dl>
1256</li>
1257</ul>
1258<a name="forType-java.lang.Class-">
1259<!--   -->
1260</a>
1261<ul class="blockList">
1262<li class="blockList">
1263<h4>forType</h4>
1264<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;forType(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;rootType)</pre>
1265<div class="block">Method that will construct a new instance that uses specific type
1266 as the root type for serialization, instead of runtime dynamic
1267 type of the root object itself.</div>
1268<dl>
1269<dt><span class="simpleTagLabel">Since:</span></dt>
1270<dd>2.5</dd>
1271</dl>
1272</li>
1273</ul>
1274<a name="forType-com.fasterxml.jackson.core.type.TypeReference-">
1275<!--   -->
1276</a>
1277<ul class="blockList">
1278<li class="blockList">
1279<h4>forType</h4>
1280<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;forType(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/type/TypeReference.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.type">TypeReference</a>&lt;?&gt;&nbsp;rootType)</pre>
1281<div class="block">Method that will construct a new instance that uses specific type
1282 as the root type for serialization, instead of runtime dynamic
1283 type of the root object itself.</div>
1284<dl>
1285<dt><span class="simpleTagLabel">Since:</span></dt>
1286<dd>2.5</dd>
1287</dl>
1288</li>
1289</ul>
1290<a name="withType-com.fasterxml.jackson.databind.JavaType-">
1291<!--   -->
1292</a>
1293<ul class="blockList">
1294<li class="blockList">
1295<h4>withType</h4>
1296<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
1297public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withType(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType)</pre>
1298<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">since 2.5 Use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.databind.JavaType-"><code>forType(JavaType)</code></a> instead</span></div>
1299</li>
1300</ul>
1301<a name="withType-java.lang.Class-">
1302<!--   -->
1303</a>
1304<ul class="blockList">
1305<li class="blockList">
1306<h4>withType</h4>
1307<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
1308public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withType(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;rootType)</pre>
1309<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">since 2.5 Use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-"><code>forType(Class)</code></a> instead</span></div>
1310</li>
1311</ul>
1312<a name="withType-com.fasterxml.jackson.core.type.TypeReference-">
1313<!--   -->
1314</a>
1315<ul class="blockList">
1316<li class="blockList">
1317<h4>withType</h4>
1318<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
1319public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withType(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/type/TypeReference.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.type">TypeReference</a>&lt;?&gt;&nbsp;rootType)</pre>
1320<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">since 2.5 Use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.core.type.TypeReference-"><code>forType(TypeReference)</code></a> instead</span></div>
1321</li>
1322</ul>
1323<a name="with-java.text.DateFormat-">
1324<!--   -->
1325</a>
1326<ul class="blockList">
1327<li class="blockList">
1328<h4>with</h4>
1329<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;with(<a href="http://docs.oracle.com/javase/7/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</a>&nbsp;df)</pre>
1330<div class="block">Fluent factory method that will construct a new writer instance that will
1331 use specified date format for serializing dates; or if null passed, one
1332 that will serialize dates as numeric timestamps.
1333<p>
1334 Note that the method does NOT change state of this reader, but
1335 rather construct and returns a newly configured instance.</div>
1336</li>
1337</ul>
1338<a name="withDefaultPrettyPrinter--">
1339<!--   -->
1340</a>
1341<ul class="blockList">
1342<li class="blockList">
1343<h4>withDefaultPrettyPrinter</h4>
1344<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withDefaultPrettyPrinter()</pre>
1345<div class="block">Method that will construct a new instance that will use the default
1346 pretty printer for serialization.</div>
1347</li>
1348</ul>
1349<a name="with-com.fasterxml.jackson.databind.ser.FilterProvider-">
1350<!--   -->
1351</a>
1352<ul class="blockList">
1353<li class="blockList">
1354<h4>with</h4>
1355<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;with(<a href="../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</a>&nbsp;filterProvider)</pre>
1356<div class="block">Method that will construct a new instance that uses specified
1357 provider for resolving filter instances by id.</div>
1358</li>
1359</ul>
1360<a name="with-com.fasterxml.jackson.core.PrettyPrinter-">
1361<!--   -->
1362</a>
1363<ul class="blockList">
1364<li class="blockList">
1365<h4>with</h4>
1366<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;with(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</a>&nbsp;pp)</pre>
1367<div class="block">Method that will construct a new instance that will use specified pretty
1368 printer (or, if null, will not do any pretty-printing)</div>
1369</li>
1370</ul>
1371<a name="withRootName-java.lang.String-">
1372<!--   -->
1373</a>
1374<ul class="blockList">
1375<li class="blockList">
1376<h4>withRootName</h4>
1377<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withRootName(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;rootName)</pre>
1378<div class="block">Method for constructing a new instance with configuration that
1379 specifies what root name to use for "root element wrapping".
1380 See <a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfigBase.html#withRootName-java.lang.String-"><code>MapperConfigBase.withRootName(String)</code></a> for details.
1381<p>
1382 Note that method does NOT change state of this reader, but
1383 rather construct and returns a newly configured instance.</div>
1384<dl>
1385<dt><span class="paramLabel">Parameters:</span></dt>
1386<dd><code>rootName</code> - Root name to use, if non-empty; `null` for "use defaults",
1387    and empty String ("") for "do NOT add root wrapper"</dd>
1388</dl>
1389</li>
1390</ul>
1391<a name="withRootName-com.fasterxml.jackson.databind.PropertyName-">
1392<!--   -->
1393</a>
1394<ul class="blockList">
1395<li class="blockList">
1396<h4>withRootName</h4>
1397<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withRootName(<a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a>&nbsp;rootName)</pre>
1398<dl>
1399<dt><span class="simpleTagLabel">Since:</span></dt>
1400<dd>2.6</dd>
1401</dl>
1402</li>
1403</ul>
1404<a name="withoutRootName--">
1405<!--   -->
1406</a>
1407<ul class="blockList">
1408<li class="blockList">
1409<h4>withoutRootName</h4>
1410<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withoutRootName()</pre>
1411<div class="block">Convenience method that is same as calling:
1412<code>
1413   withRootName("")
1414</code>
1415 which will forcibly prevent use of root name wrapping when writing
1416 values with this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div>
1417<dl>
1418<dt><span class="simpleTagLabel">Since:</span></dt>
1419<dd>2.6</dd>
1420</dl>
1421</li>
1422</ul>
1423<a name="with-com.fasterxml.jackson.core.FormatSchema-">
1424<!--   -->
1425</a>
1426<ul class="blockList">
1427<li class="blockList">
1428<h4>with</h4>
1429<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;with(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a>&nbsp;schema)</pre>
1430<div class="block">Method that will construct a new instance that uses specific format schema
1431 for serialization.
1432<p>
1433 Note that method does NOT change state of this reader, but
1434 rather construct and returns a newly configured instance.</div>
1435</li>
1436</ul>
1437<a name="withSchema-com.fasterxml.jackson.core.FormatSchema-">
1438<!--   -->
1439</a>
1440<ul class="blockList">
1441<li class="blockList">
1442<h4>withSchema</h4>
1443<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
1444public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withSchema(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a>&nbsp;schema)</pre>
1445<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Since 2.5 use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.FormatSchema-"><code>with(FormatSchema)</code></a> instead</span></div>
1446</li>
1447</ul>
1448<a name="withView-java.lang.Class-">
1449<!--   -->
1450</a>
1451<ul class="blockList">
1452<li class="blockList">
1453<h4>withView</h4>
1454<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withView(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;view)</pre>
1455<div class="block">Method that will construct a new instance that uses specified
1456 serialization view for serialization (with null basically disables
1457 view processing)
1458<p>
1459 Note that the method does NOT change state of this reader, but
1460 rather construct and returns a newly configured instance.</div>
1461</li>
1462</ul>
1463<a name="with-java.util.Locale-">
1464<!--   -->
1465</a>
1466<ul class="blockList">
1467<li class="blockList">
1468<h4>with</h4>
1469<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;with(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a>&nbsp;l)</pre>
1470</li>
1471</ul>
1472<a name="with-java.util.TimeZone-">
1473<!--   -->
1474</a>
1475<ul class="blockList">
1476<li class="blockList">
1477<h4>with</h4>
1478<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;with(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a>&nbsp;tz)</pre>
1479</li>
1480</ul>
1481<a name="with-com.fasterxml.jackson.core.Base64Variant-">
1482<!--   -->
1483</a>
1484<ul class="blockList">
1485<li class="blockList">
1486<h4>with</h4>
1487<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;with(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/Base64Variant.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Base64Variant</a>&nbsp;b64variant)</pre>
1488<div class="block">Method that will construct a new instance that uses specified default
1489 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/Base64Variant.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>Base64Variant</code></a> for base64 encoding</div>
1490<dl>
1491<dt><span class="simpleTagLabel">Since:</span></dt>
1492<dd>2.1</dd>
1493</dl>
1494</li>
1495</ul>
1496<a name="with-com.fasterxml.jackson.core.io.CharacterEscapes-">
1497<!--   -->
1498</a>
1499<ul class="blockList">
1500<li class="blockList">
1501<h4>with</h4>
1502<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;with(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/io/CharacterEscapes.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">CharacterEscapes</a>&nbsp;escapes)</pre>
1503<dl>
1504<dt><span class="simpleTagLabel">Since:</span></dt>
1505<dd>2.3</dd>
1506</dl>
1507</li>
1508</ul>
1509<a name="with-com.fasterxml.jackson.core.JsonFactory-">
1510<!--   -->
1511</a>
1512<ul class="blockList">
1513<li class="blockList">
1514<h4>with</h4>
1515<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;with(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a>&nbsp;f)</pre>
1516<dl>
1517<dt><span class="simpleTagLabel">Since:</span></dt>
1518<dd>2.3</dd>
1519</dl>
1520</li>
1521</ul>
1522<a name="with-com.fasterxml.jackson.databind.cfg.ContextAttributes-">
1523<!--   -->
1524</a>
1525<ul class="blockList">
1526<li class="blockList">
1527<h4>with</h4>
1528<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;with(<a href="../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a>&nbsp;attrs)</pre>
1529<dl>
1530<dt><span class="simpleTagLabel">Since:</span></dt>
1531<dd>2.3</dd>
1532</dl>
1533</li>
1534</ul>
1535<a name="withAttributes-java.util.Map-">
1536<!--   -->
1537</a>
1538<ul class="blockList">
1539<li class="blockList">
1540<h4>withAttributes</h4>
1541<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withAttributes(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;?,?&gt;&nbsp;attrs)</pre>
1542<div class="block">Mutant factory method that allows construction of a new writer instance
1543 that uses specified set of default attribute values.</div>
1544<dl>
1545<dt><span class="simpleTagLabel">Since:</span></dt>
1546<dd>2.3</dd>
1547</dl>
1548</li>
1549</ul>
1550<a name="withAttribute-java.lang.Object-java.lang.Object-">
1551<!--   -->
1552</a>
1553<ul class="blockList">
1554<li class="blockList">
1555<h4>withAttribute</h4>
1556<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withAttribute(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;key,
1557                                  <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
1558<dl>
1559<dt><span class="simpleTagLabel">Since:</span></dt>
1560<dd>2.3</dd>
1561</dl>
1562</li>
1563</ul>
1564<a name="withoutAttribute-java.lang.Object-">
1565<!--   -->
1566</a>
1567<ul class="blockList">
1568<li class="blockList">
1569<h4>withoutAttribute</h4>
1570<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withoutAttribute(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;key)</pre>
1571<dl>
1572<dt><span class="simpleTagLabel">Since:</span></dt>
1573<dd>2.3</dd>
1574</dl>
1575</li>
1576</ul>
1577<a name="withRootValueSeparator-java.lang.String-">
1578<!--   -->
1579</a>
1580<ul class="blockList">
1581<li class="blockList">
1582<h4>withRootValueSeparator</h4>
1583<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withRootValueSeparator(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;sep)</pre>
1584<dl>
1585<dt><span class="simpleTagLabel">Since:</span></dt>
1586<dd>2.5</dd>
1587</dl>
1588</li>
1589</ul>
1590<a name="withRootValueSeparator-com.fasterxml.jackson.core.SerializableString-">
1591<!--   -->
1592</a>
1593<ul class="blockList">
1594<li class="blockList">
1595<h4>withRootValueSeparator</h4>
1596<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;withRootValueSeparator(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/SerializableString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">SerializableString</a>&nbsp;sep)</pre>
1597<dl>
1598<dt><span class="simpleTagLabel">Since:</span></dt>
1599<dd>2.5</dd>
1600</dl>
1601</li>
1602</ul>
1603<a name="writeValues-java.io.File-">
1604<!--   -->
1605</a>
1606<ul class="blockList">
1607<li class="blockList">
1608<h4>writeValues</h4>
1609<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a>&nbsp;writeValues(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;out)
1610                           throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
1611<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root
1612 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.
1613 Sequence is not surrounded by JSON array; some backend types may not
1614 support writing of such sequences as root level.
1615 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all
1616 values have been written to ensure closing of underlying generator and
1617 output stream.</div>
1618<dl>
1619<dt><span class="paramLabel">Parameters:</span></dt>
1620<dd><code>out</code> - Target file to write value sequence to.</dd>
1621<dt><span class="throwsLabel">Throws:</span></dt>
1622<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1623<dt><span class="simpleTagLabel">Since:</span></dt>
1624<dd>2.5</dd>
1625</dl>
1626</li>
1627</ul>
1628<a name="writeValues-com.fasterxml.jackson.core.JsonGenerator-">
1629<!--   -->
1630</a>
1631<ul class="blockList">
1632<li class="blockList">
1633<h4>writeValues</h4>
1634<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a>&nbsp;writeValues(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen)
1635                           throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
1636<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root
1637 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.
1638 Sequence is not surrounded by JSON array; some backend types may not
1639 support writing of such sequences as root level.
1640 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all
1641 values have been written to ensure that all content gets flushed by
1642 the generator. However, since a <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> is explicitly passed,
1643 it will NOT be closed when <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a> is called.</div>
1644<dl>
1645<dt><span class="paramLabel">Parameters:</span></dt>
1646<dd><code>gen</code> - Low-level generator caller has already constructed that will
1647   be used for actual writing of token stream.</dd>
1648<dt><span class="throwsLabel">Throws:</span></dt>
1649<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1650<dt><span class="simpleTagLabel">Since:</span></dt>
1651<dd>2.5</dd>
1652</dl>
1653</li>
1654</ul>
1655<a name="writeValues-java.io.Writer-">
1656<!--   -->
1657</a>
1658<ul class="blockList">
1659<li class="blockList">
1660<h4>writeValues</h4>
1661<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a>&nbsp;writeValues(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;out)
1662                           throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
1663<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root
1664 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.
1665 Sequence is not surrounded by JSON array; some backend types may not
1666 support writing of such sequences as root level.
1667 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all
1668 values have been written to ensure closing of underlying generator and
1669 output stream.</div>
1670<dl>
1671<dt><span class="paramLabel">Parameters:</span></dt>
1672<dd><code>out</code> - Target writer to use for writing the token stream</dd>
1673<dt><span class="throwsLabel">Throws:</span></dt>
1674<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1675<dt><span class="simpleTagLabel">Since:</span></dt>
1676<dd>2.5</dd>
1677</dl>
1678</li>
1679</ul>
1680<a name="writeValues-java.io.OutputStream-">
1681<!--   -->
1682</a>
1683<ul class="blockList">
1684<li class="blockList">
1685<h4>writeValues</h4>
1686<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a>&nbsp;writeValues(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;out)
1687                           throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
1688<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root
1689 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.
1690 Sequence is not surrounded by JSON array; some backend types may not
1691 support writing of such sequences as root level.
1692 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all
1693 values have been written to ensure closing of underlying generator and
1694 output stream.</div>
1695<dl>
1696<dt><span class="paramLabel">Parameters:</span></dt>
1697<dd><code>out</code> - Physical output stream to use for writing the token stream</dd>
1698<dt><span class="throwsLabel">Throws:</span></dt>
1699<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1700<dt><span class="simpleTagLabel">Since:</span></dt>
1701<dd>2.5</dd>
1702</dl>
1703</li>
1704</ul>
1705<a name="writeValues-java.io.DataOutput-">
1706<!--   -->
1707</a>
1708<ul class="blockList">
1709<li class="blockList">
1710<h4>writeValues</h4>
1711<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a>&nbsp;writeValues(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a>&nbsp;out)
1712                           throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
1713<dl>
1714<dt><span class="throwsLabel">Throws:</span></dt>
1715<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1716<dt><span class="simpleTagLabel">Since:</span></dt>
1717<dd>2.8</dd>
1718</dl>
1719</li>
1720</ul>
1721<a name="writeValuesAsArray-java.io.File-">
1722<!--   -->
1723</a>
1724<ul class="blockList">
1725<li class="blockList">
1726<h4>writeValuesAsArray</h4>
1727<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a>&nbsp;writeValuesAsArray(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;out)
1728                                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
1729<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of
1730 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.
1731 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all
1732 values have been written to ensure closing of underlying generator and
1733 output stream.
1734<p>
1735 Note that the type to use with <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-"><code>forType(Class)</code></a> needs to
1736 be type of individual values (elements) to write and NOT matching array
1737 or <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type.</div>
1738<dl>
1739<dt><span class="paramLabel">Parameters:</span></dt>
1740<dd><code>out</code> - File to write token stream to</dd>
1741<dt><span class="throwsLabel">Throws:</span></dt>
1742<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1743<dt><span class="simpleTagLabel">Since:</span></dt>
1744<dd>2.5</dd>
1745</dl>
1746</li>
1747</ul>
1748<a name="writeValuesAsArray-com.fasterxml.jackson.core.JsonGenerator-">
1749<!--   -->
1750</a>
1751<ul class="blockList">
1752<li class="blockList">
1753<h4>writeValuesAsArray</h4>
1754<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a>&nbsp;writeValuesAsArray(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen)
1755                                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
1756<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of
1757 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.
1758 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all
1759 values have been written to ensure that all content gets flushed by
1760 the generator. However, since a <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> is explicitly passed,
1761 it will NOT be closed when <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a> is called.
1762<p>
1763 Note that the type to use with <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-"><code>forType(Class)</code></a> needs to
1764 be type of individual values (elements) to write and NOT matching array
1765 or <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type.</div>
1766<dl>
1767<dt><span class="paramLabel">Parameters:</span></dt>
1768<dd><code>gen</code> - Underlying generator to use for writing the token stream</dd>
1769<dt><span class="throwsLabel">Throws:</span></dt>
1770<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1771<dt><span class="simpleTagLabel">Since:</span></dt>
1772<dd>2.5</dd>
1773</dl>
1774</li>
1775</ul>
1776<a name="writeValuesAsArray-java.io.Writer-">
1777<!--   -->
1778</a>
1779<ul class="blockList">
1780<li class="blockList">
1781<h4>writeValuesAsArray</h4>
1782<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a>&nbsp;writeValuesAsArray(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;out)
1783                                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
1784<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of
1785 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.
1786 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all
1787 values have been written to ensure closing of underlying generator and
1788 output stream.
1789<p>
1790 Note that the type to use with <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-"><code>forType(Class)</code></a> needs to
1791 be type of individual values (elements) to write and NOT matching array
1792 or <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type.</div>
1793<dl>
1794<dt><span class="paramLabel">Parameters:</span></dt>
1795<dd><code>out</code> - Writer to use for writing the token stream</dd>
1796<dt><span class="throwsLabel">Throws:</span></dt>
1797<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1798<dt><span class="simpleTagLabel">Since:</span></dt>
1799<dd>2.5</dd>
1800</dl>
1801</li>
1802</ul>
1803<a name="writeValuesAsArray-java.io.OutputStream-">
1804<!--   -->
1805</a>
1806<ul class="blockList">
1807<li class="blockList">
1808<h4>writeValuesAsArray</h4>
1809<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a>&nbsp;writeValuesAsArray(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;out)
1810                                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
1811<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of
1812 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.
1813 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all
1814 values have been written to ensure closing of underlying generator and
1815 output stream.
1816<p>
1817 Note that the type to use with <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-"><code>forType(Class)</code></a> needs to
1818 be type of individual values (elements) to write and NOT matching array
1819 or <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type.</div>
1820<dl>
1821<dt><span class="paramLabel">Parameters:</span></dt>
1822<dd><code>out</code> - Physical output stream to use for writing the token stream</dd>
1823<dt><span class="throwsLabel">Throws:</span></dt>
1824<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1825<dt><span class="simpleTagLabel">Since:</span></dt>
1826<dd>2.5</dd>
1827</dl>
1828</li>
1829</ul>
1830<a name="writeValuesAsArray-java.io.DataOutput-">
1831<!--   -->
1832</a>
1833<ul class="blockList">
1834<li class="blockList">
1835<h4>writeValuesAsArray</h4>
1836<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a>&nbsp;writeValuesAsArray(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a>&nbsp;out)
1837                                  throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
1838<dl>
1839<dt><span class="throwsLabel">Throws:</span></dt>
1840<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1841<dt><span class="simpleTagLabel">Since:</span></dt>
1842<dd>2.8</dd>
1843</dl>
1844</li>
1845</ul>
1846<a name="isEnabled-com.fasterxml.jackson.databind.SerializationFeature-">
1847<!--   -->
1848</a>
1849<ul class="blockList">
1850<li class="blockList">
1851<h4>isEnabled</h4>
1852<pre>public&nbsp;boolean&nbsp;isEnabled(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>&nbsp;f)</pre>
1853</li>
1854</ul>
1855<a name="isEnabled-com.fasterxml.jackson.databind.MapperFeature-">
1856<!--   -->
1857</a>
1858<ul class="blockList">
1859<li class="blockList">
1860<h4>isEnabled</h4>
1861<pre>public&nbsp;boolean&nbsp;isEnabled(<a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>&nbsp;f)</pre>
1862</li>
1863</ul>
1864<a name="isEnabled-com.fasterxml.jackson.core.JsonParser.Feature-">
1865<!--   -->
1866</a>
1867<ul class="blockList">
1868<li class="blockList">
1869<h4>isEnabled</h4>
1870<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
1871public&nbsp;boolean&nbsp;isEnabled(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.Feature</a>&nbsp;f)</pre>
1872<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
1873<dl>
1874<dt><span class="simpleTagLabel">Since:</span></dt>
1875<dd>2.9</dd>
1876</dl>
1877</li>
1878</ul>
1879<a name="isEnabled-com.fasterxml.jackson.core.JsonGenerator.Feature-">
1880<!--   -->
1881</a>
1882<ul class="blockList">
1883<li class="blockList">
1884<h4>isEnabled</h4>
1885<pre>public&nbsp;boolean&nbsp;isEnabled(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a>&nbsp;f)</pre>
1886<dl>
1887<dt><span class="simpleTagLabel">Since:</span></dt>
1888<dd>2.9</dd>
1889</dl>
1890</li>
1891</ul>
1892<a name="getConfig--">
1893<!--   -->
1894</a>
1895<ul class="blockList">
1896<li class="blockList">
1897<h4>getConfig</h4>
1898<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;getConfig()</pre>
1899<dl>
1900<dt><span class="simpleTagLabel">Since:</span></dt>
1901<dd>2.2</dd>
1902</dl>
1903</li>
1904</ul>
1905<a name="getFactory--">
1906<!--   -->
1907</a>
1908<ul class="blockList">
1909<li class="blockList">
1910<h4>getFactory</h4>
1911<pre>public&nbsp;<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a>&nbsp;getFactory()</pre>
1912<dl>
1913<dt><span class="simpleTagLabel">Since:</span></dt>
1914<dd>2.2</dd>
1915</dl>
1916</li>
1917</ul>
1918<a name="getTypeFactory--">
1919<!--   -->
1920</a>
1921<ul class="blockList">
1922<li class="blockList">
1923<h4>getTypeFactory</h4>
1924<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a>&nbsp;getTypeFactory()</pre>
1925</li>
1926</ul>
1927<a name="hasPrefetchedSerializer--">
1928<!--   -->
1929</a>
1930<ul class="blockList">
1931<li class="blockList">
1932<h4>hasPrefetchedSerializer</h4>
1933<pre>public&nbsp;boolean&nbsp;hasPrefetchedSerializer()</pre>
1934<div class="block">Diagnostics method that can be called to check whether this writer
1935 has pre-fetched serializer to use: pre-fetching improves performance
1936 when writer instances are reused as it avoids a per-call serializer
1937 lookup.</div>
1938<dl>
1939<dt><span class="simpleTagLabel">Since:</span></dt>
1940<dd>2.2</dd>
1941</dl>
1942</li>
1943</ul>
1944<a name="getAttributes--">
1945<!--   -->
1946</a>
1947<ul class="blockList">
1948<li class="blockList">
1949<h4>getAttributes</h4>
1950<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a>&nbsp;getAttributes()</pre>
1951<dl>
1952<dt><span class="simpleTagLabel">Since:</span></dt>
1953<dd>2.3</dd>
1954</dl>
1955</li>
1956</ul>
1957<a name="writeValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-">
1958<!--   -->
1959</a>
1960<ul class="blockList">
1961<li class="blockList">
1962<h4>writeValue</h4>
1963<pre>public&nbsp;void&nbsp;writeValue(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen,
1964                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)
1965                throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
1966<div class="block">Method that can be used to serialize any Java value as
1967 JSON output, using provided <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>.</div>
1968<dl>
1969<dt><span class="throwsLabel">Throws:</span></dt>
1970<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1971</dl>
1972</li>
1973</ul>
1974<a name="writeValue-java.io.File-java.lang.Object-">
1975<!--   -->
1976</a>
1977<ul class="blockList">
1978<li class="blockList">
1979<h4>writeValue</h4>
1980<pre>public&nbsp;void&nbsp;writeValue(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;resultFile,
1981                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)
1982                throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1983                       <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a>,
1984                       <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
1985<div class="block">Method that can be used to serialize any Java value as
1986 JSON output, written to File provided.</div>
1987<dl>
1988<dt><span class="throwsLabel">Throws:</span></dt>
1989<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1990<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></code></dd>
1991<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd>
1992</dl>
1993</li>
1994</ul>
1995<a name="writeValue-java.io.OutputStream-java.lang.Object-">
1996<!--   -->
1997</a>
1998<ul class="blockList">
1999<li class="blockList">
2000<h4>writeValue</h4>
2001<pre>public&nbsp;void&nbsp;writeValue(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a>&nbsp;out,
2002                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)
2003                throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
2004                       <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a>,
2005                       <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
2006<div class="block">Method that can be used to serialize any Java value as
2007 JSON output, using output stream provided (using encoding
2008 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonEncoding.html?is-external=true#UTF8" title="class or interface in com.fasterxml.jackson.core"><code>JsonEncoding.UTF8</code></a>).
2009<p>
2010 Note: method does not close the underlying stream explicitly
2011 here; however, <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonFactory</code></a> this mapper uses may choose
2012 to close the stream depending on its settings (by default,
2013 it will try to close it when <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> we construct
2014 is closed).</div>
2015<dl>
2016<dt><span class="throwsLabel">Throws:</span></dt>
2017<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
2018<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></code></dd>
2019<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd>
2020</dl>
2021</li>
2022</ul>
2023<a name="writeValue-java.io.Writer-java.lang.Object-">
2024<!--   -->
2025</a>
2026<ul class="blockList">
2027<li class="blockList">
2028<h4>writeValue</h4>
2029<pre>public&nbsp;void&nbsp;writeValue(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a>&nbsp;w,
2030                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)
2031                throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
2032                       <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a>,
2033                       <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
2034<div class="block">Method that can be used to serialize any Java value as
2035 JSON output, using Writer provided.
2036<p>
2037 Note: method does not close the underlying stream explicitly
2038 here; however, <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonFactory</code></a> this mapper uses may choose
2039 to close the stream depending on its settings (by default,
2040 it will try to close it when <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> we construct
2041 is closed).</div>
2042<dl>
2043<dt><span class="throwsLabel">Throws:</span></dt>
2044<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
2045<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></code></dd>
2046<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd>
2047</dl>
2048</li>
2049</ul>
2050<a name="writeValue-java.io.DataOutput-java.lang.Object-">
2051<!--   -->
2052</a>
2053<ul class="blockList">
2054<li class="blockList">
2055<h4>writeValue</h4>
2056<pre>public&nbsp;void&nbsp;writeValue(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a>&nbsp;out,
2057                       <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)
2058                throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
2059<dl>
2060<dt><span class="throwsLabel">Throws:</span></dt>
2061<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
2062<dt><span class="simpleTagLabel">Since:</span></dt>
2063<dd>2.8</dd>
2064</dl>
2065</li>
2066</ul>
2067<a name="writeValueAsString-java.lang.Object-">
2068<!--   -->
2069</a>
2070<ul class="blockList">
2071<li class="blockList">
2072<h4>writeValueAsString</h4>
2073<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;writeValueAsString(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)
2074                          throws <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre>
2075<div class="block">Method that can be used to serialize any Java value as
2076 a String. Functionally equivalent to calling
2077 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue-java.io.Writer-java.lang.Object-"><code>writeValue(Writer,Object)</code></a> with <a href="http://docs.oracle.com/javase/7/docs/api/java/io/StringWriter.html?is-external=true" title="class or interface in java.io"><code>StringWriter</code></a>
2078 and constructing String, but more efficient.
2079<p>
2080 Note: prior to version 2.1, throws clause included <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>; 2.1 removed it.</div>
2081<dl>
2082<dt><span class="throwsLabel">Throws:</span></dt>
2083<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd>
2084</dl>
2085</li>
2086</ul>
2087<a name="writeValueAsBytes-java.lang.Object-">
2088<!--   -->
2089</a>
2090<ul class="blockList">
2091<li class="blockList">
2092<h4>writeValueAsBytes</h4>
2093<pre>public&nbsp;byte[]&nbsp;writeValueAsBytes(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)
2094                         throws <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre>
2095<div class="block">Method that can be used to serialize any Java value as
2096 a byte array. Functionally equivalent to calling
2097 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue-java.io.Writer-java.lang.Object-"><code>writeValue(Writer,Object)</code></a> with <a href="http://docs.oracle.com/javase/7/docs/api/java/io/ByteArrayOutputStream.html?is-external=true" title="class or interface in java.io"><code>ByteArrayOutputStream</code></a>
2098 and getting bytes, but more efficient.
2099 Encoding used will be UTF-8.
2100<p>
2101 Note: prior to version 2.1, throws clause included <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>; 2.1 removed it.</div>
2102<dl>
2103<dt><span class="throwsLabel">Throws:</span></dt>
2104<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd>
2105</dl>
2106</li>
2107</ul>
2108<a name="acceptJsonFormatVisitor-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-">
2109<!--   -->
2110</a>
2111<ul class="blockList">
2112<li class="blockList">
2113<h4>acceptJsonFormatVisitor</h4>
2114<pre>public&nbsp;void&nbsp;acceptJsonFormatVisitor(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;type,
2115                                    <a href="../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a>&nbsp;visitor)
2116                             throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
2117<div class="block">Method for visiting type hierarchy for given type, using specified visitor.
2118 Visitation uses <code>Serializer</code> hierarchy and related properties
2119<p>
2120 This method can be used for things like
2121 generating <a href="http://json-schema.org/">Json Schema</a>
2122 instance for specified type.</div>
2123<dl>
2124<dt><span class="paramLabel">Parameters:</span></dt>
2125<dd><code>type</code> - Type to generate schema for (possibly with generic signature)</dd>
2126<dt><span class="throwsLabel">Throws:</span></dt>
2127<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd>
2128<dt><span class="simpleTagLabel">Since:</span></dt>
2129<dd>2.2</dd>
2130</dl>
2131</li>
2132</ul>
2133<a name="acceptJsonFormatVisitor-java.lang.Class-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-">
2134<!--   -->
2135</a>
2136<ul class="blockList">
2137<li class="blockList">
2138<h4>acceptJsonFormatVisitor</h4>
2139<pre>public&nbsp;void&nbsp;acceptJsonFormatVisitor(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;rawType,
2140                                    <a href="../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a>&nbsp;visitor)
2141                             throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre>
2142<div class="block">Since 2.6</div>
2143<dl>
2144<dt><span class="throwsLabel">Throws:</span></dt>
2145<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd>
2146</dl>
2147</li>
2148</ul>
2149<a name="canSerialize-java.lang.Class-">
2150<!--   -->
2151</a>
2152<ul class="blockList">
2153<li class="blockList">
2154<h4>canSerialize</h4>
2155<pre>public&nbsp;boolean&nbsp;canSerialize(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type)</pre>
2156</li>
2157</ul>
2158<a name="canSerialize-java.lang.Class-java.util.concurrent.atomic.AtomicReference-">
2159<!--   -->
2160</a>
2161<ul class="blockList">
2162<li class="blockList">
2163<h4>canSerialize</h4>
2164<pre>public&nbsp;boolean&nbsp;canSerialize(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type,
2165                            <a href="http://docs.oracle.com/javase/7/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/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&gt;&nbsp;cause)</pre>
2166<div class="block">Method for checking whether instances of given type can be serialized,
2167 and optionally why (as per <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><code>Throwable</code></a> returned).</div>
2168<dl>
2169<dt><span class="simpleTagLabel">Since:</span></dt>
2170<dd>2.3</dd>
2171</dl>
2172</li>
2173</ul>
2174<a name="Z:Z_serializerProvider--">
2175<!--   -->
2176</a>
2177<ul class="blockList">
2178<li class="blockList">
2179<h4>_serializerProvider</h4>
2180<pre>protected&nbsp;<a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a>&nbsp;_serializerProvider()</pre>
2181<div class="block">Overridable helper method used for constructing
2182 <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a> to use for serialization.</div>
2183</li>
2184</ul>
2185<a name="Z:Z_verifySchemaType-com.fasterxml.jackson.core.FormatSchema-">
2186<!--   -->
2187</a>
2188<ul class="blockList">
2189<li class="blockList">
2190<h4>_verifySchemaType</h4>
2191<pre>protected&nbsp;void&nbsp;_verifySchemaType(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a>&nbsp;schema)</pre>
2192<dl>
2193<dt><span class="simpleTagLabel">Since:</span></dt>
2194<dd>2.2</dd>
2195</dl>
2196</li>
2197</ul>
2198<a name="Z:Z_configAndWriteValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-">
2199<!--   -->
2200</a>
2201<ul class="blockList">
2202<li class="blockList">
2203<h4>_configAndWriteValue</h4>
2204<pre>protected final&nbsp;void&nbsp;_configAndWriteValue(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen,
2205                                          <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)
2206                                   throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
2207<div class="block">Method called to configure the generator as necessary and then
2208 call write functionality</div>
2209<dl>
2210<dt><span class="throwsLabel">Throws:</span></dt>
2211<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
2212</dl>
2213</li>
2214</ul>
2215<a name="Z:Z_configureGenerator-com.fasterxml.jackson.core.JsonGenerator-">
2216<!--   -->
2217</a>
2218<ul class="blockListLast">
2219<li class="blockList">
2220<h4>_configureGenerator</h4>
2221<pre>protected final&nbsp;void&nbsp;_configureGenerator(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;gen)</pre>
2222<div class="block">Helper method called to set or override settings of passed-in
2223 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a></div>
2224<dl>
2225<dt><span class="simpleTagLabel">Since:</span></dt>
2226<dd>2.5</dd>
2227</dl>
2228</li>
2229</ul>
2230</li>
2231</ul>
2232</li>
2233</ul>
2234</div>
2235</div>
2236<!-- ========= END OF CLASS DATA ========= -->
2237<!-- ======= START OF BOTTOM NAVBAR ====== -->
2238<div class="bottomNav"><a name="navbar.bottom">
2239<!--   -->
2240</a>
2241<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
2242<a name="navbar.bottom.firstrow">
2243<!--   -->
2244</a>
2245<ul class="navList" title="Navigation">
2246<li><a href="../../../../overview-summary.html">Overview</a></li>
2247<li><a href="package-summary.html">Package</a></li>
2248<li class="navBarCell1Rev">Class</li>
2249<li><a href="class-use/ObjectWriter.html">Use</a></li>
2250<li><a href="package-tree.html">Tree</a></li>
2251<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
2252<li><a href="../../../../index-all.html">Index</a></li>
2253<li><a href="../../../../help-doc.html">Help</a></li>
2254</ul>
2255</div>
2256<div class="subNav">
2257<ul class="navList">
2258<li><a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
2259<li><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
2260</ul>
2261<ul class="navList">
2262<li><a href="../../../../index.html?com/fasterxml/jackson/databind/ObjectWriter.html" target="_top">Frames</a></li>
2263<li><a href="ObjectWriter.html" target="_top">No&nbsp;Frames</a></li>
2264</ul>
2265<ul class="navList" id="allclasses_navbar_bottom">
2266<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
2267</ul>
2268<div>
2269<script type="text/javascript"><!--
2270  allClassesLink = document.getElementById("allclasses_navbar_bottom");
2271  if(window==top) {
2272    allClassesLink.style.display = "block";
2273  }
2274  else {
2275    allClassesLink.style.display = "none";
2276  }
2277  //-->
2278</script>
2279</div>
2280<div>
2281<ul class="subNavList">
2282<li>Summary:&nbsp;</li>
2283<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
2284<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
2285<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
2286<li><a href="#method.summary">Method</a></li>
2287</ul>
2288<ul class="subNavList">
2289<li>Detail:&nbsp;</li>
2290<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
2291<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
2292<li><a href="#method.detail">Method</a></li>
2293</ul>
2294</div>
2295<a name="skip.navbar.bottom">
2296<!--   -->
2297</a></div>
2298<!-- ======== END OF BOTTOM NAVBAR ======= -->
2299<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
2300</body>
2301</html>
2302