1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (1.8.0) on Sun Jul 19 11:36:54 PDT 2015 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>Uses of Class com.fasterxml.jackson.databind.ObjectWriter (jackson-databind 2.6.0 API)</title> 8<meta name="date" content="2015-07-19"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="Uses of Class com.fasterxml.jackson.databind.ObjectWriter (jackson-databind 2.6.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22</script> 23<noscript> 24<div>JavaScript is disabled on your browser.</div> 25</noscript> 26<!-- ========= START OF TOP NAVBAR ======= --> 27<div class="topNav"><a name="navbar.top"> 28<!-- --> 29</a> 30<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 31<a name="navbar.top.firstrow"> 32<!-- --> 33</a> 34<ul class="navList" title="Navigation"> 35<li><a href="../../../../../overview-summary.html">Overview</a></li> 36<li><a href="../package-summary.html">Package</a></li> 37<li><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">Class</a></li> 38<li class="navBarCell1Rev">Use</li> 39<li><a href="../package-tree.html">Tree</a></li> 40<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 41<li><a href="../../../../../index-all.html">Index</a></li> 42<li><a href="../../../../../help-doc.html">Help</a></li> 43</ul> 44</div> 45<div class="subNav"> 46<ul class="navList"> 47<li>Prev</li> 48<li>Next</li> 49</ul> 50<ul class="navList"> 51<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/class-use/ObjectWriter.html" target="_top">Frames</a></li> 52<li><a href="ObjectWriter.html" target="_top">No Frames</a></li> 53</ul> 54<ul class="navList" id="allclasses_navbar_top"> 55<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 56</ul> 57<div> 58<script type="text/javascript"><!-- 59 allClassesLink = document.getElementById("allclasses_navbar_top"); 60 if(window==top) { 61 allClassesLink.style.display = "block"; 62 } 63 else { 64 allClassesLink.style.display = "none"; 65 } 66 //--> 67</script> 68</div> 69<a name="skip.navbar.top"> 70<!-- --> 71</a></div> 72<!-- ========= END OF TOP NAVBAR ========= --> 73<div class="header"> 74<h2 title="Uses of Class com.fasterxml.jackson.databind.ObjectWriter" class="title">Uses of Class<br>com.fasterxml.jackson.databind.ObjectWriter</h2> 75</div> 76<div class="classUseContainer"> 77<ul class="blockList"> 78<li class="blockList"> 79<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> 80<caption><span>Packages that use <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></span><span class="tabEnd"> </span></caption> 81<tr> 82<th class="colFirst" scope="col">Package</th> 83<th class="colLast" scope="col">Description</th> 84</tr> 85<tbody> 86<tr class="altColor"> 87<td class="colFirst"><a href="#com.fasterxml.jackson.databind">com.fasterxml.jackson.databind</a></td> 88<td class="colLast"> 89<div class="block">Basic data binding (mapping) functionality that 90allows for reading JSON content into Java Objects (POJOs) 91and JSON Trees (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind"><code>JsonNode</code></a>), as well as 92writing Java Objects and trees as JSON.</div> 93</td> 94</tr> 95</tbody> 96</table> 97</li> 98<li class="blockList"> 99<ul class="blockList"> 100<li class="blockList"><a name="com.fasterxml.jackson.databind"> 101<!-- --> 102</a> 103<h3>Uses of <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> in <a href="../../../../../com/fasterxml/jackson/databind/package-summary.html">com.fasterxml.jackson.databind</a></h3> 104<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 105<caption><span>Methods in <a href="../../../../../com/fasterxml/jackson/databind/package-summary.html">com.fasterxml.jackson.databind</a> that return <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></span><span class="tabEnd"> </span></caption> 106<tr> 107<th class="colFirst" scope="col">Modifier and Type</th> 108<th class="colLast" scope="col">Method and Description</th> 109</tr> 110<tbody> 111<tr class="altColor"> 112<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 113<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter.GeneratorSettings-com.fasterxml.jackson.databind.ObjectWriter.Prefetch-">_new</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a> genSettings, 114 <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a> prefetch)</code> 115<div class="block">Overridable factory method called by various "withXxx()" methods.</div> 116</td> 117</tr> 118<tr class="rowColor"> 119<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 120<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.core.JsonFactory-">_new</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 121 com.fasterxml.jackson.core.JsonFactory f)</code> 122<div class="block">Overridable factory method called by various "withXxx()" methods</div> 123</td> 124</tr> 125<tr class="altColor"> 126<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 127<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-">_new</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 128 <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</code> 129<div class="block">Overridable factory method called by various "withXxx()" methods</div> 130</td> 131</tr> 132<tr class="rowColor"> 133<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 134<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#Z:Z_newWriter-com.fasterxml.jackson.databind.SerializationConfig-">_newWriter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</code> 135<div class="block">Factory method sub-classes must override, to produce <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> 136 instances of proper sub-type</div> 137</td> 138</tr> 139<tr class="altColor"> 140<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 141<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#Z:Z_newWriter-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.core.FormatSchema-">_newWriter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 142 com.fasterxml.jackson.core.FormatSchema schema)</code> 143<div class="block">Factory method sub-classes must override, to produce <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> 144 instances of proper sub-type</div> 145</td> 146</tr> 147<tr class="rowColor"> 148<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 149<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#Z:Z_newWriter-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.core.PrettyPrinter-">_newWriter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 150 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 151 com.fasterxml.jackson.core.PrettyPrinter pp)</code> 152<div class="block">Factory method sub-classes must override, to produce <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> 153 instances of proper sub-type</div> 154</td> 155</tr> 156<tr class="altColor"> 157<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 158<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-">forType</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> rootType)</code> 159<div class="block">Method that will construct a new instance that uses specific type 160 as the root type for serialization, instead of runtime dynamic 161 type of the root object itself.</div> 162</td> 163</tr> 164<tr class="rowColor"> 165<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 166<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.databind.JavaType-">forType</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType)</code> 167<div class="block">Method that will construct a new instance that uses specific type 168 as the root type for serialization, instead of runtime dynamic 169 type of the root object itself.</div> 170</td> 171</tr> 172<tr class="altColor"> 173<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 174<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.core.type.TypeReference-">forType</a></span>(com.fasterxml.jackson.core.type.TypeReference<?> rootType)</code> 175<div class="block">Method that will construct a new instance that uses specific type 176 as the root type for serialization, instead of runtime dynamic 177 type of the root object itself.</div> 178</td> 179</tr> 180<tr class="rowColor"> 181<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 182<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.Base64Variant-">with</a></span>(com.fasterxml.jackson.core.Base64Variant b64variant)</code> 183<div class="block">Method that will construct a new instance that uses specified default 184 <code>Base64Variant</code> for base64 encoding</div> 185</td> 186</tr> 187<tr class="altColor"> 188<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 189<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.io.CharacterEscapes-">with</a></span>(com.fasterxml.jackson.core.io.CharacterEscapes escapes)</code> </td> 190</tr> 191<tr class="rowColor"> 192<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 193<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.databind.cfg.ContextAttributes-">with</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a> attrs)</code> </td> 194</tr> 195<tr class="altColor"> 196<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 197<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-java.text.DateFormat-">with</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</a> df)</code> 198<div class="block">Fluent factory method that will construct a new writer instance that will 199 use specified date format for serializing dates; or if null passed, one 200 that will serialize dates as numeric timestamps.</div> 201</td> 202</tr> 203<tr class="rowColor"> 204<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 205<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.databind.ser.FilterProvider-">with</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</a> filterProvider)</code> 206<div class="block">Method that will construct a new instance that uses specified 207 provider for resolving filter instances by id.</div> 208</td> 209</tr> 210<tr class="altColor"> 211<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 212<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.FormatSchema-">with</a></span>(com.fasterxml.jackson.core.FormatSchema schema)</code> 213<div class="block">Method that will construct a new instance that uses specific format schema 214 for serialization.</div> 215</td> 216</tr> 217<tr class="rowColor"> 218<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 219<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.JsonFactory-">with</a></span>(com.fasterxml.jackson.core.JsonFactory f)</code> </td> 220</tr> 221<tr class="altColor"> 222<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 223<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.JsonGenerator.Feature-">with</a></span>(com.fasterxml.jackson.core.JsonGenerator.Feature feature)</code> </td> 224</tr> 225<tr class="rowColor"> 226<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 227<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-java.util.Locale-">with</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> l)</code> </td> 228</tr> 229<tr class="altColor"> 230<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 231<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.PrettyPrinter-">with</a></span>(com.fasterxml.jackson.core.PrettyPrinter pp)</code> 232<div class="block">Method that will construct a new instance that will use specified pretty 233 printer (or, if null, will not do any pretty-printing)</div> 234</td> 235</tr> 236<tr class="rowColor"> 237<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 238<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.databind.SerializationFeature-">with</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> feature)</code> 239<div class="block">Method for constructing a new instance that is configured 240 with specified feature enabled.</div> 241</td> 242</tr> 243<tr class="altColor"> 244<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 245<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-">with</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> first, 246 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</code> 247<div class="block">Method for constructing a new instance that is configured 248 with specified features enabled.</div> 249</td> 250</tr> 251<tr class="rowColor"> 252<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 253<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-java.util.TimeZone-">with</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> tz)</code> </td> 254</tr> 255<tr class="altColor"> 256<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 257<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withAttribute-java.lang.Object-java.lang.Object-">withAttribute</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, 258 <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> 259</tr> 260<tr class="rowColor"> 261<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 262<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withAttributes-java.util.Map-">withAttributes</a></span>(<a href="http://docs.oracle.com/javase/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> 263</tr> 264<tr class="altColor"> 265<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 266<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withDefaultPrettyPrinter--">withDefaultPrettyPrinter</a></span>()</code> 267<div class="block">Method that will construct a new instance that will use the default 268 pretty printer for serialization.</div> 269</td> 270</tr> 271<tr class="rowColor"> 272<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 273<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withFeatures-com.fasterxml.jackson.core.JsonGenerator.Feature...-">withFeatures</a></span>(com.fasterxml.jackson.core.JsonGenerator.Feature... features)</code> </td> 274</tr> 275<tr class="altColor"> 276<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 277<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withFeatures-com.fasterxml.jackson.databind.SerializationFeature...-">withFeatures</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... features)</code> 278<div class="block">Method for constructing a new instance that is configured 279 with specified features enabled.</div> 280</td> 281</tr> 282<tr class="rowColor"> 283<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 284<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without-com.fasterxml.jackson.core.JsonGenerator.Feature-">without</a></span>(com.fasterxml.jackson.core.JsonGenerator.Feature feature)</code> </td> 285</tr> 286<tr class="altColor"> 287<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 288<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without-com.fasterxml.jackson.databind.SerializationFeature-">without</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> feature)</code> 289<div class="block">Method for constructing a new instance that is configured 290 with specified feature enabled.</div> 291</td> 292</tr> 293<tr class="rowColor"> 294<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 295<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-">without</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> first, 296 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</code> 297<div class="block">Method for constructing a new instance that is configured 298 with specified features enabled.</div> 299</td> 300</tr> 301<tr class="altColor"> 302<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 303<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutAttribute-java.lang.Object-">withoutAttribute</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> </td> 304</tr> 305<tr class="rowColor"> 306<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 307<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutFeatures-com.fasterxml.jackson.core.JsonGenerator.Feature...-">withoutFeatures</a></span>(com.fasterxml.jackson.core.JsonGenerator.Feature... features)</code> </td> 308</tr> 309<tr class="altColor"> 310<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 311<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutFeatures-com.fasterxml.jackson.databind.SerializationFeature...-">withoutFeatures</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... features)</code> 312<div class="block">Method for constructing a new instance that is configured 313 with specified features enabled.</div> 314</td> 315</tr> 316<tr class="rowColor"> 317<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 318<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutRootName--">withoutRootName</a></span>()</code> 319<div class="block">Convenience method that is same as calling: 320<code> 321 withRootName("") 322</code> 323 which will forcibly prevent use of root name wrapping when writing 324 values with this <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div> 325</td> 326</tr> 327<tr class="altColor"> 328<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 329<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withRootName-com.fasterxml.jackson.databind.PropertyName-">withRootName</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a> rootName)</code> </td> 330</tr> 331<tr class="rowColor"> 332<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 333<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withRootName-java.lang.String-">withRootName</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> rootName)</code> 334<div class="block">Method for constructing a new instance with configuration that 335 specifies what root name to use for "root element wrapping".</div> 336</td> 337</tr> 338<tr class="altColor"> 339<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 340<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withRootValueSeparator-com.fasterxml.jackson.core.SerializableString-">withRootValueSeparator</a></span>(com.fasterxml.jackson.core.SerializableString sep)</code> </td> 341</tr> 342<tr class="rowColor"> 343<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 344<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withRootValueSeparator-java.lang.String-">withRootValueSeparator</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sep)</code> </td> 345</tr> 346<tr class="altColor"> 347<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 348<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withSchema-com.fasterxml.jackson.core.FormatSchema-">withSchema</a></span>(com.fasterxml.jackson.core.FormatSchema schema)</code> 349<div class="block"><span class="deprecatedLabel">Deprecated.</span> 350<div class="block"><span class="deprecationComment">Since 2.5 use <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.FormatSchema-"><code>with(FormatSchema)</code></a> instead</span></div> 351</div> 352</td> 353</tr> 354<tr class="rowColor"> 355<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 356<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withType-java.lang.Class-">withType</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> rootType)</code> 357<div class="block"><span class="deprecatedLabel">Deprecated.</span> 358<div class="block"><span class="deprecationComment">since 2.5 Use <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-"><code>forType(Class)</code></a> instead</span></div> 359</div> 360</td> 361</tr> 362<tr class="altColor"> 363<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 364<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withType-com.fasterxml.jackson.databind.JavaType-">withType</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType)</code> 365<div class="block"><span class="deprecatedLabel">Deprecated.</span> 366<div class="block"><span class="deprecationComment">since 2.5 Use <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.databind.JavaType-"><code>forType(JavaType)</code></a> instead</span></div> 367</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"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withType-com.fasterxml.jackson.core.type.TypeReference-">withType</a></span>(com.fasterxml.jackson.core.type.TypeReference<?> rootType)</code> 373<div class="block"><span class="deprecatedLabel">Deprecated.</span> 374<div class="block"><span class="deprecationComment">since 2.5 Use <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.core.type.TypeReference-"><code>forType(TypeReference)</code></a> instead</span></div> 375</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"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withView-java.lang.Class-">withView</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> view)</code> 381<div class="block">Method that will construct a new instance that uses specified 382 serialization view for serialization (with null basically disables 383 view processing)</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"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer--">writer</a></span>()</code> 389<div class="block">Convenience method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> 390 with default settings.</div> 391</td> 392</tr> 393<tr class="altColor"> 394<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 395<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer-com.fasterxml.jackson.core.Base64Variant-">writer</a></span>(com.fasterxml.jackson.core.Base64Variant defaultBase64)</code> 396<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> that will 397 use specified Base64 encoding variant for Base64-encoded binary data.</div> 398</td> 399</tr> 400<tr class="rowColor"> 401<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 402<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer-com.fasterxml.jackson.core.io.CharacterEscapes-">writer</a></span>(com.fasterxml.jackson.core.io.CharacterEscapes escapes)</code> 403<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a> that will 404 use specified character escaping details for output.</div> 405</td> 406</tr> 407<tr class="altColor"> 408<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 409<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer-com.fasterxml.jackson.databind.cfg.ContextAttributes-">writer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a> attrs)</code> 410<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> that will 411 use specified default attributes.</div> 412</td> 413</tr> 414<tr class="rowColor"> 415<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 416<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer-java.text.DateFormat-">writer</a></span>(<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> 417<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> that will 418 serialize objects using specified <a href="http://docs.oracle.com/javase/6/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text"><code>DateFormat</code></a>; or, if 419 null passed, using timestamp (64-bit number.</div> 420</td> 421</tr> 422<tr class="altColor"> 423<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 424<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer-com.fasterxml.jackson.databind.ser.FilterProvider-">writer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</a> filterProvider)</code> 425<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> that will 426 serialize objects using specified filter provider.</div> 427</td> 428</tr> 429<tr class="rowColor"> 430<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 431<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer-com.fasterxml.jackson.core.FormatSchema-">writer</a></span>(com.fasterxml.jackson.core.FormatSchema schema)</code> 432<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> that will 433 pass specific schema object to <code>JsonGenerator</code> used for 434 writing content.</div> 435</td> 436</tr> 437<tr class="altColor"> 438<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 439<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer-com.fasterxml.jackson.core.PrettyPrinter-">writer</a></span>(com.fasterxml.jackson.core.PrettyPrinter pp)</code> 440<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> that will 441 serialize objects using specified pretty printer for indentation 442 (or if null, no pretty printer)</div> 443</td> 444</tr> 445<tr class="rowColor"> 446<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 447<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer-com.fasterxml.jackson.databind.SerializationFeature-">writer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> feature)</code> 448<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> with 449 specified feature enabled (compared to settings that this 450 mapper instance has).</div> 451</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"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-">writer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> first, 456 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</code> 457<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> with 458 specified features enabled (compared to settings that this 459 mapper instance has).</div> 460</td> 461</tr> 462<tr class="rowColor"> 463<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 464<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerFor-java.lang.Class-">writerFor</a></span>(<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> 465<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> that will 466 serialize objects using specified root type, instead of actual 467 runtime type of value.</div> 468</td> 469</tr> 470<tr class="altColor"> 471<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 472<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerFor-com.fasterxml.jackson.databind.JavaType-">writerFor</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType)</code> 473<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> that will 474 serialize objects using specified root type, instead of actual 475 runtime type of value.</div> 476</td> 477</tr> 478<tr class="rowColor"> 479<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 480<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerFor-com.fasterxml.jackson.core.type.TypeReference-">writerFor</a></span>(com.fasterxml.jackson.core.type.TypeReference<?> rootType)</code> 481<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> that will 482 serialize objects using specified root type, instead of actual 483 runtime type of value.</div> 484</td> 485</tr> 486<tr class="altColor"> 487<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 488<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerWithDefaultPrettyPrinter--">writerWithDefaultPrettyPrinter</a></span>()</code> 489<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> that will 490 serialize objects using the default pretty printer for indentation</div> 491</td> 492</tr> 493<tr class="rowColor"> 494<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 495<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerWithType-java.lang.Class-">writerWithType</a></span>(<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> 496<div class="block"><span class="deprecatedLabel">Deprecated.</span> 497<div class="block"><span class="deprecationComment">Since 2.5, use <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerFor-java.lang.Class-"><code>ObjectMapper.writerFor(Class)</code></a> instead</span></div> 498</div> 499</td> 500</tr> 501<tr class="altColor"> 502<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 503<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerWithType-com.fasterxml.jackson.databind.JavaType-">writerWithType</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType)</code> 504<div class="block"><span class="deprecatedLabel">Deprecated.</span> 505<div class="block"><span class="deprecationComment">Since 2.5, use <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerFor-com.fasterxml.jackson.databind.JavaType-"><code>ObjectMapper.writerFor(JavaType)</code></a> instead</span></div> 506</div> 507</td> 508</tr> 509<tr class="rowColor"> 510<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 511<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerWithType-com.fasterxml.jackson.core.type.TypeReference-">writerWithType</a></span>(com.fasterxml.jackson.core.type.TypeReference<?> rootType)</code> 512<div class="block"><span class="deprecatedLabel">Deprecated.</span> 513<div class="block"><span class="deprecationComment">Since 2.5, use <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerFor-com.fasterxml.jackson.core.type.TypeReference-"><code>ObjectMapper.writerFor(TypeReference)</code></a> instead</span></div> 514</div> 515</td> 516</tr> 517<tr class="altColor"> 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"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerWithView-java.lang.Class-">writerWithView</a></span>(<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><?> serializationView)</code> 520<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> that will 521 serialize objects using specified JSON View (filter).</div> 522</td> 523</tr> 524</tbody> 525</table> 526<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 527<caption><span>Methods in <a href="../../../../../com/fasterxml/jackson/databind/package-summary.html">com.fasterxml.jackson.databind</a> with parameters of type <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></span><span class="tabEnd"> </span></caption> 528<tr> 529<th class="colFirst" scope="col">Modifier and Type</th> 530<th class="colLast" scope="col">Method and Description</th> 531</tr> 532<tbody> 533<tr class="altColor"> 534<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 535<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.core.JsonFactory-">_new</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 536 com.fasterxml.jackson.core.JsonFactory f)</code> 537<div class="block">Overridable factory method called by various "withXxx()" methods</div> 538</td> 539</tr> 540<tr class="rowColor"> 541<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 542<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-">_new</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 543 <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</code> 544<div class="block">Overridable factory method called by various "withXxx()" methods</div> 545</td> 546</tr> 547<tr class="altColor"> 548<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a></code></td> 549<td class="colLast"><span class="typeNameLabel">ObjectWriter.Prefetch.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html#forRootType-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.JavaType-">forRootType</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> parent, 550 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> newType)</code> </td> 551</tr> 552</tbody> 553</table> 554<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> 555<caption><span>Constructors in <a href="../../../../../com/fasterxml/jackson/databind/package-summary.html">com.fasterxml.jackson.databind</a> with parameters of type <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></span><span class="tabEnd"> </span></caption> 556<tr> 557<th class="colOne" scope="col">Constructor and Description</th> 558</tr> 559<tbody> 560<tr class="altColor"> 561<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.core.JsonFactory-">ObjectWriter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 562 com.fasterxml.jackson.core.JsonFactory f)</code> </td> 563</tr> 564<tr class="rowColor"> 565<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-">ObjectWriter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 566 <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</code> 567<div class="block">Copy constructor used for building variations.</div> 568</td> 569</tr> 570<tr class="altColor"> 571<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.ObjectWriter.GeneratorSettings-com.fasterxml.jackson.databind.ObjectWriter.Prefetch-">ObjectWriter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 572 <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 573 <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a> genSettings, 574 <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a> prefetch)</code> 575<div class="block">Copy constructor used for building variations.</div> 576</td> 577</tr> 578</tbody> 579</table> 580</li> 581</ul> 582</li> 583</ul> 584</div> 585<!-- ======= START OF BOTTOM NAVBAR ====== --> 586<div class="bottomNav"><a name="navbar.bottom"> 587<!-- --> 588</a> 589<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 590<a name="navbar.bottom.firstrow"> 591<!-- --> 592</a> 593<ul class="navList" title="Navigation"> 594<li><a href="../../../../../overview-summary.html">Overview</a></li> 595<li><a href="../package-summary.html">Package</a></li> 596<li><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">Class</a></li> 597<li class="navBarCell1Rev">Use</li> 598<li><a href="../package-tree.html">Tree</a></li> 599<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 600<li><a href="../../../../../index-all.html">Index</a></li> 601<li><a href="../../../../../help-doc.html">Help</a></li> 602</ul> 603</div> 604<div class="subNav"> 605<ul class="navList"> 606<li>Prev</li> 607<li>Next</li> 608</ul> 609<ul class="navList"> 610<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/class-use/ObjectWriter.html" target="_top">Frames</a></li> 611<li><a href="ObjectWriter.html" target="_top">No Frames</a></li> 612</ul> 613<ul class="navList" id="allclasses_navbar_bottom"> 614<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 615</ul> 616<div> 617<script type="text/javascript"><!-- 618 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 619 if(window==top) { 620 allClassesLink.style.display = "block"; 621 } 622 else { 623 allClassesLink.style.display = "none"; 624 } 625 //--> 626</script> 627</div> 628<a name="skip.navbar.bottom"> 629<!-- --> 630</a></div> 631<!-- ======== END OF BOTTOM NAVBAR ======= --> 632<p class="legalCopy"><small>Copyright © 2014–2015 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 633</body> 634</html> 635