• 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:10 PDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<TITLE>
8MapperFeature (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="MapperFeature (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/MapperFeature.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/KeyDeserializer.None.html" title="class in com.fasterxml.jackson.databind"><B>PREV CLASS</B></A>&nbsp;
60&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.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/MapperFeature.html" target="_top"><B>FRAMES</B></A>  &nbsp;
63&nbsp;<A HREF="MapperFeature.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 MapperFeature</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/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A>&gt;
98      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.MapperFeature</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/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A>&gt;</DD>
102</DL>
103<HR>
104<DL>
105<DT><PRE>public enum <B>MapperFeature</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/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</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 to set
110 for <A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A>, and accessible (but not changeable)
111 via <A HREF="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectReader</CODE></A> and <A HREF="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectWriter</CODE></A> (as well as
112 through various convenience methods through context objects).
113<p>
114 Note that in addition to being only mutable via <A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A>,
115 changes only take effect when done <b>before any serialization or
116 deserialization</b> calls -- that is, caller must follow
117 "configure-then-use" pattern.
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/MapperFeature.html#AUTO_DETECT_CREATORS">AUTO_DETECT_CREATORS</A></B></CODE>
134
135<BR>
136&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether "creator" methods are
137 automatically detected by consider public constructors,
138 and static single argument methods with name "valueOf".</TD>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_FIELDS">AUTO_DETECT_FIELDS</A></B></CODE>
142
143<BR>
144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether non-static fields are recognized as
145 properties.</TD>
146</TR>
147<TR BGCOLOR="white" CLASS="TableRowColor">
148<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_GETTERS">AUTO_DETECT_GETTERS</A></B></CODE>
149
150<BR>
151&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether regualr "getter" methods are
152 automatically detected based on standard Bean naming convention
153 or not.</TD>
154</TR>
155<TR BGCOLOR="white" CLASS="TableRowColor">
156<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_IS_GETTERS">AUTO_DETECT_IS_GETTERS</A></B></CODE>
157
158<BR>
159&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether "is getter" methods are
160 automatically detected based on standard Bean naming convention
161 or not.</TD>
162</TR>
163<TR BGCOLOR="white" CLASS="TableRowColor">
164<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_SETTERS">AUTO_DETECT_SETTERS</A></B></CODE>
165
166<BR>
167&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether "setter" methods are
168 automatically detected based on standard Bean naming convention
169 or not.</TD>
170</TR>
171<TR BGCOLOR="white" CLASS="TableRowColor">
172<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html#CAN_OVERRIDE_ACCESS_MODIFIERS">CAN_OVERRIDE_ACCESS_MODIFIERS</A></B></CODE>
173
174<BR>
175&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether method and field access
176 modifier settings can be overridden when accessing
177 properties.</TD>
178</TR>
179<TR BGCOLOR="white" CLASS="TableRowColor">
180<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html#DEFAULT_VIEW_INCLUSION">DEFAULT_VIEW_INCLUSION</A></B></CODE>
181
182<BR>
183&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SerializationFeature that determines whether properties that have no view
184 annotations are included in JSON serialization views (see
185 <CODE>JsonView</CODE> for more
186 details on JSON Views).</TD>
187</TR>
188<TR BGCOLOR="white" CLASS="TableRowColor">
189<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html#REQUIRE_SETTERS_FOR_GETTERS">REQUIRE_SETTERS_FOR_GETTERS</A></B></CODE>
190
191<BR>
192&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether getters (getter methods)
193 can be auto-detected if there is no matching mutator (setter,
194 constructor parameter or field) or not: if set to true,
195 only getters that match a mutator are auto-discovered; if
196 false, all auto-detectable getters can be discovered.</TD>
197</TR>
198<TR BGCOLOR="white" CLASS="TableRowColor">
199<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html#SORT_PROPERTIES_ALPHABETICALLY">SORT_PROPERTIES_ALPHABETICALLY</A></B></CODE>
200
201<BR>
202&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SerializationFeature that defines default property serialization order used
203 for POJO fields (note: does <b>not</b> apply to <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>
204 serialization!):
205 if enabled, default ordering is alphabetic (similar to
206 how <CODE>JsonPropertyOrder.alphabetic()</CODE>
207 works); if disabled, order is unspecified (based on what JDK gives
208 us, which may be declaration order, but is not guaranteed).</TD>
209</TR>
210<TR BGCOLOR="white" CLASS="TableRowColor">
211<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_ANNOTATIONS">USE_ANNOTATIONS</A></B></CODE>
212
213<BR>
214&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether annotation introspection
215 is used for configuration; if enabled, configured
216 <A HREF="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><CODE>AnnotationIntrospector</CODE></A> will be used: if disabled,
217 no annotations are considered.</TD>
218</TR>
219<TR BGCOLOR="white" CLASS="TableRowColor">
220<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_GETTERS_AS_SETTERS">USE_GETTERS_AS_SETTERS</A></B></CODE>
221
222<BR>
223&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Feature that determines whether otherwise regular "getter"
224 methods (but only ones that handle Collections and Maps,
225 not getters of other type)
226 can be used for purpose of getting a reference to a Collection
227 and Map to modify the property, without requiring a setter
228 method.</TD>
229</TR>
230<TR BGCOLOR="white" CLASS="TableRowColor">
231<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_STATIC_TYPING">USE_STATIC_TYPING</A></B></CODE>
232
233<BR>
234&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SerializationFeature that determines whether the type detection for
235 serialization should be using actual dynamic runtime type,
236 or declared static type.</TD>
237</TR>
238</TABLE>
239&nbsp;
240<!-- ========== METHOD SUMMARY =========== -->
241
242<A NAME="method_summary"><!-- --></A>
243<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
244<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
245<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
246<B>Method Summary</B></FONT></TH>
247</TR>
248<TR BGCOLOR="white" CLASS="TableRowColor">
249<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
250<CODE>&nbsp;boolean</CODE></FONT></TD>
251<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html#enabledByDefault()">enabledByDefault</A></B>()</CODE>
252
253<BR>
254&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Accessor for checking whether this feature is enabled by default.</TD>
255</TR>
256<TR BGCOLOR="white" CLASS="TableRowColor">
257<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
258<CODE>&nbsp;int</CODE></FONT></TD>
259<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html#getMask()">getMask</A></B>()</CODE>
260
261<BR>
262&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns bit mask for this feature instance</TD>
263</TR>
264<TR BGCOLOR="white" CLASS="TableRowColor">
265<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
266<CODE>static&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A></CODE></FONT></TD>
267<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.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>
268
269<BR>
270&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the enum constant of this type with the specified name.</TD>
271</TR>
272<TR BGCOLOR="white" CLASS="TableRowColor">
273<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
274<CODE>static&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A>[]</CODE></FONT></TD>
275<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html#values()">values</A></B>()</CODE>
276
277<BR>
278&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array containing the constants of this enum type, in
279the order they are declared.</TD>
280</TR>
281</TABLE>
282&nbsp;<A NAME="methods_inherited_from_class_java.lang.Enum"><!-- --></A>
283<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
284<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
285<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>
286</TR>
287<TR BGCOLOR="white" CLASS="TableRowColor">
288<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>
289</TR>
290</TABLE>
291&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
292<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
293<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
294<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>
295</TR>
296<TR BGCOLOR="white" CLASS="TableRowColor">
297<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>
298</TR>
299</TABLE>
300&nbsp;
301<P>
302
303<!-- ============ ENUM CONSTANT DETAIL =========== -->
304
305<A NAME="enum_constant_detail"><!-- --></A>
306<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
307<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
308<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
309<B>Enum Constant Detail</B></FONT></TH>
310</TR>
311</TABLE>
312
313<A NAME="USE_ANNOTATIONS"><!-- --></A><H3>
314USE_ANNOTATIONS</H3>
315<PRE>
316public static final <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A> <B>USE_ANNOTATIONS</B></PRE>
317<DL>
318<DD>Feature that determines whether annotation introspection
319 is used for configuration; if enabled, configured
320 <A HREF="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><CODE>AnnotationIntrospector</CODE></A> will be used: if disabled,
321 no annotations are considered.
322<p>
323 Feature is enabled by default.
324<P>
325<DL>
326</DL>
327</DL>
328<HR>
329
330<A NAME="AUTO_DETECT_CREATORS"><!-- --></A><H3>
331AUTO_DETECT_CREATORS</H3>
332<PRE>
333public static final <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A> <B>AUTO_DETECT_CREATORS</B></PRE>
334<DL>
335<DD>Feature that determines whether "creator" methods are
336 automatically detected by consider public constructors,
337 and static single argument methods with name "valueOf".
338 If disabled, only methods explicitly annotated are considered
339 creator methods (except for the no-arg default constructor which
340 is always considered a factory method).
341<p>
342 Note that this feature has lower precedence than per-class
343 annotations, and is only used if there isn't more granular
344 configuration available.
345<P>
346 Feature is enabled by default.
347<P>
348<DL>
349</DL>
350</DL>
351<HR>
352
353<A NAME="AUTO_DETECT_FIELDS"><!-- --></A><H3>
354AUTO_DETECT_FIELDS</H3>
355<PRE>
356public static final <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A> <B>AUTO_DETECT_FIELDS</B></PRE>
357<DL>
358<DD>Feature that determines whether non-static fields are recognized as
359 properties.
360 If yes, then all public member fields
361 are considered as properties. If disabled, only fields explicitly
362 annotated are considered property fields.
363<p>
364 Note that this feature has lower precedence than per-class
365 annotations, and is only used if there isn't more granular
366 configuration available.
367<p>
368 Feature is enabled by default.
369<P>
370<DL>
371</DL>
372</DL>
373<HR>
374
375<A NAME="AUTO_DETECT_GETTERS"><!-- --></A><H3>
376AUTO_DETECT_GETTERS</H3>
377<PRE>
378public static final <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A> <B>AUTO_DETECT_GETTERS</B></PRE>
379<DL>
380<DD>Feature that determines whether regualr "getter" methods are
381 automatically detected based on standard Bean naming convention
382 or not. If yes, then all public zero-argument methods that
383 start with prefix "get"
384 are considered as getters.
385 If disabled, only methods explicitly  annotated are considered getters.
386<p>
387 Note that since version 1.3, this does <b>NOT</b> include
388 "is getters" (see <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_IS_GETTERS"><CODE>AUTO_DETECT_IS_GETTERS</CODE></A> for details)
389<p>
390 Note that this feature has lower precedence than per-class
391 annotations, and is only used if there isn't more granular
392 configuration available.
393<p>
394 Feature is enabled by default.
395<P>
396<DL>
397</DL>
398</DL>
399<HR>
400
401<A NAME="AUTO_DETECT_IS_GETTERS"><!-- --></A><H3>
402AUTO_DETECT_IS_GETTERS</H3>
403<PRE>
404public static final <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A> <B>AUTO_DETECT_IS_GETTERS</B></PRE>
405<DL>
406<DD>Feature that determines whether "is getter" methods are
407 automatically detected based on standard Bean naming convention
408 or not. If yes, then all public zero-argument methods that
409 start with prefix "is", and whose return type is boolean
410 are considered as "is getters".
411 If disabled, only methods explicitly annotated are considered getters.
412<p>
413 Note that this feature has lower precedence than per-class
414 annotations, and is only used if there isn't more granular
415 configuration available.
416<p>
417 Feature is enabled by default.
418<P>
419<DL>
420</DL>
421</DL>
422<HR>
423
424<A NAME="AUTO_DETECT_SETTERS"><!-- --></A><H3>
425AUTO_DETECT_SETTERS</H3>
426<PRE>
427public static final <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A> <B>AUTO_DETECT_SETTERS</B></PRE>
428<DL>
429<DD>Feature that determines whether "setter" methods are
430 automatically detected based on standard Bean naming convention
431 or not. If yes, then all public one-argument methods that
432 start with prefix "set"
433 are considered setters. If disabled, only methods explicitly
434 annotated are considered setters.
435<p>
436 Note that this feature has lower precedence than per-class
437 annotations, and is only used if there isn't more granular
438 configuration available.
439<P>
440 Feature is enabled by default.
441<P>
442<DL>
443</DL>
444</DL>
445<HR>
446
447<A NAME="REQUIRE_SETTERS_FOR_GETTERS"><!-- --></A><H3>
448REQUIRE_SETTERS_FOR_GETTERS</H3>
449<PRE>
450public static final <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A> <B>REQUIRE_SETTERS_FOR_GETTERS</B></PRE>
451<DL>
452<DD>Feature that determines whether getters (getter methods)
453 can be auto-detected if there is no matching mutator (setter,
454 constructor parameter or field) or not: if set to true,
455 only getters that match a mutator are auto-discovered; if
456 false, all auto-detectable getters can be discovered.
457<p>
458 Feature is disabled by default.
459<P>
460<DL>
461</DL>
462</DL>
463<HR>
464
465<A NAME="USE_GETTERS_AS_SETTERS"><!-- --></A><H3>
466USE_GETTERS_AS_SETTERS</H3>
467<PRE>
468public static final <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A> <B>USE_GETTERS_AS_SETTERS</B></PRE>
469<DL>
470<DD>Feature that determines whether otherwise regular "getter"
471 methods (but only ones that handle Collections and Maps,
472 not getters of other type)
473 can be used for purpose of getting a reference to a Collection
474 and Map to modify the property, without requiring a setter
475 method.
476 This is similar to how JAXB framework sets Collections and
477 Maps: no setter is involved, just setter.
478<p>
479 Note that such getters-as-setters methods have lower
480 precedence than setters, so they are only used if no
481 setter is found for the Map/Collection property.
482<p>
483 Feature is enabled by default.
484<P>
485<DL>
486</DL>
487</DL>
488<HR>
489
490<A NAME="CAN_OVERRIDE_ACCESS_MODIFIERS"><!-- --></A><H3>
491CAN_OVERRIDE_ACCESS_MODIFIERS</H3>
492<PRE>
493public static final <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A> <B>CAN_OVERRIDE_ACCESS_MODIFIERS</B></PRE>
494<DL>
495<DD>Feature that determines whether method and field access
496 modifier settings can be overridden when accessing
497 properties. If enabled, method
498 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible(java.lang.reflect.AccessibleObject[], boolean)" title="class or interface in java.lang.reflect"><CODE>AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)</CODE></A>
499 may be called to enable access to otherwise unaccessible
500 objects.
501<p>
502 Feature is enabled by default.
503<P>
504<DL>
505</DL>
506</DL>
507<HR>
508
509<A NAME="USE_STATIC_TYPING"><!-- --></A><H3>
510USE_STATIC_TYPING</H3>
511<PRE>
512public static final <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A> <B>USE_STATIC_TYPING</B></PRE>
513<DL>
514<DD>SerializationFeature that determines whether the type detection for
515 serialization should be using actual dynamic runtime type,
516 or declared static type.
517 Note that deserialization always uses declared static types
518 since no runtime types are available (as we are creating
519 instances after using type information).
520<p>
521 This global default value can be overridden at class, method
522 or field level by using <A HREF="../../../../com/fasterxml/jackson/databind/annotation/JsonSerialize.html#typing()"><CODE>JsonSerialize.typing()</CODE></A> annotation
523 property.
524<p>
525 Feature is disabled by default which means that dynamic runtime types
526 are used (instead of declared static types) for serialization.
527<P>
528<DL>
529</DL>
530</DL>
531<HR>
532
533<A NAME="DEFAULT_VIEW_INCLUSION"><!-- --></A><H3>
534DEFAULT_VIEW_INCLUSION</H3>
535<PRE>
536public static final <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A> <B>DEFAULT_VIEW_INCLUSION</B></PRE>
537<DL>
538<DD>SerializationFeature that determines whether properties that have no view
539 annotations are included in JSON serialization views (see
540 <CODE>JsonView</CODE> for more
541 details on JSON Views).
542 If enabled, non-annotated properties will be included;
543 when disabled, they will be excluded. So this feature
544 changes between "opt-in" (feature disabled) and
545 "opt-out" (feature enabled) modes.
546<p>
547 Default value is enabled, meaning that non-annotated
548 properties are included in all views if there is no
549 <CODE>JsonView</CODE> annotation.
550<p>
551 Feature is enabled by default.
552<P>
553<DL>
554</DL>
555</DL>
556<HR>
557
558<A NAME="SORT_PROPERTIES_ALPHABETICALLY"><!-- --></A><H3>
559SORT_PROPERTIES_ALPHABETICALLY</H3>
560<PRE>
561public static final <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A> <B>SORT_PROPERTIES_ALPHABETICALLY</B></PRE>
562<DL>
563<DD>SerializationFeature that defines default property serialization order used
564 for POJO fields (note: does <b>not</b> apply to <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>
565 serialization!):
566 if enabled, default ordering is alphabetic (similar to
567 how <CODE>JsonPropertyOrder.alphabetic()</CODE>
568 works); if disabled, order is unspecified (based on what JDK gives
569 us, which may be declaration order, but is not guaranteed).
570<p>
571 Note that this is just the default behavior, and can be overridden by
572 explicit overrides in classes.
573<p>
574 Feature is disabled by default.
575<P>
576<DL>
577</DL>
578</DL>
579
580<!-- ============ METHOD DETAIL ========== -->
581
582<A NAME="method_detail"><!-- --></A>
583<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
584<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
585<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
586<B>Method Detail</B></FONT></TH>
587</TR>
588</TABLE>
589
590<A NAME="values()"><!-- --></A><H3>
591values</H3>
592<PRE>
593public static <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A>[] <B>values</B>()</PRE>
594<DL>
595<DD>Returns an array containing the constants of this enum type, in
596the order they are declared.  This method may be used to iterate
597over the constants as follows:
598<pre>
599for (MapperFeature c : MapperFeature.values())
600&nbsp;   System.out.println(c);
601</pre>
602<P>
603<DD><DL>
604</DL>
605</DD>
606<DD><DL>
607
608<DT><B>Returns:</B><DD>an array containing the constants of this enum type, in
609the order they are declared</DL>
610</DD>
611</DL>
612<HR>
613
614<A NAME="valueOf(java.lang.String)"><!-- --></A><H3>
615valueOf</H3>
616<PRE>
617public static <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</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>
618<DL>
619<DD>Returns the enum constant of this type with the specified name.
620The string must match <I>exactly</I> an identifier used to declare an
621enum constant in this type.  (Extraneous whitespace characters are
622not permitted.)
623<P>
624<DD><DL>
625</DL>
626</DD>
627<DD><DL>
628<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.
629<DT><B>Returns:</B><DD>the enum constant with the specified name
630<DT><B>Throws:</B>
631<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
632with the specified name
633<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>
634</DD>
635</DL>
636<HR>
637
638<A NAME="enabledByDefault()"><!-- --></A><H3>
639enabledByDefault</H3>
640<PRE>
641public boolean <B>enabledByDefault</B>()</PRE>
642<DL>
643<DD><B>Description copied from interface: <CODE><A HREF="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledByDefault()">ConfigFeature</A></CODE></B></DD>
644<DD>Accessor for checking whether this feature is enabled by default.
645<P>
646<DD><DL>
647<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>
648</DD>
649<DD><DL>
650</DL>
651</DD>
652</DL>
653<HR>
654
655<A NAME="getMask()"><!-- --></A><H3>
656getMask</H3>
657<PRE>
658public int <B>getMask</B>()</PRE>
659<DL>
660<DD><B>Description copied from interface: <CODE><A HREF="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#getMask()">ConfigFeature</A></CODE></B></DD>
661<DD>Returns bit mask for this feature instance
662<P>
663<DD><DL>
664<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>
665</DD>
666<DD><DL>
667</DL>
668</DD>
669</DL>
670<!-- ========= END OF CLASS DATA ========= -->
671<HR>
672
673
674<!-- ======= START OF BOTTOM NAVBAR ====== -->
675<A NAME="navbar_bottom"><!-- --></A>
676<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
677<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
678<TR>
679<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
680<A NAME="navbar_bottom_firstrow"><!-- --></A>
681<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
682  <TR ALIGN="center" VALIGN="top">
683  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
684  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
685  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
686  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/MapperFeature.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
687  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
688  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
689  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
690  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
691  </TR>
692</TABLE>
693</TD>
694<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
695</EM>
696</TD>
697</TR>
698
699<TR>
700<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
701&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/KeyDeserializer.None.html" title="class in com.fasterxml.jackson.databind"><B>PREV CLASS</B></A>&nbsp;
702&nbsp;<A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind"><B>NEXT CLASS</B></A></FONT></TD>
703<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
704  <A HREF="../../../../index.html?com/fasterxml/jackson/databind/MapperFeature.html" target="_top"><B>FRAMES</B></A>  &nbsp;
705&nbsp;<A HREF="MapperFeature.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
706&nbsp;<SCRIPT type="text/javascript">
707  <!--
708  if(window==top) {
709    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
710  }
711  //-->
712</SCRIPT>
713<NOSCRIPT>
714  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
715</NOSCRIPT>
716
717
718</FONT></TD>
719</TR>
720<TR>
721<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
722  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>
723<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
724DETAIL:&nbsp;<A HREF="#enum_constant_detail">ENUM CONSTANTS</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
725</TR>
726</TABLE>
727<A NAME="skip-navbar_bottom"></A>
728<!-- ======== END OF BOTTOM NAVBAR ======= -->
729
730<HR>
731Copyright &#169; 2012 <a href="http://fasterxml.com">fasterxml.com</a>. All Rights Reserved.
732</BODY>
733</HTML>
734