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