<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_35) on Tue Oct 09 17:08:19 PDT 2012 --> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <TITLE> BeanSerializerBuilder (jackson-databind 2.1.0 API) </TITLE> <META NAME="date" CONTENT="2012-10-09"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="BeanSerializerBuilder (jackson-databind 2.1.0 API)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BeanSerializerBuilder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser"><B>PREV CLASS</B></A> <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" target="_top"><B>FRAMES</B></A> <A HREF="BeanSerializerBuilder.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.fasterxml.jackson.databind.ser</FONT> <BR> Class BeanSerializerBuilder</H2> <PRE> <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> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.ser.BeanSerializerBuilder</B> </PRE> <HR> <DL> <DT><PRE>public class <B>BeanSerializerBuilder</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> </PRE> <P> Builder class used for aggregating deserialization information about 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 intances. Main reason for using separate builder class is that this makes it easier to make actual serializer class fully immutable. <P> <P> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" title="class in com.fasterxml.jackson.databind.ser">AnyGetterWriter</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#_anyGetter">_anyGetter</A></B></CODE> <BR> Writer used for "any getter" properties, if any.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#_beanDesc">_beanDesc</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#_config">_config</A></B></CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</A>[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#_filteredProperties">_filteredProperties</A></B></CODE> <BR> Optional array of filtered property writers; if null, no view-based filtering is performed.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <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> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#_filterId">_filterId</A></B></CODE> <BR> Id of the property filter to use for POJO, if any.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#_objectIdWriter">_objectIdWriter</A></B></CODE> <BR> Object responsible for serializing Object Ids for the handled type, if any.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <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></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#_properties">_properties</A></B></CODE> <BR> Bean properties, in order of serialization</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#_typeId">_typeId</A></B></CODE> <BR> Property that is used for type id (and not serialized as regular property)</TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> </CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#BeanSerializerBuilder(com.fasterxml.jackson.databind.BeanDescription)">BeanSerializerBuilder</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected </CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#BeanSerializerBuilder(com.fasterxml.jackson.databind.ser.BeanSerializerBuilder)">BeanSerializerBuilder</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</A> src)</CODE> <BR> Copy-constructor that may be used for sub-classing</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#build()">build</A></B>()</CODE> <BR> 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 all accumulated information.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializer</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#createDummy()">createDummy</A></B>()</CODE> <BR> Factory method for constructing an "empty" serializer; one that outputs no properties (but handles JSON objects properly, including type information)</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" title="class in com.fasterxml.jackson.databind.ser">AnyGetterWriter</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getAnyGetter()">getAnyGetter</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getBeanDescription()">getBeanDescription</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getClassInfo()">getClassInfo</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</A>[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getFilteredProperties()">getFilteredProperties</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <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></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getFilterId()">getFilterId</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getObjectIdWriter()">getObjectIdWriter</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <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></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getProperties()">getProperties</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#getTypeId()">getTypeId</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#hasProperties()">hasProperties</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#setAnyGetter(com.fasterxml.jackson.databind.ser.AnyGetterWriter)">setAnyGetter</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" title="class in com.fasterxml.jackson.databind.ser">AnyGetterWriter</A> anyGetter)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#setConfig(com.fasterxml.jackson.databind.SerializationConfig)">setConfig</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config)</CODE> <BR> Initialization method called right after construction, to specify configuration to use.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#setFilteredProperties(com.fasterxml.jackson.databind.ser.BeanPropertyWriter[])">setFilteredProperties</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</A>[] properties)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#setFilterId(java.lang.Object)">setFilterId</A></B>(<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> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#setObjectIdWriter(com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter)">setObjectIdWriter</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</A> w)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#setProperties(java.util.List)">setProperties</A></B>(<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> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html#setTypeId(com.fasterxml.jackson.databind.introspect.AnnotatedMember)">setTypeId</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</A> idProp)</CODE> <BR> </TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <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> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <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> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Field Detail</B></FONT></TH> </TR> </TABLE> <A NAME="_beanDesc"><!-- --></A><H3> _beanDesc</H3> <PRE> protected final <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> <B>_beanDesc</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="_config"><!-- --></A><H3> _config</H3> <PRE> protected <A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> <B>_config</B></PRE> <DL> <DL> </DL> </DL> <HR> <A NAME="_properties"><!-- --></A><H3> _properties</H3> <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>> <B>_properties</B></PRE> <DL> <DD>Bean properties, in order of serialization <P> <DL> </DL> </DL> <HR> <A NAME="_filteredProperties"><!-- --></A><H3> _filteredProperties</H3> <PRE> protected <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</A>[] <B>_filteredProperties</B></PRE> <DL> <DD>Optional array of filtered property writers; if null, no view-based filtering is performed. <P> <DL> </DL> </DL> <HR> <A NAME="_anyGetter"><!-- --></A><H3> _anyGetter</H3> <PRE> protected <A HREF="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" title="class in com.fasterxml.jackson.databind.ser">AnyGetterWriter</A> <B>_anyGetter</B></PRE> <DL> <DD>Writer used for "any getter" properties, if any. <P> <DL> </DL> </DL> <HR> <A NAME="_filterId"><!-- --></A><H3> _filterId</H3> <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> <B>_filterId</B></PRE> <DL> <DD>Id of the property filter to use for POJO, if any. <P> <DL> </DL> </DL> <HR> <A NAME="_typeId"><!-- --></A><H3> _typeId</H3> <PRE> protected <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</A> <B>_typeId</B></PRE> <DL> <DD>Property that is used for type id (and not serialized as regular property) <P> <DL> </DL> </DL> <HR> <A NAME="_objectIdWriter"><!-- --></A><H3> _objectIdWriter</H3> <PRE> protected <A HREF="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</A> <B>_objectIdWriter</B></PRE> <DL> <DD>Object responsible for serializing Object Ids for the handled type, if any. <P> <DL> </DL> </DL> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="BeanSerializerBuilder(com.fasterxml.jackson.databind.BeanDescription)"><!-- --></A><H3> BeanSerializerBuilder</H3> <PRE> public <B>BeanSerializerBuilder</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc)</PRE> <DL> </DL> <HR> <A NAME="BeanSerializerBuilder(com.fasterxml.jackson.databind.ser.BeanSerializerBuilder)"><!-- --></A><H3> BeanSerializerBuilder</H3> <PRE> protected <B>BeanSerializerBuilder</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</A> src)</PRE> <DL> <DD>Copy-constructor that may be used for sub-classing <P> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="setConfig(com.fasterxml.jackson.databind.SerializationConfig)"><!-- --></A><H3> setConfig</H3> <PRE> protected void <B>setConfig</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config)</PRE> <DL> <DD>Initialization method called right after construction, to specify configuration to use. <p> Note: ideally should be passed in constructor, but for backwards compatibility, needed to add a setter instead <P> <DD><DL> <DT><B>Since:</B></DT> <DD>2.1</DD> </DL> </DD> </DL> <HR> <A NAME="setProperties(java.util.List)"><!-- --></A><H3> setProperties</H3> <PRE> public void <B>setProperties</B>(<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> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setFilteredProperties(com.fasterxml.jackson.databind.ser.BeanPropertyWriter[])"><!-- --></A><H3> setFilteredProperties</H3> <PRE> public void <B>setFilteredProperties</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</A>[] properties)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setAnyGetter(com.fasterxml.jackson.databind.ser.AnyGetterWriter)"><!-- --></A><H3> setAnyGetter</H3> <PRE> public void <B>setAnyGetter</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" title="class in com.fasterxml.jackson.databind.ser">AnyGetterWriter</A> anyGetter)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setFilterId(java.lang.Object)"><!-- --></A><H3> setFilterId</H3> <PRE> public void <B>setFilterId</B>(<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> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setTypeId(com.fasterxml.jackson.databind.introspect.AnnotatedMember)"><!-- --></A><H3> setTypeId</H3> <PRE> public void <B>setTypeId</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</A> idProp)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setObjectIdWriter(com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter)"><!-- --></A><H3> setObjectIdWriter</H3> <PRE> public void <B>setObjectIdWriter</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</A> w)</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getClassInfo()"><!-- --></A><H3> getClassInfo</H3> <PRE> public <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</A> <B>getClassInfo</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getBeanDescription()"><!-- --></A><H3> getBeanDescription</H3> <PRE> public <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> <B>getBeanDescription</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getProperties()"><!-- --></A><H3> getProperties</H3> <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>> <B>getProperties</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="hasProperties()"><!-- --></A><H3> hasProperties</H3> <PRE> public boolean <B>hasProperties</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getFilteredProperties()"><!-- --></A><H3> getFilteredProperties</H3> <PRE> public <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</A>[] <B>getFilteredProperties</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getAnyGetter()"><!-- --></A><H3> getAnyGetter</H3> <PRE> public <A HREF="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" title="class in com.fasterxml.jackson.databind.ser">AnyGetterWriter</A> <B>getAnyGetter</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getFilterId()"><!-- --></A><H3> getFilterId</H3> <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> <B>getFilterId</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getTypeId()"><!-- --></A><H3> getTypeId</H3> <PRE> public <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</A> <B>getTypeId</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getObjectIdWriter()"><!-- --></A><H3> getObjectIdWriter</H3> <PRE> public <A HREF="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</A> <B>getObjectIdWriter</B>()</PRE> <DL> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="build()"><!-- --></A><H3> build</H3> <PRE> public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> <B>build</B>()</PRE> <DL> <DD>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 all accumulated information. Will construct a serializer if we have enough information, or return null if not. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createDummy()"><!-- --></A><H3> createDummy</H3> <PRE> public <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializer</A> <B>createDummy</B>()</PRE> <DL> <DD>Factory method for constructing an "empty" serializer; one that outputs no properties (but handles JSON objects properly, including type information) <P> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BeanSerializerBuilder.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser"><B>PREV CLASS</B></A> <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" target="_top"><B>FRAMES</B></A> <A HREF="BeanSerializerBuilder.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright © 2012 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved. </BODY> </HTML>