1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0_35) on Tue Oct 09 17:08:19 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8PropertyBuilder (jackson-databind 2.1.0 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2012-10-09"> 12 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> 14 15<SCRIPT type="text/javascript"> 16function windowTitle() 17{ 18 if (location.href.indexOf('is-external=true') == -1) { 19 parent.document.title="PropertyBuilder (jackson-databind 2.1.0 API)"; 20 } 21} 22</SCRIPT> 23<NOSCRIPT> 24</NOSCRIPT> 25 26</HEAD> 27 28<BODY BGCOLOR="white" onload="windowTitle();"> 29<HR> 30 31 32<!-- ========= START OF TOP NAVBAR ======= --> 33<A NAME="navbar_top"><!-- --></A> 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 36<TR> 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 38<A NAME="navbar_top_firstrow"><!-- --></A> 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 40 <TR ALIGN="center" VALIGN="top"> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PropertyBuilder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 49 </TR> 50</TABLE> 51</TD> 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 53</EM> 54</TD> 55</TR> 56 57<TR> 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 59 <A HREF="../../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser"><B>PREV CLASS</B></A> 60 <A HREF="../../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><B>NEXT CLASS</B></A></FONT></TD> 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 62 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/ser/PropertyBuilder.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="PropertyBuilder.html" target="_top"><B>NO FRAMES</B></A> 64 <SCRIPT type="text/javascript"> 65 <!-- 66 if(window==top) { 67 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 68 } 69 //--> 70</SCRIPT> 71<NOSCRIPT> 72 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 73</NOSCRIPT> 74 75 76</FONT></TD> 77</TR> 78<TR> 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 80 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 82DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 83</TR> 84</TABLE> 85<A NAME="skip-navbar_top"></A> 86<!-- ========= END OF TOP NAVBAR ========= --> 87 88<HR> 89<!-- ======== START OF CLASS DATA ======== --> 90<H2> 91<FONT SIZE="-1"> 92com.fasterxml.jackson.databind.ser</FONT> 93<BR> 94Class PropertyBuilder</H2> 95<PRE> 96<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> 97 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.ser.PropertyBuilder</B> 98</PRE> 99<HR> 100<DL> 101<DT><PRE>public class <B>PropertyBuilder</B><DT>extends <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></DL> 102</PRE> 103 104<P> 105Helper 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 106 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 107 to change behavior. 108<P> 109 110<P> 111<HR> 112 113<P> 114<!-- =========== FIELD SUMMARY =========== --> 115 116<A NAME="field_summary"><!-- --></A> 117<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 118<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 119<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 120<B>Field Summary</B></FONT></TH> 121</TR> 122<TR BGCOLOR="white" CLASS="TableRowColor"> 123<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 124<CODE>protected <A HREF="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</A></CODE></FONT></TD> 125<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#_annotationIntrospector">_annotationIntrospector</A></B></CODE> 126 127<BR> 128 </TD> 129</TR> 130<TR BGCOLOR="white" CLASS="TableRowColor"> 131<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 132<CODE>protected <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A></CODE></FONT></TD> 133<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#_beanDesc">_beanDesc</A></B></CODE> 134 135<BR> 136 </TD> 137</TR> 138<TR BGCOLOR="white" CLASS="TableRowColor"> 139<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 140<CODE>protected <A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A></CODE></FONT></TD> 141<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#_config">_config</A></B></CODE> 142 143<BR> 144 </TD> 145</TR> 146<TR BGCOLOR="white" CLASS="TableRowColor"> 147<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 148<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></FONT></TD> 149<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#_defaultBean">_defaultBean</A></B></CODE> 150 151<BR> 152 If a property has serialization inclusion value of 153 <A HREF="../../../../../com/fasterxml/jackson/databind/annotation/JsonSerialize.Inclusion.html#ALWAYS"><CODE>JsonSerialize.Inclusion.ALWAYS</CODE></A>, we need to know the default 154 value of the bean, to know if property value equals default 155 one.</TD> 156</TR> 157<TR BGCOLOR="white" CLASS="TableRowColor"> 158<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 159<CODE>protected <A HREF="http://fasterxml.github.com/jackson-annotations/javadoc/2.1.0/com/fasterxml/jackson/annotation/JsonInclude.Include.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Include</A></CODE></FONT></TD> 160<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#_outputProps">_outputProps</A></B></CODE> 161 162<BR> 163 </TD> 164</TR> 165</TABLE> 166 167<!-- ======== CONSTRUCTOR SUMMARY ======== --> 168 169<A NAME="constructor_summary"><!-- --></A> 170<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 171<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 172<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 173<B>Constructor Summary</B></FONT></TH> 174</TR> 175<TR BGCOLOR="white" CLASS="TableRowColor"> 176<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#PropertyBuilder(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.BeanDescription)">PropertyBuilder</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 177 <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc)</CODE> 178 179<BR> 180 </TD> 181</TR> 182</TABLE> 183 184<!-- ========== METHOD SUMMARY =========== --> 185 186<A NAME="method_summary"><!-- --></A> 187<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 188<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 189<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 190<B>Method Summary</B></FONT></TH> 191</TR> 192<TR BGCOLOR="white" CLASS="TableRowColor"> 193<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 194<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></FONT></TD> 195<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#_throwWrapped(java.lang.Exception, java.lang.String, java.lang.Object)">_throwWrapped</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A> e, 196 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> propName, 197 <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> defaultBean)</CODE> 198 199<BR> 200 </TD> 201</TR> 202<TR BGCOLOR="white" CLASS="TableRowColor"> 203<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 204<CODE>protected <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</A></CODE></FONT></TD> 205<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#buildWriter(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)">buildWriter</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</A> propDef, 206 <A HREF="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> declaredType, 207 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> ser, 208 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> typeSer, 209 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> contentTypeSer, 210 <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</A> am, 211 boolean defaultUseStaticTyping)</CODE> 212 213<BR> 214 </TD> 215</TR> 216<TR BGCOLOR="white" CLASS="TableRowColor"> 217<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 218<CODE>protected <A HREF="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A></CODE></FONT></TD> 219<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#findSerializationType(com.fasterxml.jackson.databind.introspect.Annotated, boolean, com.fasterxml.jackson.databind.JavaType)">findSerializationType</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</A> a, 220 boolean useStaticTyping, 221 <A HREF="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> declaredType)</CODE> 222 223<BR> 224 Method that will try to determine statically defined type of property 225 being serialized, based on annotations (for overrides), and alternatively 226 declared type (if static typing for serialization is enabled).</TD> 227</TR> 228<TR BGCOLOR="white" CLASS="TableRowColor"> 229<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 230<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</A></CODE></FONT></TD> 231<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#getClassAnnotations()">getClassAnnotations</A></B>()</CODE> 232 233<BR> 234 </TD> 235</TR> 236<TR BGCOLOR="white" CLASS="TableRowColor"> 237<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 238<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></FONT></TD> 239<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#getDefaultBean()">getDefaultBean</A></B>()</CODE> 240 241<BR> 242 </TD> 243</TR> 244<TR BGCOLOR="white" CLASS="TableRowColor"> 245<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 246<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></FONT></TD> 247<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html#getDefaultValue(java.lang.String, com.fasterxml.jackson.databind.introspect.AnnotatedMember)">getDefaultValue</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, 248 <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</A> member)</CODE> 249 250<BR> 251 </TD> 252</TR> 253</TABLE> 254 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 255<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 256<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 257<TH ALIGN="left"><B>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></B></TH> 258</TR> 259<TR BGCOLOR="white" CLASS="TableRowColor"> 260<TD><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></TD> 261</TR> 262</TABLE> 263 264<P> 265 266<!-- ============ FIELD DETAIL =========== --> 267 268<A NAME="field_detail"><!-- --></A> 269<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 270<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 271<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 272<B>Field Detail</B></FONT></TH> 273</TR> 274</TABLE> 275 276<A NAME="_config"><!-- --></A><H3> 277_config</H3> 278<PRE> 279protected final <A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> <B>_config</B></PRE> 280<DL> 281<DL> 282</DL> 283</DL> 284<HR> 285 286<A NAME="_beanDesc"><!-- --></A><H3> 287_beanDesc</H3> 288<PRE> 289protected final <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> <B>_beanDesc</B></PRE> 290<DL> 291<DL> 292</DL> 293</DL> 294<HR> 295 296<A NAME="_outputProps"><!-- --></A><H3> 297_outputProps</H3> 298<PRE> 299protected final <A HREF="http://fasterxml.github.com/jackson-annotations/javadoc/2.1.0/com/fasterxml/jackson/annotation/JsonInclude.Include.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Include</A> <B>_outputProps</B></PRE> 300<DL> 301<DL> 302</DL> 303</DL> 304<HR> 305 306<A NAME="_annotationIntrospector"><!-- --></A><H3> 307_annotationIntrospector</H3> 308<PRE> 309protected final <A HREF="../../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</A> <B>_annotationIntrospector</B></PRE> 310<DL> 311<DL> 312</DL> 313</DL> 314<HR> 315 316<A NAME="_defaultBean"><!-- --></A><H3> 317_defaultBean</H3> 318<PRE> 319protected <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> <B>_defaultBean</B></PRE> 320<DL> 321<DD>If a property has serialization inclusion value of 322 <A HREF="../../../../../com/fasterxml/jackson/databind/annotation/JsonSerialize.Inclusion.html#ALWAYS"><CODE>JsonSerialize.Inclusion.ALWAYS</CODE></A>, we need to know the default 323 value of the bean, to know if property value equals default 324 one. 325<P> 326<DL> 327</DL> 328</DL> 329 330<!-- ========= CONSTRUCTOR DETAIL ======== --> 331 332<A NAME="constructor_detail"><!-- --></A> 333<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 334<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 335<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 336<B>Constructor Detail</B></FONT></TH> 337</TR> 338</TABLE> 339 340<A NAME="PropertyBuilder(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.BeanDescription)"><!-- --></A><H3> 341PropertyBuilder</H3> 342<PRE> 343public <B>PropertyBuilder</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 344 <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc)</PRE> 345<DL> 346</DL> 347 348<!-- ============ METHOD DETAIL ========== --> 349 350<A NAME="method_detail"><!-- --></A> 351<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 352<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 353<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 354<B>Method Detail</B></FONT></TH> 355</TR> 356</TABLE> 357 358<A NAME="getClassAnnotations()"><!-- --></A><H3> 359getClassAnnotations</H3> 360<PRE> 361public <A HREF="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</A> <B>getClassAnnotations</B>()</PRE> 362<DL> 363<DD><DL> 364</DL> 365</DD> 366</DL> 367<HR> 368 369<A NAME="buildWriter(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)"><!-- --></A><H3> 370buildWriter</H3> 371<PRE> 372protected <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</A> <B>buildWriter</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</A> propDef, 373 <A HREF="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> declaredType, 374 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> ser, 375 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> typeSer, 376 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> contentTypeSer, 377 <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</A> am, 378 boolean defaultUseStaticTyping)</PRE> 379<DL> 380<DD><DL> 381<DT><B>Parameters:</B><DD><CODE>contentTypeSer</CODE> - Optional explicit type information serializer 382 to use for contained values (only used for properties that are 383 of container type)</DL> 384</DD> 385</DL> 386<HR> 387 388<A NAME="findSerializationType(com.fasterxml.jackson.databind.introspect.Annotated, boolean, com.fasterxml.jackson.databind.JavaType)"><!-- --></A><H3> 389findSerializationType</H3> 390<PRE> 391protected <A HREF="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> <B>findSerializationType</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</A> a, 392 boolean useStaticTyping, 393 <A HREF="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> declaredType)</PRE> 394<DL> 395<DD>Method that will try to determine statically defined type of property 396 being serialized, based on annotations (for overrides), and alternatively 397 declared type (if static typing for serialization is enabled). 398 If neither can be used (no annotations, dynamic typing), returns null. 399<P> 400<DD><DL> 401</DL> 402</DD> 403</DL> 404<HR> 405 406<A NAME="getDefaultBean()"><!-- --></A><H3> 407getDefaultBean</H3> 408<PRE> 409protected <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> <B>getDefaultBean</B>()</PRE> 410<DL> 411<DD><DL> 412</DL> 413</DD> 414</DL> 415<HR> 416 417<A NAME="getDefaultValue(java.lang.String, com.fasterxml.jackson.databind.introspect.AnnotatedMember)"><!-- --></A><H3> 418getDefaultValue</H3> 419<PRE> 420protected <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> <B>getDefaultValue</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, 421 <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</A> member)</PRE> 422<DL> 423<DD><DL> 424</DL> 425</DD> 426</DL> 427<HR> 428 429<A NAME="_throwWrapped(java.lang.Exception, java.lang.String, java.lang.Object)"><!-- --></A><H3> 430_throwWrapped</H3> 431<PRE> 432protected <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> <B>_throwWrapped</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A> e, 433 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> propName, 434 <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> defaultBean)</PRE> 435<DL> 436<DD><DL> 437</DL> 438</DD> 439</DL> 440<!-- ========= END OF CLASS DATA ========= --> 441<HR> 442 443 444<!-- ======= START OF BOTTOM NAVBAR ====== --> 445<A NAME="navbar_bottom"><!-- --></A> 446<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 447<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 448<TR> 449<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 450<A NAME="navbar_bottom_firstrow"><!-- --></A> 451<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 452 <TR ALIGN="center" VALIGN="top"> 453 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 454 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 455 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 456 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PropertyBuilder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 457 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 458 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 459 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 460 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 461 </TR> 462</TABLE> 463</TD> 464<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 465</EM> 466</TD> 467</TR> 468 469<TR> 470<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 471 <A HREF="../../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser"><B>PREV CLASS</B></A> 472 <A HREF="../../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><B>NEXT CLASS</B></A></FONT></TD> 473<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 474 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/ser/PropertyBuilder.html" target="_top"><B>FRAMES</B></A> 475 <A HREF="PropertyBuilder.html" target="_top"><B>NO FRAMES</B></A> 476 <SCRIPT type="text/javascript"> 477 <!-- 478 if(window==top) { 479 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 480 } 481 //--> 482</SCRIPT> 483<NOSCRIPT> 484 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 485</NOSCRIPT> 486 487 488</FONT></TD> 489</TR> 490<TR> 491<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 492 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 493<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 494DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 495</TR> 496</TABLE> 497<A NAME="skip-navbar_bottom"></A> 498<!-- ======== END OF BOTTOM NAVBAR ======= --> 499 500<HR> 501Copyright © 2012 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved. 502</BODY> 503</HTML> 504