• 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_29) on Mon Mar 26 19:07:11 PDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<TITLE>
8SerializationFeature (jackson-databind 2.0.0 API)
9</TITLE>
10
11<META NAME="date" CONTENT="2012-03-26">
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="SerializationFeature (jackson-databind 2.0.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/SerializationFeature.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/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><B>PREV CLASS</B></A>&nbsp;
60&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.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/SerializationFeature.html" target="_top"><B>FRAMES</B></A>  &nbsp;
63&nbsp;<A HREF="SerializationFeature.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="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
82DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&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>
94Enum SerializationFeature</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 "><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</A>&lt;<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>&gt;
98      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.SerializationFeature</B>
99</PRE>
100<DL>
101<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</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>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A>&lt;<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>&gt;</DD>
102</DL>
103<HR>
104<DL>
105<DT><PRE>public enum <B>SerializationFeature</B><DT>extends <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>&gt;<DT>implements <A HREF="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</A></DL>
106</PRE>
107
108<P>
109Enumeration that defines simple on/off features that affect
110 the way Java objects are serialized.
111<p>
112 Note that features can be set both through
113 <A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A> (as sort of defaults) and through
114 <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectWriter</CODE></A>.
115 In first case these defaults must follow "config-then-use" patterns
116 (i.e. defined once, not changed afterwards); all per-call
117 changes must be done using <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectWriter</CODE></A>.
118<P>
119
120<P>
121<HR>
122
123<P>
124<!-- =========== ENUM CONSTANT SUMMARY =========== -->
125
126<A NAME="enum_constant_summary"><!-- --></A>
127<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
128<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
129<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
130<B>Enum Constant Summary</B></FONT></TH>
131</TR>
132<TR BGCOLOR="white" CLASS="TableRowColor">
133<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#CLOSE_CLOSEABLE">CLOSE_CLOSEABLE</A></B></CODE>
134
135<BR>
136&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether <code>close</code> method of
137 serialized <b>root level</b> objects (ones for which <code>ObjectMapper</code>'s
138 writeValue() (or equivalent) method is called)
139 that implement <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io"><CODE>Closeable</CODE></A>
140 is called after serialization or not.</TD>
141</TR>
142<TR BGCOLOR="white" CLASS="TableRowColor">
143<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#FAIL_ON_EMPTY_BEANS">FAIL_ON_EMPTY_BEANS</A></B></CODE>
144
145<BR>
146&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines what happens when no accessors are
147 found for a type (and there are no annotations to indicate
148 it is meant to be serialized).</TD>
149</TR>
150<TR BGCOLOR="white" CLASS="TableRowColor">
151<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#FLUSH_AFTER_WRITE_VALUE">FLUSH_AFTER_WRITE_VALUE</A></B></CODE>
152
153<BR>
154&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether <code>JsonGenerator.flush()</code> is
155 called after <code>writeValue()</code> method <b>that takes JsonGenerator
156 as an argument</b> completes (i.e.</TD>
157</TR>
158<TR BGCOLOR="white" CLASS="TableRowColor">
159<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#INDENT_OUTPUT">INDENT_OUTPUT</A></B></CODE>
160
161<BR>
162&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that allows enabling (or disabling) indentation
163 for the underlying generator, using the default pretty
164 printer (see
165 <CODE>JsonGenerator.useDefaultPrettyPrinter()</CODE>
166 for details).</TD>
167</TR>
168<TR BGCOLOR="white" CLASS="TableRowColor">
169<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#ORDER_MAP_ENTRIES_BY_KEYS">ORDER_MAP_ENTRIES_BY_KEYS</A></B></CODE>
170
171<BR>
172&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A> entries are first
173 sorted by key before serialization or not: if enabled, additional sorting
174 step is performed if necessary (not necessary for <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util"><CODE>SortedMap</CODE></A>s),
175 if disabled, no additional sorting is needed.</TD>
176</TR>
177<TR BGCOLOR="white" CLASS="TableRowColor">
178<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRAP_EXCEPTIONS">WRAP_EXCEPTIONS</A></B></CODE>
179
180<BR>
181&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether Jackson code should catch
182 and wrap <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><CODE>Exception</CODE></A>s (but never <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang"><CODE>Error</CODE></A>s!)
183 to add additional information about
184 location (within input) of problem or not.</TD>
185</TR>
186<TR BGCOLOR="white" CLASS="TableRowColor">
187<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRAP_ROOT_VALUE">WRAP_ROOT_VALUE</A></B></CODE>
188
189<BR>
190&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that can be enabled to make root value (usually JSON
191 Object but can be any type) wrapped within a single property
192 JSON object, where key as the "root name", as determined by
193 annotation introspector (esp.</TD>
194</TR>
195<TR BGCOLOR="white" CLASS="TableRowColor">
196<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS">WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS</A></B></CODE>
197
198<BR>
199&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines how type <code>char[]</code> is serialized:
200 when enabled, will be serialized as an explict JSON array (with
201 single-character Strings as values); when disabled, defaults to
202 serializing them as Strings (which is more compact).</TD>
203</TR>
204<TR BGCOLOR="white" CLASS="TableRowColor">
205<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS">WRITE_DATE_KEYS_AS_TIMESTAMPS</A></B></CODE>
206
207<BR>
208&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><CODE>Date</CODE></A>s
209 (and sub-types) used as <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A> keys are serialized
210 as timestamps or not (if not, will be serialized as textual
211 values).</TD>
212</TR>
213<TR BGCOLOR="white" CLASS="TableRowColor">
214<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATES_AS_TIMESTAMPS">WRITE_DATES_AS_TIMESTAMPS</A></B></CODE>
215
216<BR>
217&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><CODE>Date</CODE></A> values
218 (and Date-based things like <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util"><CODE>Calendar</CODE></A>s) are to be
219 serialized as numeric timestamps (true; the default),
220 or as something else (usually textual representation).</TD>
221</TR>
222<TR BGCOLOR="white" CLASS="TableRowColor">
223<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_EMPTY_JSON_ARRAYS">WRITE_EMPTY_JSON_ARRAYS</A></B></CODE>
224
225<BR>
226&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether Container properties (POJO properties
227 with declared value of Collection or array; i.e.</TD>
228</TR>
229<TR BGCOLOR="white" CLASS="TableRowColor">
230<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_ENUMS_USING_INDEX">WRITE_ENUMS_USING_INDEX</A></B></CODE>
231
232<BR>
233&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whethere Java Enum values are serialized
234 as numbers (true), or textual values (false).</TD>
235</TR>
236<TR BGCOLOR="white" CLASS="TableRowColor">
237<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_ENUMS_USING_TO_STRING">WRITE_ENUMS_USING_TO_STRING</A></B></CODE>
238
239<BR>
240&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines standard serialization mechanism used for
241 Enum values: if enabled, return value of <code>Enum.toString()</code>
242 is used; if disabled, return value of <code>Enum.name()</code> is used.</TD>
243</TR>
244<TR BGCOLOR="white" CLASS="TableRowColor">
245<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_NULL_MAP_VALUES">WRITE_NULL_MAP_VALUES</A></B></CODE>
246
247<BR>
248&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether Map entries with null values are
249 to be serialized (true) or not (false).</TD>
250</TR>
251<TR BGCOLOR="white" CLASS="TableRowColor">
252<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED">WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</A></B></CODE>
253
254<BR>
255&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature added for interoperability, to work with oddities of
256 so-called "BadgerFish" convention.</TD>
257</TR>
258</TABLE>
259&nbsp;
260<!-- ========== METHOD SUMMARY =========== -->
261
262<A NAME="method_summary"><!-- --></A>
263<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
264<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
265<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
266<B>Method Summary</B></FONT></TH>
267</TR>
268<TR BGCOLOR="white" CLASS="TableRowColor">
269<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
270<CODE>&nbsp;boolean</CODE></FONT></TD>
271<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#enabledByDefault()">enabledByDefault</A></B>()</CODE>
272
273<BR>
274&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Accessor for checking whether this feature is enabled by default.</TD>
275</TR>
276<TR BGCOLOR="white" CLASS="TableRowColor">
277<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
278<CODE>&nbsp;int</CODE></FONT></TD>
279<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#getMask()">getMask</A></B>()</CODE>
280
281<BR>
282&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns bit mask for this feature instance</TD>
283</TR>
284<TR BGCOLOR="white" CLASS="TableRowColor">
285<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
286<CODE>static&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A></CODE></FONT></TD>
287<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#valueOf(java.lang.String)">valueOf</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;name)</CODE>
288
289<BR>
290&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the enum constant of this type with the specified name.</TD>
291</TR>
292<TR BGCOLOR="white" CLASS="TableRowColor">
293<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
294<CODE>static&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>[]</CODE></FONT></TD>
295<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#values()">values</A></B>()</CODE>
296
297<BR>
298&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array containing the constants of this enum type, in
299the order they are declared.</TD>
300</TR>
301</TABLE>
302&nbsp;<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
303<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
304<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
305<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A></B></TH>
306</TR>
307<TR BGCOLOR="white" CLASS="TableRowColor">
308<TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.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/Enum.html?is-external=true#compareTo(E)" title="class or interface in java.lang">compareTo</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.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/Enum.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/Enum.html?is-external=true#getDeclaringClass()" title="class or interface in java.lang">getDeclaringClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.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/Enum.html?is-external=true#name()" title="class or interface in java.lang">name</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#ordinal()" title="class or interface in java.lang">ordinal</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.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/Enum.html?is-external=true#valueOf(java.lang.Class, java.lang.String)" title="class or interface in java.lang">valueOf</A></CODE></TD>
309</TR>
310</TABLE>
311&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
312<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
313<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
314<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>
315</TR>
316<TR BGCOLOR="white" CLASS="TableRowColor">
317<TD><CODE><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#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#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>
318</TR>
319</TABLE>
320&nbsp;
321<P>
322
323<!-- ============ ENUM CONSTANT DETAIL =========== -->
324
325<A NAME="enum_constant_detail"><!-- --></A>
326<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
327<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
328<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
329<B>Enum Constant Detail</B></FONT></TH>
330</TR>
331</TABLE>
332
333<A NAME="WRAP_ROOT_VALUE"><!-- --></A><H3>
334WRAP_ROOT_VALUE</H3>
335<PRE>
336public static final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>WRAP_ROOT_VALUE</B></PRE>
337<DL>
338<DD>Feature that can be enabled to make root value (usually JSON
339 Object but can be any type) wrapped within a single property
340 JSON object, where key as the "root name", as determined by
341 annotation introspector (esp. for JAXB that uses
342 <code>@XmlRootElement.name</code>) or fallback (non-qualified
343 class name).
344 Feature is mostly intended for JAXB compatibility.
345<p>
346 Feature is enabled by default.
347<P>
348<DL>
349</DL>
350</DL>
351<HR>
352
353<A NAME="INDENT_OUTPUT"><!-- --></A><H3>
354INDENT_OUTPUT</H3>
355<PRE>
356public static final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>INDENT_OUTPUT</B></PRE>
357<DL>
358<DD>Feature that allows enabling (or disabling) indentation
359 for the underlying generator, using the default pretty
360 printer (see
361 <CODE>JsonGenerator.useDefaultPrettyPrinter()</CODE>
362 for details).
363<p>
364 Note that this only affects cases where
365 <CODE>JsonGenerator</CODE>
366 is constructed implicitly by ObjectMapper: if explicit
367 generator is passed, its configuration is not changed.
368<p>
369 Also note that if you want to configure details of indentation,
370 you need to directly configure the generator: there is a
371 method to use any <code>PrettyPrinter</code> instance.
372 This feature will only allow using the default implementation.
373<p>
374 Feature is enabled by default.
375<P>
376<DL>
377</DL>
378</DL>
379<HR>
380
381<A NAME="FAIL_ON_EMPTY_BEANS"><!-- --></A><H3>
382FAIL_ON_EMPTY_BEANS</H3>
383<PRE>
384public static final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>FAIL_ON_EMPTY_BEANS</B></PRE>
385<DL>
386<DD>Feature that determines what happens when no accessors are
387 found for a type (and there are no annotations to indicate
388 it is meant to be serialized). If enabled (default), an
389 exception is thrown to indicate these as non-serializable
390 types; if disabled, they are serialized as empty Objects,
391 i.e. without any properties.
392<p>
393 Note that empty types that this feature has only effect on
394 those "empty" beans that do not have any recognized annotations
395 (like <code>@JsonSerialize</code>): ones that do have annotations
396 do not result in an exception being thrown.
397<p>
398 Feature is enabled by default.
399<P>
400<DL>
401</DL>
402</DL>
403<HR>
404
405<A NAME="WRAP_EXCEPTIONS"><!-- --></A><H3>
406WRAP_EXCEPTIONS</H3>
407<PRE>
408public static final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>WRAP_EXCEPTIONS</B></PRE>
409<DL>
410<DD>Feature that determines whether Jackson code should catch
411 and wrap <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><CODE>Exception</CODE></A>s (but never <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang"><CODE>Error</CODE></A>s!)
412 to add additional information about
413 location (within input) of problem or not. If enabled,
414 most exceptions will be caught and re-thrown (exception
415 specifically being that <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>s may be passed
416 as is, since they are declared as throwable); this can be
417 convenient both in that all exceptions will be checked and
418 declared, and so there is more contextual information.
419 However, sometimes calling application may just want "raw"
420 unchecked exceptions passed as is.
421<p>
422<p>
423 Feature is enabled by default.
424<P>
425<DL>
426</DL>
427</DL>
428<HR>
429
430<A NAME="CLOSE_CLOSEABLE"><!-- --></A><H3>
431CLOSE_CLOSEABLE</H3>
432<PRE>
433public static final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>CLOSE_CLOSEABLE</B></PRE>
434<DL>
435<DD>Feature that determines whether <code>close</code> method of
436 serialized <b>root level</b> objects (ones for which <code>ObjectMapper</code>'s
437 writeValue() (or equivalent) method is called)
438 that implement <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io"><CODE>Closeable</CODE></A>
439 is called after serialization or not. If enabled, <b>close()</b> will
440 be called after serialization completes (whether succesfully, or
441 due to an error manifested by an exception being thrown). You can
442 think of this as sort of "finally" processing.
443<p>
444 NOTE: only affects behavior with <b>root</b> objects, and not other
445 objects reachable from the root object. Put another way, only one
446 call will be made for each 'writeValue' call.
447<p>
448 Feature is disabled by default.
449<P>
450<DL>
451</DL>
452</DL>
453<HR>
454
455<A NAME="FLUSH_AFTER_WRITE_VALUE"><!-- --></A><H3>
456FLUSH_AFTER_WRITE_VALUE</H3>
457<PRE>
458public static final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>FLUSH_AFTER_WRITE_VALUE</B></PRE>
459<DL>
460<DD>Feature that determines whether <code>JsonGenerator.flush()</code> is
461 called after <code>writeValue()</code> method <b>that takes JsonGenerator
462 as an argument</b> completes (i.e. does NOT affect methods
463 that use other destinations); same for methods in <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectWriter</CODE></A>.
464 This usually makes sense; but there are cases where flushing
465 should not be forced: for example when underlying stream is
466 compressing and flush() causes compression state to be flushed
467 (which occurs with some compression codecs).
468<p>
469 Feature is enabled by default.
470<P>
471<DL>
472</DL>
473</DL>
474<HR>
475
476<A NAME="WRITE_DATES_AS_TIMESTAMPS"><!-- --></A><H3>
477WRITE_DATES_AS_TIMESTAMPS</H3>
478<PRE>
479public static final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>WRITE_DATES_AS_TIMESTAMPS</B></PRE>
480<DL>
481<DD>Feature that determines whether <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><CODE>Date</CODE></A> values
482 (and Date-based things like <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util"><CODE>Calendar</CODE></A>s) are to be
483 serialized as numeric timestamps (true; the default),
484 or as something else (usually textual representation).
485 If textual representation is used, the actual format is
486 one returned by a call to
487 <A HREF="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html#getDateFormat()"><CODE>MapperConfig.getDateFormat()</CODE></A>.
488<p>
489 Note: whether this feature affects handling of other date-related
490 types depend on handlers of those types, although ideally they
491 should use this feature
492<p>
493 Note: whether <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A> keys are serialized as Strings
494 or not is controlled using <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><CODE>WRITE_DATE_KEYS_AS_TIMESTAMPS</CODE></A>.
495<p>
496 Feature is enabled by default.
497<P>
498<DL>
499</DL>
500</DL>
501<HR>
502
503<A NAME="WRITE_DATE_KEYS_AS_TIMESTAMPS"><!-- --></A><H3>
504WRITE_DATE_KEYS_AS_TIMESTAMPS</H3>
505<PRE>
506public static final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>WRITE_DATE_KEYS_AS_TIMESTAMPS</B></PRE>
507<DL>
508<DD>Feature that determines whether <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><CODE>Date</CODE></A>s
509 (and sub-types) used as <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A> keys are serialized
510 as timestamps or not (if not, will be serialized as textual
511 values).
512<p>
513 Default value is 'false', meaning that Date-valued Map keys are serialized
514 as textual (ISO-8601) values.
515<p>
516 Feature is disabled by default.
517<P>
518<DL>
519</DL>
520</DL>
521<HR>
522
523<A NAME="WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS"><!-- --></A><H3>
524WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS</H3>
525<PRE>
526public static final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS</B></PRE>
527<DL>
528<DD>Feature that determines how type <code>char[]</code> is serialized:
529 when enabled, will be serialized as an explict JSON array (with
530 single-character Strings as values); when disabled, defaults to
531 serializing them as Strings (which is more compact).
532<p>
533 Feature is disabled by default.
534<P>
535<DL>
536</DL>
537</DL>
538<HR>
539
540<A NAME="WRITE_ENUMS_USING_TO_STRING"><!-- --></A><H3>
541WRITE_ENUMS_USING_TO_STRING</H3>
542<PRE>
543public static final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>WRITE_ENUMS_USING_TO_STRING</B></PRE>
544<DL>
545<DD>Feature that determines standard serialization mechanism used for
546 Enum values: if enabled, return value of <code>Enum.toString()</code>
547 is used; if disabled, return value of <code>Enum.name()</code> is used.
548<p>
549 Note: this feature should usually have same value
550 as <A HREF="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#READ_ENUMS_USING_TO_STRING"><CODE>DeserializationFeature.READ_ENUMS_USING_TO_STRING</CODE></A>.
551<p>
552 Feature is disabled by default.
553<P>
554<DL>
555</DL>
556</DL>
557<HR>
558
559<A NAME="WRITE_ENUMS_USING_INDEX"><!-- --></A><H3>
560WRITE_ENUMS_USING_INDEX</H3>
561<PRE>
562public static final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>WRITE_ENUMS_USING_INDEX</B></PRE>
563<DL>
564<DD>Feature that determines whethere Java Enum values are serialized
565 as numbers (true), or textual values (false). If textual values are
566 used, other settings are also considered.
567 If this feature is enabled,
568  return value of <code>Enum.ordinal()</code>
569 (an integer) will be used as the serialization.
570<p>
571 Note that this feature has precedence over <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_ENUMS_USING_TO_STRING"><CODE>WRITE_ENUMS_USING_TO_STRING</CODE></A>,
572 which is only considered if this feature is set to false.
573<p>
574 Feature is disabled by default.
575<P>
576<DL>
577</DL>
578</DL>
579<HR>
580
581<A NAME="WRITE_NULL_MAP_VALUES"><!-- --></A><H3>
582WRITE_NULL_MAP_VALUES</H3>
583<PRE>
584public static final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>WRITE_NULL_MAP_VALUES</B></PRE>
585<DL>
586<DD>Feature that determines whether Map entries with null values are
587 to be serialized (true) or not (false).
588<p>
589 For further details, check out [JACKSON-314]
590<p>
591 Feature is enabled by default.
592<P>
593<DL>
594</DL>
595</DL>
596<HR>
597
598<A NAME="WRITE_EMPTY_JSON_ARRAYS"><!-- --></A><H3>
599WRITE_EMPTY_JSON_ARRAYS</H3>
600<PRE>
601public static final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>WRITE_EMPTY_JSON_ARRAYS</B></PRE>
602<DL>
603<DD>Feature that determines whether Container properties (POJO properties
604 with declared value of Collection or array; i.e. things that produce JSON
605 arrays) that are empty (have no elements)
606 will be serialized as empty JSON arrays (true), or suppressed from output (false).
607<p>
608 Note that this does not change behavior of <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A>s, or
609 "Collection-like" types.
610<p>
611 Feature is enabled by default.
612<P>
613<DL>
614</DL>
615</DL>
616<HR>
617
618<A NAME="WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED"><!-- --></A><H3>
619WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</H3>
620<PRE>
621public static final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</B></PRE>
622<DL>
623<DD>Feature added for interoperability, to work with oddities of
624 so-called "BadgerFish" convention.
625 Feature determines handling of single element <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><CODE>Collection</CODE></A>s
626 and arrays: if enabled, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><CODE>Collection</CODE></A>s and arrays that contain exactly
627 one element will be serialized as if that element itself was serialized.
628<p>
629 When enabled, a POJO with array that normally looks like this:
630<pre>
631  { "arrayProperty" : [ 1 ] }
632</pre>
633 will instead be serialized as
634<pre>
635  { "arrayProperty" : 1 }
636</pre>
637<p>
638 Note that this feature is counterpart to <A HREF="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#ACCEPT_SINGLE_VALUE_AS_ARRAY"><CODE>DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY</CODE></A>
639 (that is, usually both are enabled, or neither is).
640<p>
641 Feature is disabled by default, so that no special handling is done.
642<P>
643<DL>
644</DL>
645</DL>
646<HR>
647
648<A NAME="ORDER_MAP_ENTRIES_BY_KEYS"><!-- --></A><H3>
649ORDER_MAP_ENTRIES_BY_KEYS</H3>
650<PRE>
651public static final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>ORDER_MAP_ENTRIES_BY_KEYS</B></PRE>
652<DL>
653<DD>Feature that determines whether <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A> entries are first
654 sorted by key before serialization or not: if enabled, additional sorting
655 step is performed if necessary (not necessary for <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util"><CODE>SortedMap</CODE></A>s),
656 if disabled, no additional sorting is needed.
657<p>
658 Feature is disabled by default.
659<P>
660<DL>
661</DL>
662</DL>
663
664<!-- ============ METHOD DETAIL ========== -->
665
666<A NAME="method_detail"><!-- --></A>
667<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
668<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
669<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
670<B>Method Detail</B></FONT></TH>
671</TR>
672</TABLE>
673
674<A NAME="values()"><!-- --></A><H3>
675values</H3>
676<PRE>
677public static <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A>[] <B>values</B>()</PRE>
678<DL>
679<DD>Returns an array containing the constants of this enum type, in
680the order they are declared.  This method may be used to iterate
681over the constants as follows:
682<pre>
683for (SerializationFeature c : SerializationFeature.values())
684&nbsp;   System.out.println(c);
685</pre>
686<P>
687<DD><DL>
688</DL>
689</DD>
690<DD><DL>
691
692<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
693the order they are declared</DL>
694</DD>
695</DL>
696<HR>
697
698<A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
699valueOf</H3>
700<PRE>
701public static <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> <B>valueOf</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;name)</PRE>
702<DL>
703<DD>Returns the enum constant of this type with the specified name.
704The string must match <I>exactly</I> an identifier used to declare an
705enum constant in this type.  (Extraneous whitespace characters are
706not permitted.)
707<P>
708<DD><DL>
709</DL>
710</DD>
711<DD><DL>
712<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
713<DT><B>Returns:</B><DD>the enum constant with the specified name
714<DT><B>Throws:</B>
715<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this enum type has no constant
716with the specified name
717<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if the argument is null</DL>
718</DD>
719</DL>
720<HR>
721
722<A NAME="enabledByDefault()"><!-- --></A><H3>
723enabledByDefault</H3>
724<PRE>
725public boolean <B>enabledByDefault</B>()</PRE>
726<DL>
727<DD><B>Description copied from interface: <CODE><A HREF="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledByDefault()">ConfigFeature</A></CODE></B></DD>
728<DD>Accessor for checking whether this feature is enabled by default.
729<P>
730<DD><DL>
731<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledByDefault()">enabledByDefault</A></CODE> in interface <CODE><A HREF="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</A></CODE></DL>
732</DD>
733<DD><DL>
734</DL>
735</DD>
736</DL>
737<HR>
738
739<A NAME="getMask()"><!-- --></A><H3>
740getMask</H3>
741<PRE>
742public int <B>getMask</B>()</PRE>
743<DL>
744<DD><B>Description copied from interface: <CODE><A HREF="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#getMask()">ConfigFeature</A></CODE></B></DD>
745<DD>Returns bit mask for this feature instance
746<P>
747<DD><DL>
748<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#getMask()">getMask</A></CODE> in interface <CODE><A HREF="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</A></CODE></DL>
749</DD>
750<DD><DL>
751</DL>
752</DD>
753</DL>
754<!-- ========= END OF CLASS DATA ========= -->
755<HR>
756
757
758<!-- ======= START OF BOTTOM NAVBAR ====== -->
759<A NAME="navbar_bottom"><!-- --></A>
760<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
761<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
762<TR>
763<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
764<A NAME="navbar_bottom_firstrow"><!-- --></A>
765<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
766  <TR ALIGN="center" VALIGN="top">
767  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
768  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
769  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
770  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SerializationFeature.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
771  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
772  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
773  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
774  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
775  </TR>
776</TABLE>
777</TD>
778<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
779</EM>
780</TD>
781</TR>
782
783<TR>
784<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
785&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><B>PREV CLASS</B></A>&nbsp;
786&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><B>NEXT CLASS</B></A></FONT></TD>
787<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
788  <A HREF="../../../../index.html?com/fasterxml/jackson/databind/SerializationFeature.html" target="_top"><B>FRAMES</B></A>  &nbsp;
789&nbsp;<A HREF="SerializationFeature.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
790&nbsp;<SCRIPT type="text/javascript">
791  <!--
792  if(window==top) {
793    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
794  }
795  //-->
796</SCRIPT>
797<NOSCRIPT>
798  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
799</NOSCRIPT>
800
801
802</FONT></TD>
803</TR>
804<TR>
805<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
806  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#enum_constant_summary">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
807<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
808DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
809</TR>
810</TABLE>
811<A NAME="skip-navbar_bottom"></A>
812<!-- ======== END OF BOTTOM NAVBAR ======= -->
813
814<HR>
815Copyright &#169; 2012 <a href="http://fasterxml.com">fasterxml.com</a>. All Rights Reserved.
816</BODY>
817</HTML>
818