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_29) on Mon Mar 26 19:07:17 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8DefaultSerializerProvider (jackson-databind 2.0.0 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2012-03-26"> 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="DefaultSerializerProvider (jackson-databind 2.0.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/DefaultSerializerProvider.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 49 </TR> 50</TABLE> 51</TD> 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 53</EM> 54</TD> 55</TR> 56 57<TR> 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 59 <A HREF="../../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><B>PREV CLASS</B></A> 60 <A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser"><B>NEXT CLASS</B></A></FONT></TD> 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 62 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="DefaultSerializerProvider.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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 82DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 83</TR> 84</TABLE> 85<A NAME="skip-navbar_top"></A> 86<!-- ========= END OF TOP NAVBAR ========= --> 87 88<HR> 89<!-- ======== START OF CLASS DATA ======== --> 90<H2> 91<FONT SIZE="-1"> 92com.fasterxml.jackson.databind.ser</FONT> 93<BR> 94Class DefaultSerializerProvider</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/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.SerializerProvider</A> 98 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.ser.DefaultSerializerProvider</B> 99</PRE> 100<DL> 101<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider.Impl</A></DD> 102</DL> 103<HR> 104<DL> 105<DT><PRE>public abstract class <B>DefaultSerializerProvider</B><DT>extends <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A></DL> 106</PRE> 107 108<P> 109Standard implementation used by <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A>: 110 adds methods only exposed to <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A>, 111 as well as constructors. 112<p> 113 Note that class is abstract just because it does not 114 define 115<P> 116 117<P> 118<HR> 119 120<P> 121<!-- ======== NESTED CLASS SUMMARY ======== --> 122 123<A NAME="nested_class_summary"><!-- --></A> 124<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 125<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 126<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 127<B>Nested Class Summary</B></FONT></TH> 128</TR> 129<TR BGCOLOR="white" CLASS="TableRowColor"> 130<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 131<CODE>static class</CODE></FONT></TD> 132<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider.Impl</A></B></CODE> 133 134<BR> 135 Concrete implementation that defines factory method(s), 136 defined as final.</TD> 137</TR> 138</TABLE> 139 <!-- =========== FIELD SUMMARY =========== --> 140 141<A NAME="field_summary"><!-- --></A> 142<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 143<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 144<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 145<B>Field Summary</B></FONT></TH> 146</TR> 147<TR BGCOLOR="white" CLASS="TableRowColor"> 148<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 149<CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A><com.fasterxml.jackson.annotation.ObjectIdGenerator<?>></CODE></FONT></TD> 150<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#_objectIdGenerators">_objectIdGenerators</A></B></CODE> 151 152<BR> 153 </TD> 154</TR> 155<TR BGCOLOR="white" CLASS="TableRowColor"> 156<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 157<CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true" title="class or interface in java.util">IdentityHashMap</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>,<A HREF="../../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</A>></CODE></FONT></TD> 158<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#_seenObjectIds">_seenObjectIds</A></B></CODE> 159 160<BR> 161 </TD> 162</TR> 163</TABLE> 164 <A NAME="fields_inherited_from_class_com.fasterxml.jackson.databind.SerializerProvider"><!-- --></A> 165<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 166<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 167<TH ALIGN="left"><B>Fields inherited from class com.fasterxml.jackson.databind.<A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A></B></TH> 168</TR> 169<TR BGCOLOR="white" CLASS="TableRowColor"> 170<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_config">_config</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_dateFormat">_dateFormat</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_keySerializer">_keySerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_knownSerializers">_knownSerializers</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_nullKeySerializer">_nullKeySerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_nullValueSerializer">_nullValueSerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_rootNames">_rootNames</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_serializationView">_serializationView</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_serializerCache">_serializerCache</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_serializerFactory">_serializerFactory</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_unknownTypeSerializer">_unknownTypeSerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#CACHE_UNKNOWN_MAPPINGS">CACHE_UNKNOWN_MAPPINGS</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#DEFAULT_NULL_KEY_SERIALIZER">DEFAULT_NULL_KEY_SERIALIZER</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#DEFAULT_UNKNOWN_SERIALIZER">DEFAULT_UNKNOWN_SERIALIZER</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#TYPE_OBJECT">TYPE_OBJECT</A></CODE></TD> 171</TR> 172</TABLE> 173 174<!-- ======== CONSTRUCTOR SUMMARY ======== --> 175 176<A NAME="constructor_summary"><!-- --></A> 177<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 178<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 179<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 180<B>Constructor Summary</B></FONT></TH> 181</TR> 182<TR BGCOLOR="white" CLASS="TableRowColor"> 183<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 184<CODE>protected </CODE></FONT></TD> 185<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#DefaultSerializerProvider()">DefaultSerializerProvider</A></B>()</CODE> 186 187<BR> 188 </TD> 189</TR> 190<TR BGCOLOR="white" CLASS="TableRowColor"> 191<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 192<CODE>protected </CODE></FONT></TD> 193<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#DefaultSerializerProvider(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)">DefaultSerializerProvider</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> src, 194 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 195 <A HREF="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</A> f)</CODE> 196 197<BR> 198 </TD> 199</TR> 200</TABLE> 201 202<!-- ========== METHOD SUMMARY =========== --> 203 204<A NAME="method_summary"><!-- --></A> 205<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 206<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 207<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 208<B>Method Summary</B></FONT></TH> 209</TR> 210<TR BGCOLOR="white" CLASS="TableRowColor"> 211<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 212<CODE> int</CODE></FONT></TD> 213<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#cachedSerializersCount()">cachedSerializersCount</A></B>()</CODE> 214 215<BR> 216 Method that can be used to determine how many serializers this 217 provider is caching currently 218 (if it does caching: default implementation does) 219 Exact count depends on what kind of serializers get cached; 220 default implementation caches all serializers, including ones that 221 are eagerly constructed (for optimal access speed)</TD> 222</TR> 223<TR BGCOLOR="white" CLASS="TableRowColor"> 224<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 225<CODE>abstract <A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</A></CODE></FONT></TD> 226<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#createInstance(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)">createInstance</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 227 <A HREF="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</A> jsf)</CODE> 228 229<BR> 230 Overridable method, used to create a non-blueprint instances from the blueprint.</TD> 231</TR> 232<TR BGCOLOR="white" CLASS="TableRowColor"> 233<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 234<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</A></CODE></FONT></TD> 235<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#findObjectId(java.lang.Object, com.fasterxml.jackson.annotation.ObjectIdGenerator)">findObjectId</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> forPojo, 236 com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generatorType)</CODE> 237 238<BR> 239 Method called to find the Object Id for given POJO, if one 240 has been generated.</TD> 241</TR> 242<TR BGCOLOR="white" CLASS="TableRowColor"> 243<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 244<CODE> void</CODE></FONT></TD> 245<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#flushCachedSerializers()">flushCachedSerializers</A></B>()</CODE> 246 247<BR> 248 Method that will drop all serializers currently cached by this provider.</TD> 249</TR> 250<TR BGCOLOR="white" CLASS="TableRowColor"> 251<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 252<CODE> <A HREF="../../../../../com/fasterxml/jackson/databind/jsonschema/JsonSchema.html" title="class in com.fasterxml.jackson.databind.jsonschema">JsonSchema</A></CODE></FONT></TD> 253<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#generateJsonSchema(java.lang.Class)">generateJsonSchema</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><?> type)</CODE> 254 255<BR> 256 The method to be called by <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A> and <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectWriter</CODE></A> 257 to generate <a href="http://json-schema.org/">JSON schema</a> for 258 given type.</TD> 259</TR> 260<TR BGCOLOR="white" CLASS="TableRowColor"> 261<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 262<CODE> boolean</CODE></FONT></TD> 263<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#hasSerializerFor(java.lang.Class)">hasSerializerFor</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)</CODE> 264 265<BR> 266 Method that can be called to see if this serializer provider 267 can find a serializer for an instance of given class.</TD> 268</TR> 269<TR BGCOLOR="white" CLASS="TableRowColor"> 270<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 271<CODE> com.fasterxml.jackson.annotation.ObjectIdGenerator<?></CODE></FONT></TD> 272<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#objectIdGeneratorInstance(com.fasterxml.jackson.databind.introspect.Annotated, com.fasterxml.jackson.databind.introspect.ObjectIdInfo)">objectIdGeneratorInstance</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</A> annotated, 273 <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/ObjectIdInfo.html" title="class in com.fasterxml.jackson.databind.introspect">ObjectIdInfo</A> objectIdInfo)</CODE> 274 275<BR> 276 </TD> 277</TR> 278<TR BGCOLOR="white" CLASS="TableRowColor"> 279<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 280<CODE> <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>></CODE></FONT></TD> 281<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated, java.lang.Object)">serializerInstance</A></B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</A> annotated, 282 <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> serDef)</CODE> 283 284<BR> 285 Method that can be called to construct and configure serializer instance, 286 either given a <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><CODE>Class</CODE></A> to instantiate (with default constructor), 287 or an uninitialized serializer instance.</TD> 288</TR> 289<TR BGCOLOR="white" CLASS="TableRowColor"> 290<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 291<CODE> void</CODE></FONT></TD> 292<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object)">serializeValue</A></B>(com.fasterxml.jackson.core.JsonGenerator jgen, 293 <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> value)</CODE> 294 295<BR> 296 The method to be called by <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A> and <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectWriter</CODE></A> 297 for serializing given value, using serializers that 298 this provider has access to (via caching and/or creating new serializers 299 as need be).</TD> 300</TR> 301<TR BGCOLOR="white" CLASS="TableRowColor"> 302<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 303<CODE> void</CODE></FONT></TD> 304<TD><CODE><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html#serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object, com.fasterxml.jackson.databind.JavaType)">serializeValue</A></B>(com.fasterxml.jackson.core.JsonGenerator jgen, 305 <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> value, 306 <A HREF="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> rootType)</CODE> 307 308<BR> 309 The method to be called by <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A> and <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectWriter</CODE></A> 310 for serializing given value (assumed to be of specified root type, 311 instead of runtime type of value), 312 using serializers that 313 this provider has access to (via caching and/or creating new serializers 314 as need be),</TD> 315</TR> 316</TABLE> 317 <A NAME="methods_inherited_from_class_com.fasterxml.jackson.databind.SerializerProvider"><!-- --></A> 318<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 319<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 320<TH ALIGN="left"><B>Methods inherited from class com.fasterxml.jackson.databind.<A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A></B></TH> 321</TR> 322<TR BGCOLOR="white" CLASS="TableRowColor"> 323<TD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_createAndCacheUntypedSerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)">_createAndCacheUntypedSerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_createAndCacheUntypedSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">_createAndCacheUntypedSerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_createUntypedSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">_createUntypedSerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_dateFormat()">_dateFormat</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_findExplicitUntypedSerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)">_findExplicitUntypedSerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_handleContextual(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)">_handleContextual</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_handleContextualResolvable(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)">_handleContextualResolvable</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_handleResolvable(com.fasterxml.jackson.databind.JsonSerializer)">_handleResolvable</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_reportIncompatibleRootType(java.lang.Object, com.fasterxml.jackson.databind.JavaType)">_reportIncompatibleRootType</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#canOverrideAccessModifiers()">canOverrideAccessModifiers</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#constructSpecializedType(com.fasterxml.jackson.databind.JavaType, java.lang.Class)">constructSpecializedType</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#constructType(java.lang.reflect.Type)">constructType</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateKey(java.util.Date, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateKey</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateKey(long, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateKey</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateValue(java.util.Date, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateValue(long, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeField(java.lang.String, java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeField</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeNull(com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeNull</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeValue(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeValue</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findKeySerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">findKeySerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findNullKeySerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">findNullKeySerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findNullValueSerializer(com.fasterxml.jackson.databind.BeanProperty)">findNullValueSerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypedValueSerializer(java.lang.Class, boolean, com.fasterxml.jackson.databind.BeanProperty)">findTypedValueSerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypedValueSerializer(com.fasterxml.jackson.databind.JavaType, boolean, com.fasterxml.jackson.databind.BeanProperty)">findTypedValueSerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)">findValueSerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">findValueSerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getAnnotationIntrospector()">getAnnotationIntrospector</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getConfig()">getConfig</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultNullKeySerializer()">getDefaultNullKeySerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultNullValueSerializer()">getDefaultNullValueSerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getFilterProvider()">getFilterProvider</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getLocale()">getLocale</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getSerializationView()">getSerializationView</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getTimeZone()">getTimeZone</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getTypeFactory()">getTypeFactory</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getUnknownTypeSerializer(java.lang.Class)">getUnknownTypeSerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#isEnabled(com.fasterxml.jackson.databind.MapperFeature)">isEnabled</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#isEnabled(com.fasterxml.jackson.databind.SerializationFeature)">isEnabled</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setDefaultKeySerializer(com.fasterxml.jackson.databind.JsonSerializer)">setDefaultKeySerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setNullKeySerializer(com.fasterxml.jackson.databind.JsonSerializer)">setNullKeySerializer</A>, <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setNullValueSerializer(com.fasterxml.jackson.databind.JsonSerializer)">setNullValueSerializer</A></CODE></TD> 324</TR> 325</TABLE> 326 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 327<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 328<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 329<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> 330</TR> 331<TR BGCOLOR="white" CLASS="TableRowColor"> 332<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> 333</TR> 334</TABLE> 335 336<P> 337 338<!-- ============ FIELD DETAIL =========== --> 339 340<A NAME="field_detail"><!-- --></A> 341<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 342<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 343<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 344<B>Field Detail</B></FONT></TH> 345</TR> 346</TABLE> 347 348<A NAME="_seenObjectIds"><!-- --></A><H3> 349_seenObjectIds</H3> 350<PRE> 351protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/IdentityHashMap.html?is-external=true" title="class or interface in java.util">IdentityHashMap</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>,<A HREF="../../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</A>> <B>_seenObjectIds</B></PRE> 352<DL> 353<DL> 354</DL> 355</DL> 356<HR> 357 358<A NAME="_objectIdGenerators"><!-- --></A><H3> 359_objectIdGenerators</H3> 360<PRE> 361protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A><com.fasterxml.jackson.annotation.ObjectIdGenerator<?>> <B>_objectIdGenerators</B></PRE> 362<DL> 363<DL> 364</DL> 365</DL> 366 367<!-- ========= CONSTRUCTOR DETAIL ======== --> 368 369<A NAME="constructor_detail"><!-- --></A> 370<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 371<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 372<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 373<B>Constructor Detail</B></FONT></TH> 374</TR> 375</TABLE> 376 377<A NAME="DefaultSerializerProvider()"><!-- --></A><H3> 378DefaultSerializerProvider</H3> 379<PRE> 380protected <B>DefaultSerializerProvider</B>()</PRE> 381<DL> 382</DL> 383<HR> 384 385<A NAME="DefaultSerializerProvider(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)"><!-- --></A><H3> 386DefaultSerializerProvider</H3> 387<PRE> 388protected <B>DefaultSerializerProvider</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> src, 389 <A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 390 <A HREF="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</A> f)</PRE> 391<DL> 392</DL> 393 394<!-- ============ METHOD DETAIL ========== --> 395 396<A NAME="method_detail"><!-- --></A> 397<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 398<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 399<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 400<B>Method Detail</B></FONT></TH> 401</TR> 402</TABLE> 403 404<A NAME="createInstance(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)"><!-- --></A><H3> 405createInstance</H3> 406<PRE> 407public abstract <A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</A> <B>createInstance</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 408 <A HREF="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</A> jsf)</PRE> 409<DL> 410<DD>Overridable method, used to create a non-blueprint instances from the blueprint. 411 This is needed to retain state during serialization. 412<P> 413<DD><DL> 414</DL> 415</DD> 416</DL> 417<HR> 418 419<A NAME="serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object)"><!-- --></A><H3> 420serializeValue</H3> 421<PRE> 422public void <B>serializeValue</B>(com.fasterxml.jackson.core.JsonGenerator jgen, 423 <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> value) 424 throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, 425 com.fasterxml.jackson.core.JsonGenerationException</PRE> 426<DL> 427<DD>The method to be called by <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A> and <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectWriter</CODE></A> 428 for serializing given value, using serializers that 429 this provider has access to (via caching and/or creating new serializers 430 as need be). 431<P> 432<DD><DL> 433 434<DT><B>Throws:</B> 435<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> 436<DD><CODE>com.fasterxml.jackson.core.JsonGenerationException</CODE></DL> 437</DD> 438</DL> 439<HR> 440 441<A NAME="serializeValue(com.fasterxml.jackson.core.JsonGenerator, java.lang.Object, com.fasterxml.jackson.databind.JavaType)"><!-- --></A><H3> 442serializeValue</H3> 443<PRE> 444public void <B>serializeValue</B>(com.fasterxml.jackson.core.JsonGenerator jgen, 445 <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> value, 446 <A HREF="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> rootType) 447 throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A>, 448 com.fasterxml.jackson.core.JsonGenerationException</PRE> 449<DL> 450<DD>The method to be called by <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A> and <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectWriter</CODE></A> 451 for serializing given value (assumed to be of specified root type, 452 instead of runtime type of value), 453 using serializers that 454 this provider has access to (via caching and/or creating new serializers 455 as need be), 456<P> 457<DD><DL> 458<DT><B>Parameters:</B><DD><CODE>rootType</CODE> - Type to use for locating serializer to use, instead of actual 459 runtime type. Must be actual type, or one of its super types 460<DT><B>Throws:</B> 461<DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> 462<DD><CODE>com.fasterxml.jackson.core.JsonGenerationException</CODE></DL> 463</DD> 464</DL> 465<HR> 466 467<A NAME="generateJsonSchema(java.lang.Class)"><!-- --></A><H3> 468generateJsonSchema</H3> 469<PRE> 470public <A HREF="../../../../../com/fasterxml/jackson/databind/jsonschema/JsonSchema.html" title="class in com.fasterxml.jackson.databind.jsonschema">JsonSchema</A> <B>generateJsonSchema</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><?> type) 471 throws <A HREF="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 472<DL> 473<DD>The method to be called by <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A> and <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectWriter</CODE></A> 474 to generate <a href="http://json-schema.org/">JSON schema</a> for 475 given type. 476<P> 477<DD><DL> 478<DT><B>Parameters:</B><DD><CODE>type</CODE> - The type for which to generate schema 479<DT><B>Throws:</B> 480<DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL> 481</DD> 482</DL> 483<HR> 484 485<A NAME="hasSerializerFor(java.lang.Class)"><!-- --></A><H3> 486hasSerializerFor</H3> 487<PRE> 488public boolean <B>hasSerializerFor</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)</PRE> 489<DL> 490<DD>Method that can be called to see if this serializer provider 491 can find a serializer for an instance of given class. 492<p> 493 Note that no Exceptions are thrown, including unchecked ones: 494 implementations are to swallow exceptions if necessary. 495<P> 496<DD><DL> 497</DL> 498</DD> 499</DL> 500<HR> 501 502<A NAME="cachedSerializersCount()"><!-- --></A><H3> 503cachedSerializersCount</H3> 504<PRE> 505public int <B>cachedSerializersCount</B>()</PRE> 506<DL> 507<DD>Method that can be used to determine how many serializers this 508 provider is caching currently 509 (if it does caching: default implementation does) 510 Exact count depends on what kind of serializers get cached; 511 default implementation caches all serializers, including ones that 512 are eagerly constructed (for optimal access speed) 513<p> 514 The main use case for this method is to allow conditional flushing of 515 serializer cache, if certain number of entries is reached. 516<P> 517<DD><DL> 518</DL> 519</DD> 520</DL> 521<HR> 522 523<A NAME="flushCachedSerializers()"><!-- --></A><H3> 524flushCachedSerializers</H3> 525<PRE> 526public void <B>flushCachedSerializers</B>()</PRE> 527<DL> 528<DD>Method that will drop all serializers currently cached by this provider. 529 This can be used to remove memory usage (in case some serializers are 530 only used once or so), or to force re-construction of serializers after 531 configuration changes for mapper than owns the provider. 532<P> 533<DD><DL> 534</DL> 535</DD> 536</DL> 537<HR> 538 539<A NAME="objectIdGeneratorInstance(com.fasterxml.jackson.databind.introspect.Annotated, com.fasterxml.jackson.databind.introspect.ObjectIdInfo)"><!-- --></A><H3> 540objectIdGeneratorInstance</H3> 541<PRE> 542public com.fasterxml.jackson.annotation.ObjectIdGenerator<?> <B>objectIdGeneratorInstance</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</A> annotated, 543 <A HREF="../../../../../com/fasterxml/jackson/databind/introspect/ObjectIdInfo.html" title="class in com.fasterxml.jackson.databind.introspect">ObjectIdInfo</A> objectIdInfo) 544 throws <A HREF="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 545<DL> 546<DD><DL> 547<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#objectIdGeneratorInstance(com.fasterxml.jackson.databind.introspect.Annotated, com.fasterxml.jackson.databind.introspect.ObjectIdInfo)">objectIdGeneratorInstance</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A></CODE></DL> 548</DD> 549<DD><DL> 550 551<DT><B>Throws:</B> 552<DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL> 553</DD> 554</DL> 555<HR> 556 557<A NAME="findObjectId(java.lang.Object, com.fasterxml.jackson.annotation.ObjectIdGenerator)"><!-- --></A><H3> 558findObjectId</H3> 559<PRE> 560public <A HREF="../../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</A> <B>findObjectId</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> forPojo, 561 com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generatorType)</PRE> 562<DL> 563<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findObjectId(java.lang.Object, com.fasterxml.jackson.annotation.ObjectIdGenerator)">SerializerProvider</A></CODE></B></DD> 564<DD>Method called to find the Object Id for given POJO, if one 565 has been generated. Will always return a non-null Object; 566 contents vary depending on whether an Object Id already 567 exists or not. 568<P> 569<DD><DL> 570<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findObjectId(java.lang.Object, com.fasterxml.jackson.annotation.ObjectIdGenerator)">findObjectId</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A></CODE></DL> 571</DD> 572<DD><DL> 573</DL> 574</DD> 575</DL> 576<HR> 577 578<A NAME="serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated, java.lang.Object)"><!-- --></A><H3> 579serializerInstance</H3> 580<PRE> 581public <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>> <B>serializerInstance</B>(<A HREF="../../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</A> annotated, 582 <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> serDef) 583 throws <A HREF="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 584<DL> 585<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated, java.lang.Object)">SerializerProvider</A></CODE></B></DD> 586<DD>Method that can be called to construct and configure serializer instance, 587 either given a <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><CODE>Class</CODE></A> to instantiate (with default constructor), 588 or an uninitialized serializer instance. 589 Either way, serialize will be properly resolved 590 (via <A HREF="../../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><CODE>ResolvableSerializer</CODE></A>) and/or contextualized 591 (via <A HREF="../../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><CODE>ContextualSerializer</CODE></A>) as necessary. 592<P> 593<DD><DL> 594<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html#serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated, java.lang.Object)">serializerInstance</A></CODE> in class <CODE><A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A></CODE></DL> 595</DD> 596<DD><DL> 597<DT><B>Parameters:</B><DD><CODE>annotated</CODE> - Annotated entity that contained definition<DD><CODE>serDef</CODE> - Serializer definition: either an instance or class 598<DT><B>Throws:</B> 599<DD><CODE><A HREF="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL> 600</DD> 601</DL> 602<!-- ========= END OF CLASS DATA ========= --> 603<HR> 604 605 606<!-- ======= START OF BOTTOM NAVBAR ====== --> 607<A NAME="navbar_bottom"><!-- --></A> 608<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 609<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 610<TR> 611<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 612<A NAME="navbar_bottom_firstrow"><!-- --></A> 613<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 614 <TR ALIGN="center" VALIGN="top"> 615 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 616 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 617 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 618 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DefaultSerializerProvider.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 619 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 620 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 621 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 622 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 623 </TR> 624</TABLE> 625</TD> 626<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 627</EM> 628</TD> 629</TR> 630 631<TR> 632<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 633 <A HREF="../../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><B>PREV CLASS</B></A> 634 <A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser"><B>NEXT CLASS</B></A></FONT></TD> 635<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 636 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" target="_top"><B>FRAMES</B></A> 637 <A HREF="DefaultSerializerProvider.html" target="_top"><B>NO FRAMES</B></A> 638 <SCRIPT type="text/javascript"> 639 <!-- 640 if(window==top) { 641 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 642 } 643 //--> 644</SCRIPT> 645<NOSCRIPT> 646 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 647</NOSCRIPT> 648 649 650</FONT></TD> 651</TR> 652<TR> 653<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 654 SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 655<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 656DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 657</TR> 658</TABLE> 659<A NAME="skip-navbar_bottom"></A> 660<!-- ======== END OF BOTTOM NAVBAR ======= --> 661 662<HR> 663Copyright © 2012 <a href="http://fasterxml.com">fasterxml.com</a>. All Rights Reserved. 664</BODY> 665</HTML> 666