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:17 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8SimpleSerializers (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="SimpleSerializers (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/SimpleSerializers.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/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module"><B>PREV CLASS</B></A> 60 <A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleValueInstantiators.html" title="class in com.fasterxml.jackson.databind.module"><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/module/SimpleSerializers.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="SimpleSerializers.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.module</FONT> 93<BR> 94Class SimpleSerializers</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 "><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">com.fasterxml.jackson.databind.ser.Serializers.Base</A> 98 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.module.SimpleSerializers</B> 99</PRE> 100<DL> 101<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD> 102</DL> 103<HR> 104<DL> 105<DT><PRE>public class <B>SimpleSerializers</B><DT>extends <A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</A><DT>implements <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DL> 106</PRE> 107 108<P> 109Simple implementation <A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser"><CODE>Serializers</CODE></A> which allows registration of 110 serializers based on raw (type erased class). 111 It can work well for basic bean and scalar type serializers, but is not 112 a good fit for handling generic types (like <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A>s and <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><CODE>Collection</CODE></A>s). 113<p> 114 Type registrations are assumed to be general; meaning that registration of serializer 115 for a super type will also be used for handling subtypes, unless an exact match 116 is found first. As an example, handler for <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang"><CODE>CharSequence</CODE></A> would also be used 117 serializing <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang"><CODE>StringBuilder</CODE></A> instances, unless a direct mapping was found. 118<P> 119 120<P> 121<DL> 122<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#com.fasterxml.jackson.databind.module.SimpleSerializers">Serialized Form</A></DL> 123<HR> 124 125<P> 126<!-- ======== NESTED CLASS SUMMARY ======== --> 127 128<A NAME="nested_class_summary"><!-- --></A> 129<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 130<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 131<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 132<B>Nested Class Summary</B></FONT></TH> 133</TR> 134</TABLE> 135 <A NAME="nested_classes_inherited_from_class_com.fasterxml.jackson.databind.ser.Serializers"><!-- --></A> 136<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 137<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 138<TH ALIGN="left"><B>Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.ser.<A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</A></B></TH> 139</TR> 140<TR BGCOLOR="white" CLASS="TableRowColor"> 141<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</A></CODE></TD> 142</TR> 143</TABLE> 144 145<!-- =========== FIELD SUMMARY =========== --> 146 147<A NAME="field_summary"><!-- --></A> 148<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 149<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 150<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 151<B>Field Summary</B></FONT></TH> 152</TR> 153<TR BGCOLOR="white" CLASS="TableRowColor"> 154<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 155<CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A><<A HREF="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</A>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?>></CODE></FONT></TD> 156<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#_classMappings">_classMappings</A></B></CODE> 157 158<BR> 159 Class-based mappings that are used both for exact and 160 sub-class matches.</TD> 161</TR> 162<TR BGCOLOR="white" CLASS="TableRowColor"> 163<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 164<CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A><<A HREF="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</A>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?>></CODE></FONT></TD> 165<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#_interfaceMappings">_interfaceMappings</A></B></CODE> 166 167<BR> 168 Interface-based matches.</TD> 169</TR> 170</TABLE> 171 172<!-- ======== CONSTRUCTOR SUMMARY ======== --> 173 174<A NAME="constructor_summary"><!-- --></A> 175<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 176<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 177<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 178<B>Constructor Summary</B></FONT></TH> 179</TR> 180<TR BGCOLOR="white" CLASS="TableRowColor"> 181<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#SimpleSerializers()">SimpleSerializers</A></B>()</CODE> 182 183<BR> 184 </TD> 185</TR> 186<TR BGCOLOR="white" CLASS="TableRowColor"> 187<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#SimpleSerializers(java.util.List)">SimpleSerializers</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/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?>> sers)</CODE> 188 189<BR> 190 </TD> 191</TR> 192</TABLE> 193 194<!-- ========== METHOD SUMMARY =========== --> 195 196<A NAME="method_summary"><!-- --></A> 197<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 198<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 199<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 200<B>Method Summary</B></FONT></TH> 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/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?></CODE></FONT></TD> 205<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#_findInterfaceMapping(java.lang.Class, com.fasterxml.jackson.databind.type.ClassKey)">_findInterfaceMapping</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> cls, 206 <A HREF="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</A> key)</CODE> 207 208<BR> 209 </TD> 210</TR> 211<TR BGCOLOR="white" CLASS="TableRowColor"> 212<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 213<CODE> 214<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 215<TR ALIGN="right" VALIGN=""> 216<TD NOWRAP><FONT SIZE="-1"> 217<CODE><T> void</CODE></FONT></TD> 218</TR> 219</TABLE> 220</CODE></FONT></TD> 221<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#addSerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer)">addSerializer</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends T> type, 222 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><T> ser)</CODE> 223 224<BR> 225 </TD> 226</TR> 227<TR BGCOLOR="white" CLASS="TableRowColor"> 228<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 229<CODE> void</CODE></FONT></TD> 230<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#addSerializer(com.fasterxml.jackson.databind.JsonSerializer)">addSerializer</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> ser)</CODE> 231 232<BR> 233 Method for adding given serializer for type that <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#handledType()"><CODE>JsonSerializer.handledType()</CODE></A> 234 specifies (which MUST return a non-null class; and can NOT be <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><CODE>Object</CODE></A>, as a 235 sanity check).</TD> 236</TR> 237<TR BGCOLOR="white" CLASS="TableRowColor"> 238<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 239<CODE> void</CODE></FONT></TD> 240<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#addSerializers(java.util.List)">addSerializers</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/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?>> sers)</CODE> 241 242<BR> 243 </TD> 244</TR> 245<TR BGCOLOR="white" CLASS="TableRowColor"> 246<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 247<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?></CODE></FONT></TD> 248<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#findArraySerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.ArrayType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">findArraySerializer</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 249 <A HREF="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type">ArrayType</A> type, 250 <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc, 251 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> elementTypeSerializer, 252 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><<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>> elementValueSerializer)</CODE> 253 254<BR> 255 Method called by serialization framework first time a serializer is needed for 256 specified array type.</TD> 257</TR> 258<TR BGCOLOR="white" CLASS="TableRowColor"> 259<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 260<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?></CODE></FONT></TD> 261<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#findCollectionLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.CollectionLikeType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">findCollectionLikeSerializer</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 262 <A HREF="../../../../../com/fasterxml/jackson/databind/type/CollectionLikeType.html" title="class in com.fasterxml.jackson.databind.type">CollectionLikeType</A> type, 263 <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc, 264 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> elementTypeSerializer, 265 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><<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>> elementValueSerializer)</CODE> 266 267<BR> 268 Method called by serialization framework first time a serializer is needed for 269 specified "Collection-like" type (type that acts like <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><CODE>Collection</CODE></A>, 270 but does not implement it).</TD> 271</TR> 272<TR BGCOLOR="white" CLASS="TableRowColor"> 273<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 274<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?></CODE></FONT></TD> 275<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#findCollectionSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.CollectionType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">findCollectionSerializer</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 276 <A HREF="../../../../../com/fasterxml/jackson/databind/type/CollectionType.html" title="class in com.fasterxml.jackson.databind.type">CollectionType</A> type, 277 <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc, 278 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> elementTypeSerializer, 279 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><<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>> elementValueSerializer)</CODE> 280 281<BR> 282 Method called by serialization framework first time a serializer is needed for 283 specified <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><CODE>Collection</CODE></A> type.</TD> 284</TR> 285<TR BGCOLOR="white" CLASS="TableRowColor"> 286<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 287<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?></CODE></FONT></TD> 288<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#findMapLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.MapLikeType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">findMapLikeSerializer</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 289 <A HREF="../../../../../com/fasterxml/jackson/databind/type/MapLikeType.html" title="class in com.fasterxml.jackson.databind.type">MapLikeType</A> type, 290 <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc, 291 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><<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>> keySerializer, 292 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> elementTypeSerializer, 293 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><<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>> elementValueSerializer)</CODE> 294 295<BR> 296 Method called by serialization framework first time a serializer is needed for 297 specified "Map-like" type (type that acts like <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A>, 298 but does not implement it).</TD> 299</TR> 300<TR BGCOLOR="white" CLASS="TableRowColor"> 301<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 302<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?></CODE></FONT></TD> 303<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#findMapSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.MapType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">findMapSerializer</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 304 <A HREF="../../../../../com/fasterxml/jackson/databind/type/MapType.html" title="class in com.fasterxml.jackson.databind.type">MapType</A> type, 305 <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc, 306 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><<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>> keySerializer, 307 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> elementTypeSerializer, 308 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><<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>> elementValueSerializer)</CODE> 309 310<BR> 311 Method called by serialization framework first time a serializer is needed for 312 specified <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A> type.</TD> 313</TR> 314<TR BGCOLOR="white" CLASS="TableRowColor"> 315<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 316<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?></CODE></FONT></TD> 317<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#findSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanDescription)">findSerializer</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 318 <A HREF="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> type, 319 <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc)</CODE> 320 321<BR> 322 Method called by serialization framework first time a serializer is needed for 323 specified type, which is not of a container type (for which other methods are 324 called).</TD> 325</TR> 326</TABLE> 327 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 328<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 329<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 330<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> 331</TR> 332<TR BGCOLOR="white" CLASS="TableRowColor"> 333<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> 334</TR> 335</TABLE> 336 337<P> 338 339<!-- ============ FIELD DETAIL =========== --> 340 341<A NAME="field_detail"><!-- --></A> 342<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 343<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 344<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 345<B>Field Detail</B></FONT></TH> 346</TR> 347</TABLE> 348 349<A NAME="_classMappings"><!-- --></A><H3> 350_classMappings</H3> 351<PRE> 352protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A><<A HREF="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</A>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?>> <B>_classMappings</B></PRE> 353<DL> 354<DD>Class-based mappings that are used both for exact and 355 sub-class matches. 356<P> 357<DL> 358</DL> 359</DL> 360<HR> 361 362<A NAME="_interfaceMappings"><!-- --></A><H3> 363_interfaceMappings</H3> 364<PRE> 365protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</A><<A HREF="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</A>,<A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?>> <B>_interfaceMappings</B></PRE> 366<DL> 367<DD>Interface-based matches. 368<P> 369<DL> 370</DL> 371</DL> 372 373<!-- ========= CONSTRUCTOR DETAIL ======== --> 374 375<A NAME="constructor_detail"><!-- --></A> 376<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 377<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 378<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 379<B>Constructor Detail</B></FONT></TH> 380</TR> 381</TABLE> 382 383<A NAME="SimpleSerializers()"><!-- --></A><H3> 384SimpleSerializers</H3> 385<PRE> 386public <B>SimpleSerializers</B>()</PRE> 387<DL> 388</DL> 389<HR> 390 391<A NAME="SimpleSerializers(java.util.List)"><!-- --></A><H3> 392SimpleSerializers</H3> 393<PRE> 394public <B>SimpleSerializers</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/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?>> sers)</PRE> 395<DL> 396<DL> 397<DT><B>Since:</B></DT> 398 <DD>2.1</DD> 399</DL> 400</DL> 401 402<!-- ============ METHOD DETAIL ========== --> 403 404<A NAME="method_detail"><!-- --></A> 405<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 406<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 407<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 408<B>Method Detail</B></FONT></TH> 409</TR> 410</TABLE> 411 412<A NAME="addSerializer(com.fasterxml.jackson.databind.JsonSerializer)"><!-- --></A><H3> 413addSerializer</H3> 414<PRE> 415public void <B>addSerializer</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> ser)</PRE> 416<DL> 417<DD>Method for adding given serializer for type that <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#handledType()"><CODE>JsonSerializer.handledType()</CODE></A> 418 specifies (which MUST return a non-null class; and can NOT be <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><CODE>Object</CODE></A>, as a 419 sanity check). 420 For serializers that do not declare handled type, use the variant that takes 421 two arguments. 422<P> 423<DD><DL> 424</DL> 425</DD> 426<DD><DL> 427<DT><B>Parameters:</B><DD><CODE>ser</CODE> - </DL> 428</DD> 429</DL> 430<HR> 431 432<A NAME="addSerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer)"><!-- --></A><H3> 433addSerializer</H3> 434<PRE> 435public <T> void <B>addSerializer</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><? extends T> type, 436 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><T> ser)</PRE> 437<DL> 438<DD><DL> 439</DL> 440</DD> 441<DD><DL> 442</DL> 443</DD> 444</DL> 445<HR> 446 447<A NAME="addSerializers(java.util.List)"><!-- --></A><H3> 448addSerializers</H3> 449<PRE> 450public void <B>addSerializers</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/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?>> sers)</PRE> 451<DL> 452<DD><DL> 453</DL> 454</DD> 455<DD><DL> 456<DT><B>Since:</B></DT> 457 <DD>2.1</DD> 458</DL> 459</DD> 460</DL> 461<HR> 462 463<A NAME="findSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanDescription)"><!-- --></A><H3> 464findSerializer</H3> 465<PRE> 466public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> <B>findSerializer</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 467 <A HREF="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> type, 468 <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc)</PRE> 469<DL> 470<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanDescription)">Serializers</A></CODE></B></DD> 471<DD>Method called by serialization framework first time a serializer is needed for 472 specified type, which is not of a container type (for which other methods are 473 called). 474<P> 475<DD><DL> 476<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanDescription)">findSerializer</A></CODE> in interface <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#findSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanDescription)">findSerializer</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</A></CODE></DL> 477</DD> 478<DD><DL> 479<DT><B>Parameters:</B><DD><CODE>config</CODE> - Serialization configuration in use<DD><CODE>type</CODE> - Fully resolved type of instances to serialize<DD><CODE>beanDesc</CODE> - Additional information about type 480<DT><B>Returns:</B><DD>Configured serializer to use for the type; or null if implementation 481 does not recognize or support type</DL> 482</DD> 483</DL> 484<HR> 485 486<A NAME="findArraySerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.ArrayType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)"><!-- --></A><H3> 487findArraySerializer</H3> 488<PRE> 489public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> <B>findArraySerializer</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 490 <A HREF="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type">ArrayType</A> type, 491 <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc, 492 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> elementTypeSerializer, 493 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><<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>> elementValueSerializer)</PRE> 494<DL> 495<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findArraySerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.ArrayType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">Serializers</A></CODE></B></DD> 496<DD>Method called by serialization framework first time a serializer is needed for 497 specified array type. 498 Implementation should return a serializer instance if it supports 499 specified type; or null if it does not. 500<P> 501<DD><DL> 502<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findArraySerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.ArrayType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">findArraySerializer</A></CODE> in interface <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#findArraySerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.ArrayType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">findArraySerializer</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</A></CODE></DL> 503</DD> 504<DD><DL> 505</DL> 506</DD> 507</DL> 508<HR> 509 510<A NAME="findCollectionSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.CollectionType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)"><!-- --></A><H3> 511findCollectionSerializer</H3> 512<PRE> 513public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> <B>findCollectionSerializer</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 514 <A HREF="../../../../../com/fasterxml/jackson/databind/type/CollectionType.html" title="class in com.fasterxml.jackson.databind.type">CollectionType</A> type, 515 <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc, 516 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> elementTypeSerializer, 517 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><<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>> elementValueSerializer)</PRE> 518<DL> 519<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findCollectionSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.CollectionType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">Serializers</A></CODE></B></DD> 520<DD>Method called by serialization framework first time a serializer is needed for 521 specified <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><CODE>Collection</CODE></A> type. 522 Implementation should return a serializer instance if it supports 523 specified type; or null if it does not. 524<P> 525<DD><DL> 526<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findCollectionSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.CollectionType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">findCollectionSerializer</A></CODE> in interface <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#findCollectionSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.CollectionType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">findCollectionSerializer</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</A></CODE></DL> 527</DD> 528<DD><DL> 529</DL> 530</DD> 531</DL> 532<HR> 533 534<A NAME="findCollectionLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.CollectionLikeType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)"><!-- --></A><H3> 535findCollectionLikeSerializer</H3> 536<PRE> 537public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> <B>findCollectionLikeSerializer</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 538 <A HREF="../../../../../com/fasterxml/jackson/databind/type/CollectionLikeType.html" title="class in com.fasterxml.jackson.databind.type">CollectionLikeType</A> type, 539 <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc, 540 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> elementTypeSerializer, 541 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><<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>> elementValueSerializer)</PRE> 542<DL> 543<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findCollectionLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.CollectionLikeType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">Serializers</A></CODE></B></DD> 544<DD>Method called by serialization framework first time a serializer is needed for 545 specified "Collection-like" type (type that acts like <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><CODE>Collection</CODE></A>, 546 but does not implement it). 547 Implementation should return a serializer instance if it supports 548 specified type; or null if it does not. 549<P> 550<DD><DL> 551<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findCollectionLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.CollectionLikeType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">findCollectionLikeSerializer</A></CODE> in interface <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#findCollectionLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.CollectionLikeType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">findCollectionLikeSerializer</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</A></CODE></DL> 552</DD> 553<DD><DL> 554</DL> 555</DD> 556</DL> 557<HR> 558 559<A NAME="findMapSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.MapType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)"><!-- --></A><H3> 560findMapSerializer</H3> 561<PRE> 562public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> <B>findMapSerializer</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 563 <A HREF="../../../../../com/fasterxml/jackson/databind/type/MapType.html" title="class in com.fasterxml.jackson.databind.type">MapType</A> type, 564 <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc, 565 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><<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>> keySerializer, 566 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> elementTypeSerializer, 567 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><<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>> elementValueSerializer)</PRE> 568<DL> 569<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findMapSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.MapType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">Serializers</A></CODE></B></DD> 570<DD>Method called by serialization framework first time a serializer is needed for 571 specified <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A> type. 572 Implementation should return a serializer instance if it supports 573 specified type; or null if it does not. 574<P> 575<DD><DL> 576<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findMapSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.MapType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">findMapSerializer</A></CODE> in interface <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#findMapSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.MapType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">findMapSerializer</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</A></CODE></DL> 577</DD> 578<DD><DL> 579</DL> 580</DD> 581</DL> 582<HR> 583 584<A NAME="findMapLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.MapLikeType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)"><!-- --></A><H3> 585findMapLikeSerializer</H3> 586<PRE> 587public <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> <B>findMapLikeSerializer</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 588 <A HREF="../../../../../com/fasterxml/jackson/databind/type/MapLikeType.html" title="class in com.fasterxml.jackson.databind.type">MapLikeType</A> type, 589 <A HREF="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</A> beanDesc, 590 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><<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>> keySerializer, 591 <A HREF="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</A> elementTypeSerializer, 592 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><<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>> elementValueSerializer)</PRE> 593<DL> 594<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findMapLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.MapLikeType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">Serializers</A></CODE></B></DD> 595<DD>Method called by serialization framework first time a serializer is needed for 596 specified "Map-like" type (type that acts like <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A>, 597 but does not implement it). 598 Implementation should return a serializer instance if it supports 599 specified type; or null if it does not. 600<P> 601<DD><DL> 602<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findMapLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.MapLikeType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">findMapLikeSerializer</A></CODE> in interface <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#findMapLikeSerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.type.MapLikeType, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.JsonSerializer)">findMapLikeSerializer</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</A></CODE></DL> 603</DD> 604<DD><DL> 605</DL> 606</DD> 607</DL> 608<HR> 609 610<A NAME="_findInterfaceMapping(java.lang.Class, com.fasterxml.jackson.databind.type.ClassKey)"><!-- --></A><H3> 611_findInterfaceMapping</H3> 612<PRE> 613protected <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> <B>_findInterfaceMapping</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><?> cls, 614 <A HREF="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</A> key)</PRE> 615<DL> 616<DD><DL> 617</DL> 618</DD> 619<DD><DL> 620</DL> 621</DD> 622</DL> 623<!-- ========= END OF CLASS DATA ========= --> 624<HR> 625 626 627<!-- ======= START OF BOTTOM NAVBAR ====== --> 628<A NAME="navbar_bottom"><!-- --></A> 629<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 630<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 631<TR> 632<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 633<A NAME="navbar_bottom_firstrow"><!-- --></A> 634<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 635 <TR ALIGN="center" VALIGN="top"> 636 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 637 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 638 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 639 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SimpleSerializers.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 640 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 641 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 642 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 643 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 644 </TR> 645</TABLE> 646</TD> 647<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 648</EM> 649</TD> 650</TR> 651 652<TR> 653<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 654 <A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module"><B>PREV CLASS</B></A> 655 <A HREF="../../../../../com/fasterxml/jackson/databind/module/SimpleValueInstantiators.html" title="class in com.fasterxml.jackson.databind.module"><B>NEXT CLASS</B></A></FONT></TD> 656<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 657 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/module/SimpleSerializers.html" target="_top"><B>FRAMES</B></A> 658 <A HREF="SimpleSerializers.html" target="_top"><B>NO FRAMES</B></A> 659 <SCRIPT type="text/javascript"> 660 <!-- 661 if(window==top) { 662 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 663 } 664 //--> 665</SCRIPT> 666<NOSCRIPT> 667 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 668</NOSCRIPT> 669 670 671</FONT></TD> 672</TR> 673<TR> 674<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 675 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 676<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 677DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 678</TR> 679</TABLE> 680<A NAME="skip-navbar_bottom"></A> 681<!-- ======== END OF BOTTOM NAVBAR ======= --> 682 683<HR> 684Copyright © 2012 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved. 685</BODY> 686</HTML> 687