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:43 PST 2016 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>PropertyBuilder (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="PropertyBuilder (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/PropertyBuilder.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/FilterProvider.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/PropertyFilter.html" title="interface 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/PropertyBuilder.html" target="_top">Frames</a></li> 45<li><a href="PropertyBuilder.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 PropertyBuilder" class="title">Class PropertyBuilder</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<li><a href="http://docs.oracle.com/javase/7/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.PropertyBuilder</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">PropertyBuilder</span> 101extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> 102<div class="block">Helper class for <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializerFactory</code></a> that is used to 103 construct <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanPropertyWriter</code></a> instances. Can be sub-classed 104 to change behavior.</div> 105</li> 106</ul> 107</div> 108<div class="summary"> 109<ul class="blockList"> 110<li class="blockList"> 111<!-- =========== FIELD SUMMARY =========== --> 112<ul class="blockList"> 113<li class="blockList"><a name="field_summary"> 114<!-- --> 115</a> 116<h3>Field Summary</h3> 117<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 118<caption><span>Fields</span><span class="tabEnd"> </span></caption> 119<tr> 120<th class="colFirst" scope="col">Modifier and Type</th> 121<th class="colLast" scope="col">Field and Description</th> 122</tr> 123<tr class="altColor"> 124<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a></code></td> 125<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#_annotationIntrospector">_annotationIntrospector</a></strong></code> </td> 126</tr> 127<tr class="rowColor"> 128<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a></code></td> 129<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#_beanDesc">_beanDesc</a></strong></code> </td> 130</tr> 131<tr class="altColor"> 132<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 133<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#_config">_config</a></strong></code> </td> 134</tr> 135<tr class="rowColor"> 136<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 137<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#_defaultBean">_defaultBean</a></strong></code> 138<div class="block">If a property has serialization inclusion value of 139 <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Include.html?is-external=true#NON_DEFAULT" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonInclude.Include.NON_DEFAULT</code></a>, 140 we may need to know the default value of the bean, to know if property value 141 equals default one.</div> 142</td> 143</tr> 144<tr class="altColor"> 145<td class="colFirst"><code>protected <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td> 146<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#_defaultInclusion">_defaultInclusion</a></strong></code> 147<div class="block">Default inclusion mode for properties of the POJO for which 148 properties are collected; possibly overridden on 149 per-property basis.</div> 150</td> 151</tr> 152</table> 153</li> 154</ul> 155<!-- ======== CONSTRUCTOR SUMMARY ======== --> 156<ul class="blockList"> 157<li class="blockList"><a name="constructor_summary"> 158<!-- --> 159</a> 160<h3>Constructor Summary</h3> 161<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 162<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 163<tr> 164<th class="colOne" scope="col">Constructor and Description</th> 165</tr> 166<tr class="altColor"> 167<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#PropertyBuilder(com.fasterxml.jackson.databind.SerializationConfig,%20com.fasterxml.jackson.databind.BeanDescription)">PropertyBuilder</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 168 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</code> </td> 169</tr> 170</table> 171</li> 172</ul> 173<!-- ========== METHOD SUMMARY =========== --> 174<ul class="blockList"> 175<li class="blockList"><a name="method_summary"> 176<!-- --> 177</a> 178<h3>Method Summary</h3> 179<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 180<caption><span>Methods</span><span class="tabEnd"> </span></caption> 181<tr> 182<th class="colFirst" scope="col">Modifier and Type</th> 183<th class="colLast" scope="col">Method and Description</th> 184</tr> 185<tr class="altColor"> 186<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 187<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#_throwWrapped(java.lang.Exception,%20java.lang.String,%20java.lang.Object)">_throwWrapped</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a> e, 188 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> propName, 189 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> defaultBean)</code> </td> 190</tr> 191<tr class="rowColor"> 192<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> 193<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#buildWriter(com.fasterxml.jackson.databind.SerializerProvider,%20com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition,%20com.fasterxml.jackson.databind.JavaType,%20com.fasterxml.jackson.databind.JsonSerializer,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.introspect.AnnotatedMember,%20boolean)">buildWriter</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> prov, 194 <a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> propDef, 195 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> declaredType, 196 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 197 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer, 198 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> contentTypeSer, 199 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> am, 200 boolean defaultUseStaticTyping)</code> </td> 201</tr> 202<tr class="altColor"> 203<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></code></td> 204<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#findSerializationType(com.fasterxml.jackson.databind.introspect.Annotated,%20boolean,%20com.fasterxml.jackson.databind.JavaType)">findSerializationType</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> a, 205 boolean useStaticTyping, 206 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> declaredType)</code> 207<div class="block">Method that will try to determine statically defined type of property 208 being serialized, based on annotations (for overrides), and alternatively 209 declared type (if static typing for serialization is enabled).</div> 210</td> 211</tr> 212<tr class="rowColor"> 213<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a></code></td> 214<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#getClassAnnotations()">getClassAnnotations</a></strong>()</code> </td> 215</tr> 216<tr class="altColor"> 217<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 218<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#getDefaultBean()">getDefaultBean</a></strong>()</code> </td> 219</tr> 220<tr class="rowColor"> 221<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 222<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#getDefaultValue(com.fasterxml.jackson.databind.JavaType)">getDefaultValue</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> 223<div class="block">Accessor used to find out "default value" to use for comparing values to 224 serialize, to determine whether to exclude value from serialization with 225 inclusion type of <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Include.html?is-external=true#NON_DEFAULT" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonInclude.Include.NON_DEFAULT</code></a>.</div> 226</td> 227</tr> 228<tr class="altColor"> 229<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 230<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#getPropertyDefaultValue(java.lang.String,%20com.fasterxml.jackson.databind.introspect.AnnotatedMember,%20com.fasterxml.jackson.databind.JavaType)">getPropertyDefaultValue</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, 231 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> member, 232 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> 233<div class="block">Accessor used to find out "default value" for given property, to use for 234 comparing values to serialize, to determine whether to exclude value from serialization with 235 inclusion type of <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Include.html?is-external=true#NON_EMPTY" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonInclude.Include.NON_EMPTY</code></a>.</div> 236</td> 237</tr> 238</table> 239<ul class="blockList"> 240<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 241<!-- --> 242</a> 243<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 244<code><a href="http://docs.oracle.com/javase/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> 245</ul> 246</li> 247</ul> 248</li> 249</ul> 250</div> 251<div class="details"> 252<ul class="blockList"> 253<li class="blockList"> 254<!-- ============ FIELD DETAIL =========== --> 255<ul class="blockList"> 256<li class="blockList"><a name="field_detail"> 257<!-- --> 258</a> 259<h3>Field Detail</h3> 260<a name="_config"> 261<!-- --> 262</a> 263<ul class="blockList"> 264<li class="blockList"> 265<h4>_config</h4> 266<pre>protected final <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> _config</pre> 267</li> 268</ul> 269<a name="_beanDesc"> 270<!-- --> 271</a> 272<ul class="blockList"> 273<li class="blockList"> 274<h4>_beanDesc</h4> 275<pre>protected final <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> _beanDesc</pre> 276</li> 277</ul> 278<a name="_defaultInclusion"> 279<!-- --> 280</a> 281<ul class="blockList"> 282<li class="blockList"> 283<h4>_defaultInclusion</h4> 284<pre>protected final <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Value</a> _defaultInclusion</pre> 285<div class="block">Default inclusion mode for properties of the POJO for which 286 properties are collected; possibly overridden on 287 per-property basis.</div> 288</li> 289</ul> 290<a name="_annotationIntrospector"> 291<!-- --> 292</a> 293<ul class="blockList"> 294<li class="blockList"> 295<h4>_annotationIntrospector</h4> 296<pre>protected final <a href="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a> _annotationIntrospector</pre> 297</li> 298</ul> 299<a name="_defaultBean"> 300<!-- --> 301</a> 302<ul class="blockListLast"> 303<li class="blockList"> 304<h4>_defaultBean</h4> 305<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> _defaultBean</pre> 306<div class="block">If a property has serialization inclusion value of 307 <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Include.html?is-external=true#NON_DEFAULT" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonInclude.Include.NON_DEFAULT</code></a>, 308 we may need to know the default value of the bean, to know if property value 309 equals default one. 310<p> 311 NOTE: only used if enclosing class defines NON_DEFAULT, but NOT if it is the 312 global default OR per-property override.</div> 313</li> 314</ul> 315</li> 316</ul> 317<!-- ========= CONSTRUCTOR DETAIL ======== --> 318<ul class="blockList"> 319<li class="blockList"><a name="constructor_detail"> 320<!-- --> 321</a> 322<h3>Constructor Detail</h3> 323<a name="PropertyBuilder(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.BeanDescription)"> 324<!-- --> 325</a> 326<ul class="blockListLast"> 327<li class="blockList"> 328<h4>PropertyBuilder</h4> 329<pre>public PropertyBuilder(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 330 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</pre> 331</li> 332</ul> 333</li> 334</ul> 335<!-- ============ METHOD DETAIL ========== --> 336<ul class="blockList"> 337<li class="blockList"><a name="method_detail"> 338<!-- --> 339</a> 340<h3>Method Detail</h3> 341<a name="getClassAnnotations()"> 342<!-- --> 343</a> 344<ul class="blockList"> 345<li class="blockList"> 346<h4>getClassAnnotations</h4> 347<pre>public <a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a> getClassAnnotations()</pre> 348</li> 349</ul> 350<a name="buildWriter(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.introspect.AnnotatedMember, boolean)"> 351<!-- --> 352</a> 353<ul class="blockList"> 354<li class="blockList"> 355<h4>buildWriter</h4> 356<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a> buildWriter(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> prov, 357 <a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> propDef, 358 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> declaredType, 359 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 360 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer, 361 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> contentTypeSer, 362 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> am, 363 boolean defaultUseStaticTyping) 364 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 365<dl><dt><span class="strong">Parameters:</span></dt><dd><code>contentTypeSer</code> - Optional explicit type information serializer 366 to use for contained values (only used for properties that are 367 of container type)</dd> 368<dt><span class="strong">Throws:</span></dt> 369<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 370</li> 371</ul> 372<a name="findSerializationType(com.fasterxml.jackson.databind.introspect.Annotated, boolean, com.fasterxml.jackson.databind.JavaType)"> 373<!-- --> 374</a> 375<ul class="blockList"> 376<li class="blockList"> 377<h4>findSerializationType</h4> 378<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> findSerializationType(<a href="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> a, 379 boolean useStaticTyping, 380 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> declaredType) 381 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 382<div class="block">Method that will try to determine statically defined type of property 383 being serialized, based on annotations (for overrides), and alternatively 384 declared type (if static typing for serialization is enabled). 385 If neither can be used (no annotations, dynamic typing), returns null.</div> 386<dl><dt><span class="strong">Throws:</span></dt> 387<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 388</li> 389</ul> 390<a name="getDefaultBean()"> 391<!-- --> 392</a> 393<ul class="blockList"> 394<li class="blockList"> 395<h4>getDefaultBean</h4> 396<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getDefaultBean()</pre> 397</li> 398</ul> 399<a name="getPropertyDefaultValue(java.lang.String, com.fasterxml.jackson.databind.introspect.AnnotatedMember, com.fasterxml.jackson.databind.JavaType)"> 400<!-- --> 401</a> 402<ul class="blockList"> 403<li class="blockList"> 404<h4>getPropertyDefaultValue</h4> 405<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getPropertyDefaultValue(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, 406 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> member, 407 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</pre> 408<div class="block">Accessor used to find out "default value" for given property, to use for 409 comparing values to serialize, to determine whether to exclude value from serialization with 410 inclusion type of <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Include.html?is-external=true#NON_EMPTY" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonInclude.Include.NON_EMPTY</code></a>. 411 This method is called when we specifically want to know default value within context 412 of a POJO, when annotation is within containing class, and not for property or 413 defined as global baseline. 414<p> 415 Note that returning of pseudo-type</div> 416<dl><dt><span class="strong">Since:</span></dt> 417 <dd>2.7</dd></dl> 418</li> 419</ul> 420<a name="getDefaultValue(com.fasterxml.jackson.databind.JavaType)"> 421<!-- --> 422</a> 423<ul class="blockList"> 424<li class="blockList"> 425<h4>getDefaultValue</h4> 426<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getDefaultValue(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</pre> 427<div class="block">Accessor used to find out "default value" to use for comparing values to 428 serialize, to determine whether to exclude value from serialization with 429 inclusion type of <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Include.html?is-external=true#NON_DEFAULT" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonInclude.Include.NON_DEFAULT</code></a>. 430<p> 431 Default logic is such that for primitives and wrapper types for primitives, expected 432 defaults (0 for `int` and `java.lang.Integer`) are returned; for Strings, empty String, 433 and for structured (Maps, Collections, arrays) and reference types, criteria 434 <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Include.html?is-external=true#NON_DEFAULT" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonInclude.Include.NON_DEFAULT</code></a> 435 is used.</div> 436<dl><dt><span class="strong">Since:</span></dt> 437 <dd>2.7</dd></dl> 438</li> 439</ul> 440<a name="_throwWrapped(java.lang.Exception, java.lang.String, java.lang.Object)"> 441<!-- --> 442</a> 443<ul class="blockListLast"> 444<li class="blockList"> 445<h4>_throwWrapped</h4> 446<pre>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> _throwWrapped(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a> e, 447 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> propName, 448 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> defaultBean)</pre> 449</li> 450</ul> 451</li> 452</ul> 453</li> 454</ul> 455</div> 456</div> 457<!-- ========= END OF CLASS DATA ========= --> 458<!-- ======= START OF BOTTOM NAVBAR ====== --> 459<div class="bottomNav"><a name="navbar_bottom"> 460<!-- --> 461</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 462<!-- --> 463</a> 464<ul class="navList" title="Navigation"> 465<li><a href="../../../../../overview-summary.html">Overview</a></li> 466<li><a href="package-summary.html">Package</a></li> 467<li class="navBarCell1Rev">Class</li> 468<li><a href="class-use/PropertyBuilder.html">Use</a></li> 469<li><a href="package-tree.html">Tree</a></li> 470<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 471<li><a href="../../../../../index-all.html">Index</a></li> 472<li><a href="../../../../../help-doc.html">Help</a></li> 473</ul> 474</div> 475<div class="subNav"> 476<ul class="navList"> 477<li><a href="../../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Prev Class</span></a></li> 478<li><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyFilter.html" title="interface in com.fasterxml.jackson.databind.ser"><span class="strong">Next Class</span></a></li> 479</ul> 480<ul class="navList"> 481<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/PropertyBuilder.html" target="_top">Frames</a></li> 482<li><a href="PropertyBuilder.html" target="_top">No Frames</a></li> 483</ul> 484<ul class="navList" id="allclasses_navbar_bottom"> 485<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 486</ul> 487<div> 488<script type="text/javascript"><!-- 489 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 490 if(window==top) { 491 allClassesLink.style.display = "block"; 492 } 493 else { 494 allClassesLink.style.display = "none"; 495 } 496 //--> 497</script> 498</div> 499<div> 500<ul class="subNavList"> 501<li>Summary: </li> 502<li>Nested | </li> 503<li><a href="#field_summary">Field</a> | </li> 504<li><a href="#constructor_summary">Constr</a> | </li> 505<li><a href="#method_summary">Method</a></li> 506</ul> 507<ul class="subNavList"> 508<li>Detail: </li> 509<li><a href="#field_detail">Field</a> | </li> 510<li><a href="#constructor_detail">Constr</a> | </li> 511<li><a href="#method_detail">Method</a></li> 512</ul> 513</div> 514<a name="skip-navbar_bottom"> 515<!-- --> 516</a></div> 517<!-- ======== END OF BOTTOM NAVBAR ======= --> 518<p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 519</body> 520</html> 521