1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_25) on Sat Nov 16 21:43:20 PST 2013 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>com.fasterxml.jackson.databind.ser (jackson-databind 2.3.0 API)</title> 8<meta name="date" content="2013-11-16"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="com.fasterxml.jackson.databind.ser (jackson-databind 2.3.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../../overview-summary.html">Overview</a></li> 29<li class="navBarCell1Rev">Package</li> 30<li>Class</li> 31<li><a href="package-use.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../../index-all.html">Index</a></li> 35<li><a href="../../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../../com/fasterxml/jackson/databind/node/package-summary.html">Prev Package</a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/ser/impl/package-summary.html">Next Package</a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/package-summary.html" target="_top">Frames</a></li> 45<li><a href="package-summary.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<a name="skip-navbar_top"> 63<!-- --> 64</a></div> 65<!-- ========= END OF TOP NAVBAR ========= --> 66<div class="header"> 67<h1 title="Package" class="title">Package com.fasterxml.jackson.databind.ser</h1> 68<div class="docSummary"> 69<div class="block">Contains implementation classes of serialization part of 70 data binding.</div> 71</div> 72<p>See: <a href="#package_description">Description</a></p> 73</div> 74<div class="contentContainer"> 75<ul class="blockList"> 76<li class="blockList"> 77<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation"> 78<caption><span>Interface Summary</span><span class="tabEnd"> </span></caption> 79<tr> 80<th class="colFirst" scope="col">Interface</th> 81<th class="colLast" scope="col">Description</th> 82</tr> 83<tbody> 84<tr class="altColor"> 85<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyFilter.html" title="interface in com.fasterxml.jackson.databind.ser">BeanPropertyFilter</a></td> 86<td class="colLast">Deprecated 87<div class="block"><i>Since 2.3: use <a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyFilter.html" title="interface in com.fasterxml.jackson.databind.ser"><code>PropertyFilter</code></a> instead.</i></div> 88</td> 89</tr> 90<tr class="rowColor"> 91<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser">ContextualSerializer</a></td> 92<td class="colLast"> 93<div class="block">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 94 that can be used to create contextual instances of serializer to use for 95 handling properties of supported type.</div> 96</td> 97</tr> 98<tr class="altColor"> 99<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyFilter.html" title="interface in com.fasterxml.jackson.databind.ser">PropertyFilter</a></td> 100<td class="colLast"> 101<div class="block">Interface that defines API for filter objects use (as configured 102 using <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.3.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.</div> 104</td> 105</tr> 106<tr class="rowColor"> 107<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" title="interface in com.fasterxml.jackson.databind.ser">ResolvableSerializer</a></td> 108<td class="colLast"> 109<div class="block">Interface used to indicate serializers that want to do post-processing 110 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>, 111 but before being used.</div> 112</td> 113</tr> 114<tr class="altColor"> 115<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></td> 116<td class="colLast"> 117<div class="block">Interface that defines API for simple extensions that can provide additional serializers 118 for various types.</div> 119</td> 120</tr> 121</tbody> 122</table> 123</li> 124<li class="blockList"> 125<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> 126<caption><span>Class Summary</span><span class="tabEnd"> </span></caption> 127<tr> 128<th class="colFirst" scope="col">Class</th> 129<th class="colLast" scope="col">Description</th> 130</tr> 131<tbody> 132<tr class="altColor"> 133<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" title="class in com.fasterxml.jackson.databind.ser">AnyGetterWriter</a></td> 134<td class="colLast"> 135<div class="block">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 136 for serializing <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.3.0/com/fasterxml/jackson/annotation/JsonAnyGetter.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonAnyGetter</code></a> annotated 137 (Map) properties</div> 138</td> 139</tr> 140<tr class="rowColor"> 141<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/BasicSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">BasicSerializerFactory</a></td> 142<td class="colLast"> 143<div class="block">Factory class that can provide serializers for standard JDK classes, 144 as well as custom classes that extend standard classes or implement 145 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>).</div> 146</td> 147</tr> 148<tr class="altColor"> 149<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a></td> 150<td class="colLast"> 151<div class="block">Base bean property handler class, which implements common parts of 152 reflection-based functionality for accessing a property value 153 and serializing it.</div> 154</td> 155</tr> 156<tr class="rowColor"> 157<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializer</a></td> 158<td class="colLast"> 159<div class="block">Serializer class that can serialize Java objects that map 160 to JSON Object output.</div> 161</td> 162</tr> 163<tr class="altColor"> 164<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</a></td> 165<td class="colLast"> 166<div class="block">Builder class used for aggregating deserialization information about 167 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 168 intances.</div> 169</td> 170</tr> 171<tr class="rowColor"> 172<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerFactory</a></td> 173<td class="colLast"> 174<div class="block">Factory class that can provide serializers for any regular Java beans 175 (as defined by "having at least one get method recognizable as bean 176 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); 177 as well as for "standard" JDK types.</div> 178</td> 179</tr> 180<tr class="altColor"> 181<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerModifier</a></td> 182<td class="colLast"> 183<div class="block">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> 184 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.</div> 185</td> 186</tr> 187<tr class="rowColor"> 188<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/ContainerSerializer.html" title="class in com.fasterxml.jackson.databind.ser">ContainerSerializer</a><T></td> 189<td class="colLast"> 190<div class="block">Intermediate base class for serializers used for serializing 191 types that contain element(s) of other types, such as arrays, 192 <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> 193 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 194 (<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).</div> 195</td> 196</tr> 197<tr class="altColor"> 198<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a></td> 199<td class="colLast"> 200<div class="block">Standard implementation used by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>: 201 adds methods only exposed to <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>, 202 as well as constructors.</div> 203</td> 204</tr> 205<tr class="rowColor"> 206<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.Impl.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider.Impl</a></td> 207<td class="colLast"> 208<div class="block">Concrete implementation that defines factory method(s), 209 defined as final.</div> 210</td> 211</tr> 212<tr class="altColor"> 213<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</a></td> 214<td class="colLast"> 215<div class="block">Interface for objects that providers instances of <a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyFilter.html" title="interface in com.fasterxml.jackson.databind.ser"><code>PropertyFilter</code></a> 216 that match given ids.</div> 217</td> 218</tr> 219<tr class="rowColor"> 220<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyBuilder.html" title="class in com.fasterxml.jackson.databind.ser">PropertyBuilder</a></td> 221<td class="colLast"> 222<div class="block">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 223 construct <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanPropertyWriter</code></a> instances.</div> 224</td> 225</tr> 226<tr class="altColor"> 227<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">PropertyWriter</a></td> 228<td class="colLast"> 229<div class="block">Base class for writers used to output property values (name-value pairs) 230 as key/value pairs via streaming API.</div> 231</td> 232</tr> 233<tr class="rowColor"> 234<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html" title="class in com.fasterxml.jackson.databind.ser">SerializerCache</a></td> 235<td class="colLast"> 236<div class="block">Simple cache object that allows for doing 2-level lookups: first level is 237 by "local" read-only lookup Map (used without locking) 238 and second backup level is by a shared modifiable HashMap.</div> 239</td> 240</tr> 241<tr class="altColor"> 242<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerCache.TypeKey.html" title="class in com.fasterxml.jackson.databind.ser">SerializerCache.TypeKey</a></td> 243<td class="colLast"> 244<div class="block">Key that offers two "modes"; one with raw class, as used for 245 cases were raw class type is available (for example, when using 246 runtime type); and one with full generics-including.</div> 247</td> 248</tr> 249<tr class="rowColor"> 250<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a></td> 251<td class="colLast"> 252<div class="block">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> 253 to obtain actual 254 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> instances from multiple distinct factories.</div> 255</td> 256</tr> 257<tr class="altColor"> 258<td class="colFirst"><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></td> 259<td class="colLast"> 260<div class="block">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 261 no serializers.</div> 262</td> 263</tr> 264</tbody> 265</table> 266</li> 267</ul> 268<a name="package_description"> 269<!-- --> 270</a> 271<h2 title="Package com.fasterxml.jackson.databind.ser Description">Package com.fasterxml.jackson.databind.ser Description</h2> 272<div class="block">Contains implementation classes of serialization part of 273 data binding.</div> 274</div> 275<!-- ======= START OF BOTTOM NAVBAR ====== --> 276<div class="bottomNav"><a name="navbar_bottom"> 277<!-- --> 278</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 279<!-- --> 280</a> 281<ul class="navList" title="Navigation"> 282<li><a href="../../../../../overview-summary.html">Overview</a></li> 283<li class="navBarCell1Rev">Package</li> 284<li>Class</li> 285<li><a href="package-use.html">Use</a></li> 286<li><a href="package-tree.html">Tree</a></li> 287<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 288<li><a href="../../../../../index-all.html">Index</a></li> 289<li><a href="../../../../../help-doc.html">Help</a></li> 290</ul> 291</div> 292<div class="subNav"> 293<ul class="navList"> 294<li><a href="../../../../../com/fasterxml/jackson/databind/node/package-summary.html">Prev Package</a></li> 295<li><a href="../../../../../com/fasterxml/jackson/databind/ser/impl/package-summary.html">Next Package</a></li> 296</ul> 297<ul class="navList"> 298<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/package-summary.html" target="_top">Frames</a></li> 299<li><a href="package-summary.html" target="_top">No Frames</a></li> 300</ul> 301<ul class="navList" id="allclasses_navbar_bottom"> 302<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 303</ul> 304<div> 305<script type="text/javascript"><!-- 306 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 307 if(window==top) { 308 allClassesLink.style.display = "block"; 309 } 310 else { 311 allClassesLink.style.display = "none"; 312 } 313 //--> 314</script> 315</div> 316<a name="skip-navbar_bottom"> 317<!-- --> 318</a></div> 319<!-- ======== END OF BOTTOM NAVBAR ======= --> 320<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 321</body> 322</html> 323