1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_25) on Mon Jun 02 17:48:58 PDT 2014 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>Uses of Class com.fasterxml.jackson.databind.MapperFeature (jackson-databind 2.4.0 API)</title> 8<meta name="date" content="2014-06-02"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="Uses of Class com.fasterxml.jackson.databind.MapperFeature (jackson-databind 2.4.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../../overview-summary.html">Overview</a></li> 29<li><a href="../package-summary.html">Package</a></li> 30<li><a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">Class</a></li> 31<li class="navBarCell1Rev">Use</li> 32<li><a href="../package-tree.html">Tree</a></li> 33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../../index-all.html">Index</a></li> 35<li><a href="../../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li>Prev</li> 41<li>Next</li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/class-use/MapperFeature.html" target="_top">Frames</a></li> 45<li><a href="MapperFeature.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<a name="skip-navbar_top"> 63<!-- --> 64</a></div> 65<!-- ========= END OF TOP NAVBAR ========= --> 66<div class="header"> 67<h2 title="Uses of Class com.fasterxml.jackson.databind.MapperFeature" class="title">Uses of Class<br>com.fasterxml.jackson.databind.MapperFeature</h2> 68</div> 69<div class="classUseContainer"> 70<ul class="blockList"> 71<li class="blockList"> 72<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> 73<caption><span>Packages that use <a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a></span><span class="tabEnd"> </span></caption> 74<tr> 75<th class="colFirst" scope="col">Package</th> 76<th class="colLast" scope="col">Description</th> 77</tr> 78<tbody> 79<tr class="altColor"> 80<td class="colFirst"><a href="#com.fasterxml.jackson.databind">com.fasterxml.jackson.databind</a></td> 81<td class="colLast"> 82<div class="block">Contains basic mapper (conversion) functionality that 83allows for converting between regular streaming json content and 84Java objects (beans or Tree Model: support for both is via 85<a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> class, as well 86as convenience methods included in 87<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a></div> 88</td> 89</tr> 90<tr class="rowColor"> 91<td class="colFirst"><a href="#com.fasterxml.jackson.databind.cfg">com.fasterxml.jackson.databind.cfg</a></td> 92<td class="colLast"> 93<div class="block">Package that contains most of configuration-related classes; 94exception being couple of most-commonly used configuration 95things (like Feature enumerations) that are at the 96main level (<code>com.fasterxml.jackson.databind</code>).</div> 97</td> 98</tr> 99</tbody> 100</table> 101</li> 102<li class="blockList"> 103<ul class="blockList"> 104<li class="blockList"><a name="com.fasterxml.jackson.databind"> 105<!-- --> 106</a> 107<h3>Uses of <a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> in <a href="../../../../../com/fasterxml/jackson/databind/package-summary.html">com.fasterxml.jackson.databind</a></h3> 108<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 109<caption><span>Methods in <a href="../../../../../com/fasterxml/jackson/databind/package-summary.html">com.fasterxml.jackson.databind</a> that return <a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a></span><span class="tabEnd"> </span></caption> 110<tr> 111<th class="colFirst" scope="col">Modifier and Type</th> 112<th class="colLast" scope="col">Method and Description</th> 113</tr> 114<tbody> 115<tr class="altColor"> 116<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a></code></td> 117<td class="colLast"><span class="strong">MapperFeature.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html#valueOf(java.lang.String)">valueOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> 118<div class="block">Returns the enum constant of this type with the specified name.</div> 119</td> 120</tr> 121<tr class="rowColor"> 122<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>[]</code></td> 123<td class="colLast"><span class="strong">MapperFeature.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html#values()">values</a></strong>()</code> 124<div class="block">Returns an array containing the constants of this enum type, in 125the order they are declared.</div> 126</td> 127</tr> 128</tbody> 129</table> 130<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 131<caption><span>Methods in <a href="../../../../../com/fasterxml/jackson/databind/package-summary.html">com.fasterxml.jackson.databind</a> with parameters of type <a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a></span><span class="tabEnd"> </span></caption> 132<tr> 133<th class="colFirst" scope="col">Modifier and Type</th> 134<th class="colLast" scope="col">Method and Description</th> 135</tr> 136<tbody> 137<tr class="altColor"> 138<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a></code></td> 139<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#configure(com.fasterxml.jackson.databind.MapperFeature, boolean)">configure</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> f, 140 boolean state)</code> 141<div class="block">Method for changing state of an on/off mapper feature for 142 this mapper instance.</div> 143</td> 144</tr> 145<tr class="rowColor"> 146<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a></code></td> 147<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#disable(com.fasterxml.jackson.databind.MapperFeature...)">disable</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>... f)</code> 148<div class="block">Method for enabling specified <a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>DeserializationConfig</code></a> features.</div> 149</td> 150</tr> 151<tr class="altColor"> 152<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a></code></td> 153<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#enable(com.fasterxml.jackson.databind.MapperFeature...)">enable</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>... f)</code> 154<div class="block">Method for enabling specified <a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg"><code>MapperConfig</code></a> features.</div> 155</td> 156</tr> 157<tr class="rowColor"> 158<td class="colFirst"><code>boolean</code></td> 159<td class="colLast"><span class="strong">ObjectWriter.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html#isEnabled(com.fasterxml.jackson.databind.MapperFeature)">isEnabled</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> f)</code> </td> 160</tr> 161<tr class="altColor"> 162<td class="colFirst"><code>boolean</code></td> 163<td class="colLast"><span class="strong">ObjectReader.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectReader.html#isEnabled(com.fasterxml.jackson.databind.MapperFeature)">isEnabled</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> f)</code> </td> 164</tr> 165<tr class="rowColor"> 166<td class="colFirst"><code>boolean</code></td> 167<td class="colLast"><span class="strong">ObjectMapper.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#isEnabled(com.fasterxml.jackson.databind.MapperFeature)">isEnabled</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> f)</code> 168<div class="block">Method for checking whether given Mapper 169 feature is enabled.</div> 170</td> 171</tr> 172<tr class="altColor"> 173<td class="colFirst"><code>boolean</code></td> 174<td class="colLast"><span class="strong">Module.SetupContext.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#isEnabled(com.fasterxml.jackson.databind.MapperFeature)">isEnabled</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> f)</code> </td> 175</tr> 176<tr class="rowColor"> 177<td class="colFirst"><code>boolean</code></td> 178<td class="colLast"><span class="strong">DatabindContext.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/DatabindContext.html#isEnabled(com.fasterxml.jackson.databind.MapperFeature)">isEnabled</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> feature)</code> 179<div class="block">Convenience method for checking whether specified serialization 180 feature is enabled or not.</div> 181</td> 182</tr> 183<tr class="altColor"> 184<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 185<td class="colLast"><span class="strong">SerializationConfig.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html#with(com.fasterxml.jackson.databind.MapperFeature...)">with</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>... features)</code> 186<div class="block">Fluent factory method that will construct and return a new configuration 187 object instance with specified features enabled.</div> 188</td> 189</tr> 190<tr class="rowColor"> 191<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind">DeserializationConfig</a></code></td> 192<td class="colLast"><span class="strong">DeserializationConfig.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html#with(com.fasterxml.jackson.databind.MapperFeature...)">with</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>... features)</code> </td> 193</tr> 194<tr class="altColor"> 195<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 196<td class="colLast"><span class="strong">SerializationConfig.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html#with(com.fasterxml.jackson.databind.MapperFeature, boolean)">with</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> feature, 197 boolean state)</code> </td> 198</tr> 199<tr class="rowColor"> 200<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind">DeserializationConfig</a></code></td> 201<td class="colLast"><span class="strong">DeserializationConfig.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html#with(com.fasterxml.jackson.databind.MapperFeature, boolean)">with</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> feature, 202 boolean state)</code> </td> 203</tr> 204<tr class="altColor"> 205<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 206<td class="colLast"><span class="strong">SerializationConfig.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html#without(com.fasterxml.jackson.databind.MapperFeature...)">without</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>... features)</code> 207<div class="block">Fluent factory method that will construct and return a new configuration 208 object instance with specified features disabled.</div> 209</td> 210</tr> 211<tr class="rowColor"> 212<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind">DeserializationConfig</a></code></td> 213<td class="colLast"><span class="strong">DeserializationConfig.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html#without(com.fasterxml.jackson.databind.MapperFeature...)">without</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>... features)</code> </td> 214</tr> 215</tbody> 216</table> 217</li> 218<li class="blockList"><a name="com.fasterxml.jackson.databind.cfg"> 219<!-- --> 220</a> 221<h3>Uses of <a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> in <a href="../../../../../com/fasterxml/jackson/databind/cfg/package-summary.html">com.fasterxml.jackson.databind.cfg</a></h3> 222<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 223<caption><span>Methods in <a href="../../../../../com/fasterxml/jackson/databind/cfg/package-summary.html">com.fasterxml.jackson.databind.cfg</a> with parameters of type <a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a></span><span class="tabEnd"> </span></caption> 224<tr> 225<th class="colFirst" scope="col">Modifier and Type</th> 226<th class="colLast" scope="col">Method and Description</th> 227</tr> 228<tbody> 229<tr class="altColor"> 230<td class="colFirst"><code>boolean</code></td> 231<td class="colLast"><span class="strong">MapperConfig.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html#isEnabled(com.fasterxml.jackson.databind.MapperFeature)">isEnabled</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> f)</code> 232<div class="block">Accessor for simple mapper features (which are shared for 233 serialization, deserialization)</div> 234</td> 235</tr> 236<tr class="rowColor"> 237<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="type parameter in MapperConfig">T</a></code></td> 238<td class="colLast"><span class="strong">MapperConfig.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html#with(com.fasterxml.jackson.databind.MapperFeature...)">with</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>... features)</code> 239<div class="block">Method for constructing and returning a new instance with specified 240 mapper features enabled.</div> 241</td> 242</tr> 243<tr class="altColor"> 244<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="type parameter in MapperConfig">T</a></code></td> 245<td class="colLast"><span class="strong">MapperConfig.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html#with(com.fasterxml.jackson.databind.MapperFeature, boolean)">with</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> feature, 246 boolean state)</code> </td> 247</tr> 248<tr class="rowColor"> 249<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="type parameter in MapperConfig">T</a></code></td> 250<td class="colLast"><span class="strong">MapperConfig.</span><code><strong><a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html#without(com.fasterxml.jackson.databind.MapperFeature...)">without</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>... features)</code> 251<div class="block">Method for constructing and returning a new instance with specified 252 mapper features disabled.</div> 253</td> 254</tr> 255</tbody> 256</table> 257</li> 258</ul> 259</li> 260</ul> 261</div> 262<!-- ======= START OF BOTTOM NAVBAR ====== --> 263<div class="bottomNav"><a name="navbar_bottom"> 264<!-- --> 265</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 266<!-- --> 267</a> 268<ul class="navList" title="Navigation"> 269<li><a href="../../../../../overview-summary.html">Overview</a></li> 270<li><a href="../package-summary.html">Package</a></li> 271<li><a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">Class</a></li> 272<li class="navBarCell1Rev">Use</li> 273<li><a href="../package-tree.html">Tree</a></li> 274<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 275<li><a href="../../../../../index-all.html">Index</a></li> 276<li><a href="../../../../../help-doc.html">Help</a></li> 277</ul> 278</div> 279<div class="subNav"> 280<ul class="navList"> 281<li>Prev</li> 282<li>Next</li> 283</ul> 284<ul class="navList"> 285<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/class-use/MapperFeature.html" target="_top">Frames</a></li> 286<li><a href="MapperFeature.html" target="_top">No Frames</a></li> 287</ul> 288<ul class="navList" id="allclasses_navbar_bottom"> 289<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 290</ul> 291<div> 292<script type="text/javascript"><!-- 293 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 294 if(window==top) { 295 allClassesLink.style.display = "block"; 296 } 297 else { 298 allClassesLink.style.display = "none"; 299 } 300 //--> 301</script> 302</div> 303<a name="skip-navbar_bottom"> 304<!-- --> 305</a></div> 306<!-- ======== END OF BOTTOM NAVBAR ======= --> 307<p class="legalCopy"><small>Copyright © 2014 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 308</body> 309</html> 310