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