• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (version 1.7.0_25) on Mon Jun 02 17:48:58 PDT 2014 -->
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.4.0 API)</title>
8<meta name="date" content="2014-06-02">
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="Uses of Class com.fasterxml.jackson.databind.ObjectWriter (jackson-databind 2.4.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><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">Class</a></li>
31<li class="navBarCell1Rev">Use</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>Prev</li>
41<li>Next</li>
42</ul>
43<ul class="navList">
44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/class-use/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<a name="skip-navbar_top">
63<!--   -->
64</a></div>
65<!-- ========= END OF TOP NAVBAR ========= -->
66<div class="header">
67<h2 title="Uses of Class com.fasterxml.jackson.databind.ObjectWriter" class="title">Uses of Class<br>com.fasterxml.jackson.databind.ObjectWriter</h2>
68</div>
69<div class="classUseContainer">
70<ul class="blockList">
71<li class="blockList">
72<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
73<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">&nbsp;</span></caption>
74<tr>
75<th class="colFirst" scope="col">Package</th>
76<th class="colLast" scope="col">Description</th>
77</tr>
78<tbody>
79<tr class="altColor">
80<td class="colFirst"><a href="#com.fasterxml.jackson.databind">com.fasterxml.jackson.databind</a></td>
81<td class="colLast">
82<div class="block">Contains basic mapper (conversion) functionality that
83allows for converting between regular streaming json content and
84Java objects (beans or Tree Model: support for both is via
85<a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> class, as well
86as convenience methods included in
87<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a></div>
88</td>
89</tr>
90</tbody>
91</table>
92</li>
93<li class="blockList">
94<ul class="blockList">
95<li class="blockList"><a name="com.fasterxml.jackson.databind">
96<!--   -->
97</a>
98<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>
99<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
100<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">&nbsp;</span></caption>
101<tr>
102<th class="colFirst" scope="col">Modifier and Type</th>
103<th class="colLast" scope="col">Method and Description</th>
104</tr>
105<tbody>
106<tr class="altColor">
107<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
108<td class="colLast"><span class="strong">ObjectWriter.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.core.Base64Variant)">with</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/Base64Variant.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Base64Variant</a>&nbsp;b64variant)</code>
109<div class="block">Method that will construct a new instance that uses specified default
110 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/Base64Variant.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>Base64Variant</code></a> for base64 encoding</div>
111</td>
112</tr>
113<tr class="rowColor">
114<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
115<td class="colLast"><span class="strong">ObjectWriter.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.core.io.CharacterEscapes)">with</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/io/CharacterEscapes.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">CharacterEscapes</a>&nbsp;escapes)</code>&nbsp;</td>
116</tr>
117<tr class="altColor">
118<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
119<td class="colLast"><span class="strong">ObjectWriter.</span><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>&nbsp;attrs)</code>&nbsp;</td>
120</tr>
121<tr class="rowColor">
122<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
123<td class="colLast"><span class="strong">ObjectWriter.</span><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>&nbsp;df)</code>
124<div class="block">Fluent factory method that will construct a new writer instance that will
125 use specified date format for serializing dates; or if null passed, one
126 that will serialize dates as numeric timestamps.</div>
127</td>
128</tr>
129<tr class="altColor">
130<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
131<td class="colLast"><span class="strong">ObjectWriter.</span><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>&nbsp;filterProvider)</code>
132<div class="block">Method that will construct a new instance that uses specified
133 provider for resolving filter instances by id.</div>
134</td>
135</tr>
136<tr class="rowColor">
137<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
138<td class="colLast"><span class="strong">ObjectWriter.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.core.JsonFactory)">with</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a>&nbsp;f)</code>&nbsp;</td>
139</tr>
140<tr class="altColor">
141<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
142<td class="colLast"><span class="strong">ObjectWriter.</span><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>&nbsp;l)</code>&nbsp;</td>
143</tr>
144<tr class="rowColor">
145<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
146<td class="colLast"><span class="strong">ObjectWriter.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.core.PrettyPrinter)">with</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</a>&nbsp;pp)</code>
147<div class="block">Method that will construct a new instance that will use specified pretty
148 printer (or, if null, will not do any pretty-printing)</div>
149</td>
150</tr>
151<tr class="altColor">
152<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
153<td class="colLast"><span class="strong">ObjectWriter.</span><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>&nbsp;feature)</code>
154<div class="block">Method for constructing a new instance that is configured
155 with specified feature enabled.</div>
156</td>
157</tr>
158<tr class="rowColor">
159<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
160<td class="colLast"><span class="strong">ObjectWriter.</span><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>&nbsp;first,
161    <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>...&nbsp;other)</code>
162<div class="block">Method for constructing a new instance that is configured
163 with specified features enabled.</div>
164</td>
165</tr>
166<tr class="altColor">
167<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
168<td class="colLast"><span class="strong">ObjectWriter.</span><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>&nbsp;tz)</code>&nbsp;</td>
169</tr>
170<tr class="rowColor">
171<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
172<td class="colLast"><span class="strong">ObjectWriter.</span><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>&nbsp;key,
173             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>&nbsp;</td>
174</tr>
175<tr class="altColor">
176<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
177<td class="colLast"><span class="strong">ObjectWriter.</span><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>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>,<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;attrs)</code>&nbsp;</td>
178</tr>
179<tr class="rowColor">
180<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
181<td class="colLast"><span class="strong">ObjectWriter.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withDefaultPrettyPrinter()">withDefaultPrettyPrinter</a></strong>()</code>
182<div class="block">Method that will construct a new instance that will use the default
183 pretty printer for serialization.</div>
184</td>
185</tr>
186<tr class="altColor">
187<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
188<td class="colLast"><span class="strong">ObjectWriter.</span><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>...&nbsp;features)</code>
189<div class="block">Method for constructing a new instance that is configured
190 with specified features enabled.</div>
191</td>
192</tr>
193<tr class="rowColor">
194<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
195<td class="colLast"><span class="strong">ObjectWriter.</span><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>&nbsp;feature)</code>
196<div class="block">Method for constructing a new instance that is configured
197 with specified feature enabled.</div>
198</td>
199</tr>
200<tr class="altColor">
201<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
202<td class="colLast"><span class="strong">ObjectWriter.</span><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>&nbsp;first,
203       <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>...&nbsp;other)</code>
204<div class="block">Method for constructing a new instance that is configured
205 with specified features enabled.</div>
206</td>
207</tr>
208<tr class="rowColor">
209<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
210<td class="colLast"><span class="strong">ObjectWriter.</span><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>&nbsp;key)</code>&nbsp;</td>
211</tr>
212<tr class="altColor">
213<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
214<td class="colLast"><span class="strong">ObjectWriter.</span><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>...&nbsp;features)</code>
215<div class="block">Method for constructing a new instance that is configured
216 with specified features enabled.</div>
217</td>
218</tr>
219<tr class="rowColor">
220<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
221<td class="colLast"><span class="strong">ObjectWriter.</span><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>&nbsp;rootName)</code>
222<div class="block">Method for constructing a new instance with configuration that
223 specifies what root name to use for "root element wrapping".</div>
224</td>
225</tr>
226<tr class="altColor">
227<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
228<td class="colLast"><span class="strong">ObjectWriter.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withSchema(com.fasterxml.jackson.core.FormatSchema)">withSchema</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a>&nbsp;schema)</code>
229<div class="block">Method that will construct a new instance that uses specific format schema
230 for serialization.</div>
231</td>
232</tr>
233<tr class="rowColor">
234<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
235<td class="colLast"><span class="strong">ObjectWriter.</span><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>&lt;?&gt;&nbsp;rootType)</code>
236<div class="block">Method that will construct a new instance that uses specific type
237 as the root type for serialization, instead of runtime dynamic
238 type of the root object itself.</div>
239</td>
240</tr>
241<tr class="altColor">
242<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
243<td class="colLast"><span class="strong">ObjectWriter.</span><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>&nbsp;rootType)</code>
244<div class="block">Method that will construct a new instance that uses specific type
245 as the root type for serialization, instead of runtime dynamic
246 type of the root object itself.</div>
247</td>
248</tr>
249<tr class="rowColor">
250<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
251<td class="colLast"><span class="strong">ObjectWriter.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withType(com.fasterxml.jackson.core.type.TypeReference)">withType</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/type/TypeReference.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.type">TypeReference</a>&lt;?&gt;&nbsp;rootType)</code>&nbsp;</td>
252</tr>
253<tr class="altColor">
254<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
255<td class="colLast"><span class="strong">ObjectWriter.</span><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>&lt;?&gt;&nbsp;view)</code>
256<div class="block">Method that will construct a new instance that uses specified
257 serialization view for serialization (with null basically disables
258 view processing)</div>
259</td>
260</tr>
261<tr class="rowColor">
262<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
263<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer()">writer</a></strong>()</code>
264<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>
265 with default settings.</div>
266</td>
267</tr>
268<tr class="altColor">
269<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
270<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer(com.fasterxml.jackson.core.Base64Variant)">writer</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/Base64Variant.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Base64Variant</a>&nbsp;defaultBase64)</code>
271<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
272 use specified Base64 encoding variant for Base64-encoded binary data.</div>
273</td>
274</tr>
275<tr class="rowColor">
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="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer(com.fasterxml.jackson.core.io.CharacterEscapes)">writer</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/io/CharacterEscapes.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">CharacterEscapes</a>&nbsp;escapes)</code>
278<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
279 use specified character escaping details for output.</div>
280</td>
281</tr>
282<tr class="altColor">
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="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer(com.fasterxml.jackson.databind.cfg.ContextAttributes)">writer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a>&nbsp;attrs)</code>
285<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
286 use specified default attributes.</div>
287</td>
288</tr>
289<tr class="rowColor">
290<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
291<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer(java.text.DateFormat)">writer</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>&nbsp;df)</code>
292<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
293 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
294 null passed, using timestamp (64-bit number.</div>
295</td>
296</tr>
297<tr class="altColor">
298<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
299<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer(com.fasterxml.jackson.databind.ser.FilterProvider)">writer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</a>&nbsp;filterProvider)</code>
300<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
301 serialize objects using specified filter provider.</div>
302</td>
303</tr>
304<tr class="rowColor">
305<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
306<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer(com.fasterxml.jackson.core.FormatSchema)">writer</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a>&nbsp;schema)</code>
307<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
308 pass specific schema object to <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> used for
309 writing content.</div>
310</td>
311</tr>
312<tr class="altColor">
313<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
314<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer(com.fasterxml.jackson.core.PrettyPrinter)">writer</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</a>&nbsp;pp)</code>
315<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
316 serialize objects using specified pretty printer for indentation
317 (or if null, no pretty printer)</div>
318</td>
319</tr>
320<tr class="rowColor">
321<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
322<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer(com.fasterxml.jackson.databind.SerializationFeature)">writer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>&nbsp;feature)</code>
323<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
324 specified feature enabled (compared to settings that this
325 mapper instance has).</div>
326</td>
327</tr>
328<tr class="altColor">
329<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
330<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer(com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.SerializationFeature...)">writer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>&nbsp;first,
331      <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>...&nbsp;other)</code>
332<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
333 specified features enabled (compared to settings that this
334 mapper instance has).</div>
335</td>
336</tr>
337<tr class="rowColor">
338<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
339<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerWithDefaultPrettyPrinter()">writerWithDefaultPrettyPrinter</a></strong>()</code>
340<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
341 serialize objects using the default pretty printer for indentation</div>
342</td>
343</tr>
344<tr class="altColor">
345<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
346<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerWithType(java.lang.Class)">writerWithType</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>&lt;?&gt;&nbsp;rootType)</code>
347<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
348 serialize objects using specified root type, instead of actual
349 runtime type of value.</div>
350</td>
351</tr>
352<tr class="rowColor">
353<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
354<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerWithType(com.fasterxml.jackson.databind.JavaType)">writerWithType</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType)</code>
355<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
356 serialize objects using specified root type, instead of actual
357 runtime type of value.</div>
358</td>
359</tr>
360<tr class="altColor">
361<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
362<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerWithType(com.fasterxml.jackson.core.type.TypeReference)">writerWithType</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/type/TypeReference.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.type">TypeReference</a>&lt;?&gt;&nbsp;rootType)</code>
363<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
364 serialize objects using specified root type, instead of actual
365 runtime type of value.</div>
366</td>
367</tr>
368<tr class="rowColor">
369<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td>
370<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writerWithView(java.lang.Class)">writerWithView</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>&lt;?&gt;&nbsp;serializationView)</code>
371<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
372 serialize objects using specified JSON View (filter).</div>
373</td>
374</tr>
375</tbody>
376</table>
377<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
378<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">&nbsp;</span></caption>
379<tr>
380<th class="colOne" scope="col">Constructor and Description</th>
381</tr>
382<tbody>
383<tr class="altColor">
384<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>&nbsp;base,
385            <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a>&nbsp;f)</code>&nbsp;</td>
386</tr>
387<tr class="rowColor">
388<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>&nbsp;base,
389            <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config)</code>
390<div class="block">Copy constructor used for building variations.</div>
391</td>
392</tr>
393<tr class="altColor">
394<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.JavaType, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.core.PrettyPrinter, com.fasterxml.jackson.core.FormatSchema, com.fasterxml.jackson.core.io.CharacterEscapes)">ObjectWriter</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a>&nbsp;base,
395            <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a>&nbsp;config,
396            <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;rootType,
397            <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&gt;&nbsp;rootSer,
398            <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</a>&nbsp;pp,
399            <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a>&nbsp;s,
400            <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/io/CharacterEscapes.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">CharacterEscapes</a>&nbsp;escapes)</code>
401<div class="block">Copy constructor used for building variations.</div>
402</td>
403</tr>
404</tbody>
405</table>
406</li>
407</ul>
408</li>
409</ul>
410</div>
411<!-- ======= START OF BOTTOM NAVBAR ====== -->
412<div class="bottomNav"><a name="navbar_bottom">
413<!--   -->
414</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
415<!--   -->
416</a>
417<ul class="navList" title="Navigation">
418<li><a href="../../../../../overview-summary.html">Overview</a></li>
419<li><a href="../package-summary.html">Package</a></li>
420<li><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">Class</a></li>
421<li class="navBarCell1Rev">Use</li>
422<li><a href="../package-tree.html">Tree</a></li>
423<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
424<li><a href="../../../../../index-all.html">Index</a></li>
425<li><a href="../../../../../help-doc.html">Help</a></li>
426</ul>
427</div>
428<div class="subNav">
429<ul class="navList">
430<li>Prev</li>
431<li>Next</li>
432</ul>
433<ul class="navList">
434<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/class-use/ObjectWriter.html" target="_top">Frames</a></li>
435<li><a href="ObjectWriter.html" target="_top">No Frames</a></li>
436</ul>
437<ul class="navList" id="allclasses_navbar_bottom">
438<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
439</ul>
440<div>
441<script type="text/javascript"><!--
442  allClassesLink = document.getElementById("allclasses_navbar_bottom");
443  if(window==top) {
444    allClassesLink.style.display = "block";
445  }
446  else {
447    allClassesLink.style.display = "none";
448  }
449  //-->
450</script>
451</div>
452<a name="skip-navbar_bottom">
453<!--   -->
454</a></div>
455<!-- ======== END OF BOTTOM NAVBAR ======= -->
456<p class="legalCopy"><small>Copyright &#169; 2014 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
457</body>
458</html>
459