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