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 (1.8.0_162) on Sat Apr 25 17:14:52 PDT 2020 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>BeanSerializerBuilder (jackson-databind 2.11.0 API)</title> 8<meta name="date" content="2020-04-25"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="BeanSerializerBuilder (jackson-databind 2.11.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10}; 23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; 24var altColor = "altColor"; 25var rowColor = "rowColor"; 26var tableTab = "tableTab"; 27var activeTableTab = "activeTableTab"; 28</script> 29<noscript> 30<div>JavaScript is disabled on your browser.</div> 31</noscript> 32<!-- ========= START OF TOP NAVBAR ======= --> 33<div class="topNav"><a name="navbar.top"> 34<!-- --> 35</a> 36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 37<a name="navbar.top.firstrow"> 38<!-- --> 39</a> 40<ul class="navList" title="Navigation"> 41<li><a href="../../../../../overview-summary.html">Overview</a></li> 42<li><a href="package-summary.html">Package</a></li> 43<li class="navBarCell1Rev">Class</li> 44<li><a href="class-use/BeanSerializerBuilder.html">Use</a></li> 45<li><a href="package-tree.html">Tree</a></li> 46<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 47<li><a href="../../../../../index-all.html">Index</a></li> 48<li><a href="../../../../../help-doc.html">Help</a></li> 49</ul> 50</div> 51<div class="subNav"> 52<ul class="navList"> 53<li><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" target="_top">Frames</a></li> 58<li><a href="BeanSerializerBuilder.html" target="_top">No Frames</a></li> 59</ul> 60<ul class="navList" id="allclasses_navbar_top"> 61<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 62</ul> 63<div> 64<script type="text/javascript"><!-- 65 allClassesLink = document.getElementById("allclasses_navbar_top"); 66 if(window==top) { 67 allClassesLink.style.display = "block"; 68 } 69 else { 70 allClassesLink.style.display = "none"; 71 } 72 //--> 73</script> 74</div> 75<div> 76<ul class="subNavList"> 77<li>Summary: </li> 78<li>Nested | </li> 79<li><a href="#field.summary">Field</a> | </li> 80<li><a href="#constructor.summary">Constr</a> | </li> 81<li><a href="#method.summary">Method</a></li> 82</ul> 83<ul class="subNavList"> 84<li>Detail: </li> 85<li><a href="#field.detail">Field</a> | </li> 86<li><a href="#constructor.detail">Constr</a> | </li> 87<li><a href="#method.detail">Method</a></li> 88</ul> 89</div> 90<a name="skip.navbar.top"> 91<!-- --> 92</a></div> 93<!-- ========= END OF TOP NAVBAR ========= --> 94<!-- ======== START OF CLASS DATA ======== --> 95<div class="header"> 96<div class="subTitle">com.fasterxml.jackson.databind.ser</div> 97<h2 title="Class BeanSerializerBuilder" class="title">Class BeanSerializerBuilder</h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 102<li> 103<ul class="inheritance"> 104<li>com.fasterxml.jackson.databind.ser.BeanSerializerBuilder</li> 105</ul> 106</li> 107</ul> 108<div class="description"> 109<ul class="blockList"> 110<li class="blockList"> 111<hr> 112<br> 113<pre>public class <span class="typeNameLabel">BeanSerializerBuilder</span> 114extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> 115<div class="block">Builder class used for aggregating deserialization information about 116 a POJO, in order to build a <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> for serializing 117 intances. 118 Main reason for using separate builder class is that this makes it easier 119 to make actual serializer class fully immutable.</div> 120</li> 121</ul> 122</div> 123<div class="summary"> 124<ul class="blockList"> 125<li class="blockList"> 126<!-- =========== FIELD SUMMARY =========== --> 127<ul class="blockList"> 128<li class="blockList"><a name="field.summary"> 129<!-- --> 130</a> 131<h3>Field Summary</h3> 132<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 133<caption><span>Fields</span><span class="tabEnd"> </span></caption> 134<tr> 135<th class="colFirst" scope="col">Modifier and Type</th> 136<th class="colLast" scope="col">Field and Description</th> 137</tr> 138<tr class="altColor"> 139<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" title="class in com.fasterxml.jackson.databind.ser">AnyGetterWriter</a></code></td> 140<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#Z:Z_anyGetter">_anyGetter</a></span></code> 141<div class="block">Writer used for "any getter" properties, if any.</div> 142</td> 143</tr> 144<tr class="rowColor"> 145<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a></code></td> 146<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#Z:Z_beanDesc">_beanDesc</a></span></code> </td> 147</tr> 148<tr class="altColor"> 149<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 150<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#Z:Z_config">_config</a></span></code> </td> 151</tr> 152<tr class="rowColor"> 153<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>[]</code></td> 154<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#Z:Z_filteredProperties">_filteredProperties</a></span></code> 155<div class="block">Optional array of filtered property writers; if null, no 156 view-based filtering is performed.</div> 157</td> 158</tr> 159<tr class="altColor"> 160<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 161<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#Z:Z_filterId">_filterId</a></span></code> 162<div class="block">Id of the property filter to use for POJO, if any.</div> 163</td> 164</tr> 165<tr class="rowColor"> 166<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a></code></td> 167<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#Z:Z_objectIdWriter">_objectIdWriter</a></span></code> 168<div class="block">Object responsible for serializing Object Ids for the handled 169 type, if any.</div> 170</td> 171</tr> 172<tr class="altColor"> 173<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>></code></td> 174<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#Z:Z_properties">_properties</a></span></code> 175<div class="block">Bean properties, in order of serialization</div> 176</td> 177</tr> 178<tr class="rowColor"> 179<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a></code></td> 180<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#Z:Z_typeId">_typeId</a></span></code> 181<div class="block">Property that is used for type id (and not serialized as regular 182 property)</div> 183</td> 184</tr> 185</table> 186</li> 187</ul> 188<!-- ======== CONSTRUCTOR SUMMARY ======== --> 189<ul class="blockList"> 190<li class="blockList"><a name="constructor.summary"> 191<!-- --> 192</a> 193<h3>Constructor Summary</h3> 194<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 195<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 196<tr> 197<th class="colFirst" scope="col">Modifier</th> 198<th class="colLast" scope="col">Constructor and Description</th> 199</tr> 200<tr class="altColor"> 201<td class="colFirst"><code> </code></td> 202<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#BeanSerializerBuilder-com.fasterxml.jackson.databind.BeanDescription-">BeanSerializerBuilder</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</code> </td> 203</tr> 204<tr class="rowColor"> 205<td class="colFirst"><code>protected </code></td> 206<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#BeanSerializerBuilder-com.fasterxml.jackson.databind.ser.BeanSerializerBuilder-">BeanSerializerBuilder</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</a> src)</code> 207<div class="block">Copy-constructor that may be used for sub-classing</div> 208</td> 209</tr> 210</table> 211</li> 212</ul> 213<!-- ========== METHOD SUMMARY =========== --> 214<ul class="blockList"> 215<li class="blockList"><a name="method.summary"> 216<!-- --> 217</a> 218<h3>Method Summary</h3> 219<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 220<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> 221<tr> 222<th class="colFirst" scope="col">Modifier and Type</th> 223<th class="colLast" scope="col">Method and Description</th> 224</tr> 225<tr id="i0" class="altColor"> 226<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 227<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#build--">build</a></span>()</code> 228<div class="block">Method called to create <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializer</code></a> instance with 229 all accumulated information.</div> 230</td> 231</tr> 232<tr id="i1" class="rowColor"> 233<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializer</a></code></td> 234<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#createDummy--">createDummy</a></span>()</code> 235<div class="block">Factory method for constructing an "empty" serializer; one that 236 outputs no properties (but handles JSON objects properly, including 237 type information)</div> 238</td> 239</tr> 240<tr id="i2" class="altColor"> 241<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" title="class in com.fasterxml.jackson.databind.ser">AnyGetterWriter</a></code></td> 242<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getAnyGetter--">getAnyGetter</a></span>()</code> </td> 243</tr> 244<tr id="i3" class="rowColor"> 245<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a></code></td> 246<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getBeanDescription--">getBeanDescription</a></span>()</code> </td> 247</tr> 248<tr id="i4" class="altColor"> 249<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</a></code></td> 250<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getClassInfo--">getClassInfo</a></span>()</code> </td> 251</tr> 252<tr id="i5" class="rowColor"> 253<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>[]</code></td> 254<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getFilteredProperties--">getFilteredProperties</a></span>()</code> </td> 255</tr> 256<tr id="i6" class="altColor"> 257<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 258<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getFilterId--">getFilterId</a></span>()</code> </td> 259</tr> 260<tr id="i7" class="rowColor"> 261<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a></code></td> 262<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getObjectIdWriter--">getObjectIdWriter</a></span>()</code> </td> 263</tr> 264<tr id="i8" class="altColor"> 265<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>></code></td> 266<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getProperties--">getProperties</a></span>()</code> </td> 267</tr> 268<tr id="i9" class="rowColor"> 269<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a></code></td> 270<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getTypeId--">getTypeId</a></span>()</code> </td> 271</tr> 272<tr id="i10" class="altColor"> 273<td class="colFirst"><code>boolean</code></td> 274<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#hasProperties--">hasProperties</a></span>()</code> </td> 275</tr> 276<tr id="i11" class="rowColor"> 277<td class="colFirst"><code>void</code></td> 278<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#setAnyGetter-com.fasterxml.jackson.databind.ser.AnyGetterWriter-">setAnyGetter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" title="class in com.fasterxml.jackson.databind.ser">AnyGetterWriter</a> anyGetter)</code> </td> 279</tr> 280<tr id="i12" class="altColor"> 281<td class="colFirst"><code>protected void</code></td> 282<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#setConfig-com.fasterxml.jackson.databind.SerializationConfig-">setConfig</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</code> 283<div class="block">Initialization method called right after construction, to specify 284 configuration to use.</div> 285</td> 286</tr> 287<tr id="i13" class="rowColor"> 288<td class="colFirst"><code>void</code></td> 289<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#setFilteredProperties-com.fasterxml.jackson.databind.ser.BeanPropertyWriter:A-">setFilteredProperties</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>[] properties)</code> </td> 290</tr> 291<tr id="i14" class="altColor"> 292<td class="colFirst"><code>void</code></td> 293<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#setFilterId-java.lang.Object-">setFilterId</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> filterId)</code> </td> 294</tr> 295<tr id="i15" class="rowColor"> 296<td class="colFirst"><code>void</code></td> 297<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#setObjectIdWriter-com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter-">setObjectIdWriter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a> w)</code> </td> 298</tr> 299<tr id="i16" class="altColor"> 300<td class="colFirst"><code>void</code></td> 301<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#setProperties-java.util.List-">setProperties</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>> properties)</code> </td> 302</tr> 303<tr id="i17" class="rowColor"> 304<td class="colFirst"><code>void</code></td> 305<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#setTypeId-com.fasterxml.jackson.databind.introspect.AnnotatedMember-">setTypeId</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> idProp)</code> </td> 306</tr> 307</table> 308<ul class="blockList"> 309<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 310<!-- --> 311</a> 312<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 313<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 314</ul> 315</li> 316</ul> 317</li> 318</ul> 319</div> 320<div class="details"> 321<ul class="blockList"> 322<li class="blockList"> 323<!-- ============ FIELD DETAIL =========== --> 324<ul class="blockList"> 325<li class="blockList"><a name="field.detail"> 326<!-- --> 327</a> 328<h3>Field Detail</h3> 329<a name="Z:Z_beanDesc"> 330<!-- --> 331</a> 332<ul class="blockList"> 333<li class="blockList"> 334<h4>_beanDesc</h4> 335<pre>protected final <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> _beanDesc</pre> 336</li> 337</ul> 338<a name="Z:Z_config"> 339<!-- --> 340</a> 341<ul class="blockList"> 342<li class="blockList"> 343<h4>_config</h4> 344<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> _config</pre> 345</li> 346</ul> 347<a name="Z:Z_properties"> 348<!-- --> 349</a> 350<ul class="blockList"> 351<li class="blockList"> 352<h4>_properties</h4> 353<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>> _properties</pre> 354<div class="block">Bean properties, in order of serialization</div> 355</li> 356</ul> 357<a name="Z:Z_filteredProperties"> 358<!-- --> 359</a> 360<ul class="blockList"> 361<li class="blockList"> 362<h4>_filteredProperties</h4> 363<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>[] _filteredProperties</pre> 364<div class="block">Optional array of filtered property writers; if null, no 365 view-based filtering is performed.</div> 366</li> 367</ul> 368<a name="Z:Z_anyGetter"> 369<!-- --> 370</a> 371<ul class="blockList"> 372<li class="blockList"> 373<h4>_anyGetter</h4> 374<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" title="class in com.fasterxml.jackson.databind.ser">AnyGetterWriter</a> _anyGetter</pre> 375<div class="block">Writer used for "any getter" properties, if any.</div> 376</li> 377</ul> 378<a name="Z:Z_filterId"> 379<!-- --> 380</a> 381<ul class="blockList"> 382<li class="blockList"> 383<h4>_filterId</h4> 384<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> _filterId</pre> 385<div class="block">Id of the property filter to use for POJO, if any.</div> 386</li> 387</ul> 388<a name="Z:Z_typeId"> 389<!-- --> 390</a> 391<ul class="blockList"> 392<li class="blockList"> 393<h4>_typeId</h4> 394<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> _typeId</pre> 395<div class="block">Property that is used for type id (and not serialized as regular 396 property)</div> 397</li> 398</ul> 399<a name="Z:Z_objectIdWriter"> 400<!-- --> 401</a> 402<ul class="blockListLast"> 403<li class="blockList"> 404<h4>_objectIdWriter</h4> 405<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a> _objectIdWriter</pre> 406<div class="block">Object responsible for serializing Object Ids for the handled 407 type, if any.</div> 408</li> 409</ul> 410</li> 411</ul> 412<!-- ========= CONSTRUCTOR DETAIL ======== --> 413<ul class="blockList"> 414<li class="blockList"><a name="constructor.detail"> 415<!-- --> 416</a> 417<h3>Constructor Detail</h3> 418<a name="BeanSerializerBuilder-com.fasterxml.jackson.databind.BeanDescription-"> 419<!-- --> 420</a> 421<ul class="blockList"> 422<li class="blockList"> 423<h4>BeanSerializerBuilder</h4> 424<pre>public BeanSerializerBuilder(<a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</pre> 425</li> 426</ul> 427<a name="BeanSerializerBuilder-com.fasterxml.jackson.databind.ser.BeanSerializerBuilder-"> 428<!-- --> 429</a> 430<ul class="blockListLast"> 431<li class="blockList"> 432<h4>BeanSerializerBuilder</h4> 433<pre>protected BeanSerializerBuilder(<a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</a> src)</pre> 434<div class="block">Copy-constructor that may be used for sub-classing</div> 435</li> 436</ul> 437</li> 438</ul> 439<!-- ============ METHOD DETAIL ========== --> 440<ul class="blockList"> 441<li class="blockList"><a name="method.detail"> 442<!-- --> 443</a> 444<h3>Method Detail</h3> 445<a name="setConfig-com.fasterxml.jackson.databind.SerializationConfig-"> 446<!-- --> 447</a> 448<ul class="blockList"> 449<li class="blockList"> 450<h4>setConfig</h4> 451<pre>protected void setConfig(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</pre> 452<div class="block">Initialization method called right after construction, to specify 453 configuration to use. 454<p> 455 Note: ideally should be passed in constructor, but for backwards 456 compatibility, needed to add a setter instead</div> 457<dl> 458<dt><span class="simpleTagLabel">Since:</span></dt> 459<dd>2.1</dd> 460</dl> 461</li> 462</ul> 463<a name="setProperties-java.util.List-"> 464<!-- --> 465</a> 466<ul class="blockList"> 467<li class="blockList"> 468<h4>setProperties</h4> 469<pre>public void setProperties(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>> properties)</pre> 470</li> 471</ul> 472<a name="setFilteredProperties-com.fasterxml.jackson.databind.ser.BeanPropertyWriter:A-"> 473<!-- --> 474</a> 475<ul class="blockList"> 476<li class="blockList"> 477<h4>setFilteredProperties</h4> 478<pre>public void setFilteredProperties(<a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>[] properties)</pre> 479<dl> 480<dt><span class="paramLabel">Parameters:</span></dt> 481<dd><code>properties</code> - Number and order of properties here MUST match that 482 of "regular" properties set earlier using <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#setProperties-java.util.List-"><code>setProperties(List)</code></a>; if not, 483 an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> will be thrown</dd> 484</dl> 485</li> 486</ul> 487<a name="setAnyGetter-com.fasterxml.jackson.databind.ser.AnyGetterWriter-"> 488<!-- --> 489</a> 490<ul class="blockList"> 491<li class="blockList"> 492<h4>setAnyGetter</h4> 493<pre>public void setAnyGetter(<a href="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" title="class in com.fasterxml.jackson.databind.ser">AnyGetterWriter</a> anyGetter)</pre> 494</li> 495</ul> 496<a name="setFilterId-java.lang.Object-"> 497<!-- --> 498</a> 499<ul class="blockList"> 500<li class="blockList"> 501<h4>setFilterId</h4> 502<pre>public void setFilterId(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> filterId)</pre> 503</li> 504</ul> 505<a name="setTypeId-com.fasterxml.jackson.databind.introspect.AnnotatedMember-"> 506<!-- --> 507</a> 508<ul class="blockList"> 509<li class="blockList"> 510<h4>setTypeId</h4> 511<pre>public void setTypeId(<a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> idProp)</pre> 512</li> 513</ul> 514<a name="setObjectIdWriter-com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter-"> 515<!-- --> 516</a> 517<ul class="blockList"> 518<li class="blockList"> 519<h4>setObjectIdWriter</h4> 520<pre>public void setObjectIdWriter(<a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a> w)</pre> 521</li> 522</ul> 523<a name="getClassInfo--"> 524<!-- --> 525</a> 526<ul class="blockList"> 527<li class="blockList"> 528<h4>getClassInfo</h4> 529<pre>public <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</a> getClassInfo()</pre> 530</li> 531</ul> 532<a name="getBeanDescription--"> 533<!-- --> 534</a> 535<ul class="blockList"> 536<li class="blockList"> 537<h4>getBeanDescription</h4> 538<pre>public <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> getBeanDescription()</pre> 539</li> 540</ul> 541<a name="getProperties--"> 542<!-- --> 543</a> 544<ul class="blockList"> 545<li class="blockList"> 546<h4>getProperties</h4> 547<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>> getProperties()</pre> 548</li> 549</ul> 550<a name="hasProperties--"> 551<!-- --> 552</a> 553<ul class="blockList"> 554<li class="blockList"> 555<h4>hasProperties</h4> 556<pre>public boolean hasProperties()</pre> 557</li> 558</ul> 559<a name="getFilteredProperties--"> 560<!-- --> 561</a> 562<ul class="blockList"> 563<li class="blockList"> 564<h4>getFilteredProperties</h4> 565<pre>public <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>[] getFilteredProperties()</pre> 566</li> 567</ul> 568<a name="getAnyGetter--"> 569<!-- --> 570</a> 571<ul class="blockList"> 572<li class="blockList"> 573<h4>getAnyGetter</h4> 574<pre>public <a href="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" title="class in com.fasterxml.jackson.databind.ser">AnyGetterWriter</a> getAnyGetter()</pre> 575</li> 576</ul> 577<a name="getFilterId--"> 578<!-- --> 579</a> 580<ul class="blockList"> 581<li class="blockList"> 582<h4>getFilterId</h4> 583<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getFilterId()</pre> 584</li> 585</ul> 586<a name="getTypeId--"> 587<!-- --> 588</a> 589<ul class="blockList"> 590<li class="blockList"> 591<h4>getTypeId</h4> 592<pre>public <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> getTypeId()</pre> 593</li> 594</ul> 595<a name="getObjectIdWriter--"> 596<!-- --> 597</a> 598<ul class="blockList"> 599<li class="blockList"> 600<h4>getObjectIdWriter</h4> 601<pre>public <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a> getObjectIdWriter()</pre> 602</li> 603</ul> 604<a name="build--"> 605<!-- --> 606</a> 607<ul class="blockList"> 608<li class="blockList"> 609<h4>build</h4> 610<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> build()</pre> 611<div class="block">Method called to create <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializer</code></a> instance with 612 all accumulated information. Will construct a serializer if we 613 have enough information, or return null if not.</div> 614</li> 615</ul> 616<a name="createDummy--"> 617<!-- --> 618</a> 619<ul class="blockListLast"> 620<li class="blockList"> 621<h4>createDummy</h4> 622<pre>public <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializer</a> createDummy()</pre> 623<div class="block">Factory method for constructing an "empty" serializer; one that 624 outputs no properties (but handles JSON objects properly, including 625 type information)</div> 626</li> 627</ul> 628</li> 629</ul> 630</li> 631</ul> 632</div> 633</div> 634<!-- ========= END OF CLASS DATA ========= --> 635<!-- ======= START OF BOTTOM NAVBAR ====== --> 636<div class="bottomNav"><a name="navbar.bottom"> 637<!-- --> 638</a> 639<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 640<a name="navbar.bottom.firstrow"> 641<!-- --> 642</a> 643<ul class="navList" title="Navigation"> 644<li><a href="../../../../../overview-summary.html">Overview</a></li> 645<li><a href="package-summary.html">Package</a></li> 646<li class="navBarCell1Rev">Class</li> 647<li><a href="class-use/BeanSerializerBuilder.html">Use</a></li> 648<li><a href="package-tree.html">Tree</a></li> 649<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 650<li><a href="../../../../../index-all.html">Index</a></li> 651<li><a href="../../../../../help-doc.html">Help</a></li> 652</ul> 653</div> 654<div class="subNav"> 655<ul class="navList"> 656<li><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Prev Class</span></a></li> 657<li><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Next Class</span></a></li> 658</ul> 659<ul class="navList"> 660<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" target="_top">Frames</a></li> 661<li><a href="BeanSerializerBuilder.html" target="_top">No Frames</a></li> 662</ul> 663<ul class="navList" id="allclasses_navbar_bottom"> 664<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 665</ul> 666<div> 667<script type="text/javascript"><!-- 668 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 669 if(window==top) { 670 allClassesLink.style.display = "block"; 671 } 672 else { 673 allClassesLink.style.display = "none"; 674 } 675 //--> 676</script> 677</div> 678<div> 679<ul class="subNavList"> 680<li>Summary: </li> 681<li>Nested | </li> 682<li><a href="#field.summary">Field</a> | </li> 683<li><a href="#constructor.summary">Constr</a> | </li> 684<li><a href="#method.summary">Method</a></li> 685</ul> 686<ul class="subNavList"> 687<li>Detail: </li> 688<li><a href="#field.detail">Field</a> | </li> 689<li><a href="#constructor.detail">Constr</a> | </li> 690<li><a href="#method.detail">Method</a></li> 691</ul> 692</div> 693<a name="skip.navbar.bottom"> 694<!-- --> 695</a></div> 696<!-- ======== END OF BOTTOM NAVBAR ======= --> 697<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 698</body> 699</html> 700