1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0_35) on Tue Oct 09 17:08:22 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8com.fasterxml.jackson.databind.ser (jackson-databind 2.1.0 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2012-10-09"> 12 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> 14 15<SCRIPT type="text/javascript"> 16function windowTitle() 17{ 18 if (location.href.indexOf('is-external=true') == -1) { 19 parent.document.title="com.fasterxml.jackson.databind.ser (jackson-databind 2.1.0 API)"; 20 } 21} 22</SCRIPT> 23<NOSCRIPT> 24</NOSCRIPT> 25 26</HEAD> 27 28<BODY BGCOLOR="white" onload="windowTitle();"> 29<HR> 30 31 32<!-- ========= START OF TOP NAVBAR ======= --> 33<A NAME="navbar_top"><!-- --></A> 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 36<TR> 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 38<A NAME="navbar_top_firstrow"><!-- --></A> 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 40 <TR ALIGN="center" VALIGN="top"> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.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/node/package-summary.html"><B>PREV PACKAGE</B></A> 60 <A HREF="../../../../../com/fasterxml/jackson/databind/ser/impl/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 62 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/ser/package-summary.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="package-summary.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</TABLE> 79<A NAME="skip-navbar_top"></A> 80<!-- ========= END OF TOP NAVBAR ========= --> 81 82<HR> 83<H2> 84Package com.fasterxml.jackson.databind.ser 85</H2> 86Contains implementation classes of serialization part of 87 data binding. 88<P> 89<B>See:</B> 90<BR> 91 <A HREF="#package_description"><B>Description</B></A> 92<P> 93 94<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 95<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 96<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 97<B>Interface Summary</B></FONT></TH> 98</TR> 99<TR BGCOLOR="white" CLASS="TableRowColor"> 100<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyFilter.html" title="interface in com.fasterxml.jackson.databind.ser">BeanPropertyFilter</A></B></TD> 101<TD>Interface that defines API for filter objects use (as configured 102 using <A HREF="http://fasterxml.github.com/jackson-annotations/javadoc/2.1.0/com/fasterxml/jackson/annotation/JsonFilter.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><CODE>JsonFilter</CODE></A>) 103 for filtering bean properties to serialize.</TD> 104</TR> 105<TR BGCOLOR="white" CLASS="TableRowColor"> 106<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser">ContextualSerializer</A></B></TD> 107<TD>Add-on interface that <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><CODE>JsonSerializer</CODE></A>s can implement to get a callback 108 that can be used to create contextual instances of serializer to use for 109 handling properties of supported type.</TD> 110</TR> 111<TR BGCOLOR="white" CLASS="TableRowColor"> 112<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" title="interface in com.fasterxml.jackson.databind.ser">ResolvableSerializer</A></B></TD> 113<TD>Interface used to indicate serializers that want to do post-processing 114 after construction and being added to <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><CODE>SerializerProvider</CODE></A>, 115 but before being used.</TD> 116</TR> 117<TR BGCOLOR="white" CLASS="TableRowColor"> 118<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</A></B></TD> 119<TD>Interface that defines API for simple extensions that can provide additional serializers 120 for various types.</TD> 121</TR> 122</TABLE> 123 124 125<P> 126 127<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 128<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 129<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 130<B>Class Summary</B></FONT></TH> 131</TR> 132<TR BGCOLOR="white" CLASS="TableRowColor"> 133<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" title="class in com.fasterxml.jackson.databind.ser">AnyGetterWriter</A></B></TD> 134<TD>Class similar to <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><CODE>BeanPropertyWriter</CODE></A>, but that will be used 135 for serializing <A HREF="http://fasterxml.github.com/jackson-annotations/javadoc/2.1.0/com/fasterxml/jackson/annotation/JsonAnyGetter.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><CODE>JsonAnyGetter</CODE></A> annotated 136 (Map) properties</TD> 137</TR> 138<TR BGCOLOR="white" CLASS="TableRowColor"> 139<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BasicSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">BasicSerializerFactory</A></B></TD> 140<TD>Factory class that can provide serializers for standard JDK classes, 141 as well as custom classes that extend standard classes or implement 142 one of "well-known" interfaces (such as <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><CODE>Collection</CODE></A>).</TD> 143</TR> 144<TR BGCOLOR="white" CLASS="TableRowColor"> 145<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</A></B></TD> 146<TD>Base bean property handler class, which implements common parts of 147 reflection-based functionality for accessing a property value 148 and serializing it.</TD> 149</TR> 150<TR BGCOLOR="white" CLASS="TableRowColor"> 151<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializer</A></B></TD> 152<TD>Serializer class that can serialize Java objects that map 153 to JSON Object output.</TD> 154</TR> 155<TR BGCOLOR="white" CLASS="TableRowColor"> 156<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</A></B></TD> 157<TD>Builder class used for aggregating deserialization information about 158 a POJO, in order to build a <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><CODE>JsonSerializer</CODE></A> for serializing 159 intances.</TD> 160</TR> 161<TR BGCOLOR="white" CLASS="TableRowColor"> 162<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerFactory</A></B></TD> 163<TD>Factory class that can provide serializers for any regular Java beans 164 (as defined by "having at least one get method recognizable as bean 165 accessor" -- where <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"><CODE>Object.getClass()</CODE></A> does not count); 166 as well as for "standard" JDK types.</TD> 167</TR> 168<TR BGCOLOR="white" CLASS="TableRowColor"> 169<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerModifier</A></B></TD> 170<TD>Abstract class that defines API for objects that can be registered (for <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><CODE>BeanSerializerFactory</CODE></A> 171 to participate in constructing <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser"><CODE>BeanSerializer</CODE></A> instances.</TD> 172</TR> 173<TR BGCOLOR="white" CLASS="TableRowColor"> 174<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/ContainerSerializer.html" title="class in com.fasterxml.jackson.databind.ser">ContainerSerializer<T></A></B></TD> 175<TD>Intermediate base class for serializers used for serializing 176 types that contain element(s) of other types, such as arrays, 177 <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><CODE>Collection</CODE></A>s (<code>Lists</code>, <code>Sets</code> 178 etc) and <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><CODE>Map</CODE></A>s and iterable things 179 (<A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util"><CODE>Iterator</CODE></A>s).</TD> 180</TR> 181<TR BGCOLOR="white" CLASS="TableRowColor"> 182<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</A></B></TD> 183<TD>Standard implementation used by <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A>: 184 adds methods only exposed to <A HREF="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><CODE>ObjectMapper</CODE></A>, 185 as well as constructors.</TD> 186</TR> 187<TR BGCOLOR="white" CLASS="TableRowColor"> 188<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider.Impl</A></B></TD> 189<TD>Concrete implementation that defines factory method(s), 190 defined as final.</TD> 191</TR> 192<TR BGCOLOR="white" CLASS="TableRowColor"> 193<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</A></B></TD> 194<TD>Interface for objects that providers instances of <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyFilter.html" title="interface in com.fasterxml.jackson.databind.ser"><CODE>BeanPropertyFilter</CODE></A> 195 that match given ids.</TD> 196</TR> 197<TR BGCOLOR="white" CLASS="TableRowColor"> 198<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html" title="class in com.fasterxml.jackson.databind.ser">PropertyBuilder</A></B></TD> 199<TD>Helper class for <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><CODE>BeanSerializerFactory</CODE></A> that is used to 200 construct <A HREF="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><CODE>BeanPropertyWriter</CODE></A> instances.</TD> 201</TR> 202<TR BGCOLOR="white" CLASS="TableRowColor"> 203<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html" title="class in com.fasterxml.jackson.databind.ser">SerializerCache</A></B></TD> 204<TD>Simple cache object that allows for doing 2-level lookups: first level is 205 by "local" read-only lookup Map (used without locking) 206 and second backup level is by a shared modifiable HashMap.</TD> 207</TR> 208<TR BGCOLOR="white" CLASS="TableRowColor"> 209<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.TypeKey.html" title="class in com.fasterxml.jackson.databind.ser">SerializerCache.TypeKey</A></B></TD> 210<TD>Key that offers two "modes"; one with raw class, as used for 211 cases were raw class type is available (for example, when using 212 runtime type); and one with full generics-including.</TD> 213</TR> 214<TR BGCOLOR="white" CLASS="TableRowColor"> 215<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</A></B></TD> 216<TD>Abstract class that defines API used by <A HREF="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><CODE>SerializerProvider</CODE></A> 217 to obtain actual 218 <A HREF="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><CODE>JsonSerializer</CODE></A> instances from multiple distinct factories.</TD> 219</TR> 220<TR BGCOLOR="white" CLASS="TableRowColor"> 221<TD WIDTH="15%"><B><A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</A></B></TD> 222<TD>Basic <A HREF="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser"><CODE>Serializers</CODE></A> implementation that implements all methods but provides 223 no serializers.</TD> 224</TR> 225</TABLE> 226 227 228<P> 229<A NAME="package_description"><!-- --></A><H2> 230Package com.fasterxml.jackson.databind.ser Description 231</H2> 232 233<P> 234Contains implementation classes of serialization part of 235 data binding. 236<P> 237 238<P> 239<DL> 240</DL> 241<HR> 242 243 244<!-- ======= START OF BOTTOM NAVBAR ====== --> 245<A NAME="navbar_bottom"><!-- --></A> 246<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 247<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 248<TR> 249<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 250<A NAME="navbar_bottom_firstrow"><!-- --></A> 251<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 252 <TR ALIGN="center" VALIGN="top"> 253 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 254 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> 255 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> 256 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 257 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 258 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 259 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 260 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 261 </TR> 262</TABLE> 263</TD> 264<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 265</EM> 266</TD> 267</TR> 268 269<TR> 270<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 271 <A HREF="../../../../../com/fasterxml/jackson/databind/node/package-summary.html"><B>PREV PACKAGE</B></A> 272 <A HREF="../../../../../com/fasterxml/jackson/databind/ser/impl/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> 273<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 274 <A HREF="../../../../../index.html?com/fasterxml/jackson/databind/ser/package-summary.html" target="_top"><B>FRAMES</B></A> 275 <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> 276 <SCRIPT type="text/javascript"> 277 <!-- 278 if(window==top) { 279 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 280 } 281 //--> 282</SCRIPT> 283<NOSCRIPT> 284 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 285</NOSCRIPT> 286 287 288</FONT></TD> 289</TR> 290</TABLE> 291<A NAME="skip-navbar_bottom"></A> 292<!-- ======== END OF BOTTOM NAVBAR ======= --> 293 294<HR> 295Copyright © 2012 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved. 296</BODY> 297</HTML> 298