• 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>
4<HEAD>
5<!-- Generated by javadoc (build 1.6.0_35) on Tue Oct 09 17:08:09 PDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<TITLE>
8ObjectWriter (jackson-databind 2.1.0 API)
9</TITLE>
10
11<META NAME="date" CONTENT="2012-10-09">
12
13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
14
15<SCRIPT type="text/javascript">
16function windowTitle()
17{
18    if (location.href.indexOf('is-external=true') == -1) {
19        parent.document.title="ObjectWriter (jackson-databind 2.1.0 API)";
20    }
21}
22</SCRIPT>
23<NOSCRIPT>
24</NOSCRIPT>
25
26</HEAD>
27
28<BODY BGCOLOR="white" onload="windowTitle();">
29<HR>
30
31
32<!-- ========= START OF TOP NAVBAR ======= -->
33<A NAME="navbar_top"><!-- --></A>
34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36<TR>
37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38<A NAME="navbar_top_firstrow"><!-- --></A>
39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40  <TR ALIGN="center" VALIGN="top">
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ObjectWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
48  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
49  </TR>
50</TABLE>
51</TD>
52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
53</EM>
54</TD>
55</TR>
56
57<TR>
58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><B>PREV CLASS</B></A>&nbsp;
60&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind"><B>NEXT CLASS</B></A></FONT></TD>
61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
62  <A HREF="../../../../index.html?com/fasterxml/jackson/databind/ObjectWriter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
63&nbsp;<A HREF="ObjectWriter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
64&nbsp;<SCRIPT type="text/javascript">
65  <!--
66  if(window==top) {
67    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
68  }
69  //-->
70</SCRIPT>
71<NOSCRIPT>
72  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
73</NOSCRIPT>
74
75
76</FONT></TD>
77</TR>
78<TR>
79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
82DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
83</TR>
84</TABLE>
85<A NAME="skip-navbar_top"></A>
86<!-- ========= END OF TOP NAVBAR ========= -->
87
88<HR>
89<!-- ======== START OF CLASS DATA ======== -->
90<H2>
91<FONT SIZE="-1">
92com.fasterxml.jackson.databind</FONT>
93<BR>
94Class ObjectWriter</H2>
95<PRE>
96<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
97  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.ObjectWriter</B>
98</PRE>
99<DL>
100<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/Versioned.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Versioned</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD>
101</DL>
102<HR>
103<DL>
104<DT><PRE>public class <B>ObjectWriter</B><DT>extends <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><DT>implements <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/Versioned.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Versioned</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DL>
105</PRE>
106
107<P>
108Builder object that can be used for per-serialization configuration of
109 serialization parameters, such as JSON View and root type to use.
110 (and thus fully thread-safe with no external synchronization);
111 new instances are constructed for different configurations.
112 Instances are initially constructed by <A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A> and can be
113 reused in completely thread-safe manner with no explicit synchronization
114<P>
115
116<P>
117<DL>
118<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#com.fasterxml.jackson.databind.ObjectWriter">Serialized Form</A></DL>
119<HR>
120
121<P>
122<!-- =========== FIELD SUMMARY =========== -->
123
124<A NAME="field_summary"><!-- --></A>
125<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
126<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
127<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
128<B>Field Summary</B></FONT></TH>
129</TR>
130<TR BGCOLOR="white" CLASS="TableRowColor">
131<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132<CODE>protected &nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A></CODE></FONT></TD>
133<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_config">_config</A></B></CODE>
134
135<BR>
136&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;General serialization configuration settings</TD>
137</TR>
138<TR BGCOLOR="white" CLASS="TableRowColor">
139<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
140<CODE>protected &nbsp;<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</A></CODE></FONT></TD>
141<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_jsonFactory">_jsonFactory</A></B></CODE>
142
143<BR>
144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Factory used for constructing <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonGenerator</CODE></A>s</TD>
145</TR>
146<TR BGCOLOR="white" CLASS="TableRowColor">
147<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148<CODE>protected &nbsp;<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</A></CODE></FONT></TD>
149<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_prettyPrinter">_prettyPrinter</A></B></CODE>
150
151<BR>
152&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To allow for dynamic enabling/disabling of pretty printing,
153 pretty printer can be optionally configured for writer
154 as well</TD>
155</TR>
156<TR BGCOLOR="white" CLASS="TableRowColor">
157<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158<CODE>protected &nbsp;<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;</CODE></FONT></TD>
159<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_rootSerializer">_rootSerializer</A></B></CODE>
160
161<BR>
162&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;We may pre-fetch serializer if <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_rootType"><CODE>_rootType</CODE></A>
163 is known, and if so, reuse it afterwards.</TD>
164</TR>
165<TR BGCOLOR="white" CLASS="TableRowColor">
166<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167<CODE>protected &nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A></CODE></FONT></TD>
168<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_rootType">_rootType</A></B></CODE>
169
170<BR>
171&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specified root serialization type to use; can be same
172 as runtime type, but usually one of its super types</TD>
173</TR>
174<TR BGCOLOR="white" CLASS="TableRowColor">
175<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176<CODE>protected &nbsp;<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</A></CODE></FONT></TD>
177<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_schema">_schema</A></B></CODE>
178
179<BR>
180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When using data format that uses a schema, schema is passed
181 to generator.</TD>
182</TR>
183<TR BGCOLOR="white" CLASS="TableRowColor">
184<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
185<CODE>protected &nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</A></CODE></FONT></TD>
186<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_serializerFactory">_serializerFactory</A></B></CODE>
187
188<BR>
189&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
190</TR>
191<TR BGCOLOR="white" CLASS="TableRowColor">
192<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
193<CODE>protected &nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</A></CODE></FONT></TD>
194<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_serializerProvider">_serializerProvider</A></B></CODE>
195
196<BR>
197&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
198</TR>
199<TR BGCOLOR="white" CLASS="TableRowColor">
200<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
201<CODE>protected static&nbsp;<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</A></CODE></FONT></TD>
202<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#NULL_PRETTY_PRINTER">NULL_PRETTY_PRINTER</A></B></CODE>
203
204<BR>
205&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;We need to keep track of explicit disabling of pretty printing;
206 easiest to do by a token value.</TD>
207</TR>
208</TABLE>
209&nbsp;
210<!-- ======== CONSTRUCTOR SUMMARY ======== -->
211
212<A NAME="constructor_summary"><!-- --></A>
213<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
214<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
215<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
216<B>Constructor Summary</B></FONT></TH>
217</TR>
218<TR BGCOLOR="white" CLASS="TableRowColor">
219<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
220<CODE>protected </CODE></FONT></TD>
221<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter(com.fasterxml.jackson.databind.ObjectMapper, com.fasterxml.jackson.databind.SerializationConfig)">ObjectWriter</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</A>&nbsp;mapper,
222             <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A>&nbsp;config)</CODE>
223
224<BR>
225&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alternative constructor for initial instantiation by <A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A></TD>
226</TR>
227<TR BGCOLOR="white" CLASS="TableRowColor">
228<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
229<CODE>protected </CODE></FONT></TD>
230<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter(com.fasterxml.jackson.databind.ObjectMapper, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.core.FormatSchema)">ObjectWriter</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</A>&nbsp;mapper,
231             <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A>&nbsp;config,
232             <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</A>&nbsp;s)</CODE>
233
234<BR>
235&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Alternative constructor for initial instantiation by <A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A></TD>
236</TR>
237<TR BGCOLOR="white" CLASS="TableRowColor">
238<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
239<CODE>protected </CODE></FONT></TD>
240<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter(com.fasterxml.jackson.databind.ObjectMapper, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.core.PrettyPrinter)">ObjectWriter</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</A>&nbsp;mapper,
241             <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A>&nbsp;config,
242             <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A>&nbsp;rootType,
243             <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</A>&nbsp;pp)</CODE>
244
245<BR>
246&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor used by <A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A> for initial instantiation</TD>
247</TR>
248<TR BGCOLOR="white" CLASS="TableRowColor">
249<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
250<CODE>protected </CODE></FONT></TD>
251<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter(com.fasterxml.jackson.databind.ObjectWriter, com.fasterxml.jackson.databind.SerializationConfig)">ObjectWriter</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A>&nbsp;base,
252             <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A>&nbsp;config)</CODE>
253
254<BR>
255&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copy constructor used for building variations.</TD>
256</TR>
257<TR BGCOLOR="white" CLASS="TableRowColor">
258<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
259<CODE>protected </CODE></FONT></TD>
260<TD><CODE><B><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)">ObjectWriter</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A>&nbsp;base,
261             <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A>&nbsp;config,
262             <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A>&nbsp;rootType,
263             <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,
264             <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</A>&nbsp;pp,
265             <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</A>&nbsp;s)</CODE>
266
267<BR>
268&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copy constructor used for building variations.</TD>
269</TR>
270</TABLE>
271&nbsp;
272<!-- ========== METHOD SUMMARY =========== -->
273
274<A NAME="method_summary"><!-- --></A>
275<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
276<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
277<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
278<B>Method Summary</B></FONT></TH>
279</TR>
280<TR BGCOLOR="white" CLASS="TableRowColor">
281<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
282<CODE>protected &nbsp;void</CODE></FONT></TD>
283<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_configAndWriteValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object)">_configAndWriteValue</A></B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A>&nbsp;jgen,
284                     <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>
285
286<BR>
287&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method called to configure the generator as necessary and then
288 call write functionality</TD>
289</TR>
290<TR BGCOLOR="white" CLASS="TableRowColor">
291<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
292<CODE>protected &nbsp;<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;</CODE></FONT></TD>
293<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_prefetchRootSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType)">_prefetchRootSerializer</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A>&nbsp;config,
294                        <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A>&nbsp;valueType)</CODE>
295
296<BR>
297&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method called to locate (root) serializer ahead of time, if permitted
298 by configuration.</TD>
299</TR>
300<TR BGCOLOR="white" CLASS="TableRowColor">
301<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
302<CODE>protected &nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</A></CODE></FONT></TD>
303<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_serializerProvider(com.fasterxml.jackson.databind.SerializationConfig)">_serializerProvider</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A>&nbsp;config)</CODE>
304
305<BR>
306&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overridable helper method used for constructing
307 <A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><CODE>SerializerProvider</CODE></A> to use for serialization.</TD>
308</TR>
309<TR BGCOLOR="white" CLASS="TableRowColor">
310<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
311<CODE>&nbsp;boolean</CODE></FONT></TD>
312<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#canSerialize(java.lang.Class)">canSerialize</A></B>(<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;type)</CODE>
313
314<BR>
315&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
316</TR>
317<TR BGCOLOR="white" CLASS="TableRowColor">
318<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
319<CODE>&nbsp;<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</A></CODE></FONT></TD>
320<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getJsonFactory()">getJsonFactory</A></B>()</CODE>
321
322<BR>
323&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
324</TR>
325<TR BGCOLOR="white" CLASS="TableRowColor">
326<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
327<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</A></CODE></FONT></TD>
328<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getTypeFactory()">getTypeFactory</A></B>()</CODE>
329
330<BR>
331&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
332</TR>
333<TR BGCOLOR="white" CLASS="TableRowColor">
334<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
335<CODE>&nbsp;boolean</CODE></FONT></TD>
336<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#isEnabled(com.fasterxml.jackson.core.JsonParser.Feature)">isEnabled</A></B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonParser.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.Feature</A>&nbsp;f)</CODE>
337
338<BR>
339&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
340</TR>
341<TR BGCOLOR="white" CLASS="TableRowColor">
342<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
343<CODE>&nbsp;boolean</CODE></FONT></TD>
344<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#isEnabled(com.fasterxml.jackson.databind.MapperFeature)">isEnabled</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A>&nbsp;f)</CODE>
345
346<BR>
347&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
348</TR>
349<TR BGCOLOR="white" CLASS="TableRowColor">
350<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
351<CODE>&nbsp;boolean</CODE></FONT></TD>
352<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#isEnabled(com.fasterxml.jackson.databind.SerializationFeature)">isEnabled</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>&nbsp;f)</CODE>
353
354<BR>
355&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
356</TR>
357<TR BGCOLOR="white" CLASS="TableRowColor">
358<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
359<CODE>&nbsp;<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</A></CODE></FONT></TD>
360<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#version()">version</A></B>()</CODE>
361
362<BR>
363&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will return version information stored in and read from jar
364 that contains this class.</TD>
365</TR>
366<TR BGCOLOR="white" CLASS="TableRowColor">
367<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
368<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
369<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.core.Base64Variant)">with</A></B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/Base64Variant.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Base64Variant</A>&nbsp;b64variant)</CODE>
370
371<BR>
372&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will construct a new instance that uses specified default
373 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/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</TD>
374</TR>
375<TR BGCOLOR="white" CLASS="TableRowColor">
376<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
377<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
378<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(java.text.DateFormat)">with</A></B>(<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>
379
380<BR>
381&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fluent factory method that will construct a new writer instance that will
382 use specified date format for serializing dates; or if null passed, one
383 that will serialize dates as numeric timestamps.</TD>
384</TR>
385<TR BGCOLOR="white" CLASS="TableRowColor">
386<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
387<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
388<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.databind.ser.FilterProvider)">with</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</A>&nbsp;filterProvider)</CODE>
389
390<BR>
391&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will construct a new instance that uses specified
392 provider for resolving filter instances by id.</TD>
393</TR>
394<TR BGCOLOR="white" CLASS="TableRowColor">
395<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
396<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
397<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(java.util.Locale)">with</A></B>(<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>
398
399<BR>
400&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
401</TR>
402<TR BGCOLOR="white" CLASS="TableRowColor">
403<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
404<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
405<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.core.PrettyPrinter)">with</A></B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</A>&nbsp;pp)</CODE>
406
407<BR>
408&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will construct a new instance that will use specified pretty
409 printer (or, if null, will not do any pretty-printing)</TD>
410</TR>
411<TR BGCOLOR="white" CLASS="TableRowColor">
412<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
413<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
414<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.databind.SerializationFeature)">with</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>&nbsp;feature)</CODE>
415
416<BR>
417&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for constructing a new instance that is configured
418 with specified feature enabled.</TD>
419</TR>
420<TR BGCOLOR="white" CLASS="TableRowColor">
421<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
422<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
423<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.SerializationFeature...)">with</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>&nbsp;first,
424     <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>...&nbsp;other)</CODE>
425
426<BR>
427&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for constructing a new instance that is configured
428 with specified features enabled.</TD>
429</TR>
430<TR BGCOLOR="white" CLASS="TableRowColor">
431<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
432<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
433<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with(java.util.TimeZone)">with</A></B>(<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>
434
435<BR>
436&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
437</TR>
438<TR BGCOLOR="white" CLASS="TableRowColor">
439<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
440<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
441<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withDefaultPrettyPrinter()">withDefaultPrettyPrinter</A></B>()</CODE>
442
443<BR>
444&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will construct a new instance that will use the default
445 pretty printer for serialization.</TD>
446</TR>
447<TR BGCOLOR="white" CLASS="TableRowColor">
448<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
449<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
450<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withFeatures(com.fasterxml.jackson.databind.SerializationFeature...)">withFeatures</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>...&nbsp;features)</CODE>
451
452<BR>
453&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for constructing a new instance that is configured
454 with specified features enabled.</TD>
455</TR>
456<TR BGCOLOR="white" CLASS="TableRowColor">
457<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
458<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
459<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without(com.fasterxml.jackson.databind.SerializationFeature)">without</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>&nbsp;feature)</CODE>
460
461<BR>
462&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for constructing a new instance that is configured
463 with specified feature enabled.</TD>
464</TR>
465<TR BGCOLOR="white" CLASS="TableRowColor">
466<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
467<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
468<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without(com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.SerializationFeature...)">without</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>&nbsp;first,
469        <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>...&nbsp;other)</CODE>
470
471<BR>
472&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for constructing a new instance that is configured
473 with specified features enabled.</TD>
474</TR>
475<TR BGCOLOR="white" CLASS="TableRowColor">
476<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
477<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
478<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutFeatures(com.fasterxml.jackson.databind.SerializationFeature...)">withoutFeatures</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>...&nbsp;features)</CODE>
479
480<BR>
481&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for constructing a new instance that is configured
482 with specified features enabled.</TD>
483</TR>
484<TR BGCOLOR="white" CLASS="TableRowColor">
485<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
486<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
487<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withRootName(java.lang.String)">withRootName</A></B>(<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>
488
489<BR>
490&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method for constructing a new instance with configuration that
491 specifies what root name to use for "root element wrapping".</TD>
492</TR>
493<TR BGCOLOR="white" CLASS="TableRowColor">
494<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
495<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
496<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withSchema(com.fasterxml.jackson.core.FormatSchema)">withSchema</A></B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</A>&nbsp;schema)</CODE>
497
498<BR>
499&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will construct a new instance that uses specific format schema
500 for serialization.</TD>
501</TR>
502<TR BGCOLOR="white" CLASS="TableRowColor">
503<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
504<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
505<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withType(java.lang.Class)">withType</A></B>(<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>
506
507<BR>
508&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will construct a new instance that uses specific type
509 as the root type for serialization, instead of runtime dynamic
510 type of the root object itself.</TD>
511</TR>
512<TR BGCOLOR="white" CLASS="TableRowColor">
513<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
514<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
515<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withType(com.fasterxml.jackson.databind.JavaType)">withType</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A>&nbsp;rootType)</CODE>
516
517<BR>
518&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will construct a new instance that uses specific type
519 as the root type for serialization, instead of runtime dynamic
520 type of the root object itself.</TD>
521</TR>
522<TR BGCOLOR="white" CLASS="TableRowColor">
523<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
524<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
525<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withType(com.fasterxml.jackson.core.type.TypeReference)">withType</A></B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/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>
526
527<BR>
528&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
529</TR>
530<TR BGCOLOR="white" CLASS="TableRowColor">
531<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
532<CODE>&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A></CODE></FONT></TD>
533<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withView(java.lang.Class)">withView</A></B>(<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>
534
535<BR>
536&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that will construct a new instance that uses specified
537 serialization view for serialization (with null basically disables
538 view processing)</TD>
539</TR>
540<TR BGCOLOR="white" CLASS="TableRowColor">
541<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
542<CODE>&nbsp;void</CODE></FONT></TD>
543<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue(java.io.File, java.lang.Object)">writeValue</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>&nbsp;resultFile,
544           <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>
545
546<BR>
547&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used to serialize any Java value as
548 JSON output, written to File provided.</TD>
549</TR>
550<TR BGCOLOR="white" CLASS="TableRowColor">
551<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
552<CODE>&nbsp;void</CODE></FONT></TD>
553<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object)">writeValue</A></B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A>&nbsp;jgen,
554           <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>
555
556<BR>
557&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used to serialize any Java value as
558 JSON output, using provided <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonGenerator</CODE></A>.</TD>
559</TR>
560<TR BGCOLOR="white" CLASS="TableRowColor">
561<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
562<CODE>&nbsp;void</CODE></FONT></TD>
563<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue(java.io.OutputStream, java.lang.Object)">writeValue</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A>&nbsp;out,
564           <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>
565
566<BR>
567&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used to serialize any Java value as
568 JSON output, using output stream provided (using encoding
569 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonEncoding.html?is-external=true#UTF8" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonEncoding.UTF8</CODE></A>).</TD>
570</TR>
571<TR BGCOLOR="white" CLASS="TableRowColor">
572<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
573<CODE>&nbsp;void</CODE></FONT></TD>
574<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue(java.io.Writer, java.lang.Object)">writeValue</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</A>&nbsp;w,
575           <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>
576
577<BR>
578&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used to serialize any Java value as
579 JSON output, using Writer provided.</TD>
580</TR>
581<TR BGCOLOR="white" CLASS="TableRowColor">
582<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
583<CODE>&nbsp;byte[]</CODE></FONT></TD>
584<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValueAsBytes(java.lang.Object)">writeValueAsBytes</A></B>(<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>
585
586<BR>
587&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used to serialize any Java value as
588 a byte array.</TD>
589</TR>
590<TR BGCOLOR="white" CLASS="TableRowColor">
591<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
592<CODE>&nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
593<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValueAsString(java.lang.Object)">writeValueAsString</A></B>(<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>
594
595<BR>
596&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method that can be used to serialize any Java value as
597 a String.</TD>
598</TR>
599</TABLE>
600&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
601<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
602<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
603<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
604</TR>
605<TR BGCOLOR="white" CLASS="TableRowColor">
606<TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
607</TR>
608</TABLE>
609&nbsp;
610<P>
611
612<!-- ============ FIELD DETAIL =========== -->
613
614<A NAME="field_detail"><!-- --></A>
615<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
616<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
617<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
618<B>Field Detail</B></FONT></TH>
619</TR>
620</TABLE>
621
622<A NAME="NULL_PRETTY_PRINTER"><!-- --></A><H3>
623NULL_PRETTY_PRINTER</H3>
624<PRE>
625protected static final <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</A> <B>NULL_PRETTY_PRINTER</B></PRE>
626<DL>
627<DD>We need to keep track of explicit disabling of pretty printing;
628 easiest to do by a token value.
629<P>
630<DL>
631</DL>
632</DL>
633<HR>
634
635<A NAME="_config"><!-- --></A><H3>
636_config</H3>
637<PRE>
638protected final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> <B>_config</B></PRE>
639<DL>
640<DD>General serialization configuration settings
641<P>
642<DL>
643</DL>
644</DL>
645<HR>
646
647<A NAME="_serializerProvider"><!-- --></A><H3>
648_serializerProvider</H3>
649<PRE>
650protected final <A HREF="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</A> <B>_serializerProvider</B></PRE>
651<DL>
652<DL>
653</DL>
654</DL>
655<HR>
656
657<A NAME="_serializerFactory"><!-- --></A><H3>
658_serializerFactory</H3>
659<PRE>
660protected final <A HREF="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</A> <B>_serializerFactory</B></PRE>
661<DL>
662<DL>
663</DL>
664</DL>
665<HR>
666
667<A NAME="_jsonFactory"><!-- --></A><H3>
668_jsonFactory</H3>
669<PRE>
670protected final <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</A> <B>_jsonFactory</B></PRE>
671<DL>
672<DD>Factory used for constructing <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonGenerator</CODE></A>s
673<P>
674<DL>
675</DL>
676</DL>
677<HR>
678
679<A NAME="_rootType"><!-- --></A><H3>
680_rootType</H3>
681<PRE>
682protected final <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> <B>_rootType</B></PRE>
683<DL>
684<DD>Specified root serialization type to use; can be same
685 as runtime type, but usually one of its super types
686<P>
687<DL>
688</DL>
689</DL>
690<HR>
691
692<A NAME="_rootSerializer"><!-- --></A><H3>
693_rootSerializer</H3>
694<PRE>
695protected final <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; <B>_rootSerializer</B></PRE>
696<DL>
697<DD>We may pre-fetch serializer if <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#_rootType"><CODE>_rootType</CODE></A>
698 is known, and if so, reuse it afterwards.
699 This allows avoiding further serializer lookups and increases
700 performance a bit on cases where readers are reused.
701<P>
702<DL>
703<DT><B>Since:</B></DT>
704  <DD>2.1</DD>
705</DL>
706</DL>
707<HR>
708
709<A NAME="_prettyPrinter"><!-- --></A><H3>
710_prettyPrinter</H3>
711<PRE>
712protected final <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</A> <B>_prettyPrinter</B></PRE>
713<DL>
714<DD>To allow for dynamic enabling/disabling of pretty printing,
715 pretty printer can be optionally configured for writer
716 as well
717<P>
718<DL>
719</DL>
720</DL>
721<HR>
722
723<A NAME="_schema"><!-- --></A><H3>
724_schema</H3>
725<PRE>
726protected final <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</A> <B>_schema</B></PRE>
727<DL>
728<DD>When using data format that uses a schema, schema is passed
729 to generator.
730<P>
731<DL>
732</DL>
733</DL>
734
735<!-- ========= CONSTRUCTOR DETAIL ======== -->
736
737<A NAME="constructor_detail"><!-- --></A>
738<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
739<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
740<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
741<B>Constructor Detail</B></FONT></TH>
742</TR>
743</TABLE>
744
745<A NAME="ObjectWriter(com.fasterxml.jackson.databind.ObjectMapper, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.core.PrettyPrinter)"><!-- --></A><H3>
746ObjectWriter</H3>
747<PRE>
748protected <B>ObjectWriter</B>(<A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</A>&nbsp;mapper,
749                       <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A>&nbsp;config,
750                       <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A>&nbsp;rootType,
751                       <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</A>&nbsp;pp)</PRE>
752<DL>
753<DD>Constructor used by <A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A> for initial instantiation
754<P>
755</DL>
756<HR>
757
758<A NAME="ObjectWriter(com.fasterxml.jackson.databind.ObjectMapper, com.fasterxml.jackson.databind.SerializationConfig)"><!-- --></A><H3>
759ObjectWriter</H3>
760<PRE>
761protected <B>ObjectWriter</B>(<A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</A>&nbsp;mapper,
762                       <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A>&nbsp;config)</PRE>
763<DL>
764<DD>Alternative constructor for initial instantiation by <A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A>
765<P>
766</DL>
767<HR>
768
769<A NAME="ObjectWriter(com.fasterxml.jackson.databind.ObjectMapper, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.core.FormatSchema)"><!-- --></A><H3>
770ObjectWriter</H3>
771<PRE>
772protected <B>ObjectWriter</B>(<A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</A>&nbsp;mapper,
773                       <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A>&nbsp;config,
774                       <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</A>&nbsp;s)</PRE>
775<DL>
776<DD>Alternative constructor for initial instantiation by <A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A>
777<P>
778</DL>
779<HR>
780
781<A NAME="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)"><!-- --></A><H3>
782ObjectWriter</H3>
783<PRE>
784protected <B>ObjectWriter</B>(<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A>&nbsp;base,
785                       <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A>&nbsp;config,
786                       <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A>&nbsp;rootType,
787                       <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,
788                       <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</A>&nbsp;pp,
789                       <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</A>&nbsp;s)</PRE>
790<DL>
791<DD>Copy constructor used for building variations.
792<P>
793</DL>
794<HR>
795
796<A NAME="ObjectWriter(com.fasterxml.jackson.databind.ObjectWriter, com.fasterxml.jackson.databind.SerializationConfig)"><!-- --></A><H3>
797ObjectWriter</H3>
798<PRE>
799protected <B>ObjectWriter</B>(<A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A>&nbsp;base,
800                       <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A>&nbsp;config)</PRE>
801<DL>
802<DD>Copy constructor used for building variations.
803<P>
804</DL>
805
806<!-- ============ METHOD DETAIL ========== -->
807
808<A NAME="method_detail"><!-- --></A>
809<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
810<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
811<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
812<B>Method Detail</B></FONT></TH>
813</TR>
814</TABLE>
815
816<A NAME="version()"><!-- --></A><H3>
817version</H3>
818<PRE>
819public <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</A> <B>version</B>()</PRE>
820<DL>
821<DD>Method that will return version information stored in and read from jar
822 that contains this class.
823<P>
824<DD><DL>
825<DT><B>Specified by:</B><DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/Versioned.html?is-external=true#version()" title="class or interface in com.fasterxml.jackson.core">version</A></CODE> in interface <CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/Versioned.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Versioned</A></CODE></DL>
826</DD>
827<DD><DL>
828</DL>
829</DD>
830</DL>
831<HR>
832
833<A NAME="with(com.fasterxml.jackson.databind.SerializationFeature)"><!-- --></A><H3>
834with</H3>
835<PRE>
836public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>with</B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>&nbsp;feature)</PRE>
837<DL>
838<DD>Method for constructing a new instance that is configured
839 with specified feature enabled.
840<P>
841<DD><DL>
842</DL>
843</DD>
844<DD><DL>
845</DL>
846</DD>
847</DL>
848<HR>
849
850<A NAME="with(com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.SerializationFeature...)"><!-- --></A><H3>
851with</H3>
852<PRE>
853public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>with</B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>&nbsp;first,
854                         <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>...&nbsp;other)</PRE>
855<DL>
856<DD>Method for constructing a new instance that is configured
857 with specified features enabled.
858<P>
859<DD><DL>
860</DL>
861</DD>
862<DD><DL>
863</DL>
864</DD>
865</DL>
866<HR>
867
868<A NAME="withFeatures(com.fasterxml.jackson.databind.SerializationFeature...)"><!-- --></A><H3>
869withFeatures</H3>
870<PRE>
871public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>withFeatures</B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>...&nbsp;features)</PRE>
872<DL>
873<DD>Method for constructing a new instance that is configured
874 with specified features enabled.
875<P>
876<DD><DL>
877</DL>
878</DD>
879<DD><DL>
880</DL>
881</DD>
882</DL>
883<HR>
884
885<A NAME="without(com.fasterxml.jackson.databind.SerializationFeature)"><!-- --></A><H3>
886without</H3>
887<PRE>
888public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>without</B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>&nbsp;feature)</PRE>
889<DL>
890<DD>Method for constructing a new instance that is configured
891 with specified feature enabled.
892<P>
893<DD><DL>
894</DL>
895</DD>
896<DD><DL>
897</DL>
898</DD>
899</DL>
900<HR>
901
902<A NAME="without(com.fasterxml.jackson.databind.SerializationFeature, com.fasterxml.jackson.databind.SerializationFeature...)"><!-- --></A><H3>
903without</H3>
904<PRE>
905public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>without</B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>&nbsp;first,
906                            <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>...&nbsp;other)</PRE>
907<DL>
908<DD>Method for constructing a new instance that is configured
909 with specified features enabled.
910<P>
911<DD><DL>
912</DL>
913</DD>
914<DD><DL>
915</DL>
916</DD>
917</DL>
918<HR>
919
920<A NAME="withoutFeatures(com.fasterxml.jackson.databind.SerializationFeature...)"><!-- --></A><H3>
921withoutFeatures</H3>
922<PRE>
923public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>withoutFeatures</B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>...&nbsp;features)</PRE>
924<DL>
925<DD>Method for constructing a new instance that is configured
926 with specified features enabled.
927<P>
928<DD><DL>
929</DL>
930</DD>
931<DD><DL>
932</DL>
933</DD>
934</DL>
935<HR>
936
937<A NAME="with(java.text.DateFormat)"><!-- --></A><H3>
938with</H3>
939<PRE>
940public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>with</B>(<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)</PRE>
941<DL>
942<DD>Fluent factory method that will construct a new writer instance that will
943 use specified date format for serializing dates; or if null passed, one
944 that will serialize dates as numeric timestamps.
945<p>
946 Note that the method does NOT change state of this reader, but
947 rather construct and returns a newly configured instance.
948<P>
949<DD><DL>
950</DL>
951</DD>
952<DD><DL>
953</DL>
954</DD>
955</DL>
956<HR>
957
958<A NAME="withDefaultPrettyPrinter()"><!-- --></A><H3>
959withDefaultPrettyPrinter</H3>
960<PRE>
961public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>withDefaultPrettyPrinter</B>()</PRE>
962<DL>
963<DD>Method that will construct a new instance that will use the default
964 pretty printer for serialization.
965<P>
966<DD><DL>
967</DL>
968</DD>
969<DD><DL>
970</DL>
971</DD>
972</DL>
973<HR>
974
975<A NAME="with(com.fasterxml.jackson.databind.ser.FilterProvider)"><!-- --></A><H3>
976with</H3>
977<PRE>
978public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>with</B>(<A HREF="../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</A>&nbsp;filterProvider)</PRE>
979<DL>
980<DD>Method that will construct a new instance that uses specified
981 provider for resolving filter instances by id.
982<P>
983<DD><DL>
984</DL>
985</DD>
986<DD><DL>
987</DL>
988</DD>
989</DL>
990<HR>
991
992<A NAME="with(com.fasterxml.jackson.core.PrettyPrinter)"><!-- --></A><H3>
993with</H3>
994<PRE>
995public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>with</B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</A>&nbsp;pp)</PRE>
996<DL>
997<DD>Method that will construct a new instance that will use specified pretty
998 printer (or, if null, will not do any pretty-printing)
999<P>
1000<DD><DL>
1001</DL>
1002</DD>
1003<DD><DL>
1004</DL>
1005</DD>
1006</DL>
1007<HR>
1008
1009<A NAME="withRootName(java.lang.String)"><!-- --></A><H3>
1010withRootName</H3>
1011<PRE>
1012public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>withRootName</B>(<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)</PRE>
1013<DL>
1014<DD>Method for constructing a new instance with configuration that
1015 specifies what root name to use for "root element wrapping".
1016 See <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html#withRootName(java.lang.String)"><CODE>SerializationConfig.withRootName(String)</CODE></A> for details.
1017<p>
1018 Note that method does NOT change state of this reader, but
1019 rather construct and returns a newly configured instance.
1020<P>
1021<DD><DL>
1022</DL>
1023</DD>
1024<DD><DL>
1025</DL>
1026</DD>
1027</DL>
1028<HR>
1029
1030<A NAME="withSchema(com.fasterxml.jackson.core.FormatSchema)"><!-- --></A><H3>
1031withSchema</H3>
1032<PRE>
1033public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>withSchema</B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</A>&nbsp;schema)</PRE>
1034<DL>
1035<DD>Method that will construct a new instance that uses specific format schema
1036 for serialization.
1037<p>
1038 Note that method does NOT change state of this reader, but
1039 rather construct and returns a newly configured instance.
1040<P>
1041<DD><DL>
1042</DL>
1043</DD>
1044<DD><DL>
1045</DL>
1046</DD>
1047</DL>
1048<HR>
1049
1050<A NAME="withType(com.fasterxml.jackson.databind.JavaType)"><!-- --></A><H3>
1051withType</H3>
1052<PRE>
1053public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>withType</B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A>&nbsp;rootType)</PRE>
1054<DL>
1055<DD>Method that will construct a new instance that uses specific type
1056 as the root type for serialization, instead of runtime dynamic
1057 type of the root object itself.
1058<p>
1059 Note that method does NOT change state of this reader, but
1060 rather construct and returns a newly configured instance.
1061<P>
1062<DD><DL>
1063</DL>
1064</DD>
1065<DD><DL>
1066</DL>
1067</DD>
1068</DL>
1069<HR>
1070
1071<A NAME="withType(java.lang.Class)"><!-- --></A><H3>
1072withType</H3>
1073<PRE>
1074public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>withType</B>(<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)</PRE>
1075<DL>
1076<DD>Method that will construct a new instance that uses specific type
1077 as the root type for serialization, instead of runtime dynamic
1078 type of the root object itself.
1079<P>
1080<DD><DL>
1081</DL>
1082</DD>
1083<DD><DL>
1084</DL>
1085</DD>
1086</DL>
1087<HR>
1088
1089<A NAME="withType(com.fasterxml.jackson.core.type.TypeReference)"><!-- --></A><H3>
1090withType</H3>
1091<PRE>
1092public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>withType</B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/type/TypeReference.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.type">TypeReference</A>&lt;?&gt;&nbsp;rootType)</PRE>
1093<DL>
1094<DD><DL>
1095</DL>
1096</DD>
1097<DD><DL>
1098</DL>
1099</DD>
1100</DL>
1101<HR>
1102
1103<A NAME="withView(java.lang.Class)"><!-- --></A><H3>
1104withView</H3>
1105<PRE>
1106public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>withView</B>(<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)</PRE>
1107<DL>
1108<DD>Method that will construct a new instance that uses specified
1109 serialization view for serialization (with null basically disables
1110 view processing)
1111<p>
1112 Note that the method does NOT change state of this reader, but
1113 rather construct and returns a newly configured instance.
1114<P>
1115<DD><DL>
1116</DL>
1117</DD>
1118<DD><DL>
1119</DL>
1120</DD>
1121</DL>
1122<HR>
1123
1124<A NAME="with(java.util.Locale)"><!-- --></A><H3>
1125with</H3>
1126<PRE>
1127public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>with</B>(<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)</PRE>
1128<DL>
1129<DD><DL>
1130</DL>
1131</DD>
1132<DD><DL>
1133</DL>
1134</DD>
1135</DL>
1136<HR>
1137
1138<A NAME="with(java.util.TimeZone)"><!-- --></A><H3>
1139with</H3>
1140<PRE>
1141public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>with</B>(<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)</PRE>
1142<DL>
1143<DD><DL>
1144</DL>
1145</DD>
1146<DD><DL>
1147</DL>
1148</DD>
1149</DL>
1150<HR>
1151
1152<A NAME="with(com.fasterxml.jackson.core.Base64Variant)"><!-- --></A><H3>
1153with</H3>
1154<PRE>
1155public <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</A> <B>with</B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/Base64Variant.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Base64Variant</A>&nbsp;b64variant)</PRE>
1156<DL>
1157<DD>Method that will construct a new instance that uses specified default
1158 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/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
1159<P>
1160<DD><DL>
1161</DL>
1162</DD>
1163<DD><DL>
1164<DT><B>Since:</B></DT>
1165  <DD>2.1</DD>
1166</DL>
1167</DD>
1168</DL>
1169<HR>
1170
1171<A NAME="isEnabled(com.fasterxml.jackson.databind.SerializationFeature)"><!-- --></A><H3>
1172isEnabled</H3>
1173<PRE>
1174public boolean <B>isEnabled</B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>&nbsp;f)</PRE>
1175<DL>
1176<DD><DL>
1177</DL>
1178</DD>
1179<DD><DL>
1180</DL>
1181</DD>
1182</DL>
1183<HR>
1184
1185<A NAME="isEnabled(com.fasterxml.jackson.databind.MapperFeature)"><!-- --></A><H3>
1186isEnabled</H3>
1187<PRE>
1188public boolean <B>isEnabled</B>(<A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A>&nbsp;f)</PRE>
1189<DL>
1190<DD><DL>
1191</DL>
1192</DD>
1193<DD><DL>
1194</DL>
1195</DD>
1196</DL>
1197<HR>
1198
1199<A NAME="isEnabled(com.fasterxml.jackson.core.JsonParser.Feature)"><!-- --></A><H3>
1200isEnabled</H3>
1201<PRE>
1202public boolean <B>isEnabled</B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonParser.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.Feature</A>&nbsp;f)</PRE>
1203<DL>
1204<DD><DL>
1205</DL>
1206</DD>
1207<DD><DL>
1208</DL>
1209</DD>
1210</DL>
1211<HR>
1212
1213<A NAME="getJsonFactory()"><!-- --></A><H3>
1214getJsonFactory</H3>
1215<PRE>
1216public <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</A> <B>getJsonFactory</B>()</PRE>
1217<DL>
1218<DD><DL>
1219</DL>
1220</DD>
1221<DD><DL>
1222</DL>
1223</DD>
1224</DL>
1225<HR>
1226
1227<A NAME="getTypeFactory()"><!-- --></A><H3>
1228getTypeFactory</H3>
1229<PRE>
1230public <A HREF="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</A> <B>getTypeFactory</B>()</PRE>
1231<DL>
1232<DD><DL>
1233</DL>
1234</DD>
1235<DD><DL>
1236</DL>
1237</DD>
1238</DL>
1239<HR>
1240
1241<A NAME="writeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object)"><!-- --></A><H3>
1242writeValue</H3>
1243<PRE>
1244public void <B>writeValue</B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A>&nbsp;jgen,
1245                       <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)
1246                throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
1247                       <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</A>,
1248                       <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE>
1249<DL>
1250<DD>Method that can be used to serialize any Java value as
1251 JSON output, using provided <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonGenerator</CODE></A>.
1252<P>
1253<DD><DL>
1254</DL>
1255</DD>
1256<DD><DL>
1257
1258<DT><B>Throws:</B>
1259<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE>
1260<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</A></CODE>
1261<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL>
1262</DD>
1263</DL>
1264<HR>
1265
1266<A NAME="writeValue(java.io.File, java.lang.Object)"><!-- --></A><H3>
1267writeValue</H3>
1268<PRE>
1269public void <B>writeValue</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>&nbsp;resultFile,
1270                       <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)
1271                throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
1272                       <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</A>,
1273                       <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE>
1274<DL>
1275<DD>Method that can be used to serialize any Java value as
1276 JSON output, written to File provided.
1277<P>
1278<DD><DL>
1279</DL>
1280</DD>
1281<DD><DL>
1282
1283<DT><B>Throws:</B>
1284<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE>
1285<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</A></CODE>
1286<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL>
1287</DD>
1288</DL>
1289<HR>
1290
1291<A NAME="writeValue(java.io.OutputStream, java.lang.Object)"><!-- --></A><H3>
1292writeValue</H3>
1293<PRE>
1294public void <B>writeValue</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A>&nbsp;out,
1295                       <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)
1296                throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
1297                       <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</A>,
1298                       <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE>
1299<DL>
1300<DD>Method that can be used to serialize any Java value as
1301 JSON output, using output stream provided (using encoding
1302 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonEncoding.html?is-external=true#UTF8" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonEncoding.UTF8</CODE></A>).
1303<p>
1304 Note: method does not close the underlying stream explicitly
1305 here; however, <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonFactory</CODE></A> this mapper uses may choose
1306 to close the stream depending on its settings (by default,
1307 it will try to close it when <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonGenerator</CODE></A> we construct
1308 is closed).
1309<P>
1310<DD><DL>
1311</DL>
1312</DD>
1313<DD><DL>
1314
1315<DT><B>Throws:</B>
1316<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE>
1317<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</A></CODE>
1318<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL>
1319</DD>
1320</DL>
1321<HR>
1322
1323<A NAME="writeValue(java.io.Writer, java.lang.Object)"><!-- --></A><H3>
1324writeValue</H3>
1325<PRE>
1326public void <B>writeValue</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</A>&nbsp;w,
1327                       <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)
1328                throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
1329                       <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</A>,
1330                       <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE>
1331<DL>
1332<DD>Method that can be used to serialize any Java value as
1333 JSON output, using Writer provided.
1334<p>
1335 Note: method does not close the underlying stream explicitly
1336 here; however, <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonFactory</CODE></A> this mapper uses may choose
1337 to close the stream depending on its settings (by default,
1338 it will try to close it when <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonGenerator</CODE></A> we construct
1339 is closed).
1340<P>
1341<DD><DL>
1342</DL>
1343</DD>
1344<DD><DL>
1345
1346<DT><B>Throws:</B>
1347<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE>
1348<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</A></CODE>
1349<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL>
1350</DD>
1351</DL>
1352<HR>
1353
1354<A NAME="writeValueAsString(java.lang.Object)"><!-- --></A><H3>
1355writeValueAsString</H3>
1356<PRE>
1357public <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> <B>writeValueAsString</B>(<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)
1358                          throws <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></PRE>
1359<DL>
1360<DD>Method that can be used to serialize any Java value as
1361 a String. Functionally equivalent to calling
1362 <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue(java.io.Writer, java.lang.Object)"><CODE>writeValue(Writer,Object)</CODE></A> with <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/StringWriter.html?is-external=true" title="class or interface in java.io"><CODE>StringWriter</CODE></A>
1363 and constructing String, but more efficient.
1364<p>
1365 Note: prior to version 2.1, throws clause included <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><CODE>IOException</CODE></A>; 2.1 removed it.
1366<P>
1367<DD><DL>
1368</DL>
1369</DD>
1370<DD><DL>
1371
1372<DT><B>Throws:</B>
1373<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></CODE></DL>
1374</DD>
1375</DL>
1376<HR>
1377
1378<A NAME="writeValueAsBytes(java.lang.Object)"><!-- --></A><H3>
1379writeValueAsBytes</H3>
1380<PRE>
1381public byte[] <B>writeValueAsBytes</B>(<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)
1382                         throws <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></PRE>
1383<DL>
1384<DD>Method that can be used to serialize any Java value as
1385 a byte array. Functionally equivalent to calling
1386 <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue(java.io.Writer, java.lang.Object)"><CODE>writeValue(Writer,Object)</CODE></A> with <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/ByteArrayOutputStream.html?is-external=true" title="class or interface in java.io"><CODE>ByteArrayOutputStream</CODE></A>
1387 and getting bytes, but more efficient.
1388 Encoding used will be UTF-8.
1389<p>
1390 Note: prior to version 2.1, throws clause included <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><CODE>IOException</CODE></A>; 2.1 removed it.
1391<P>
1392<DD><DL>
1393</DL>
1394</DD>
1395<DD><DL>
1396
1397<DT><B>Throws:</B>
1398<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></CODE></DL>
1399</DD>
1400</DL>
1401<HR>
1402
1403<A NAME="canSerialize(java.lang.Class)"><!-- --></A><H3>
1404canSerialize</H3>
1405<PRE>
1406public boolean <B>canSerialize</B>(<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;type)</PRE>
1407<DL>
1408<DD><DL>
1409</DL>
1410</DD>
1411<DD><DL>
1412</DL>
1413</DD>
1414</DL>
1415<HR>
1416
1417<A NAME="_serializerProvider(com.fasterxml.jackson.databind.SerializationConfig)"><!-- --></A><H3>
1418_serializerProvider</H3>
1419<PRE>
1420protected <A HREF="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</A> <B>_serializerProvider</B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A>&nbsp;config)</PRE>
1421<DL>
1422<DD>Overridable helper method used for constructing
1423 <A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><CODE>SerializerProvider</CODE></A> to use for serialization.
1424<P>
1425<DD><DL>
1426</DL>
1427</DD>
1428<DD><DL>
1429</DL>
1430</DD>
1431</DL>
1432<HR>
1433
1434<A NAME="_configAndWriteValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object)"><!-- --></A><H3>
1435_configAndWriteValue</H3>
1436<PRE>
1437protected final void <B>_configAndWriteValue</B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A>&nbsp;jgen,
1438                                          <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)
1439                                   throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>,
1440                                          <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</A>,
1441                                          <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE>
1442<DL>
1443<DD>Method called to configure the generator as necessary and then
1444 call write functionality
1445<P>
1446<DD><DL>
1447</DL>
1448</DD>
1449<DD><DL>
1450
1451<DT><B>Throws:</B>
1452<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE>
1453<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</A></CODE>
1454<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL>
1455</DD>
1456</DL>
1457<HR>
1458
1459<A NAME="_prefetchRootSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType)"><!-- --></A><H3>
1460_prefetchRootSerializer</H3>
1461<PRE>
1462protected final <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; <B>_prefetchRootSerializer</B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A>&nbsp;config,
1463                                                               <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A>&nbsp;valueType)</PRE>
1464<DL>
1465<DD>Method called to locate (root) serializer ahead of time, if permitted
1466 by configuration. Method also is NOT to throw an exception if
1467 access fails.
1468<P>
1469<DD><DL>
1470</DL>
1471</DD>
1472<DD><DL>
1473</DL>
1474</DD>
1475</DL>
1476<!-- ========= END OF CLASS DATA ========= -->
1477<HR>
1478
1479
1480<!-- ======= START OF BOTTOM NAVBAR ====== -->
1481<A NAME="navbar_bottom"><!-- --></A>
1482<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
1483<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
1484<TR>
1485<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1486<A NAME="navbar_bottom_firstrow"><!-- --></A>
1487<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
1488  <TR ALIGN="center" VALIGN="top">
1489  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1490  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1491  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1492  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ObjectWriter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
1493  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1494  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1495  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1496  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1497  </TR>
1498</TABLE>
1499</TD>
1500<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1501</EM>
1502</TD>
1503</TR>
1504
1505<TR>
1506<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1507&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><B>PREV CLASS</B></A>&nbsp;
1508&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind"><B>NEXT CLASS</B></A></FONT></TD>
1509<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1510  <A HREF="../../../../index.html?com/fasterxml/jackson/databind/ObjectWriter.html" target="_top"><B>FRAMES</B></A>  &nbsp;
1511&nbsp;<A HREF="ObjectWriter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
1512&nbsp;<SCRIPT type="text/javascript">
1513  <!--
1514  if(window==top) {
1515    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
1516  }
1517  //-->
1518</SCRIPT>
1519<NOSCRIPT>
1520  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
1521</NOSCRIPT>
1522
1523
1524</FONT></TD>
1525</TR>
1526<TR>
1527<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1528  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1529<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1530DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1531</TR>
1532</TABLE>
1533<A NAME="skip-navbar_bottom"></A>
1534<!-- ======== END OF BOTTOM NAVBAR ======= -->
1535
1536<HR>
1537Copyright &#169; 2012 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.
1538</BODY>
1539</HTML>
1540