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_79) on Fri Jan 15 20:28:41 PST 2016 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>ConfigFeature (jackson-databind 2.7.0 API)</title> 8<meta name="date" content="2016-01-15"> 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="ConfigFeature (jackson-databind 2.7.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 class="navBarCell1Rev">Class</li> 31<li><a href="class-use/ConfigFeature.html">Use</a></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><a href="../../../../../com/fasterxml/jackson/databind/cfg/BaseSettings.html" title="class in com.fasterxml.jackson.databind.cfg"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/cfg/ConfigFeature.html" target="_top">Frames</a></li> 45<li><a href="ConfigFeature.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<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Nested | </li> 66<li>Field | </li> 67<li>Constr | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li>Field | </li> 73<li>Constr | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind.cfg</div> 84<h2 title="Interface ConfigFeature" class="title">Interface ConfigFeature</h2> 85</div> 86<div class="contentContainer"> 87<div class="description"> 88<ul class="blockList"> 89<li class="blockList"> 90<dl> 91<dt>All Known Implementing Classes:</dt> 92<dd><a href="../../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a>, <a href="../../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>, <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a></dd> 93</dl> 94<hr> 95<br> 96<pre>public interface <span class="strong">ConfigFeature</span></pre> 97<div class="block">Interface that actual SerializationFeature enumerations used by 98 <a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg"><code>MapperConfig</code></a> implementations must implement. 99 Necessary since enums can not be extended using normal 100 inheritance, but can implement interfaces</div> 101</li> 102</ul> 103</div> 104<div class="summary"> 105<ul class="blockList"> 106<li class="blockList"> 107<!-- ========== METHOD SUMMARY =========== --> 108<ul class="blockList"> 109<li class="blockList"><a name="method_summary"> 110<!-- --> 111</a> 112<h3>Method Summary</h3> 113<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 114<caption><span>Methods</span><span class="tabEnd"> </span></caption> 115<tr> 116<th class="colFirst" scope="col">Modifier and Type</th> 117<th class="colLast" scope="col">Method and Description</th> 118</tr> 119<tr class="altColor"> 120<td class="colFirst"><code>boolean</code></td> 121<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledByDefault()">enabledByDefault</a></strong>()</code> 122<div class="block">Accessor for checking whether this feature is enabled by default.</div> 123</td> 124</tr> 125<tr class="rowColor"> 126<td class="colFirst"><code>boolean</code></td> 127<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledIn(int)">enabledIn</a></strong>(int flags)</code> 128<div class="block">Convenience method for checking whether feature is enabled in given bitmask</div> 129</td> 130</tr> 131<tr class="altColor"> 132<td class="colFirst"><code>int</code></td> 133<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#getMask()">getMask</a></strong>()</code> 134<div class="block">Returns bit mask for this feature instance</div> 135</td> 136</tr> 137</table> 138</li> 139</ul> 140</li> 141</ul> 142</div> 143<div class="details"> 144<ul class="blockList"> 145<li class="blockList"> 146<!-- ============ METHOD DETAIL ========== --> 147<ul class="blockList"> 148<li class="blockList"><a name="method_detail"> 149<!-- --> 150</a> 151<h3>Method Detail</h3> 152<a name="enabledByDefault()"> 153<!-- --> 154</a> 155<ul class="blockList"> 156<li class="blockList"> 157<h4>enabledByDefault</h4> 158<pre>boolean enabledByDefault()</pre> 159<div class="block">Accessor for checking whether this feature is enabled by default.</div> 160</li> 161</ul> 162<a name="getMask()"> 163<!-- --> 164</a> 165<ul class="blockList"> 166<li class="blockList"> 167<h4>getMask</h4> 168<pre>int getMask()</pre> 169<div class="block">Returns bit mask for this feature instance</div> 170</li> 171</ul> 172<a name="enabledIn(int)"> 173<!-- --> 174</a> 175<ul class="blockListLast"> 176<li class="blockList"> 177<h4>enabledIn</h4> 178<pre>boolean enabledIn(int flags)</pre> 179<div class="block">Convenience method for checking whether feature is enabled in given bitmask</div> 180<dl><dt><span class="strong">Since:</span></dt> 181 <dd>2.6</dd></dl> 182</li> 183</ul> 184</li> 185</ul> 186</li> 187</ul> 188</div> 189</div> 190<!-- ========= END OF CLASS DATA ========= --> 191<!-- ======= START OF BOTTOM NAVBAR ====== --> 192<div class="bottomNav"><a name="navbar_bottom"> 193<!-- --> 194</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 195<!-- --> 196</a> 197<ul class="navList" title="Navigation"> 198<li><a href="../../../../../overview-summary.html">Overview</a></li> 199<li><a href="package-summary.html">Package</a></li> 200<li class="navBarCell1Rev">Class</li> 201<li><a href="class-use/ConfigFeature.html">Use</a></li> 202<li><a href="package-tree.html">Tree</a></li> 203<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 204<li><a href="../../../../../index-all.html">Index</a></li> 205<li><a href="../../../../../help-doc.html">Help</a></li> 206</ul> 207</div> 208<div class="subNav"> 209<ul class="navList"> 210<li><a href="../../../../../com/fasterxml/jackson/databind/cfg/BaseSettings.html" title="class in com.fasterxml.jackson.databind.cfg"><span class="strong">Prev Class</span></a></li> 211<li><a href="../../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg"><span class="strong">Next Class</span></a></li> 212</ul> 213<ul class="navList"> 214<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/cfg/ConfigFeature.html" target="_top">Frames</a></li> 215<li><a href="ConfigFeature.html" target="_top">No Frames</a></li> 216</ul> 217<ul class="navList" id="allclasses_navbar_bottom"> 218<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 219</ul> 220<div> 221<script type="text/javascript"><!-- 222 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 223 if(window==top) { 224 allClassesLink.style.display = "block"; 225 } 226 else { 227 allClassesLink.style.display = "none"; 228 } 229 //--> 230</script> 231</div> 232<div> 233<ul class="subNavList"> 234<li>Summary: </li> 235<li>Nested | </li> 236<li>Field | </li> 237<li>Constr | </li> 238<li><a href="#method_summary">Method</a></li> 239</ul> 240<ul class="subNavList"> 241<li>Detail: </li> 242<li>Field | </li> 243<li>Constr | </li> 244<li><a href="#method_detail">Method</a></li> 245</ul> 246</div> 247<a name="skip-navbar_bottom"> 248<!-- --> 249</a></div> 250<!-- ======== END OF BOTTOM NAVBAR ======= --> 251<p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 252</body> 253</html> 254