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:09 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8SerializerProvider (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="SerializerProvider (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/SerializerProvider.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/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind"><B>PREV CLASS</B></A> 60 NEXT CLASS</FONT></TD> 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 62 <A HREF="../../../../index.html?com/fasterxml/jackson/databind/SerializerProvider.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="SerializerProvider.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</FONT> 93<BR> 94Class SerializerProvider</H2> 95<PRE> 96<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> 97 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.SerializerProvider</B> 98</PRE> 99<DL> 100<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</A></DD> 101</DL> 102<HR> 103<DL> 104<DT><PRE>public abstract class <B>SerializerProvider</B><DT>extends <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL> 105</PRE> 106 107<P> 108Class that defines API used by <A HREF="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A> and 109 <A HREF="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><CODE>JsonSerializer</CODE></A>s to obtain serializers capable of serializing 110 instances of specific types; as well as the default implementation 111 of the functionality. 112<p> 113 Provider handles caching aspects of serializer handling; all construction 114 details are delegated to <A HREF="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><CODE>SerializerFactory</CODE></A> instance. 115<p> 116 Object life-cycle is such that an initial instance ("blueprint") is created 117 and referenced 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> intances; 118 but for actual usage, a configured instance is created by using 119 a create method in sub-class 120 <A HREF="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser"><CODE>DefaultSerializerProvider</CODE></A>. 121 Only this instance can be used for actual serialization calls; blueprint 122 object is only to be used for creating instances. 123<P> 124 125<P> 126<HR> 127 128<P> 129<!-- =========== FIELD SUMMARY =========== --> 130 131<A NAME="field_summary"><!-- --></A> 132<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 133<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 134<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 135<B>Field Summary</B></FONT></TH> 136</TR> 137<TR BGCOLOR="white" CLASS="TableRowColor"> 138<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 139<CODE>protected <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A></CODE></FONT></TD> 140<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_config">_config</A></B></CODE> 141 142<BR> 143 Serialization configuration to use for serialization processing.</TD> 144</TR> 145<TR BGCOLOR="white" CLASS="TableRowColor"> 146<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 147<CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</A></CODE></FONT></TD> 148<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_dateFormat">_dateFormat</A></B></CODE> 149 150<BR> 151 Lazily acquired and instantiated formatter object: initialized 152 first time it is needed, reused afterwards.</TD> 153</TR> 154<TR BGCOLOR="white" CLASS="TableRowColor"> 155<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 156<CODE>protected <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> 157<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_keySerializer">_keySerializer</A></B></CODE> 158 159<BR> 160 Serializer used to output non-null keys of Maps (which will get 161 output as JSON Objects), if not null; if null, us the standard 162 default key serializer.</TD> 163</TR> 164<TR BGCOLOR="white" CLASS="TableRowColor"> 165<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 166<CODE>protected <A HREF="../../../../com/fasterxml/jackson/databind/ser/impl/ReadOnlyClassToSerializerMap.html" title="class in com.fasterxml.jackson.databind.ser.impl">ReadOnlyClassToSerializerMap</A></CODE></FONT></TD> 167<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_knownSerializers">_knownSerializers</A></B></CODE> 168 169<BR> 170 For fast lookups, we will have a local non-shared read-only 171 map that contains serializers previously fetched.</TD> 172</TR> 173<TR BGCOLOR="white" CLASS="TableRowColor"> 174<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 175<CODE>protected <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> 176<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_nullKeySerializer">_nullKeySerializer</A></B></CODE> 177 178<BR> 179 Serializer used to (try to) output a null key, due to an entry of 180 <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> having null key.</TD> 181</TR> 182<TR BGCOLOR="white" CLASS="TableRowColor"> 183<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 184<CODE>protected <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> 185<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_nullValueSerializer">_nullValueSerializer</A></B></CODE> 186 187<BR> 188 Serializer used to output a null value.</TD> 189</TR> 190<TR BGCOLOR="white" CLASS="TableRowColor"> 191<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 192<CODE>protected <A HREF="../../../../com/fasterxml/jackson/databind/util/RootNameLookup.html" title="class in com.fasterxml.jackson.databind.util">RootNameLookup</A></CODE></FONT></TD> 193<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_rootNames">_rootNames</A></B></CODE> 194 195<BR> 196 Helper object for keeping track of introspected root names</TD> 197</TR> 198<TR BGCOLOR="white" CLASS="TableRowColor"> 199<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 200<CODE>protected <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><?></CODE></FONT></TD> 201<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_serializationView">_serializationView</A></B></CODE> 202 203<BR> 204 View used for currently active serialization, if any.</TD> 205</TR> 206<TR BGCOLOR="white" CLASS="TableRowColor"> 207<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 208<CODE>protected <A HREF="../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html" title="class in com.fasterxml.jackson.databind.ser">SerializerCache</A></CODE></FONT></TD> 209<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_serializerCache">_serializerCache</A></B></CODE> 210 211<BR> 212 Cache for doing type-to-value-serializer lookups.</TD> 213</TR> 214<TR BGCOLOR="white" CLASS="TableRowColor"> 215<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 216<CODE>protected <A HREF="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</A></CODE></FONT></TD> 217<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_serializerFactory">_serializerFactory</A></B></CODE> 218 219<BR> 220 Factory used for constructing actual serializer instances.</TD> 221</TR> 222<TR BGCOLOR="white" CLASS="TableRowColor"> 223<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 224<CODE>protected <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> 225<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_unknownTypeSerializer">_unknownTypeSerializer</A></B></CODE> 226 227<BR> 228 Serializer that gets called for values of types for which no 229 serializers can be constructed.</TD> 230</TR> 231<TR BGCOLOR="white" CLASS="TableRowColor"> 232<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 233<CODE>protected static boolean</CODE></FONT></TD> 234<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#CACHE_UNKNOWN_MAPPINGS">CACHE_UNKNOWN_MAPPINGS</A></B></CODE> 235 236<BR> 237 Setting for determining whether mappings for "unknown classes" should be 238 cached for faster resolution.</TD> 239</TR> 240<TR BGCOLOR="white" CLASS="TableRowColor"> 241<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 242<CODE>static <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> 243<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#DEFAULT_NULL_KEY_SERIALIZER">DEFAULT_NULL_KEY_SERIALIZER</A></B></CODE> 244 245<BR> 246 </TD> 247</TR> 248<TR BGCOLOR="white" CLASS="TableRowColor"> 249<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 250<CODE>static <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> 251<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#DEFAULT_UNKNOWN_SERIALIZER">DEFAULT_UNKNOWN_SERIALIZER</A></B></CODE> 252 253<BR> 254 </TD> 255</TR> 256<TR BGCOLOR="white" CLASS="TableRowColor"> 257<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 258<CODE>protected static <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A></CODE></FONT></TD> 259<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#TYPE_OBJECT">TYPE_OBJECT</A></B></CODE> 260 261<BR> 262 </TD> 263</TR> 264</TABLE> 265 266<!-- ======== CONSTRUCTOR SUMMARY ======== --> 267 268<A NAME="constructor_summary"><!-- --></A> 269<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 270<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 271<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 272<B>Constructor Summary</B></FONT></TH> 273</TR> 274<TR BGCOLOR="white" CLASS="TableRowColor"> 275<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 276<CODE> </CODE></FONT></TD> 277<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#SerializerProvider()">SerializerProvider</A></B>()</CODE> 278 279<BR> 280 Constructor for creating master (or "blue-print") provider object, 281 which is only used as the template for constructing per-binding 282 instances.</TD> 283</TR> 284<TR BGCOLOR="white" CLASS="TableRowColor"> 285<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 286<CODE>protected </CODE></FONT></TD> 287<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#SerializerProvider(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)">SerializerProvider</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> src, 288 <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/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</A> f)</CODE> 290 291<BR> 292 "Copy-constructor", used by sub-classes.</TD> 293</TR> 294</TABLE> 295 296<!-- ========== METHOD SUMMARY =========== --> 297 298<A NAME="method_summary"><!-- --></A> 299<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 300<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 301<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 302<B>Method Summary</B></FONT></TH> 303</TR> 304<TR BGCOLOR="white" CLASS="TableRowColor"> 305<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 306<CODE>protected <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> 307<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_createAndCacheUntypedSerializer(java.lang.Class)">_createAndCacheUntypedSerializer</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> 308 309<BR> 310 Method that will try to construct a value serializer; and if 311 one is successfully created, cache it for reuse.</TD> 312</TR> 313<TR BGCOLOR="white" CLASS="TableRowColor"> 314<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 315<CODE>protected <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> 316<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_createAndCacheUntypedSerializer(com.fasterxml.jackson.databind.JavaType)">_createAndCacheUntypedSerializer</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> type)</CODE> 317 318<BR> 319 </TD> 320</TR> 321<TR BGCOLOR="white" CLASS="TableRowColor"> 322<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 323<CODE>protected <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> 324<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_createUntypedSerializer(com.fasterxml.jackson.databind.JavaType)">_createUntypedSerializer</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> type)</CODE> 325 326<BR> 327 </TD> 328</TR> 329<TR BGCOLOR="white" CLASS="TableRowColor"> 330<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 331<CODE>protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</A></CODE></FONT></TD> 332<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_dateFormat()">_dateFormat</A></B>()</CODE> 333 334<BR> 335 </TD> 336</TR> 337<TR BGCOLOR="white" CLASS="TableRowColor"> 338<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 339<CODE>protected <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> 340<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_findExplicitUntypedSerializer(java.lang.Class)">_findExplicitUntypedSerializer</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><?> runtimeType)</CODE> 341 342<BR> 343 Method that will try to find a serializer, either from cache 344 or by constructing one; but will not return an "unknown" serializer 345 if this can not be done but rather returns null.</TD> 346</TR> 347<TR BGCOLOR="white" CLASS="TableRowColor"> 348<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 349<CODE>protected <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> 350<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_handleContextual(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)">_handleContextual</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> ser, 351 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property)</CODE> 352 353<BR> 354 </TD> 355</TR> 356<TR BGCOLOR="white" CLASS="TableRowColor"> 357<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 358<CODE>protected <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> 359<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_handleContextualResolvable(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)">_handleContextualResolvable</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> ser, 360 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property)</CODE> 361 362<BR> 363 Helper method called to resolve and contextualize given 364 serializer, if and as necessary.</TD> 365</TR> 366<TR BGCOLOR="white" CLASS="TableRowColor"> 367<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 368<CODE>protected <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> 369<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_handleResolvable(com.fasterxml.jackson.databind.JsonSerializer)">_handleResolvable</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> ser)</CODE> 370 371<BR> 372 </TD> 373</TR> 374<TR BGCOLOR="white" CLASS="TableRowColor"> 375<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 376<CODE>protected void</CODE></FONT></TD> 377<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#_reportIncompatibleRootType(java.lang.Object, com.fasterxml.jackson.databind.JavaType)">_reportIncompatibleRootType</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> value, 378 <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> rootType)</CODE> 379 380<BR> 381 </TD> 382</TR> 383<TR BGCOLOR="white" CLASS="TableRowColor"> 384<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 385<CODE> boolean</CODE></FONT></TD> 386<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#canOverrideAccessModifiers()">canOverrideAccessModifiers</A></B>()</CODE> 387 388<BR> 389 Convenience method for accessing serialization view in use (if any); equivalent to:</TD> 390</TR> 391<TR BGCOLOR="white" CLASS="TableRowColor"> 392<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 393<CODE> <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A></CODE></FONT></TD> 394<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#constructSpecializedType(com.fasterxml.jackson.databind.JavaType, java.lang.Class)">constructSpecializedType</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> baseType, 395 <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><?> subclass)</CODE> 396 397<BR> 398 Convenience method for constructing subtypes, retaining generic 399 type parameter (if any)</TD> 400</TR> 401<TR BGCOLOR="white" CLASS="TableRowColor"> 402<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 403<CODE> <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A></CODE></FONT></TD> 404<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#constructType(java.lang.reflect.Type)">constructType</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> type)</CODE> 405 406<BR> 407 Convenience method for constructing <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind"><CODE>JavaType</CODE></A> for given JDK 408 type (usually <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>)</TD> 409</TR> 410<TR BGCOLOR="white" CLASS="TableRowColor"> 411<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 412<CODE> void</CODE></FONT></TD> 413<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateKey(java.util.Date, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateKey</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> date, 414 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jgen)</CODE> 415 416<BR> 417 Method that will handle serialization of Dates used as <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> keys, 418 based on <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><CODE>SerializationFeature.WRITE_DATE_KEYS_AS_TIMESTAMPS</CODE></A> 419 value (and if using textual representation, configured date format)</TD> 420</TR> 421<TR BGCOLOR="white" CLASS="TableRowColor"> 422<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 423<CODE> void</CODE></FONT></TD> 424<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateKey(long, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateKey</A></B>(long timestamp, 425 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jgen)</CODE> 426 427<BR> 428 Method that will handle serialization of Dates used as <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> keys, 429 based on <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><CODE>SerializationFeature.WRITE_DATE_KEYS_AS_TIMESTAMPS</CODE></A> 430 value (and if using textual representation, configured date format)</TD> 431</TR> 432<TR BGCOLOR="white" CLASS="TableRowColor"> 433<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 434<CODE> void</CODE></FONT></TD> 435<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateValue(java.util.Date, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateValue</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> date, 436 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jgen)</CODE> 437 438<BR> 439 Method that will handle serialization of Date(-like) values, using 440 <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><CODE>SerializationConfig</CODE></A> settings to determine expected serialization 441 behavior.</TD> 442</TR> 443<TR BGCOLOR="white" CLASS="TableRowColor"> 444<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 445<CODE> void</CODE></FONT></TD> 446<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateValue(long, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeDateValue</A></B>(long timestamp, 447 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jgen)</CODE> 448 449<BR> 450 Method that will handle serialization of Date(-like) values, using 451 <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><CODE>SerializationConfig</CODE></A> settings to determine expected serialization 452 behavior.</TD> 453</TR> 454<TR BGCOLOR="white" CLASS="TableRowColor"> 455<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 456<CODE> void</CODE></FONT></TD> 457<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeField(java.lang.String, java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeField</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName, 458 <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, 459 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jgen)</CODE> 460 461<BR> 462 Convenience method that will serialize given field with specified 463 value.</TD> 464</TR> 465<TR BGCOLOR="white" CLASS="TableRowColor"> 466<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 467<CODE> void</CODE></FONT></TD> 468<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeNull(com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeNull</A></B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jgen)</CODE> 469 470<BR> 471 </TD> 472</TR> 473<TR BGCOLOR="white" CLASS="TableRowColor"> 474<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 475<CODE> void</CODE></FONT></TD> 476<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeValue(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)">defaultSerializeValue</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> value, 477 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jgen)</CODE> 478 479<BR> 480 Convenience method that will serialize given value (which can be 481 null) using standard serializer locating functionality.</TD> 482</TR> 483<TR BGCOLOR="white" CLASS="TableRowColor"> 484<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 485<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> 486<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findKeySerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">findKeySerializer</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> keyType, 487 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property)</CODE> 488 489<BR> 490 Method called to get the serializer to use for serializing 491 non-null Map keys.</TD> 492</TR> 493<TR BGCOLOR="white" CLASS="TableRowColor"> 494<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 495<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> 496<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findNullKeySerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">findNullKeySerializer</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> serializationType, 497 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property)</CODE> 498 499<BR> 500 Method called to find a serializer to use for null values for given 501 declared type.</TD> 502</TR> 503<TR BGCOLOR="white" CLASS="TableRowColor"> 504<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 505<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> 506<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findNullValueSerializer(com.fasterxml.jackson.databind.BeanProperty)">findNullValueSerializer</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property)</CODE> 507 508<BR> 509 Method called to get the serializer to use for serializing null 510 property values.</TD> 511</TR> 512<TR BGCOLOR="white" CLASS="TableRowColor"> 513<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 514<CODE>abstract <A HREF="../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</A></CODE></FONT></TD> 515<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.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, 516 <A HREF="http://fasterxml.github.com/jackson-annotations/javadoc/2.1.0/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</A><?> generatorType)</CODE> 517 518<BR> 519 Method called to find the Object Id for given POJO, if one 520 has been generated.</TD> 521</TR> 522<TR BGCOLOR="white" CLASS="TableRowColor"> 523<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 524<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> 525<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypedValueSerializer(java.lang.Class, boolean, com.fasterxml.jackson.databind.BeanProperty)">findTypedValueSerializer</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><?> valueType, 526 boolean cache, 527 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property)</CODE> 528 529<BR> 530 Method called to locate regular serializer, matching type serializer, 531 and if both found, wrap them in a serializer that calls both in correct 532 sequence.</TD> 533</TR> 534<TR BGCOLOR="white" CLASS="TableRowColor"> 535<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 536<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> 537<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypedValueSerializer(com.fasterxml.jackson.databind.JavaType, boolean, com.fasterxml.jackson.databind.BeanProperty)">findTypedValueSerializer</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> valueType, 538 boolean cache, 539 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property)</CODE> 540 541<BR> 542 Method called to locate regular serializer, matching type serializer, 543 and if both found, wrap them in a serializer that calls both in correct 544 sequence.</TD> 545</TR> 546<TR BGCOLOR="white" CLASS="TableRowColor"> 547<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 548<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> 549<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)">findValueSerializer</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><?> valueType, 550 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property)</CODE> 551 552<BR> 553 Method called to get hold of a serializer for a value of given type; 554 or if no such serializer can be found, a default handler (which 555 may do a best-effort generic serialization or just simply 556 throw an exception when invoked).</TD> 557</TR> 558<TR BGCOLOR="white" CLASS="TableRowColor"> 559<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 560<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> 561<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)">findValueSerializer</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> valueType, 562 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property)</CODE> 563 564<BR> 565 Similar to <A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)"><CODE>findValueSerializer(Class,BeanProperty)</CODE></A>, but takes 566 full generics-aware type instead of raw class.</TD> 567</TR> 568<TR BGCOLOR="white" CLASS="TableRowColor"> 569<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 570<CODE> <A HREF="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</A></CODE></FONT></TD> 571<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getAnnotationIntrospector()">getAnnotationIntrospector</A></B>()</CODE> 572 573<BR> 574 Convenience method for accessing serialization view in use (if any); equivalent to:</TD> 575</TR> 576<TR BGCOLOR="white" CLASS="TableRowColor"> 577<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 578<CODE> <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A></CODE></FONT></TD> 579<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getConfig()">getConfig</A></B>()</CODE> 580 581<BR> 582 Method for accessing configuration for the serialization processing.</TD> 583</TR> 584<TR BGCOLOR="white" CLASS="TableRowColor"> 585<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 586<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> 587<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultNullKeySerializer()">getDefaultNullKeySerializer</A></B>()</CODE> 588 589<BR> 590 </TD> 591</TR> 592<TR BGCOLOR="white" CLASS="TableRowColor"> 593<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 594<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> 595<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultNullValueSerializer()">getDefaultNullValueSerializer</A></B>()</CODE> 596 597<BR> 598 </TD> 599</TR> 600<TR BGCOLOR="white" CLASS="TableRowColor"> 601<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 602<CODE> <A HREF="../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</A></CODE></FONT></TD> 603<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getFilterProvider()">getFilterProvider</A></B>()</CODE> 604 605<BR> 606 Convenience method for accessing provider to find serialization filters used, 607 equivalent to calling:</TD> 608</TR> 609<TR BGCOLOR="white" CLASS="TableRowColor"> 610<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 611<CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A></CODE></FONT></TD> 612<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getLocale()">getLocale</A></B>()</CODE> 613 614<BR> 615 Method for accessing default Locale to use: convenience method for</TD> 616</TR> 617<TR BGCOLOR="white" CLASS="TableRowColor"> 618<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 619<CODE> <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><?></CODE></FONT></TD> 620<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getSerializationView()">getSerializationView</A></B>()</CODE> 621 622<BR> 623 Convenience method for accessing serialization view in use (if any); equivalent to:</TD> 624</TR> 625<TR BGCOLOR="white" CLASS="TableRowColor"> 626<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 627<CODE> <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</A></CODE></FONT></TD> 628<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getTimeZone()">getTimeZone</A></B>()</CODE> 629 630<BR> 631 Method for accessing default TimeZone to use: convenience method for</TD> 632</TR> 633<TR BGCOLOR="white" CLASS="TableRowColor"> 634<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 635<CODE> <A HREF="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</A></CODE></FONT></TD> 636<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getTypeFactory()">getTypeFactory</A></B>()</CODE> 637 638<BR> 639 </TD> 640</TR> 641<TR BGCOLOR="white" CLASS="TableRowColor"> 642<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 643<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> 644<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getUnknownTypeSerializer(java.lang.Class)">getUnknownTypeSerializer</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><?> unknownType)</CODE> 645 646<BR> 647 Method called to get the serializer to use if provider 648 can not determine an actual type-specific serializer 649 to use; typically when none of <A HREF="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><CODE>SerializerFactory</CODE></A> 650 instances are able to construct a serializer.</TD> 651</TR> 652<TR BGCOLOR="white" CLASS="TableRowColor"> 653<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 654<CODE> boolean</CODE></FONT></TD> 655<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#isEnabled(com.fasterxml.jackson.databind.MapperFeature)">isEnabled</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A> feature)</CODE> 656 657<BR> 658 Convenience method for checking whether specified serialization 659 feature is enabled or not.</TD> 660</TR> 661<TR BGCOLOR="white" CLASS="TableRowColor"> 662<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 663<CODE> boolean</CODE></FONT></TD> 664<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#isEnabled(com.fasterxml.jackson.databind.SerializationFeature)">isEnabled</A></B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> feature)</CODE> 665 666<BR> 667 Convenience method for checking whether specified serialization 668 feature is enabled or not.</TD> 669</TR> 670<TR BGCOLOR="white" CLASS="TableRowColor"> 671<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 672<CODE>abstract <A HREF="http://fasterxml.github.com/jackson-annotations/javadoc/2.1.0/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</A><?></CODE></FONT></TD> 673<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.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, 674 <A HREF="../../../../com/fasterxml/jackson/databind/introspect/ObjectIdInfo.html" title="class in com.fasterxml.jackson.databind.introspect">ObjectIdInfo</A> objectIdInfo)</CODE> 675 676<BR> 677 </TD> 678</TR> 679<TR BGCOLOR="white" CLASS="TableRowColor"> 680<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 681<CODE>abstract <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> 682<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.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, 683 <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> 684 685<BR> 686 Method that can be called to construct and configure serializer instance, 687 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), 688 or an uninitialized serializer instance.</TD> 689</TR> 690<TR BGCOLOR="white" CLASS="TableRowColor"> 691<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 692<CODE> void</CODE></FONT></TD> 693<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setDefaultKeySerializer(com.fasterxml.jackson.databind.JsonSerializer)">setDefaultKeySerializer</A></B>(<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>> ks)</CODE> 694 695<BR> 696 Method that can be used to specify serializer that will be 697 used to write JSON property names matching null keys for Java 698 Maps (which will throw an exception if try write such property 699 name)</TD> 700</TR> 701<TR BGCOLOR="white" CLASS="TableRowColor"> 702<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 703<CODE> void</CODE></FONT></TD> 704<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setNullKeySerializer(com.fasterxml.jackson.databind.JsonSerializer)">setNullKeySerializer</A></B>(<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>> nks)</CODE> 705 706<BR> 707 Method that can be used to specify serializer to use for serializing 708 all non-null JSON property names, unless more specific key serializer 709 is found (i.e.</TD> 710</TR> 711<TR BGCOLOR="white" CLASS="TableRowColor"> 712<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 713<CODE> void</CODE></FONT></TD> 714<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setNullValueSerializer(com.fasterxml.jackson.databind.JsonSerializer)">setNullValueSerializer</A></B>(<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>> nvs)</CODE> 715 716<BR> 717 Method that can be used to specify serializer that will be 718 used to write JSON values matching Java null values 719 instead of default one (which simply writes JSON null)</TD> 720</TR> 721</TABLE> 722 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 723<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 724<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 725<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> 726</TR> 727<TR BGCOLOR="white" CLASS="TableRowColor"> 728<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> 729</TR> 730</TABLE> 731 732<P> 733 734<!-- ============ FIELD DETAIL =========== --> 735 736<A NAME="field_detail"><!-- --></A> 737<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 738<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 739<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 740<B>Field Detail</B></FONT></TH> 741</TR> 742</TABLE> 743 744<A NAME="TYPE_OBJECT"><!-- --></A><H3> 745TYPE_OBJECT</H3> 746<PRE> 747protected static final <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> <B>TYPE_OBJECT</B></PRE> 748<DL> 749<DL> 750</DL> 751</DL> 752<HR> 753 754<A NAME="CACHE_UNKNOWN_MAPPINGS"><!-- --></A><H3> 755CACHE_UNKNOWN_MAPPINGS</H3> 756<PRE> 757protected static final boolean <B>CACHE_UNKNOWN_MAPPINGS</B></PRE> 758<DL> 759<DD>Setting for determining whether mappings for "unknown classes" should be 760 cached for faster resolution. Usually this isn't needed, but maybe it 761 is in some cases? 762<P> 763<DL> 764<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.fasterxml.jackson.databind.SerializerProvider.CACHE_UNKNOWN_MAPPINGS">Constant Field Values</A></DL> 765</DL> 766<HR> 767 768<A NAME="DEFAULT_NULL_KEY_SERIALIZER"><!-- --></A><H3> 769DEFAULT_NULL_KEY_SERIALIZER</H3> 770<PRE> 771public static final <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>DEFAULT_NULL_KEY_SERIALIZER</B></PRE> 772<DL> 773<DL> 774</DL> 775</DL> 776<HR> 777 778<A NAME="DEFAULT_UNKNOWN_SERIALIZER"><!-- --></A><H3> 779DEFAULT_UNKNOWN_SERIALIZER</H3> 780<PRE> 781public static final <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>DEFAULT_UNKNOWN_SERIALIZER</B></PRE> 782<DL> 783<DL> 784</DL> 785</DL> 786<HR> 787 788<A NAME="_config"><!-- --></A><H3> 789_config</H3> 790<PRE> 791protected final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> <B>_config</B></PRE> 792<DL> 793<DD>Serialization configuration to use for serialization processing. 794<P> 795<DL> 796</DL> 797</DL> 798<HR> 799 800<A NAME="_serializationView"><!-- --></A><H3> 801_serializationView</H3> 802<PRE> 803protected final <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><?> <B>_serializationView</B></PRE> 804<DL> 805<DD>View used for currently active serialization, if any. 806<P> 807<DL> 808</DL> 809</DL> 810<HR> 811 812<A NAME="_serializerFactory"><!-- --></A><H3> 813_serializerFactory</H3> 814<PRE> 815protected final <A HREF="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</A> <B>_serializerFactory</B></PRE> 816<DL> 817<DD>Factory used for constructing actual serializer instances. 818<P> 819<DL> 820</DL> 821</DL> 822<HR> 823 824<A NAME="_serializerCache"><!-- --></A><H3> 825_serializerCache</H3> 826<PRE> 827protected final <A HREF="../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html" title="class in com.fasterxml.jackson.databind.ser">SerializerCache</A> <B>_serializerCache</B></PRE> 828<DL> 829<DD>Cache for doing type-to-value-serializer lookups. 830<P> 831<DL> 832</DL> 833</DL> 834<HR> 835 836<A NAME="_rootNames"><!-- --></A><H3> 837_rootNames</H3> 838<PRE> 839protected final <A HREF="../../../../com/fasterxml/jackson/databind/util/RootNameLookup.html" title="class in com.fasterxml.jackson.databind.util">RootNameLookup</A> <B>_rootNames</B></PRE> 840<DL> 841<DD>Helper object for keeping track of introspected root names 842<P> 843<DL> 844</DL> 845</DL> 846<HR> 847 848<A NAME="_unknownTypeSerializer"><!-- --></A><H3> 849_unknownTypeSerializer</H3> 850<PRE> 851protected <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>_unknownTypeSerializer</B></PRE> 852<DL> 853<DD>Serializer that gets called for values of types for which no 854 serializers can be constructed. 855<p> 856 The default serializer will simply thrown an exception. 857<P> 858<DL> 859</DL> 860</DL> 861<HR> 862 863<A NAME="_keySerializer"><!-- --></A><H3> 864_keySerializer</H3> 865<PRE> 866protected <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>_keySerializer</B></PRE> 867<DL> 868<DD>Serializer used to output non-null keys of Maps (which will get 869 output as JSON Objects), if not null; if null, us the standard 870 default key serializer. 871<P> 872<DL> 873</DL> 874</DL> 875<HR> 876 877<A NAME="_nullValueSerializer"><!-- --></A><H3> 878_nullValueSerializer</H3> 879<PRE> 880protected <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>_nullValueSerializer</B></PRE> 881<DL> 882<DD>Serializer used to output a null value. Default implementation 883 writes nulls using <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true#writeNull()" title="class or interface in com.fasterxml.jackson.core"><CODE>JsonGenerator.writeNull()</CODE></A>. 884<P> 885<DL> 886</DL> 887</DL> 888<HR> 889 890<A NAME="_nullKeySerializer"><!-- --></A><H3> 891_nullKeySerializer</H3> 892<PRE> 893protected <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>_nullKeySerializer</B></PRE> 894<DL> 895<DD>Serializer used to (try to) output a null key, due to an entry of 896 <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> having null key. 897 The default implementation will throw an exception if this happens; 898 alternative implementation (like one that would write an Empty String) 899 can be defined. 900<P> 901<DL> 902</DL> 903</DL> 904<HR> 905 906<A NAME="_knownSerializers"><!-- --></A><H3> 907_knownSerializers</H3> 908<PRE> 909protected final <A HREF="../../../../com/fasterxml/jackson/databind/ser/impl/ReadOnlyClassToSerializerMap.html" title="class in com.fasterxml.jackson.databind.ser.impl">ReadOnlyClassToSerializerMap</A> <B>_knownSerializers</B></PRE> 910<DL> 911<DD>For fast lookups, we will have a local non-shared read-only 912 map that contains serializers previously fetched. 913<P> 914<DL> 915</DL> 916</DL> 917<HR> 918 919<A NAME="_dateFormat"><!-- --></A><H3> 920_dateFormat</H3> 921<PRE> 922protected <A HREF="http://docs.oracle.com/javase/6/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</A> <B>_dateFormat</B></PRE> 923<DL> 924<DD>Lazily acquired and instantiated formatter object: initialized 925 first time it is needed, reused afterwards. Used via instances 926 (not blueprints), so that access need not be thread-safe. 927<P> 928<DL> 929</DL> 930</DL> 931 932<!-- ========= CONSTRUCTOR DETAIL ======== --> 933 934<A NAME="constructor_detail"><!-- --></A> 935<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 936<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 937<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 938<B>Constructor Detail</B></FONT></TH> 939</TR> 940</TABLE> 941 942<A NAME="SerializerProvider()"><!-- --></A><H3> 943SerializerProvider</H3> 944<PRE> 945public <B>SerializerProvider</B>()</PRE> 946<DL> 947<DD>Constructor for creating master (or "blue-print") provider object, 948 which is only used as the template for constructing per-binding 949 instances. 950<P> 951</DL> 952<HR> 953 954<A NAME="SerializerProvider(com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.ser.SerializerFactory)"><!-- --></A><H3> 955SerializerProvider</H3> 956<PRE> 957protected <B>SerializerProvider</B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</A> src, 958 <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> config, 959 <A HREF="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</A> f)</PRE> 960<DL> 961<DD>"Copy-constructor", used by sub-classes. 962<P> 963<DL> 964<DT><B>Parameters:</B><DD><CODE>src</CODE> - Blueprint object used as the baseline for this instance</DL> 965</DL> 966 967<!-- ============ METHOD DETAIL ========== --> 968 969<A NAME="method_detail"><!-- --></A> 970<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 971<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 972<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 973<B>Method Detail</B></FONT></TH> 974</TR> 975</TABLE> 976 977<A NAME="setDefaultKeySerializer(com.fasterxml.jackson.databind.JsonSerializer)"><!-- --></A><H3> 978setDefaultKeySerializer</H3> 979<PRE> 980public void <B>setDefaultKeySerializer</B>(<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>> ks)</PRE> 981<DL> 982<DD>Method that can be used to specify serializer that will be 983 used to write JSON property names matching null keys for Java 984 Maps (which will throw an exception if try write such property 985 name) 986<P> 987<DD><DL> 988</DL> 989</DD> 990</DL> 991<HR> 992 993<A NAME="setNullValueSerializer(com.fasterxml.jackson.databind.JsonSerializer)"><!-- --></A><H3> 994setNullValueSerializer</H3> 995<PRE> 996public void <B>setNullValueSerializer</B>(<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>> nvs)</PRE> 997<DL> 998<DD>Method that can be used to specify serializer that will be 999 used to write JSON values matching Java null values 1000 instead of default one (which simply writes JSON null) 1001<P> 1002<DD><DL> 1003</DL> 1004</DD> 1005</DL> 1006<HR> 1007 1008<A NAME="setNullKeySerializer(com.fasterxml.jackson.databind.JsonSerializer)"><!-- --></A><H3> 1009setNullKeySerializer</H3> 1010<PRE> 1011public void <B>setNullKeySerializer</B>(<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>> nks)</PRE> 1012<DL> 1013<DD>Method that can be used to specify serializer to use for serializing 1014 all non-null JSON property names, unless more specific key serializer 1015 is found (i.e. if not custom key serializer has been registered for 1016 Java type). 1017<p> 1018 Note that key serializer registration are different from value serializer 1019 registrations. 1020<P> 1021<DD><DL> 1022</DL> 1023</DD> 1024</DL> 1025<HR> 1026 1027<A NAME="getConfig()"><!-- --></A><H3> 1028getConfig</H3> 1029<PRE> 1030public final <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</A> <B>getConfig</B>()</PRE> 1031<DL> 1032<DD>Method for accessing configuration for the serialization processing. 1033<P> 1034<DD><DL> 1035</DL> 1036</DD> 1037</DL> 1038<HR> 1039 1040<A NAME="isEnabled(com.fasterxml.jackson.databind.MapperFeature)"><!-- --></A><H3> 1041isEnabled</H3> 1042<PRE> 1043public final boolean <B>isEnabled</B>(<A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</A> feature)</PRE> 1044<DL> 1045<DD>Convenience method for checking whether specified serialization 1046 feature is enabled or not. 1047 Shortcut for: 1048<pre> 1049 getConfig().isEnabled(feature); 1050</pre> 1051<P> 1052<DD><DL> 1053</DL> 1054</DD> 1055</DL> 1056<HR> 1057 1058<A NAME="isEnabled(com.fasterxml.jackson.databind.SerializationFeature)"><!-- --></A><H3> 1059isEnabled</H3> 1060<PRE> 1061public final boolean <B>isEnabled</B>(<A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</A> feature)</PRE> 1062<DL> 1063<DD>Convenience method for checking whether specified serialization 1064 feature is enabled or not. 1065 Shortcut for: 1066<pre> 1067 getConfig().isEnabled(feature); 1068</pre> 1069<P> 1070<DD><DL> 1071</DL> 1072</DD> 1073</DL> 1074<HR> 1075 1076<A NAME="canOverrideAccessModifiers()"><!-- --></A><H3> 1077canOverrideAccessModifiers</H3> 1078<PRE> 1079public final boolean <B>canOverrideAccessModifiers</B>()</PRE> 1080<DL> 1081<DD>Convenience method for accessing serialization view in use (if any); equivalent to: 1082<pre> 1083 getConfig().canOverrideAccessModifiers(); 1084</pre> 1085<P> 1086<DD><DL> 1087</DL> 1088</DD> 1089</DL> 1090<HR> 1091 1092<A NAME="getAnnotationIntrospector()"><!-- --></A><H3> 1093getAnnotationIntrospector</H3> 1094<PRE> 1095public final <A HREF="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</A> <B>getAnnotationIntrospector</B>()</PRE> 1096<DL> 1097<DD>Convenience method for accessing serialization view in use (if any); equivalent to: 1098<pre> 1099 getConfig().getAnnotationIntrospector(); 1100</pre> 1101<P> 1102<DD><DL> 1103</DL> 1104</DD> 1105</DL> 1106<HR> 1107 1108<A NAME="getSerializationView()"><!-- --></A><H3> 1109getSerializationView</H3> 1110<PRE> 1111public final <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><?> <B>getSerializationView</B>()</PRE> 1112<DL> 1113<DD>Convenience method for accessing serialization view in use (if any); equivalent to: 1114<pre> 1115 getConfig().getSerializationView(); 1116</pre> 1117<P> 1118<DD><DL> 1119</DL> 1120</DD> 1121</DL> 1122<HR> 1123 1124<A NAME="getFilterProvider()"><!-- --></A><H3> 1125getFilterProvider</H3> 1126<PRE> 1127public final <A HREF="../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</A> <B>getFilterProvider</B>()</PRE> 1128<DL> 1129<DD>Convenience method for accessing provider to find serialization filters used, 1130 equivalent to calling: 1131<pre> 1132 getConfig().getFilterProvider(); 1133</pre> 1134<P> 1135<DD><DL> 1136</DL> 1137</DD> 1138</DL> 1139<HR> 1140 1141<A NAME="getLocale()"><!-- --></A><H3> 1142getLocale</H3> 1143<PRE> 1144public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A> <B>getLocale</B>()</PRE> 1145<DL> 1146<DD>Method for accessing default Locale to use: convenience method for 1147<pre> 1148 getConfig().getLocale(); 1149</pre> 1150<P> 1151<DD><DL> 1152</DL> 1153</DD> 1154</DL> 1155<HR> 1156 1157<A NAME="getTimeZone()"><!-- --></A><H3> 1158getTimeZone</H3> 1159<PRE> 1160public <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</A> <B>getTimeZone</B>()</PRE> 1161<DL> 1162<DD>Method for accessing default TimeZone to use: convenience method for 1163<pre> 1164 getConfig().getTimeZone(); 1165</pre> 1166<P> 1167<DD><DL> 1168</DL> 1169</DD> 1170</DL> 1171<HR> 1172 1173<A NAME="constructType(java.lang.reflect.Type)"><!-- --></A><H3> 1174constructType</H3> 1175<PRE> 1176public <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> <B>constructType</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</A> type)</PRE> 1177<DL> 1178<DD>Convenience method for constructing <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind"><CODE>JavaType</CODE></A> for given JDK 1179 type (usually <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>) 1180<P> 1181<DD><DL> 1182</DL> 1183</DD> 1184</DL> 1185<HR> 1186 1187<A NAME="constructSpecializedType(com.fasterxml.jackson.databind.JavaType, java.lang.Class)"><!-- --></A><H3> 1188constructSpecializedType</H3> 1189<PRE> 1190public <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> <B>constructSpecializedType</B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> baseType, 1191 <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><?> subclass)</PRE> 1192<DL> 1193<DD>Convenience method for constructing subtypes, retaining generic 1194 type parameter (if any) 1195<P> 1196<DD><DL> 1197</DL> 1198</DD> 1199</DL> 1200<HR> 1201 1202<A NAME="getTypeFactory()"><!-- --></A><H3> 1203getTypeFactory</H3> 1204<PRE> 1205public <A HREF="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</A> <B>getTypeFactory</B>()</PRE> 1206<DL> 1207<DD><DL> 1208</DL> 1209</DD> 1210</DL> 1211<HR> 1212 1213<A NAME="findObjectId(java.lang.Object, com.fasterxml.jackson.annotation.ObjectIdGenerator)"><!-- --></A><H3> 1214findObjectId</H3> 1215<PRE> 1216public abstract <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, 1217 <A HREF="http://fasterxml.github.com/jackson-annotations/javadoc/2.1.0/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</A><?> generatorType)</PRE> 1218<DL> 1219<DD>Method called to find the Object Id for given POJO, if one 1220 has been generated. Will always return a non-null Object; 1221 contents vary depending on whether an Object Id already 1222 exists or not. 1223<P> 1224<DD><DL> 1225</DL> 1226</DD> 1227</DL> 1228<HR> 1229 1230<A NAME="findValueSerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)"><!-- --></A><H3> 1231findValueSerializer</H3> 1232<PRE> 1233public <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>findValueSerializer</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><?> valueType, 1234 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property) 1235 throws <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 1236<DL> 1237<DD>Method called to get hold of a serializer for a value of given type; 1238 or if no such serializer can be found, a default handler (which 1239 may do a best-effort generic serialization or just simply 1240 throw an exception when invoked). 1241<p> 1242 Note: this method is only called for non-null values; not for keys 1243 or null values. For these, check out other accessor methods. 1244<p> 1245 Note that starting with version 1.5, serializers should also be type-aware 1246 if they handle polymorphic types. That means that it may be necessary 1247 to also use a <A HREF="../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype"><CODE>TypeSerializer</CODE></A> based on declared (static) type 1248 being serializer (whereas actual data may be serialized using dynamic 1249 type) 1250<P> 1251<DD><DL> 1252 1253<DT><B>Throws:</B> 1254<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE> - if there are fatal problems with 1255 accessing suitable serializer; including that of not 1256 finding any serializer</DL> 1257</DD> 1258</DL> 1259<HR> 1260 1261<A NAME="findValueSerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)"><!-- --></A><H3> 1262findValueSerializer</H3> 1263<PRE> 1264public <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>findValueSerializer</B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> valueType, 1265 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property) 1266 throws <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 1267<DL> 1268<DD>Similar to <A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)"><CODE>findValueSerializer(Class,BeanProperty)</CODE></A>, but takes 1269 full generics-aware type instead of raw class. 1270 This is necessary for accurate handling of external type information, 1271 to handle polymorphic types. 1272<P> 1273<DD><DL> 1274<DT><B>Parameters:</B><DD><CODE>property</CODE> - When creating secondary serializers, property for which 1275 serializer is needed: annotations of the property (or bean that contains it) 1276 may be checked to create contextual serializers. 1277<DT><B>Throws:</B> 1278<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL> 1279</DD> 1280</DL> 1281<HR> 1282 1283<A NAME="findTypedValueSerializer(java.lang.Class, boolean, com.fasterxml.jackson.databind.BeanProperty)"><!-- --></A><H3> 1284findTypedValueSerializer</H3> 1285<PRE> 1286public <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>findTypedValueSerializer</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><?> valueType, 1287 boolean cache, 1288 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property) 1289 throws <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 1290<DL> 1291<DD>Method called to locate regular serializer, matching type serializer, 1292 and if both found, wrap them in a serializer that calls both in correct 1293 sequence. This method is currently only used for root-level serializer 1294 handling to allow for simpler caching. A call can always be replaced 1295 by equivalent calls to access serializer and type serializer separately. 1296<P> 1297<DD><DL> 1298<DT><B>Parameters:</B><DD><CODE>valueType</CODE> - Type for purpose of locating a serializer; usually dynamic 1299 runtime type, but can also be static declared type, depending on configuration<DD><CODE>cache</CODE> - Whether resulting value serializer should be cached or not; this is just 1300 a hint<DD><CODE>property</CODE> - When creating secondary serializers, property for which 1301 serializer is needed: annotations of the property (or bean that contains it) 1302 may be checked to create contextual serializers. 1303<DT><B>Throws:</B> 1304<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL> 1305</DD> 1306</DL> 1307<HR> 1308 1309<A NAME="findTypedValueSerializer(com.fasterxml.jackson.databind.JavaType, boolean, com.fasterxml.jackson.databind.BeanProperty)"><!-- --></A><H3> 1310findTypedValueSerializer</H3> 1311<PRE> 1312public <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>findTypedValueSerializer</B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> valueType, 1313 boolean cache, 1314 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property) 1315 throws <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 1316<DL> 1317<DD>Method called to locate regular serializer, matching type serializer, 1318 and if both found, wrap them in a serializer that calls both in correct 1319 sequence. This method is currently only used for root-level serializer 1320 handling to allow for simpler caching. A call can always be replaced 1321 by equivalent calls to access serializer and type serializer separately. 1322<P> 1323<DD><DL> 1324<DT><B>Parameters:</B><DD><CODE>valueType</CODE> - Declared type of value being serialized (which may not 1325 be actual runtime type); used for finding both value serializer and 1326 type serializer to use for adding polymorphic type (if any)<DD><CODE>cache</CODE> - Whether resulting value serializer should be cached or not; this is just 1327 a hint<DD><CODE>property</CODE> - When creating secondary serializers, property for which 1328 serializer is needed: annotations of the property (or bean that contains it) 1329 may be checked to create contextual serializers. 1330<DT><B>Throws:</B> 1331<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL> 1332</DD> 1333</DL> 1334<HR> 1335 1336<A NAME="findKeySerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)"><!-- --></A><H3> 1337findKeySerializer</H3> 1338<PRE> 1339public <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>findKeySerializer</B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> keyType, 1340 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property) 1341 throws <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 1342<DL> 1343<DD>Method called to get the serializer to use for serializing 1344 non-null Map keys. Separation from regular 1345 <A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer(java.lang.Class, com.fasterxml.jackson.databind.BeanProperty)"><CODE>findValueSerializer(java.lang.Class<?>, com.fasterxml.jackson.databind.BeanProperty)</CODE></A> method is because actual write 1346 method must be different (@link JsonGenerator#writeFieldName}; 1347 but also since behavior for some key types may differ. 1348<p> 1349 Note that the serializer itself can be called with instances 1350 of any Java object, but not nulls. 1351<P> 1352<DD><DL> 1353 1354<DT><B>Throws:</B> 1355<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL> 1356</DD> 1357</DL> 1358<HR> 1359 1360<A NAME="getDefaultNullKeySerializer()"><!-- --></A><H3> 1361getDefaultNullKeySerializer</H3> 1362<PRE> 1363public <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>getDefaultNullKeySerializer</B>()</PRE> 1364<DL> 1365<DD><DL> 1366<DT><B>Since:</B></DT> 1367 <DD>2.0</DD> 1368</DL> 1369</DD> 1370</DL> 1371<HR> 1372 1373<A NAME="getDefaultNullValueSerializer()"><!-- --></A><H3> 1374getDefaultNullValueSerializer</H3> 1375<PRE> 1376public <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>getDefaultNullValueSerializer</B>()</PRE> 1377<DL> 1378<DD><DL> 1379<DT><B>Since:</B></DT> 1380 <DD>2.0</DD> 1381</DL> 1382</DD> 1383</DL> 1384<HR> 1385 1386<A NAME="findNullKeySerializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty)"><!-- --></A><H3> 1387findNullKeySerializer</H3> 1388<PRE> 1389public <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>findNullKeySerializer</B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> serializationType, 1390 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property) 1391 throws <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 1392<DL> 1393<DD>Method called to find a serializer to use for null values for given 1394 declared type. Note that type is completely based on declared type, 1395 since nulls in Java have no type and thus runtime type can not be 1396 determined. 1397<P> 1398<DD><DL> 1399 1400<DT><B>Throws:</B> 1401<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE><DT><B>Since:</B></DT> 1402 <DD>2.0</DD> 1403</DL> 1404</DD> 1405</DL> 1406<HR> 1407 1408<A NAME="findNullValueSerializer(com.fasterxml.jackson.databind.BeanProperty)"><!-- --></A><H3> 1409findNullValueSerializer</H3> 1410<PRE> 1411public <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>findNullValueSerializer</B>(<A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property) 1412 throws <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 1413<DL> 1414<DD>Method called to get the serializer to use for serializing null 1415 property values. 1416<p> 1417 Default implementation simply calls <A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultNullValueSerializer()"><CODE>getDefaultNullValueSerializer()</CODE></A>; 1418 can be overridden to add custom null serialization for properties 1419 of certain type or name. 1420<P> 1421<DD><DL> 1422 1423<DT><B>Throws:</B> 1424<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE><DT><B>Since:</B></DT> 1425 <DD>2.0</DD> 1426</DL> 1427</DD> 1428</DL> 1429<HR> 1430 1431<A NAME="getUnknownTypeSerializer(java.lang.Class)"><!-- --></A><H3> 1432getUnknownTypeSerializer</H3> 1433<PRE> 1434public <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>getUnknownTypeSerializer</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><?> unknownType)</PRE> 1435<DL> 1436<DD>Method called to get the serializer to use if provider 1437 can not determine an actual type-specific serializer 1438 to use; typically when none of <A HREF="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><CODE>SerializerFactory</CODE></A> 1439 instances are able to construct a serializer. 1440<p> 1441 Typically, returned serializer will throw an exception, 1442 although alternatively <A HREF="../../../../com/fasterxml/jackson/databind/ser/std/ToStringSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std"><CODE>ToStringSerializer</CODE></A> 1443 could be returned as well. 1444<P> 1445<DD><DL> 1446<DT><B>Parameters:</B><DD><CODE>unknownType</CODE> - Type for which no serializer is found</DL> 1447</DD> 1448</DL> 1449<HR> 1450 1451<A NAME="serializerInstance(com.fasterxml.jackson.databind.introspect.Annotated, java.lang.Object)"><!-- --></A><H3> 1452serializerInstance</H3> 1453<PRE> 1454public abstract <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, 1455 <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) 1456 throws <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 1457<DL> 1458<DD>Method that can be called to construct and configure serializer instance, 1459 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), 1460 or an uninitialized serializer instance. 1461 Either way, serialize will be properly resolved 1462 (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 1463 (via <A HREF="../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><CODE>ContextualSerializer</CODE></A>) as necessary. 1464<P> 1465<DD><DL> 1466<DT><B>Parameters:</B><DD><CODE>annotated</CODE> - Annotated entity that contained definition<DD><CODE>serDef</CODE> - Serializer definition: either an instance or class 1467<DT><B>Throws:</B> 1468<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL> 1469</DD> 1470</DL> 1471<HR> 1472 1473<A NAME="objectIdGeneratorInstance(com.fasterxml.jackson.databind.introspect.Annotated, com.fasterxml.jackson.databind.introspect.ObjectIdInfo)"><!-- --></A><H3> 1474objectIdGeneratorInstance</H3> 1475<PRE> 1476public abstract <A HREF="http://fasterxml.github.com/jackson-annotations/javadoc/2.1.0/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</A><?> <B>objectIdGeneratorInstance</B>(<A HREF="../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</A> annotated, 1477 <A HREF="../../../../com/fasterxml/jackson/databind/introspect/ObjectIdInfo.html" title="class in com.fasterxml.jackson.databind.introspect">ObjectIdInfo</A> objectIdInfo) 1478 throws <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 1479<DL> 1480<DD><DL> 1481 1482<DT><B>Throws:</B> 1483<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL> 1484</DD> 1485</DL> 1486<HR> 1487 1488<A NAME="defaultSerializeValue(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)"><!-- --></A><H3> 1489defaultSerializeValue</H3> 1490<PRE> 1491public final void <B>defaultSerializeValue</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> value, 1492 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jgen) 1493 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>, 1494 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></PRE> 1495<DL> 1496<DD>Convenience method that will serialize given value (which can be 1497 null) using standard serializer locating functionality. It can 1498 be called for all values including field and Map values, but usually 1499 field values are best handled calling 1500 <A HREF="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeField(java.lang.String, java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)"><CODE>defaultSerializeField(java.lang.String, java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)</CODE></A> instead. 1501<P> 1502<DD><DL> 1503 1504<DT><B>Throws:</B> 1505<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> 1506<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></CODE></DL> 1507</DD> 1508</DL> 1509<HR> 1510 1511<A NAME="defaultSerializeField(java.lang.String, java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)"><!-- --></A><H3> 1512defaultSerializeField</H3> 1513<PRE> 1514public final void <B>defaultSerializeField</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> fieldName, 1515 <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, 1516 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jgen) 1517 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>, 1518 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></PRE> 1519<DL> 1520<DD>Convenience method that will serialize given field with specified 1521 value. Value may be null. Serializer is done using the usual 1522 null) using standard serializer locating functionality. 1523<P> 1524<DD><DL> 1525 1526<DT><B>Throws:</B> 1527<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> 1528<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></CODE></DL> 1529</DD> 1530</DL> 1531<HR> 1532 1533<A NAME="defaultSerializeDateValue(long, com.fasterxml.jackson.core.JsonGenerator)"><!-- --></A><H3> 1534defaultSerializeDateValue</H3> 1535<PRE> 1536public final void <B>defaultSerializeDateValue</B>(long timestamp, 1537 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jgen) 1538 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>, 1539 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></PRE> 1540<DL> 1541<DD>Method that will handle serialization of Date(-like) values, using 1542 <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><CODE>SerializationConfig</CODE></A> settings to determine expected serialization 1543 behavior. 1544 Note: date here means "full" date, that is, date AND time, as per 1545 Java convention (and not date-only values like in SQL) 1546<P> 1547<DD><DL> 1548 1549<DT><B>Throws:</B> 1550<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> 1551<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></CODE></DL> 1552</DD> 1553</DL> 1554<HR> 1555 1556<A NAME="defaultSerializeDateValue(java.util.Date, com.fasterxml.jackson.core.JsonGenerator)"><!-- --></A><H3> 1557defaultSerializeDateValue</H3> 1558<PRE> 1559public final void <B>defaultSerializeDateValue</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> date, 1560 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jgen) 1561 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>, 1562 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></PRE> 1563<DL> 1564<DD>Method that will handle serialization of Date(-like) values, using 1565 <A HREF="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><CODE>SerializationConfig</CODE></A> settings to determine expected serialization 1566 behavior. 1567 Note: date here means "full" date, that is, date AND time, as per 1568 Java convention (and not date-only values like in SQL) 1569<P> 1570<DD><DL> 1571 1572<DT><B>Throws:</B> 1573<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> 1574<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></CODE></DL> 1575</DD> 1576</DL> 1577<HR> 1578 1579<A NAME="defaultSerializeDateKey(long, com.fasterxml.jackson.core.JsonGenerator)"><!-- --></A><H3> 1580defaultSerializeDateKey</H3> 1581<PRE> 1582public void <B>defaultSerializeDateKey</B>(long timestamp, 1583 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jgen) 1584 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>, 1585 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></PRE> 1586<DL> 1587<DD>Method that will handle serialization of Dates used as <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> keys, 1588 based on <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><CODE>SerializationFeature.WRITE_DATE_KEYS_AS_TIMESTAMPS</CODE></A> 1589 value (and if using textual representation, configured date format) 1590<P> 1591<DD><DL> 1592 1593<DT><B>Throws:</B> 1594<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> 1595<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></CODE></DL> 1596</DD> 1597</DL> 1598<HR> 1599 1600<A NAME="defaultSerializeDateKey(java.util.Date, com.fasterxml.jackson.core.JsonGenerator)"><!-- --></A><H3> 1601defaultSerializeDateKey</H3> 1602<PRE> 1603public void <B>defaultSerializeDateKey</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> date, 1604 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jgen) 1605 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>, 1606 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></PRE> 1607<DL> 1608<DD>Method that will handle serialization of Dates used as <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> keys, 1609 based on <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><CODE>SerializationFeature.WRITE_DATE_KEYS_AS_TIMESTAMPS</CODE></A> 1610 value (and if using textual representation, configured date format) 1611<P> 1612<DD><DL> 1613 1614<DT><B>Throws:</B> 1615<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> 1616<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></CODE></DL> 1617</DD> 1618</DL> 1619<HR> 1620 1621<A NAME="defaultSerializeNull(com.fasterxml.jackson.core.JsonGenerator)"><!-- --></A><H3> 1622defaultSerializeNull</H3> 1623<PRE> 1624public final void <B>defaultSerializeNull</B>(<A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</A> jgen) 1625 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>, 1626 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></PRE> 1627<DL> 1628<DD><DL> 1629 1630<DT><B>Throws:</B> 1631<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> 1632<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></CODE></DL> 1633</DD> 1634</DL> 1635<HR> 1636 1637<A NAME="_reportIncompatibleRootType(java.lang.Object, com.fasterxml.jackson.databind.JavaType)"><!-- --></A><H3> 1638_reportIncompatibleRootType</H3> 1639<PRE> 1640protected void <B>_reportIncompatibleRootType</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> value, 1641 <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> rootType) 1642 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>, 1643 <A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></PRE> 1644<DL> 1645<DD><DL> 1646 1647<DT><B>Throws:</B> 1648<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> 1649<DD><CODE><A HREF="http://fasterxml.github.com/jackson-core/javadoc/2.1.0/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</A></CODE></DL> 1650</DD> 1651</DL> 1652<HR> 1653 1654<A NAME="_findExplicitUntypedSerializer(java.lang.Class)"><!-- --></A><H3> 1655_findExplicitUntypedSerializer</H3> 1656<PRE> 1657protected <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>_findExplicitUntypedSerializer</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><?> runtimeType)</PRE> 1658<DL> 1659<DD>Method that will try to find a serializer, either from cache 1660 or by constructing one; but will not return an "unknown" serializer 1661 if this can not be done but rather returns null. 1662<P> 1663<DD><DL> 1664 1665<DT><B>Returns:</B><DD>Serializer if one can be found, null if not.</DL> 1666</DD> 1667</DL> 1668<HR> 1669 1670<A NAME="_createAndCacheUntypedSerializer(java.lang.Class)"><!-- --></A><H3> 1671_createAndCacheUntypedSerializer</H3> 1672<PRE> 1673protected <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>_createAndCacheUntypedSerializer</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) 1674 throws <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 1675<DL> 1676<DD>Method that will try to construct a value serializer; and if 1677 one is successfully created, cache it for reuse. 1678<P> 1679<DD><DL> 1680 1681<DT><B>Throws:</B> 1682<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL> 1683</DD> 1684</DL> 1685<HR> 1686 1687<A NAME="_createAndCacheUntypedSerializer(com.fasterxml.jackson.databind.JavaType)"><!-- --></A><H3> 1688_createAndCacheUntypedSerializer</H3> 1689<PRE> 1690protected <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>_createAndCacheUntypedSerializer</B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> type) 1691 throws <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 1692<DL> 1693<DD><DL> 1694 1695<DT><B>Throws:</B> 1696<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL> 1697</DD> 1698</DL> 1699<HR> 1700 1701<A NAME="_createUntypedSerializer(com.fasterxml.jackson.databind.JavaType)"><!-- --></A><H3> 1702_createUntypedSerializer</H3> 1703<PRE> 1704protected <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>_createUntypedSerializer</B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> type) 1705 throws <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 1706<DL> 1707<DD><DL> 1708 1709<DT><B>Throws:</B> 1710<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE><DT><B>Since:</B></DT> 1711 <DD>2.1</DD> 1712</DL> 1713</DD> 1714</DL> 1715<HR> 1716 1717<A NAME="_handleContextualResolvable(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)"><!-- --></A><H3> 1718_handleContextualResolvable</H3> 1719<PRE> 1720protected <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>_handleContextualResolvable</B>(<A HREF="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> ser, 1721 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property) 1722 throws <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 1723<DL> 1724<DD>Helper method called to resolve and contextualize given 1725 serializer, if and as necessary. 1726<P> 1727<DD><DL> 1728 1729<DT><B>Throws:</B> 1730<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL> 1731</DD> 1732</DL> 1733<HR> 1734 1735<A NAME="_handleResolvable(com.fasterxml.jackson.databind.JsonSerializer)"><!-- --></A><H3> 1736_handleResolvable</H3> 1737<PRE> 1738protected <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>_handleResolvable</B>(<A HREF="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> ser) 1739 throws <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 1740<DL> 1741<DD><DL> 1742 1743<DT><B>Throws:</B> 1744<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL> 1745</DD> 1746</DL> 1747<HR> 1748 1749<A NAME="_handleContextual(com.fasterxml.jackson.databind.JsonSerializer, com.fasterxml.jackson.databind.BeanProperty)"><!-- --></A><H3> 1750_handleContextual</H3> 1751<PRE> 1752protected <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>_handleContextual</B>(<A HREF="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</A><?> ser, 1753 <A HREF="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</A> property) 1754 throws <A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></PRE> 1755<DL> 1756<DD><DL> 1757 1758<DT><B>Throws:</B> 1759<DD><CODE><A HREF="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</A></CODE></DL> 1760</DD> 1761</DL> 1762<HR> 1763 1764<A NAME="_dateFormat()"><!-- --></A><H3> 1765_dateFormat</H3> 1766<PRE> 1767protected final <A HREF="http://docs.oracle.com/javase/6/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</A> <B>_dateFormat</B>()</PRE> 1768<DL> 1769<DD><DL> 1770</DL> 1771</DD> 1772</DL> 1773<!-- ========= END OF CLASS DATA ========= --> 1774<HR> 1775 1776 1777<!-- ======= START OF BOTTOM NAVBAR ====== --> 1778<A NAME="navbar_bottom"><!-- --></A> 1779<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 1780<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 1781<TR> 1782<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 1783<A NAME="navbar_bottom_firstrow"><!-- --></A> 1784<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 1785 <TR ALIGN="center" VALIGN="top"> 1786 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 1787 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 1788 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 1789 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SerializerProvider.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 1790 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 1791 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 1792 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 1793 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 1794 </TR> 1795</TABLE> 1796</TD> 1797<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 1798</EM> 1799</TD> 1800</TR> 1801 1802<TR> 1803<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 1804 <A HREF="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind"><B>PREV CLASS</B></A> 1805 NEXT CLASS</FONT></TD> 1806<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 1807 <A HREF="../../../../index.html?com/fasterxml/jackson/databind/SerializerProvider.html" target="_top"><B>FRAMES</B></A> 1808 <A HREF="SerializerProvider.html" target="_top"><B>NO FRAMES</B></A> 1809 <SCRIPT type="text/javascript"> 1810 <!-- 1811 if(window==top) { 1812 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 1813 } 1814 //--> 1815</SCRIPT> 1816<NOSCRIPT> 1817 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 1818</NOSCRIPT> 1819 1820 1821</FONT></TD> 1822</TR> 1823<TR> 1824<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 1825 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 1826<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 1827DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 1828</TR> 1829</TABLE> 1830<A NAME="skip-navbar_bottom"></A> 1831<!-- ======== END OF BOTTOM NAVBAR ======= --> 1832 1833<HR> 1834Copyright © 2012 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved. 1835</BODY> 1836</HTML> 1837