1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_25) on Thu Jan 01 17:43:55 PST 2015 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>ObjectWriter (jackson-databind 2.5.0 API)</title> 8<meta name="date" content="2015-01-01"> 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.5.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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 89<li> 90<ul class="inheritance"> 91<li>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>com.fasterxml.jackson.core.Versioned, <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> 101</dl> 102<hr> 103<br> 104<pre>public class <span class="strong">ObjectWriter</span> 105extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 106implements com.fasterxml.jackson.core.Versioned, <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre> 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 <code>JsonGenerator</code> 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 com.fasterxml.jackson.core.JsonFactory</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 <code>JsonGenerator</code>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 <code>JsonGenerator</code> 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 <code>#_rootType</code> 186 is known, 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 com.fasterxml.jackson.core.PrettyPrinter</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, com.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, com.fasterxml.jackson.databind.SerializationConfig, com.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 com.fasterxml.jackson.core.FormatSchema 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, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType, com.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 com.fasterxml.jackson.core.PrettyPrinter 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, com.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 com.fasterxml.jackson.core.JsonFactory 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, com.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, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ObjectWriter.GeneratorSettings, com.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, java.lang.Object)">_configAndWriteValue</a></strong>(com.fasterxml.jackson.core.JsonGenerator gen, 282 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 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 com.fasterxml.jackson.core.JsonGenerator</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>(com.fasterxml.jackson.core.JsonGenerator gen)</code> 290<div class="block">Helper method called to set or override settings of passed-in 291 <code>JsonGenerator</code></div> 292</td> 293</tr> 294<tr class="altColor"> 295<td class="colFirst"><code>protected void</code></td> 296<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_configureJsonGenerator(com.fasterxml.jackson.core.JsonGenerator)">_configureJsonGenerator</a></strong>(com.fasterxml.jackson.core.JsonGenerator gen)</code> 297<div class="block"><strong>Deprecated.</strong> 298<div class="block"><i>Since 2.5 (to be removed from 2.6 or later)</i></div> 299</div> 300</td> 301</tr> 302<tr class="rowColor"> 303<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 304<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_new(com.fasterxml.jackson.databind.ObjectWriter.GeneratorSettings, com.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, 305 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a> prefetch)</code> 306<div class="block">Overridable factory method called by various "withXxx()" methods.</div> 307</td> 308</tr> 309<tr class="altColor"> 310<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 311<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_new(com.fasterxml.jackson.databind.ObjectWriter, com.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, 312 com.fasterxml.jackson.core.JsonFactory f)</code> 313<div class="block">Overridable factory method called by various "withXxx()" methods</div> 314</td> 315</tr> 316<tr class="rowColor"> 317<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 318<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_new(com.fasterxml.jackson.databind.ObjectWriter, com.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, 319 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</code> 320<div class="block">Overridable factory method called by various "withXxx()" methods</div> 321</td> 322</tr> 323<tr class="altColor"> 324<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 325<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_newSequenceWriter(boolean, com.fasterxml.jackson.core.JsonGenerator, boolean)">_newSequenceWriter</a></strong>(boolean wrapInArray, 326 com.fasterxml.jackson.core.JsonGenerator gen, 327 boolean managedInput)</code> 328<div class="block">Overridable factory method called by <code>#createSequenceWriter(JsonGenerator)</code> 329 method (and its various overrides), and initializes it as necessary.</div> 330</td> 331</tr> 332<tr class="rowColor"> 333<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> 334<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_prefetchRootSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType)">_prefetchRootSerializer</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 335 <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType)</code> 336<div class="block">Method called to locate (root) serializer ahead of time, if permitted 337 by configuration.</div> 338</td> 339</tr> 340<tr class="altColor"> 341<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a></code></td> 342<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_serializerProvider(com.fasterxml.jackson.databind.SerializationConfig)">_serializerProvider</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</code> 343<div class="block">Overridable helper method used for constructing 344 <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a> to use for serialization.</div> 345</td> 346</tr> 347<tr class="rowColor"> 348<td class="colFirst"><code>protected void</code></td> 349<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_verifySchemaType(com.fasterxml.jackson.core.FormatSchema)">_verifySchemaType</a></strong>(com.fasterxml.jackson.core.FormatSchema schema)</code> </td> 350</tr> 351<tr class="altColor"> 352<td class="colFirst"><code>void</code></td> 353<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#acceptJsonFormatVisitor(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper)">acceptJsonFormatVisitor</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 354 <a href="../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor)</code> 355<div class="block">Method for visiting type hierarchy for given type, using specified visitor.</div> 356</td> 357</tr> 358<tr class="rowColor"> 359<td class="colFirst"><code>boolean</code></td> 360<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/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</code> </td> 361</tr> 362<tr class="altColor"> 363<td class="colFirst"><code>boolean</code></td> 364<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#canSerialize(java.lang.Class, java.util.concurrent.atomic.AtomicReference)">canSerialize</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type, 365 <a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>> cause)</code> 366<div class="block">Method for checking whether instances of given type can be serialized, 367 and optionally why (as per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><code>Throwable</code></a> returned).</div> 368</td> 369</tr> 370<tr class="rowColor"> 371<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 372<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/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> rootType)</code> 373<div class="block">Method that will construct a new instance that uses specific type 374 as the root type for serialization, instead of runtime dynamic 375 type of the root object itself.</div> 376</td> 377</tr> 378<tr class="altColor"> 379<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 380<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> 381<div class="block">Method that will construct a new instance that uses specific type 382 as the root type for serialization, instead of runtime dynamic 383 type of the root object itself.</div> 384</td> 385</tr> 386<tr class="rowColor"> 387<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 388<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType(com.fasterxml.jackson.core.type.TypeReference)">forType</a></strong>(com.fasterxml.jackson.core.type.TypeReference<?> rootType)</code> </td> 389</tr> 390<tr class="altColor"> 391<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> 392<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getAttributes()">getAttributes</a></strong>()</code> </td> 393</tr> 394<tr class="rowColor"> 395<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 396<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getConfig()">getConfig</a></strong>()</code> </td> 397</tr> 398<tr class="altColor"> 399<td class="colFirst"><code>com.fasterxml.jackson.core.JsonFactory</code></td> 400<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getFactory()">getFactory</a></strong>()</code> </td> 401</tr> 402<tr class="rowColor"> 403<td class="colFirst"><code>com.fasterxml.jackson.core.JsonFactory</code></td> 404<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getJsonFactory()">getJsonFactory</a></strong>()</code> 405<div class="block"><strong>Deprecated.</strong> 406<div class="block"><i>Since 2.2, use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getFactory()"><code>getFactory()</code></a> instead.</i></div> 407</div> 408</td> 409</tr> 410<tr class="altColor"> 411<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> 412<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getTypeFactory()">getTypeFactory</a></strong>()</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#hasPrefetchedSerializer()">hasPrefetchedSerializer</a></strong>()</code> 417<div class="block">Diagnostics method that can be called to check whether this writer 418 has pre-fetched serializer to use: pre-fetching improves performance 419 when writer instances are reused as it avoids a per-call serializer 420 lookup.</div> 421</td> 422</tr> 423<tr class="altColor"> 424<td class="colFirst"><code>boolean</code></td> 425<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#isEnabled(com.fasterxml.jackson.core.JsonParser.Feature)">isEnabled</a></strong>(com.fasterxml.jackson.core.JsonParser.Feature f)</code> </td> 426</tr> 427<tr class="rowColor"> 428<td class="colFirst"><code>boolean</code></td> 429<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> 430</tr> 431<tr class="altColor"> 432<td class="colFirst"><code>boolean</code></td> 433<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> 434</tr> 435<tr class="rowColor"> 436<td class="colFirst"><code>com.fasterxml.jackson.core.Version</code></td> 437<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#version()">version</a></strong>()</code> 438<div class="block">Method that will return version information stored in and read from jar 439 that contains this class.</div> 440</td> 441</tr> 442<tr class="altColor"> 443<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 444<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.core.Base64Variant)">with</a></strong>(com.fasterxml.jackson.core.Base64Variant b64variant)</code> 445<div class="block">Method that will construct a new instance that uses specified default 446 <code>Base64Variant</code> for base64 encoding</div> 447</td> 448</tr> 449<tr class="rowColor"> 450<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 451<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.core.io.CharacterEscapes)">with</a></strong>(com.fasterxml.jackson.core.io.CharacterEscapes escapes)</code> </td> 452</tr> 453<tr class="altColor"> 454<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 455<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> 456</tr> 457<tr class="rowColor"> 458<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 459<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/6/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</a> df)</code> 460<div class="block">Fluent factory method that will construct a new writer instance that will 461 use specified date format for serializing dates; or if null passed, one 462 that will serialize dates as numeric timestamps.</div> 463</td> 464</tr> 465<tr class="altColor"> 466<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 467<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> 468<div class="block">Method that will construct a new instance that uses specified 469 provider for resolving filter instances by id.</div> 470</td> 471</tr> 472<tr class="rowColor"> 473<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 474<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.core.FormatSchema)">with</a></strong>(com.fasterxml.jackson.core.FormatSchema schema)</code> 475<div class="block">Method that will construct a new instance that uses specific format schema 476 for serialization.</div> 477</td> 478</tr> 479<tr class="altColor"> 480<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 481<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.core.JsonFactory)">with</a></strong>(com.fasterxml.jackson.core.JsonFactory f)</code> </td> 482</tr> 483<tr class="rowColor"> 484<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 485<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.core.JsonGenerator.Feature)">with</a></strong>(com.fasterxml.jackson.core.JsonGenerator.Feature feature)</code> </td> 486</tr> 487<tr class="altColor"> 488<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 489<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/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> l)</code> </td> 490</tr> 491<tr class="rowColor"> 492<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 493<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.core.PrettyPrinter)">with</a></strong>(com.fasterxml.jackson.core.PrettyPrinter pp)</code> 494<div class="block">Method that will construct a new instance that will use specified pretty 495 printer (or, if null, will not do any pretty-printing)</div> 496</td> 497</tr> 498<tr class="altColor"> 499<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 500<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> 501<div class="block">Method for constructing a new instance that is configured 502 with specified feature enabled.</div> 503</td> 504</tr> 505<tr class="rowColor"> 506<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 507<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.databind.SerializationFeature, 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> first, 508 <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</code> 509<div class="block">Method for constructing a new instance that is configured 510 with specified features enabled.</div> 511</td> 512</tr> 513<tr class="altColor"> 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#with(java.util.TimeZone)">with</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> tz)</code> </td> 516</tr> 517<tr class="rowColor"> 518<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 519<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withAttribute(java.lang.Object, java.lang.Object)">withAttribute</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, 520 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> </td> 521</tr> 522<tr class="altColor"> 523<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 524<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/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> attrs)</code> </td> 525</tr> 526<tr class="rowColor"> 527<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 528<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withDefaultPrettyPrinter()">withDefaultPrettyPrinter</a></strong>()</code> 529<div class="block">Method that will construct a new instance that will use the default 530 pretty printer for serialization.</div> 531</td> 532</tr> 533<tr class="altColor"> 534<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 535<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withFeatures(com.fasterxml.jackson.core.JsonGenerator.Feature...)">withFeatures</a></strong>(com.fasterxml.jackson.core.JsonGenerator.Feature... features)</code> </td> 536</tr> 537<tr class="rowColor"> 538<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 539<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> 540<div class="block">Method for constructing a new instance that is configured 541 with specified features enabled.</div> 542</td> 543</tr> 544<tr class="altColor"> 545<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 546<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without(com.fasterxml.jackson.core.JsonGenerator.Feature)">without</a></strong>(com.fasterxml.jackson.core.JsonGenerator.Feature feature)</code> </td> 547</tr> 548<tr class="rowColor"> 549<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 550<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> 551<div class="block">Method for constructing a new instance that is configured 552 with specified feature enabled.</div> 553</td> 554</tr> 555<tr class="altColor"> 556<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 557<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without(com.fasterxml.jackson.databind.SerializationFeature, 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> first, 558 <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</code> 559<div class="block">Method for constructing a new instance that is configured 560 with specified features enabled.</div> 561</td> 562</tr> 563<tr class="rowColor"> 564<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 565<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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> </td> 566</tr> 567<tr class="altColor"> 568<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 569<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutFeatures(com.fasterxml.jackson.core.JsonGenerator.Feature...)">withoutFeatures</a></strong>(com.fasterxml.jackson.core.JsonGenerator.Feature... features)</code> </td> 570</tr> 571<tr class="rowColor"> 572<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 573<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> 574<div class="block">Method for constructing a new instance that is configured 575 with specified features enabled.</div> 576</td> 577</tr> 578<tr class="altColor"> 579<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 580<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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> rootName)</code> 581<div class="block">Method for constructing a new instance with configuration that 582 specifies what root name to use for "root element wrapping".</div> 583</td> 584</tr> 585<tr class="rowColor"> 586<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 587<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withRootValueSeparator(com.fasterxml.jackson.core.SerializableString)">withRootValueSeparator</a></strong>(com.fasterxml.jackson.core.SerializableString sep)</code> </td> 588</tr> 589<tr class="altColor"> 590<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 591<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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sep)</code> </td> 592</tr> 593<tr class="rowColor"> 594<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 595<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withSchema(com.fasterxml.jackson.core.FormatSchema)">withSchema</a></strong>(com.fasterxml.jackson.core.FormatSchema schema)</code> 596<div class="block"><strong>Deprecated.</strong> 597<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> 598</div> 599</td> 600</tr> 601<tr class="altColor"> 602<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 603<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/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> rootType)</code> 604<div class="block"><strong>Deprecated.</strong> 605<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> 606</div> 607</td> 608</tr> 609<tr class="rowColor"> 610<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 611<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> 612<div class="block"><strong>Deprecated.</strong> 613<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> 614</div> 615</td> 616</tr> 617<tr class="altColor"> 618<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 619<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withType(com.fasterxml.jackson.core.type.TypeReference)">withType</a></strong>(com.fasterxml.jackson.core.type.TypeReference<?> rootType)</code> 620<div class="block"><strong>Deprecated.</strong> 621<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> 622</div> 623</td> 624</tr> 625<tr class="rowColor"> 626<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 627<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/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> view)</code> 628<div class="block">Method that will construct a new instance that uses specified 629 serialization view for serialization (with null basically disables 630 view processing)</div> 631</td> 632</tr> 633<tr class="altColor"> 634<td class="colFirst"><code>void</code></td> 635<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue(java.io.File, java.lang.Object)">writeValue</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> resultFile, 636 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 637<div class="block">Method that can be used to serialize any Java value as 638 JSON output, written to File provided.</div> 639</td> 640</tr> 641<tr class="rowColor"> 642<td class="colFirst"><code>void</code></td> 643<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object)">writeValue</a></strong>(com.fasterxml.jackson.core.JsonGenerator gen, 644 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 645<div class="block">Method that can be used to serialize any Java value as 646 JSON output, using provided <code>JsonGenerator</code>.</div> 647</td> 648</tr> 649<tr class="altColor"> 650<td class="colFirst"><code>void</code></td> 651<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue(java.io.OutputStream, java.lang.Object)">writeValue</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, 652 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 653<div class="block">Method that can be used to serialize any Java value as 654 JSON output, using output stream provided (using encoding 655 <code>JsonEncoding.UTF8</code>).</div> 656</td> 657</tr> 658<tr class="rowColor"> 659<td class="colFirst"><code>void</code></td> 660<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue(java.io.Writer, java.lang.Object)">writeValue</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> w, 661 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 662<div class="block">Method that can be used to serialize any Java value as 663 JSON output, using Writer provided.</div> 664</td> 665</tr> 666<tr class="altColor"> 667<td class="colFirst"><code>byte[]</code></td> 668<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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 669<div class="block">Method that can be used to serialize any Java value as 670 a byte array.</div> 671</td> 672</tr> 673<tr class="rowColor"> 674<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 675<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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 676<div class="block">Method that can be used to serialize any Java value as 677 a String.</div> 678</td> 679</tr> 680<tr class="altColor"> 681<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 682<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/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> out)</code> 683<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 684 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> 685</td> 686</tr> 687<tr class="rowColor"> 688<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 689<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValues(com.fasterxml.jackson.core.JsonGenerator)">writeValues</a></strong>(com.fasterxml.jackson.core.JsonGenerator gen)</code> 690<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 691 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> 692</td> 693</tr> 694<tr class="altColor"> 695<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 696<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/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</code> 697<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 698 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> 699</td> 700</tr> 701<tr class="rowColor"> 702<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 703<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/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> out)</code> 704<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 705 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> 706</td> 707</tr> 708<tr class="altColor"> 709<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 710<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/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> out)</code> 711<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 712 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> 713</td> 714</tr> 715<tr class="rowColor"> 716<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 717<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValuesAsArray(com.fasterxml.jackson.core.JsonGenerator)">writeValuesAsArray</a></strong>(com.fasterxml.jackson.core.JsonGenerator gen)</code> 718<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 719 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> 720</td> 721</tr> 722<tr class="altColor"> 723<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 724<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/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</code> 725<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 726 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> 727</td> 728</tr> 729<tr class="rowColor"> 730<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 731<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/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> out)</code> 732<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 733 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> 734</td> 735</tr> 736</table> 737<ul class="blockList"> 738<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 739<!-- --> 740</a> 741<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 742<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> 743</ul> 744</li> 745</ul> 746</li> 747</ul> 748</div> 749<div class="details"> 750<ul class="blockList"> 751<li class="blockList"> 752<!-- ============ FIELD DETAIL =========== --> 753<ul class="blockList"> 754<li class="blockList"><a name="field_detail"> 755<!-- --> 756</a> 757<h3>Field Detail</h3> 758<a name="NULL_PRETTY_PRINTER"> 759<!-- --> 760</a> 761<ul class="blockList"> 762<li class="blockList"> 763<h4>NULL_PRETTY_PRINTER</h4> 764<pre>protected static final com.fasterxml.jackson.core.PrettyPrinter NULL_PRETTY_PRINTER</pre> 765<div class="block">We need to keep track of explicit disabling of pretty printing; 766 easiest to do by a token value.</div> 767</li> 768</ul> 769<a name="_config"> 770<!-- --> 771</a> 772<ul class="blockList"> 773<li class="blockList"> 774<h4>_config</h4> 775<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> _config</pre> 776<div class="block">General serialization configuration settings</div> 777</li> 778</ul> 779<a name="_serializerProvider"> 780<!-- --> 781</a> 782<ul class="blockList"> 783<li class="blockList"> 784<h4>_serializerProvider</h4> 785<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a> _serializerProvider</pre> 786</li> 787</ul> 788<a name="_serializerFactory"> 789<!-- --> 790</a> 791<ul class="blockList"> 792<li class="blockList"> 793<h4>_serializerFactory</h4> 794<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> _serializerFactory</pre> 795</li> 796</ul> 797<a name="_generatorFactory"> 798<!-- --> 799</a> 800<ul class="blockList"> 801<li class="blockList"> 802<h4>_generatorFactory</h4> 803<pre>protected final com.fasterxml.jackson.core.JsonFactory _generatorFactory</pre> 804<div class="block">Factory used for constructing <code>JsonGenerator</code>s</div> 805</li> 806</ul> 807<a name="_generatorSettings"> 808<!-- --> 809</a> 810<ul class="blockList"> 811<li class="blockList"> 812<h4>_generatorSettings</h4> 813<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a> _generatorSettings</pre> 814<div class="block">Container for settings that need to be passed to <code>JsonGenerator</code> 815 constructed for serializing values.</div> 816<dl><dt><span class="strong">Since:</span></dt> 817 <dd>2.5</dd></dl> 818</li> 819</ul> 820<a name="_prefetch"> 821<!-- --> 822</a> 823<ul class="blockListLast"> 824<li class="blockList"> 825<h4>_prefetch</h4> 826<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a> _prefetch</pre> 827<div class="block">We may pre-fetch serializer if <code>#_rootType</code> 828 is known, and if so, reuse it afterwards. 829 This allows avoiding further serializer lookups and increases 830 performance a bit on cases where readers are reused.</div> 831<dl><dt><span class="strong">Since:</span></dt> 832 <dd>2.5</dd></dl> 833</li> 834</ul> 835</li> 836</ul> 837<!-- ========= CONSTRUCTOR DETAIL ======== --> 838<ul class="blockList"> 839<li class="blockList"><a name="constructor_detail"> 840<!-- --> 841</a> 842<h3>Constructor Detail</h3> 843<a name="ObjectWriter(com.fasterxml.jackson.databind.ObjectMapper, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.core.PrettyPrinter)"> 844<!-- --> 845</a> 846<ul class="blockList"> 847<li class="blockList"> 848<h4>ObjectWriter</h4> 849<pre>protected ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a> mapper, 850 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 851 <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 852 com.fasterxml.jackson.core.PrettyPrinter pp)</pre> 853<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> 854</li> 855</ul> 856<a name="ObjectWriter(com.fasterxml.jackson.databind.ObjectMapper, com.fasterxml.jackson.databind.SerializationConfig)"> 857<!-- --> 858</a> 859<ul class="blockList"> 860<li class="blockList"> 861<h4>ObjectWriter</h4> 862<pre>protected ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a> mapper, 863 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</pre> 864<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> 865</li> 866</ul> 867<a name="ObjectWriter(com.fasterxml.jackson.databind.ObjectMapper, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.core.FormatSchema)"> 868<!-- --> 869</a> 870<ul class="blockList"> 871<li class="blockList"> 872<h4>ObjectWriter</h4> 873<pre>protected ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a> mapper, 874 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 875 com.fasterxml.jackson.core.FormatSchema s)</pre> 876<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> 877</li> 878</ul> 879<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)"> 880<!-- --> 881</a> 882<ul class="blockList"> 883<li class="blockList"> 884<h4>ObjectWriter</h4> 885<pre>protected ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 886 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 887 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a> genSettings, 888 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a> prefetch)</pre> 889<div class="block">Copy constructor used for building variations.</div> 890</li> 891</ul> 892<a name="ObjectWriter(com.fasterxml.jackson.databind.ObjectWriter, com.fasterxml.jackson.databind.SerializationConfig)"> 893<!-- --> 894</a> 895<ul class="blockList"> 896<li class="blockList"> 897<h4>ObjectWriter</h4> 898<pre>protected ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 899 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</pre> 900<div class="block">Copy constructor used for building variations.</div> 901</li> 902</ul> 903<a name="ObjectWriter(com.fasterxml.jackson.databind.ObjectWriter, com.fasterxml.jackson.core.JsonFactory)"> 904<!-- --> 905</a> 906<ul class="blockListLast"> 907<li class="blockList"> 908<h4>ObjectWriter</h4> 909<pre>protected ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 910 com.fasterxml.jackson.core.JsonFactory f)</pre> 911<dl><dt><span class="strong">Since:</span></dt> 912 <dd>2.3</dd></dl> 913</li> 914</ul> 915</li> 916</ul> 917<!-- ============ METHOD DETAIL ========== --> 918<ul class="blockList"> 919<li class="blockList"><a name="method_detail"> 920<!-- --> 921</a> 922<h3>Method Detail</h3> 923<a name="version()"> 924<!-- --> 925</a> 926<ul class="blockList"> 927<li class="blockList"> 928<h4>version</h4> 929<pre>public com.fasterxml.jackson.core.Version version()</pre> 930<div class="block">Method that will return version information stored in and read from jar 931 that contains this class.</div> 932<dl> 933<dt><strong>Specified by:</strong></dt> 934<dd><code>version</code> in interface <code>com.fasterxml.jackson.core.Versioned</code></dd> 935</dl> 936</li> 937</ul> 938<a name="_new(com.fasterxml.jackson.databind.ObjectWriter, com.fasterxml.jackson.core.JsonFactory)"> 939<!-- --> 940</a> 941<ul class="blockList"> 942<li class="blockList"> 943<h4>_new</h4> 944<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, 945 com.fasterxml.jackson.core.JsonFactory f)</pre> 946<div class="block">Overridable factory method called by various "withXxx()" methods</div> 947<dl><dt><span class="strong">Since:</span></dt> 948 <dd>2.5</dd></dl> 949</li> 950</ul> 951<a name="_new(com.fasterxml.jackson.databind.ObjectWriter, com.fasterxml.jackson.databind.SerializationConfig)"> 952<!-- --> 953</a> 954<ul class="blockList"> 955<li class="blockList"> 956<h4>_new</h4> 957<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, 958 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</pre> 959<div class="block">Overridable factory method called by various "withXxx()" methods</div> 960<dl><dt><span class="strong">Since:</span></dt> 961 <dd>2.5</dd></dl> 962</li> 963</ul> 964<a name="_new(com.fasterxml.jackson.databind.ObjectWriter.GeneratorSettings, com.fasterxml.jackson.databind.ObjectWriter.Prefetch)"> 965<!-- --> 966</a> 967<ul class="blockList"> 968<li class="blockList"> 969<h4>_new</h4> 970<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, 971 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a> prefetch)</pre> 972<div class="block">Overridable factory method called by various "withXxx()" methods. 973 It assumes `this` as base for settings other than those directly 974 passed in.</div> 975<dl><dt><span class="strong">Since:</span></dt> 976 <dd>2.5</dd></dl> 977</li> 978</ul> 979<a name="_newSequenceWriter(boolean, com.fasterxml.jackson.core.JsonGenerator, boolean)"> 980<!-- --> 981</a> 982<ul class="blockList"> 983<li class="blockList"> 984<h4>_newSequenceWriter</h4> 985<pre>protected <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a> _newSequenceWriter(boolean wrapInArray, 986 com.fasterxml.jackson.core.JsonGenerator gen, 987 boolean managedInput) 988 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 989<div class="block">Overridable factory method called by <code>#createSequenceWriter(JsonGenerator)</code> 990 method (and its various overrides), and initializes it as necessary.</div> 991<dl><dt><span class="strong">Throws:</span></dt> 992<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd><dt><span class="strong">Since:</span></dt> 993 <dd>2.5</dd></dl> 994</li> 995</ul> 996<a name="with(com.fasterxml.jackson.databind.SerializationFeature)"> 997<!-- --> 998</a> 999<ul class="blockList"> 1000<li class="blockList"> 1001<h4>with</h4> 1002<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> 1003<div class="block">Method for constructing a new instance that is configured 1004 with specified feature enabled.</div> 1005</li> 1006</ul> 1007<a name="with(com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.SerializationFeature...)"> 1008<!-- --> 1009</a> 1010<ul class="blockList"> 1011<li class="blockList"> 1012<h4>with</h4> 1013<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, 1014 <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</pre> 1015<div class="block">Method for constructing a new instance that is configured 1016 with specified features enabled.</div> 1017</li> 1018</ul> 1019<a name="withFeatures(com.fasterxml.jackson.databind.SerializationFeature...)"> 1020<!-- --> 1021</a> 1022<ul class="blockList"> 1023<li class="blockList"> 1024<h4>withFeatures</h4> 1025<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> 1026<div class="block">Method for constructing a new instance that is configured 1027 with specified features enabled.</div> 1028</li> 1029</ul> 1030<a name="without(com.fasterxml.jackson.databind.SerializationFeature)"> 1031<!-- --> 1032</a> 1033<ul class="blockList"> 1034<li class="blockList"> 1035<h4>without</h4> 1036<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> 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="without(com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.SerializationFeature...)"> 1042<!-- --> 1043</a> 1044<ul class="blockList"> 1045<li class="blockList"> 1046<h4>without</h4> 1047<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, 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="withoutFeatures(com.fasterxml.jackson.databind.SerializationFeature...)"> 1054<!-- --> 1055</a> 1056<ul class="blockList"> 1057<li class="blockList"> 1058<h4>withoutFeatures</h4> 1059<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> 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="with(com.fasterxml.jackson.core.JsonGenerator.Feature)"> 1065<!-- --> 1066</a> 1067<ul class="blockList"> 1068<li class="blockList"> 1069<h4>with</h4> 1070<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(com.fasterxml.jackson.core.JsonGenerator.Feature feature)</pre> 1071<dl><dt><span class="strong">Since:</span></dt> 1072 <dd>2.5</dd></dl> 1073</li> 1074</ul> 1075<a name="withFeatures(com.fasterxml.jackson.core.JsonGenerator.Feature...)"> 1076<!-- --> 1077</a> 1078<ul class="blockList"> 1079<li class="blockList"> 1080<h4>withFeatures</h4> 1081<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withFeatures(com.fasterxml.jackson.core.JsonGenerator.Feature... features)</pre> 1082<dl><dt><span class="strong">Since:</span></dt> 1083 <dd>2.5</dd></dl> 1084</li> 1085</ul> 1086<a name="without(com.fasterxml.jackson.core.JsonGenerator.Feature)"> 1087<!-- --> 1088</a> 1089<ul class="blockList"> 1090<li class="blockList"> 1091<h4>without</h4> 1092<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> without(com.fasterxml.jackson.core.JsonGenerator.Feature feature)</pre> 1093<dl><dt><span class="strong">Since:</span></dt> 1094 <dd>2.5</dd></dl> 1095</li> 1096</ul> 1097<a name="withoutFeatures(com.fasterxml.jackson.core.JsonGenerator.Feature...)"> 1098<!-- --> 1099</a> 1100<ul class="blockList"> 1101<li class="blockList"> 1102<h4>withoutFeatures</h4> 1103<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withoutFeatures(com.fasterxml.jackson.core.JsonGenerator.Feature... features)</pre> 1104<dl><dt><span class="strong">Since:</span></dt> 1105 <dd>2.5</dd></dl> 1106</li> 1107</ul> 1108<a name="with(java.text.DateFormat)"> 1109<!-- --> 1110</a> 1111<ul class="blockList"> 1112<li class="blockList"> 1113<h4>with</h4> 1114<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/6/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</a> df)</pre> 1115<div class="block">Fluent factory method that will construct a new writer instance that will 1116 use specified date format for serializing dates; or if null passed, one 1117 that will serialize dates as numeric timestamps. 1118<p> 1119 Note that the method does NOT change state of this reader, but 1120 rather construct and returns a newly configured instance.</div> 1121</li> 1122</ul> 1123<a name="withDefaultPrettyPrinter()"> 1124<!-- --> 1125</a> 1126<ul class="blockList"> 1127<li class="blockList"> 1128<h4>withDefaultPrettyPrinter</h4> 1129<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withDefaultPrettyPrinter()</pre> 1130<div class="block">Method that will construct a new instance that will use the default 1131 pretty printer for serialization.</div> 1132</li> 1133</ul> 1134<a name="with(com.fasterxml.jackson.databind.ser.FilterProvider)"> 1135<!-- --> 1136</a> 1137<ul class="blockList"> 1138<li class="blockList"> 1139<h4>with</h4> 1140<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> 1141<div class="block">Method that will construct a new instance that uses specified 1142 provider for resolving filter instances by id.</div> 1143</li> 1144</ul> 1145<a name="with(com.fasterxml.jackson.core.PrettyPrinter)"> 1146<!-- --> 1147</a> 1148<ul class="blockList"> 1149<li class="blockList"> 1150<h4>with</h4> 1151<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(com.fasterxml.jackson.core.PrettyPrinter pp)</pre> 1152<div class="block">Method that will construct a new instance that will use specified pretty 1153 printer (or, if null, will not do any pretty-printing)</div> 1154</li> 1155</ul> 1156<a name="withRootName(java.lang.String)"> 1157<!-- --> 1158</a> 1159<ul class="blockList"> 1160<li class="blockList"> 1161<h4>withRootName</h4> 1162<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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> rootName)</pre> 1163<div class="block">Method for constructing a new instance with configuration that 1164 specifies what root name to use for "root element wrapping". 1165 See <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html#withRootName(java.lang.String)"><code>SerializationConfig.withRootName(String)</code></a> for details. 1166<p> 1167 Note that method does NOT change state of this reader, but 1168 rather construct and returns a newly configured instance.</div> 1169</li> 1170</ul> 1171<a name="with(com.fasterxml.jackson.core.FormatSchema)"> 1172<!-- --> 1173</a> 1174<ul class="blockList"> 1175<li class="blockList"> 1176<h4>with</h4> 1177<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(com.fasterxml.jackson.core.FormatSchema schema)</pre> 1178<div class="block">Method that will construct a new instance that uses specific format schema 1179 for serialization. 1180<p> 1181 Note that method does NOT change state of this reader, but 1182 rather construct and returns a newly configured instance.</div> 1183</li> 1184</ul> 1185<a name="withSchema(com.fasterxml.jackson.core.FormatSchema)"> 1186<!-- --> 1187</a> 1188<ul class="blockList"> 1189<li class="blockList"> 1190<h4>withSchema</h4> 1191<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 1192public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withSchema(com.fasterxml.jackson.core.FormatSchema schema)</pre> 1193<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> 1194</li> 1195</ul> 1196<a name="forType(com.fasterxml.jackson.databind.JavaType)"> 1197<!-- --> 1198</a> 1199<ul class="blockList"> 1200<li class="blockList"> 1201<h4>forType</h4> 1202<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> 1203<div class="block">Method that will construct a new instance that uses specific type 1204 as the root type for serialization, instead of runtime dynamic 1205 type of the root object itself. 1206<p> 1207 Note that method does NOT change state of this reader, but 1208 rather construct and returns a newly configured instance.</div> 1209<dl><dt><span class="strong">Since:</span></dt> 1210 <dd>2.5</dd></dl> 1211</li> 1212</ul> 1213<a name="forType(java.lang.Class)"> 1214<!-- --> 1215</a> 1216<ul class="blockList"> 1217<li class="blockList"> 1218<h4>forType</h4> 1219<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/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> rootType)</pre> 1220<div class="block">Method that will construct a new instance that uses specific type 1221 as the root type for serialization, instead of runtime dynamic 1222 type of the root object itself.</div> 1223<dl><dt><span class="strong">Since:</span></dt> 1224 <dd>2.5</dd></dl> 1225</li> 1226</ul> 1227<a name="forType(com.fasterxml.jackson.core.type.TypeReference)"> 1228<!-- --> 1229</a> 1230<ul class="blockList"> 1231<li class="blockList"> 1232<h4>forType</h4> 1233<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> forType(com.fasterxml.jackson.core.type.TypeReference<?> rootType)</pre> 1234</li> 1235</ul> 1236<a name="withType(com.fasterxml.jackson.databind.JavaType)"> 1237<!-- --> 1238</a> 1239<ul class="blockList"> 1240<li class="blockList"> 1241<h4>withType</h4> 1242<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 1243public <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> 1244<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> 1245</li> 1246</ul> 1247<a name="withType(java.lang.Class)"> 1248<!-- --> 1249</a> 1250<ul class="blockList"> 1251<li class="blockList"> 1252<h4>withType</h4> 1253<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 1254public <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/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> rootType)</pre> 1255<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> 1256</li> 1257</ul> 1258<a name="withType(com.fasterxml.jackson.core.type.TypeReference)"> 1259<!-- --> 1260</a> 1261<ul class="blockList"> 1262<li class="blockList"> 1263<h4>withType</h4> 1264<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 1265public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withType(com.fasterxml.jackson.core.type.TypeReference<?> rootType)</pre> 1266<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> 1267</li> 1268</ul> 1269<a name="withView(java.lang.Class)"> 1270<!-- --> 1271</a> 1272<ul class="blockList"> 1273<li class="blockList"> 1274<h4>withView</h4> 1275<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/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> view)</pre> 1276<div class="block">Method that will construct a new instance that uses specified 1277 serialization view for serialization (with null basically disables 1278 view processing) 1279<p> 1280 Note that the method does NOT change state of this reader, but 1281 rather construct and returns a newly configured instance.</div> 1282</li> 1283</ul> 1284<a name="with(java.util.Locale)"> 1285<!-- --> 1286</a> 1287<ul class="blockList"> 1288<li class="blockList"> 1289<h4>with</h4> 1290<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/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> l)</pre> 1291</li> 1292</ul> 1293<a name="with(java.util.TimeZone)"> 1294<!-- --> 1295</a> 1296<ul class="blockList"> 1297<li class="blockList"> 1298<h4>with</h4> 1299<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/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> tz)</pre> 1300</li> 1301</ul> 1302<a name="with(com.fasterxml.jackson.core.Base64Variant)"> 1303<!-- --> 1304</a> 1305<ul class="blockList"> 1306<li class="blockList"> 1307<h4>with</h4> 1308<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(com.fasterxml.jackson.core.Base64Variant b64variant)</pre> 1309<div class="block">Method that will construct a new instance that uses specified default 1310 <code>Base64Variant</code> for base64 encoding</div> 1311<dl><dt><span class="strong">Since:</span></dt> 1312 <dd>2.1</dd></dl> 1313</li> 1314</ul> 1315<a name="with(com.fasterxml.jackson.core.io.CharacterEscapes)"> 1316<!-- --> 1317</a> 1318<ul class="blockList"> 1319<li class="blockList"> 1320<h4>with</h4> 1321<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(com.fasterxml.jackson.core.io.CharacterEscapes escapes)</pre> 1322<dl><dt><span class="strong">Since:</span></dt> 1323 <dd>2.3</dd></dl> 1324</li> 1325</ul> 1326<a name="with(com.fasterxml.jackson.core.JsonFactory)"> 1327<!-- --> 1328</a> 1329<ul class="blockList"> 1330<li class="blockList"> 1331<h4>with</h4> 1332<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(com.fasterxml.jackson.core.JsonFactory f)</pre> 1333<dl><dt><span class="strong">Since:</span></dt> 1334 <dd>2.3</dd></dl> 1335</li> 1336</ul> 1337<a name="with(com.fasterxml.jackson.databind.cfg.ContextAttributes)"> 1338<!-- --> 1339</a> 1340<ul class="blockList"> 1341<li class="blockList"> 1342<h4>with</h4> 1343<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> 1344<dl><dt><span class="strong">Since:</span></dt> 1345 <dd>2.3</dd></dl> 1346</li> 1347</ul> 1348<a name="withAttributes(java.util.Map)"> 1349<!-- --> 1350</a> 1351<ul class="blockList"> 1352<li class="blockList"> 1353<h4>withAttributes</h4> 1354<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/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> attrs)</pre> 1355<dl><dt><span class="strong">Since:</span></dt> 1356 <dd>2.3</dd></dl> 1357</li> 1358</ul> 1359<a name="withAttribute(java.lang.Object, java.lang.Object)"> 1360<!-- --> 1361</a> 1362<ul class="blockList"> 1363<li class="blockList"> 1364<h4>withAttribute</h4> 1365<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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, 1366 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> 1367<dl><dt><span class="strong">Since:</span></dt> 1368 <dd>2.3</dd></dl> 1369</li> 1370</ul> 1371<a name="withoutAttribute(java.lang.Object)"> 1372<!-- --> 1373</a> 1374<ul class="blockList"> 1375<li class="blockList"> 1376<h4>withoutAttribute</h4> 1377<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/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> 1378<dl><dt><span class="strong">Since:</span></dt> 1379 <dd>2.3</dd></dl> 1380</li> 1381</ul> 1382<a name="withRootValueSeparator(java.lang.String)"> 1383<!-- --> 1384</a> 1385<ul class="blockList"> 1386<li class="blockList"> 1387<h4>withRootValueSeparator</h4> 1388<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/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sep)</pre> 1389<dl><dt><span class="strong">Since:</span></dt> 1390 <dd>2.5</dd></dl> 1391</li> 1392</ul> 1393<a name="withRootValueSeparator(com.fasterxml.jackson.core.SerializableString)"> 1394<!-- --> 1395</a> 1396<ul class="blockList"> 1397<li class="blockList"> 1398<h4>withRootValueSeparator</h4> 1399<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withRootValueSeparator(com.fasterxml.jackson.core.SerializableString sep)</pre> 1400<dl><dt><span class="strong">Since:</span></dt> 1401 <dd>2.5</dd></dl> 1402</li> 1403</ul> 1404<a name="writeValues(java.io.File)"> 1405<!-- --> 1406</a> 1407<ul class="blockList"> 1408<li class="blockList"> 1409<h4>writeValues</h4> 1410<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/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> out) 1411 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1412<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 1413 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>. 1414 Sequence is not surrounded by JSON array; some backend types may not 1415 support writing of such sequences as root level. 1416 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close()"><code>SequenceWriter.close()</code></a>d after all 1417 values have been written to ensure closing of underlying generator and 1418 output stream.</div> 1419<dl><dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - Target file to write value sequence to.</dd> 1420<dt><span class="strong">Throws:</span></dt> 1421<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd><dt><span class="strong">Since:</span></dt> 1422 <dd>2.5</dd></dl> 1423</li> 1424</ul> 1425<a name="writeValues(com.fasterxml.jackson.core.JsonGenerator)"> 1426<!-- --> 1427</a> 1428<ul class="blockList"> 1429<li class="blockList"> 1430<h4>writeValues</h4> 1431<pre>public <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a> writeValues(com.fasterxml.jackson.core.JsonGenerator gen) 1432 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1433<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 1434 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>. 1435 Sequence is not surrounded by JSON array; some backend types may not 1436 support writing of such sequences as root level. 1437 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close()"><code>SequenceWriter.close()</code></a>d after all 1438 values have been written to ensure that all content gets flushed by 1439 the generator. However, since a <code>JsonGenerator</code> is explicitly passed, 1440 it will NOT be closed when <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close()"><code>SequenceWriter.close()</code></a> is called.</div> 1441<dl><dt><span class="strong">Parameters:</span></dt><dd><code>gen</code> - Low-level generator caller has already constructed that will 1442 be used for actual writing of token stream.</dd> 1443<dt><span class="strong">Throws:</span></dt> 1444<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd><dt><span class="strong">Since:</span></dt> 1445 <dd>2.5</dd></dl> 1446</li> 1447</ul> 1448<a name="writeValues(java.io.Writer)"> 1449<!-- --> 1450</a> 1451<ul class="blockList"> 1452<li class="blockList"> 1453<h4>writeValues</h4> 1454<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/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> out) 1455 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1456<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 1457 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>. 1458 Sequence is not surrounded by JSON array; some backend types may not 1459 support writing of such sequences as root level. 1460 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close()"><code>SequenceWriter.close()</code></a>d after all 1461 values have been written to ensure closing of underlying generator and 1462 output stream.</div> 1463<dl><dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - Target writer to use for writing the token stream</dd> 1464<dt><span class="strong">Throws:</span></dt> 1465<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd><dt><span class="strong">Since:</span></dt> 1466 <dd>2.5</dd></dl> 1467</li> 1468</ul> 1469<a name="writeValues(java.io.OutputStream)"> 1470<!-- --> 1471</a> 1472<ul class="blockList"> 1473<li class="blockList"> 1474<h4>writeValues</h4> 1475<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/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out) 1476 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1477<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 1478 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>. 1479 Sequence is not surrounded by JSON array; some backend types may not 1480 support writing of such sequences as root level. 1481 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close()"><code>SequenceWriter.close()</code></a>d after all 1482 values have been written to ensure closing of underlying generator and 1483 output stream.</div> 1484<dl><dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - Physical output stream to use for writing the token stream</dd> 1485<dt><span class="strong">Throws:</span></dt> 1486<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd><dt><span class="strong">Since:</span></dt> 1487 <dd>2.5</dd></dl> 1488</li> 1489</ul> 1490<a name="writeValuesAsArray(java.io.File)"> 1491<!-- --> 1492</a> 1493<ul class="blockList"> 1494<li class="blockList"> 1495<h4>writeValuesAsArray</h4> 1496<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/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> out) 1497 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1498<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 1499 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>. 1500 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close()"><code>SequenceWriter.close()</code></a>d after all 1501 values have been written to ensure closing of underlying generator and 1502 output stream. 1503<p> 1504 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 1505 be type of individual values (elements) to write and NOT matching array 1506 or <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type.</div> 1507<dl><dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - File to write token stream to</dd> 1508<dt><span class="strong">Throws:</span></dt> 1509<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd><dt><span class="strong">Since:</span></dt> 1510 <dd>2.5</dd></dl> 1511</li> 1512</ul> 1513<a name="writeValuesAsArray(com.fasterxml.jackson.core.JsonGenerator)"> 1514<!-- --> 1515</a> 1516<ul class="blockList"> 1517<li class="blockList"> 1518<h4>writeValuesAsArray</h4> 1519<pre>public <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a> writeValuesAsArray(com.fasterxml.jackson.core.JsonGenerator gen) 1520 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1521<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 1522 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>. 1523 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close()"><code>SequenceWriter.close()</code></a>d after all 1524 values have been written to ensure that all content gets flushed by 1525 the generator. However, since a <code>JsonGenerator</code> is explicitly passed, 1526 it will NOT be closed when <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close()"><code>SequenceWriter.close()</code></a> is called. 1527<p> 1528 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 1529 be type of individual values (elements) to write and NOT matching array 1530 or <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type.</div> 1531<dl><dt><span class="strong">Parameters:</span></dt><dd><code>gen</code> - Underlying generator to use for writing the token stream</dd> 1532<dt><span class="strong">Throws:</span></dt> 1533<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd><dt><span class="strong">Since:</span></dt> 1534 <dd>2.5</dd></dl> 1535</li> 1536</ul> 1537<a name="writeValuesAsArray(java.io.Writer)"> 1538<!-- --> 1539</a> 1540<ul class="blockList"> 1541<li class="blockList"> 1542<h4>writeValuesAsArray</h4> 1543<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/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> out) 1544 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1545<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 1546 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>. 1547 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close()"><code>SequenceWriter.close()</code></a>d after all 1548 values have been written to ensure closing of underlying generator and 1549 output stream. 1550<p> 1551 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 1552 be type of individual values (elements) to write and NOT matching array 1553 or <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type.</div> 1554<dl><dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - Writer to use for writing the token stream</dd> 1555<dt><span class="strong">Throws:</span></dt> 1556<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd><dt><span class="strong">Since:</span></dt> 1557 <dd>2.5</dd></dl> 1558</li> 1559</ul> 1560<a name="writeValuesAsArray(java.io.OutputStream)"> 1561<!-- --> 1562</a> 1563<ul class="blockList"> 1564<li class="blockList"> 1565<h4>writeValuesAsArray</h4> 1566<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/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out) 1567 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1568<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 1569 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>. 1570 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close()"><code>SequenceWriter.close()</code></a>d after all 1571 values have been written to ensure closing of underlying generator and 1572 output stream. 1573<p> 1574 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 1575 be type of individual values (elements) to write and NOT matching array 1576 or <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type.</div> 1577<dl><dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - Physical output stream to use for writing the token stream</dd> 1578<dt><span class="strong">Throws:</span></dt> 1579<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd><dt><span class="strong">Since:</span></dt> 1580 <dd>2.5</dd></dl> 1581</li> 1582</ul> 1583<a name="isEnabled(com.fasterxml.jackson.databind.SerializationFeature)"> 1584<!-- --> 1585</a> 1586<ul class="blockList"> 1587<li class="blockList"> 1588<h4>isEnabled</h4> 1589<pre>public boolean isEnabled(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> f)</pre> 1590</li> 1591</ul> 1592<a name="isEnabled(com.fasterxml.jackson.databind.MapperFeature)"> 1593<!-- --> 1594</a> 1595<ul class="blockList"> 1596<li class="blockList"> 1597<h4>isEnabled</h4> 1598<pre>public boolean isEnabled(<a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> f)</pre> 1599</li> 1600</ul> 1601<a name="isEnabled(com.fasterxml.jackson.core.JsonParser.Feature)"> 1602<!-- --> 1603</a> 1604<ul class="blockList"> 1605<li class="blockList"> 1606<h4>isEnabled</h4> 1607<pre>public boolean isEnabled(com.fasterxml.jackson.core.JsonParser.Feature f)</pre> 1608</li> 1609</ul> 1610<a name="getConfig()"> 1611<!-- --> 1612</a> 1613<ul class="blockList"> 1614<li class="blockList"> 1615<h4>getConfig</h4> 1616<pre>public <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> getConfig()</pre> 1617<dl><dt><span class="strong">Since:</span></dt> 1618 <dd>2.2</dd></dl> 1619</li> 1620</ul> 1621<a name="getJsonFactory()"> 1622<!-- --> 1623</a> 1624<ul class="blockList"> 1625<li class="blockList"> 1626<h4>getJsonFactory</h4> 1627<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 1628public com.fasterxml.jackson.core.JsonFactory getJsonFactory()</pre> 1629<div class="block"><span class="strong">Deprecated.</span> <i>Since 2.2, use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getFactory()"><code>getFactory()</code></a> instead.</i></div> 1630</li> 1631</ul> 1632<a name="getFactory()"> 1633<!-- --> 1634</a> 1635<ul class="blockList"> 1636<li class="blockList"> 1637<h4>getFactory</h4> 1638<pre>public com.fasterxml.jackson.core.JsonFactory getFactory()</pre> 1639<dl><dt><span class="strong">Since:</span></dt> 1640 <dd>2.2</dd></dl> 1641</li> 1642</ul> 1643<a name="getTypeFactory()"> 1644<!-- --> 1645</a> 1646<ul class="blockList"> 1647<li class="blockList"> 1648<h4>getTypeFactory</h4> 1649<pre>public <a href="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a> getTypeFactory()</pre> 1650</li> 1651</ul> 1652<a name="hasPrefetchedSerializer()"> 1653<!-- --> 1654</a> 1655<ul class="blockList"> 1656<li class="blockList"> 1657<h4>hasPrefetchedSerializer</h4> 1658<pre>public boolean hasPrefetchedSerializer()</pre> 1659<div class="block">Diagnostics method that can be called to check whether this writer 1660 has pre-fetched serializer to use: pre-fetching improves performance 1661 when writer instances are reused as it avoids a per-call serializer 1662 lookup.</div> 1663<dl><dt><span class="strong">Since:</span></dt> 1664 <dd>2.2</dd></dl> 1665</li> 1666</ul> 1667<a name="getAttributes()"> 1668<!-- --> 1669</a> 1670<ul class="blockList"> 1671<li class="blockList"> 1672<h4>getAttributes</h4> 1673<pre>public <a href="../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a> getAttributes()</pre> 1674<dl><dt><span class="strong">Since:</span></dt> 1675 <dd>2.3</dd></dl> 1676</li> 1677</ul> 1678<a name="writeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object)"> 1679<!-- --> 1680</a> 1681<ul class="blockList"> 1682<li class="blockList"> 1683<h4>writeValue</h4> 1684<pre>public void writeValue(com.fasterxml.jackson.core.JsonGenerator gen, 1685 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 1686 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, 1687 com.fasterxml.jackson.core.JsonGenerationException, 1688 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1689<div class="block">Method that can be used to serialize any Java value as 1690 JSON output, using provided <code>JsonGenerator</code>.</div> 1691<dl><dt><span class="strong">Throws:</span></dt> 1692<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1693<dd><code>com.fasterxml.jackson.core.JsonGenerationException</code></dd> 1694<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 1695</li> 1696</ul> 1697<a name="writeValue(java.io.File, java.lang.Object)"> 1698<!-- --> 1699</a> 1700<ul class="blockList"> 1701<li class="blockList"> 1702<h4>writeValue</h4> 1703<pre>public void writeValue(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> resultFile, 1704 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 1705 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, 1706 com.fasterxml.jackson.core.JsonGenerationException, 1707 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1708<div class="block">Method that can be used to serialize any Java value as 1709 JSON output, written to File provided.</div> 1710<dl><dt><span class="strong">Throws:</span></dt> 1711<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1712<dd><code>com.fasterxml.jackson.core.JsonGenerationException</code></dd> 1713<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 1714</li> 1715</ul> 1716<a name="writeValue(java.io.OutputStream, java.lang.Object)"> 1717<!-- --> 1718</a> 1719<ul class="blockList"> 1720<li class="blockList"> 1721<h4>writeValue</h4> 1722<pre>public void writeValue(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, 1723 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 1724 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, 1725 com.fasterxml.jackson.core.JsonGenerationException, 1726 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1727<div class="block">Method that can be used to serialize any Java value as 1728 JSON output, using output stream provided (using encoding 1729 <code>JsonEncoding.UTF8</code>). 1730<p> 1731 Note: method does not close the underlying stream explicitly 1732 here; however, <code>JsonFactory</code> this mapper uses may choose 1733 to close the stream depending on its settings (by default, 1734 it will try to close it when <code>JsonGenerator</code> we construct 1735 is closed).</div> 1736<dl><dt><span class="strong">Throws:</span></dt> 1737<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1738<dd><code>com.fasterxml.jackson.core.JsonGenerationException</code></dd> 1739<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 1740</li> 1741</ul> 1742<a name="writeValue(java.io.Writer, java.lang.Object)"> 1743<!-- --> 1744</a> 1745<ul class="blockList"> 1746<li class="blockList"> 1747<h4>writeValue</h4> 1748<pre>public void writeValue(<a href="http://docs.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> w, 1749 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 1750 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, 1751 com.fasterxml.jackson.core.JsonGenerationException, 1752 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1753<div class="block">Method that can be used to serialize any Java value as 1754 JSON output, using Writer provided. 1755<p> 1756 Note: method does not close the underlying stream explicitly 1757 here; however, <code>JsonFactory</code> this mapper uses may choose 1758 to close the stream depending on its settings (by default, 1759 it will try to close it when <code>JsonGenerator</code> we construct 1760 is closed).</div> 1761<dl><dt><span class="strong">Throws:</span></dt> 1762<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1763<dd><code>com.fasterxml.jackson.core.JsonGenerationException</code></dd> 1764<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 1765</li> 1766</ul> 1767<a name="writeValueAsString(java.lang.Object)"> 1768<!-- --> 1769</a> 1770<ul class="blockList"> 1771<li class="blockList"> 1772<h4>writeValueAsString</h4> 1773<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> writeValueAsString(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 1774 throws com.fasterxml.jackson.core.JsonProcessingException</pre> 1775<div class="block">Method that can be used to serialize any Java value as 1776 a String. Functionally equivalent to calling 1777 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue(java.io.Writer, java.lang.Object)"><code>writeValue(Writer,Object)</code></a> with <a href="http://docs.oracle.com/javase/6/docs/api/java/io/StringWriter.html?is-external=true" title="class or interface in java.io"><code>StringWriter</code></a> 1778 and constructing String, but more efficient. 1779<p> 1780 Note: prior to version 2.1, throws clause included <a href="http://docs.oracle.com/javase/6/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> 1781<dl><dt><span class="strong">Throws:</span></dt> 1782<dd><code>com.fasterxml.jackson.core.JsonProcessingException</code></dd></dl> 1783</li> 1784</ul> 1785<a name="writeValueAsBytes(java.lang.Object)"> 1786<!-- --> 1787</a> 1788<ul class="blockList"> 1789<li class="blockList"> 1790<h4>writeValueAsBytes</h4> 1791<pre>public byte[] writeValueAsBytes(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 1792 throws com.fasterxml.jackson.core.JsonProcessingException</pre> 1793<div class="block">Method that can be used to serialize any Java value as 1794 a byte array. Functionally equivalent to calling 1795 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue(java.io.Writer, java.lang.Object)"><code>writeValue(Writer,Object)</code></a> with <a href="http://docs.oracle.com/javase/6/docs/api/java/io/ByteArrayOutputStream.html?is-external=true" title="class or interface in java.io"><code>ByteArrayOutputStream</code></a> 1796 and getting bytes, but more efficient. 1797 Encoding used will be UTF-8. 1798<p> 1799 Note: prior to version 2.1, throws clause included <a href="http://docs.oracle.com/javase/6/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> 1800<dl><dt><span class="strong">Throws:</span></dt> 1801<dd><code>com.fasterxml.jackson.core.JsonProcessingException</code></dd></dl> 1802</li> 1803</ul> 1804<a name="acceptJsonFormatVisitor(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper)"> 1805<!-- --> 1806</a> 1807<ul class="blockList"> 1808<li class="blockList"> 1809<h4>acceptJsonFormatVisitor</h4> 1810<pre>public void acceptJsonFormatVisitor(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 1811 <a href="../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor) 1812 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1813<div class="block">Method for visiting type hierarchy for given type, using specified visitor. 1814 Visitation uses <code>Serializer</code> hierarchy and related properties 1815<p> 1816 This method can be used for things like 1817 generating <a href="http://json-schema.org/">Json Schema</a> 1818 instance for specified type.</div> 1819<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - Type to generate schema for (possibly with generic signature)</dd> 1820<dt><span class="strong">Throws:</span></dt> 1821<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> 1822 <dd>2.2</dd></dl> 1823</li> 1824</ul> 1825<a name="canSerialize(java.lang.Class)"> 1826<!-- --> 1827</a> 1828<ul class="blockList"> 1829<li class="blockList"> 1830<h4>canSerialize</h4> 1831<pre>public boolean canSerialize(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</pre> 1832</li> 1833</ul> 1834<a name="canSerialize(java.lang.Class, java.util.concurrent.atomic.AtomicReference)"> 1835<!-- --> 1836</a> 1837<ul class="blockList"> 1838<li class="blockList"> 1839<h4>canSerialize</h4> 1840<pre>public boolean canSerialize(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type, 1841 <a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a><<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>> cause)</pre> 1842<div class="block">Method for checking whether instances of given type can be serialized, 1843 and optionally why (as per <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><code>Throwable</code></a> returned).</div> 1844<dl><dt><span class="strong">Since:</span></dt> 1845 <dd>2.3</dd></dl> 1846</li> 1847</ul> 1848<a name="_serializerProvider(com.fasterxml.jackson.databind.SerializationConfig)"> 1849<!-- --> 1850</a> 1851<ul class="blockList"> 1852<li class="blockList"> 1853<h4>_serializerProvider</h4> 1854<pre>protected <a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a> _serializerProvider(<a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</pre> 1855<div class="block">Overridable helper method used for constructing 1856 <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a> to use for serialization.</div> 1857</li> 1858</ul> 1859<a name="_verifySchemaType(com.fasterxml.jackson.core.FormatSchema)"> 1860<!-- --> 1861</a> 1862<ul class="blockList"> 1863<li class="blockList"> 1864<h4>_verifySchemaType</h4> 1865<pre>protected void _verifySchemaType(com.fasterxml.jackson.core.FormatSchema schema)</pre> 1866<dl><dt><span class="strong">Since:</span></dt> 1867 <dd>2.2</dd></dl> 1868</li> 1869</ul> 1870<a name="_configAndWriteValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object)"> 1871<!-- --> 1872</a> 1873<ul class="blockList"> 1874<li class="blockList"> 1875<h4>_configAndWriteValue</h4> 1876<pre>protected final void _configAndWriteValue(com.fasterxml.jackson.core.JsonGenerator gen, 1877 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 1878 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1879<div class="block">Method called to configure the generator as necessary and then 1880 call write functionality</div> 1881<dl><dt><span class="strong">Throws:</span></dt> 1882<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> 1883</li> 1884</ul> 1885<a name="_prefetchRootSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType)"> 1886<!-- --> 1887</a> 1888<ul class="blockList"> 1889<li class="blockList"> 1890<h4>_prefetchRootSerializer</h4> 1891<pre>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a> _prefetchRootSerializer(<a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 1892 <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType)</pre> 1893<div class="block">Method called to locate (root) serializer ahead of time, if permitted 1894 by configuration. Method also is NOT to throw an exception if 1895 access fails.</div> 1896</li> 1897</ul> 1898<a name="_configureJsonGenerator(com.fasterxml.jackson.core.JsonGenerator)"> 1899<!-- --> 1900</a> 1901<ul class="blockList"> 1902<li class="blockList"> 1903<h4>_configureJsonGenerator</h4> 1904<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 1905protected void _configureJsonGenerator(com.fasterxml.jackson.core.JsonGenerator gen)</pre> 1906<div class="block"><span class="strong">Deprecated.</span> <i>Since 2.5 (to be removed from 2.6 or later)</i></div> 1907<div class="block">Helper method called to set or override settings of passed-in 1908 <code>JsonGenerator</code></div> 1909<dl><dt><span class="strong">Since:</span></dt> 1910 <dd>2.1</dd></dl> 1911</li> 1912</ul> 1913<a name="_configureGenerator(com.fasterxml.jackson.core.JsonGenerator)"> 1914<!-- --> 1915</a> 1916<ul class="blockListLast"> 1917<li class="blockList"> 1918<h4>_configureGenerator</h4> 1919<pre>protected com.fasterxml.jackson.core.JsonGenerator _configureGenerator(com.fasterxml.jackson.core.JsonGenerator gen)</pre> 1920<div class="block">Helper method called to set or override settings of passed-in 1921 <code>JsonGenerator</code></div> 1922<dl><dt><span class="strong">Since:</span></dt> 1923 <dd>2.5</dd></dl> 1924</li> 1925</ul> 1926</li> 1927</ul> 1928</li> 1929</ul> 1930</div> 1931</div> 1932<!-- ========= END OF CLASS DATA ========= --> 1933<!-- ======= START OF BOTTOM NAVBAR ====== --> 1934<div class="bottomNav"><a name="navbar_bottom"> 1935<!-- --> 1936</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 1937<!-- --> 1938</a> 1939<ul class="navList" title="Navigation"> 1940<li><a href="../../../../overview-summary.html">Overview</a></li> 1941<li><a href="package-summary.html">Package</a></li> 1942<li class="navBarCell1Rev">Class</li> 1943<li><a href="class-use/ObjectWriter.html">Use</a></li> 1944<li><a href="package-tree.html">Tree</a></li> 1945<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 1946<li><a href="../../../../index-all.html">Index</a></li> 1947<li><a href="../../../../help-doc.html">Help</a></li> 1948</ul> 1949</div> 1950<div class="subNav"> 1951<ul class="navList"> 1952<li><a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 1953<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> 1954</ul> 1955<ul class="navList"> 1956<li><a href="../../../../index.html?com/fasterxml/jackson/databind/ObjectWriter.html" target="_top">Frames</a></li> 1957<li><a href="ObjectWriter.html" target="_top">No Frames</a></li> 1958</ul> 1959<ul class="navList" id="allclasses_navbar_bottom"> 1960<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 1961</ul> 1962<div> 1963<script type="text/javascript"><!-- 1964 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 1965 if(window==top) { 1966 allClassesLink.style.display = "block"; 1967 } 1968 else { 1969 allClassesLink.style.display = "none"; 1970 } 1971 //--> 1972</script> 1973</div> 1974<div> 1975<ul class="subNavList"> 1976<li>Summary: </li> 1977<li><a href="#nested_class_summary">Nested</a> | </li> 1978<li><a href="#field_summary">Field</a> | </li> 1979<li><a href="#constructor_summary">Constr</a> | </li> 1980<li><a href="#method_summary">Method</a></li> 1981</ul> 1982<ul class="subNavList"> 1983<li>Detail: </li> 1984<li><a href="#field_detail">Field</a> | </li> 1985<li><a href="#constructor_detail">Constr</a> | </li> 1986<li><a href="#method_detail">Method</a></li> 1987</ul> 1988</div> 1989<a name="skip-navbar_bottom"> 1990<!-- --> 1991</a></div> 1992<!-- ======== END OF BOTTOM NAVBAR ======= --> 1993<p class="legalCopy"><small>Copyright © 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 1994</body> 1995</html> 1996