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_10-ea) on Mon Apr 22 19:50:39 PDT 2013 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>SimpleModule (jackson-databind 2.2.0 API)</title> 8<meta name="date" content="2013-04-22"> 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="SimpleModule (jackson-databind 2.2.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><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/SimpleModule.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/module/SimpleKeyDeserializers.html" title="class in com.fasterxml.jackson.databind.module"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html" title="class in com.fasterxml.jackson.databind.module"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/module/SimpleModule.html" target="_top">Frames</a></li> 45<li><a href="SimpleModule.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<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li><a href="#nested_classes_inherited_from_class_com.fasterxml.jackson.databind.Module">Nested</a> | </li> 66<li><a href="#field_summary">Field</a> | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li><a href="#field_detail">Field</a> | </li> 73<li><a href="#constructor_detail">Constr</a> | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind.module</div> 84<h2 title="Class SimpleModule" class="title">Class SimpleModule</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<li><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></li> 89<li> 90<ul class="inheritance"> 91<li><a href="../../../../../com/fasterxml/jackson/databind/Module.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.Module</a></li> 92<li> 93<ul class="inheritance"> 94<li>com.fasterxml.jackson.databind.module.SimpleModule</li> 95</ul> 96</li> 97</ul> 98</li> 99</ul> 100<div class="description"> 101<ul class="blockList"> 102<li class="blockList"> 103<dl> 104<dt>All Implemented Interfaces:</dt> 105<dd><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Versioned.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Versioned</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> 106</dl> 107<hr> 108<br> 109<pre>public class <span class="strong">SimpleModule</span> 110extends <a href="../../../../../com/fasterxml/jackson/databind/Module.html" title="class in com.fasterxml.jackson.databind">Module</a> 111implements <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre> 112<div class="block">Simple <a href="../../../../../com/fasterxml/jackson/databind/Module.html" title="class in com.fasterxml.jackson.databind"><code>Module</code></a> implementation that allows registration 113 of serializers and deserializers, and bean serializer 114 and deserializer modifiers.</div> 115<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.module.SimpleModule">Serialized Form</a></dd></dl> 116</li> 117</ul> 118</div> 119<div class="summary"> 120<ul class="blockList"> 121<li class="blockList"> 122<!-- ======== NESTED CLASS SUMMARY ======== --> 123<ul class="blockList"> 124<li class="blockList"><a name="nested_class_summary"> 125<!-- --> 126</a> 127<h3>Nested Class Summary</h3> 128<ul class="blockList"> 129<li class="blockList"><a name="nested_classes_inherited_from_class_com.fasterxml.jackson.databind.Module"> 130<!-- --> 131</a> 132<h3>Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/Module.html" title="class in com.fasterxml.jackson.databind">Module</a></h3> 133<code><a href="../../../../../com/fasterxml/jackson/databind/Module.SetupContext.html" title="interface in com.fasterxml.jackson.databind">Module.SetupContext</a></code></li> 134</ul> 135</li> 136</ul> 137<!-- =========== FIELD SUMMARY =========== --> 138<ul class="blockList"> 139<li class="blockList"><a name="field_summary"> 140<!-- --> 141</a> 142<h3>Field Summary</h3> 143<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 144<caption><span>Fields</span><span class="tabEnd"> </span></caption> 145<tr> 146<th class="colFirst" scope="col">Modifier and Type</th> 147<th class="colLast" scope="col">Field and Description</th> 148</tr> 149<tr class="altColor"> 150<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleAbstractTypeResolver.html" title="class in com.fasterxml.jackson.databind.module">SimpleAbstractTypeResolver</a></code></td> 151<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#_abstractTypes">_abstractTypes</a></strong></code> 152<div class="block">Lazily-constructed resolver used for storing mappings from 153 abstract classes to more specific implementing classes 154 (which may be abstract or concrete)</div> 155</td> 156</tr> 157<tr class="rowColor"> 158<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/deser/BeanDeserializerModifier.html" title="class in com.fasterxml.jackson.databind.deser">BeanDeserializerModifier</a></code></td> 159<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#_deserializerModifier">_deserializerModifier</a></strong></code> </td> 160</tr> 161<tr class="altColor"> 162<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleDeserializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleDeserializers</a></code></td> 163<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#_deserializers">_deserializers</a></strong></code> </td> 164</tr> 165<tr class="rowColor"> 166<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleKeyDeserializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleKeyDeserializers</a></code></td> 167<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#_keyDeserializers">_keyDeserializers</a></strong></code> </td> 168</tr> 169<tr class="altColor"> 170<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleSerializers</a></code></td> 171<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#_keySerializers">_keySerializers</a></strong></code> </td> 172</tr> 173<tr class="rowColor"> 174<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</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">Class</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">Class</a><?>></code></td> 175<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#_mixins">_mixins</a></strong></code> 176<div class="block">Lazily-constructed map that contains mix-in definitions, indexed 177 by target class, value being mix-in to apply.</div> 178</td> 179</tr> 180<tr class="altColor"> 181<td class="colFirst"><code>protected <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></code></td> 182<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#_name">_name</a></strong></code> </td> 183</tr> 184<tr class="rowColor"> 185<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerModifier</a></code></td> 186<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#_serializerModifier">_serializerModifier</a></strong></code> </td> 187</tr> 188<tr class="altColor"> 189<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleSerializers</a></code></td> 190<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#_serializers">_serializers</a></strong></code> </td> 191</tr> 192<tr class="rowColor"> 193<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/util/LinkedHashSet.html?is-external=true" title="class or interface in java.util">LinkedHashSet</a><<a href="../../../../../com/fasterxml/jackson/databind/jsontype/NamedType.html" title="class in com.fasterxml.jackson.databind.jsontype">NamedType</a>></code></td> 194<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#_subtypes">_subtypes</a></strong></code> 195<div class="block">Set of subtypes to register, if any.</div> 196</td> 197</tr> 198<tr class="altColor"> 199<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleValueInstantiators.html" title="class in com.fasterxml.jackson.databind.module">SimpleValueInstantiators</a></code></td> 200<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#_valueInstantiators">_valueInstantiators</a></strong></code> 201<div class="block">Lazily-constructed resolver used for storing mappings from 202 abstract classes to more specific implementing classes 203 (which may be abstract or concrete)</div> 204</td> 205</tr> 206<tr class="rowColor"> 207<td class="colFirst"><code>protected <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a></code></td> 208<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#_version">_version</a></strong></code> </td> 209</tr> 210</table> 211</li> 212</ul> 213<!-- ======== CONSTRUCTOR SUMMARY ======== --> 214<ul class="blockList"> 215<li class="blockList"><a name="constructor_summary"> 216<!-- --> 217</a> 218<h3>Constructor Summary</h3> 219<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 220<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 221<tr> 222<th class="colOne" scope="col">Constructor and Description</th> 223</tr> 224<tr class="altColor"> 225<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#SimpleModule()">SimpleModule</a></strong>()</code> 226<div class="block">Constructors that should only be used for non-reusable 227 convenience modules used by app code: "real" modules should 228 use actual name and version number information.</div> 229</td> 230</tr> 231<tr class="rowColor"> 232<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#SimpleModule(java.lang.String)">SimpleModule</a></strong>(<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> name)</code> 233<div class="block">Convenience constructor that will default version to 234 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true#unknownVersion()" title="class or interface in com.fasterxml.jackson.core"><code>Version.unknownVersion()</code></a>.</div> 235</td> 236</tr> 237<tr class="altColor"> 238<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#SimpleModule(java.lang.String, com.fasterxml.jackson.core.Version)">SimpleModule</a></strong>(<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> name, 239 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a> version)</code> 240<div class="block">Constructor to use for actual reusable modules.</div> 241</td> 242</tr> 243<tr class="rowColor"> 244<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#SimpleModule(java.lang.String, com.fasterxml.jackson.core.Version, java.util.List)">SimpleModule</a></strong>(<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> name, 245 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a> version, 246 <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> serializers)</code> </td> 247</tr> 248<tr class="altColor"> 249<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#SimpleModule(java.lang.String, com.fasterxml.jackson.core.Version, java.util.Map)">SimpleModule</a></strong>(<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> name, 250 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a> version, 251 <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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">Class</a><?>,<a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><?>> deserializers)</code> </td> 252</tr> 253<tr class="rowColor"> 254<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#SimpleModule(java.lang.String, com.fasterxml.jackson.core.Version, java.util.Map, java.util.List)">SimpleModule</a></strong>(<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> name, 255 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a> version, 256 <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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">Class</a><?>,<a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><?>> deserializers, 257 <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> serializers)</code> </td> 258</tr> 259<tr class="altColor"> 260<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#SimpleModule(com.fasterxml.jackson.core.Version)">SimpleModule</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a> version)</code> 261<div class="block">Convenience constructor that will use specified Version, 262 including name from <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true#getArtifactId()" title="class or interface in com.fasterxml.jackson.core"><code>Version.getArtifactId()</code></a></div> 263</td> 264</tr> 265</table> 266</li> 267</ul> 268<!-- ========== METHOD SUMMARY =========== --> 269<ul class="blockList"> 270<li class="blockList"><a name="method_summary"> 271<!-- --> 272</a> 273<h3>Method Summary</h3> 274<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 275<caption><span>Methods</span><span class="tabEnd"> </span></caption> 276<tr> 277<th class="colFirst" scope="col">Modifier and Type</th> 278<th class="colLast" scope="col">Method and Description</th> 279</tr> 280<tr class="altColor"> 281<td class="colFirst"><code><T> <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a></code></td> 282<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#addAbstractTypeMapping(java.lang.Class, java.lang.Class)">addAbstractTypeMapping</a></strong>(<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><T> superType, 283 <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><? extends T> subType)</code> 284<div class="block">Lazily-constructed resolver used for storing mappings from 285 abstract classes to more specific implementing classes 286 (which may be abstract or concrete)</div> 287</td> 288</tr> 289<tr class="rowColor"> 290<td class="colFirst"><code><T> <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a></code></td> 291<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#addDeserializer(java.lang.Class, com.fasterxml.jackson.databind.JsonDeserializer)">addDeserializer</a></strong>(<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><T> type, 292 <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><? extends T> deser)</code> </td> 293</tr> 294<tr class="altColor"> 295<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a></code></td> 296<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#addKeyDeserializer(java.lang.Class, com.fasterxml.jackson.databind.KeyDeserializer)">addKeyDeserializer</a></strong>(<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, 297 <a href="../../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer</a> deser)</code> </td> 298</tr> 299<tr class="rowColor"> 300<td class="colFirst"><code><T> <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a></code></td> 301<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#addKeySerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer)">addKeySerializer</a></strong>(<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><? extends T> type, 302 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><T> ser)</code> </td> 303</tr> 304<tr class="altColor"> 305<td class="colFirst"><code><T> <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a></code></td> 306<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#addSerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer)">addSerializer</a></strong>(<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><? extends T> type, 307 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><T> ser)</code> </td> 308</tr> 309<tr class="rowColor"> 310<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a></code></td> 311<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#addSerializer(com.fasterxml.jackson.databind.JsonSerializer)">addSerializer</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</code> </td> 312</tr> 313<tr class="altColor"> 314<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a></code></td> 315<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#addValueInstantiator(java.lang.Class, com.fasterxml.jackson.databind.deser.ValueInstantiator)">addValueInstantiator</a></strong>(<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><?> beanType, 316 <a href="../../../../../com/fasterxml/jackson/databind/deser/ValueInstantiator.html" title="class in com.fasterxml.jackson.databind.deser">ValueInstantiator</a> inst)</code> 317<div class="block">Method for registering <a href="../../../../../com/fasterxml/jackson/databind/deser/ValueInstantiator.html" title="class in com.fasterxml.jackson.databind.deser"><code>ValueInstantiator</code></a> to use when deserializing 318 instances of type <code>beanType</code>.</div> 319</td> 320</tr> 321<tr class="rowColor"> 322<td class="colFirst"><code><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></code></td> 323<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#getModuleName()">getModuleName</a></strong>()</code> 324<div class="block">Method that returns identifier for module; this can be used by Jackson 325 for informational purposes, as well as in associating extensions with 326 module that provides them.</div> 327</td> 328</tr> 329<tr class="altColor"> 330<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a></code></td> 331<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#registerSubtypes(java.lang.Class...)">registerSubtypes</a></strong>(<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><?>... subtypes)</code> 332<div class="block">Method for adding set of subtypes to be registered with 333 <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> 334 this is an alternative to using annotations in super type to indicate subtypes.</div> 335</td> 336</tr> 337<tr class="rowColor"> 338<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a></code></td> 339<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#registerSubtypes(com.fasterxml.jackson.databind.jsontype.NamedType...)">registerSubtypes</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/jsontype/NamedType.html" title="class in com.fasterxml.jackson.databind.jsontype">NamedType</a>... subtypes)</code> 340<div class="block">Method for adding set of subtypes (along with type name to use) to be registered with 341 <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> 342 this is an alternative to using annotations in super type to indicate subtypes.</div> 343</td> 344</tr> 345<tr class="altColor"> 346<td class="colFirst"><code>void</code></td> 347<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#setAbstractTypes(com.fasterxml.jackson.databind.module.SimpleAbstractTypeResolver)">setAbstractTypes</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/module/SimpleAbstractTypeResolver.html" title="class in com.fasterxml.jackson.databind.module">SimpleAbstractTypeResolver</a> atr)</code> 348<div class="block">Resets currently configured abstract type mappings</div> 349</td> 350</tr> 351<tr class="rowColor"> 352<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a></code></td> 353<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#setDeserializerModifier(com.fasterxml.jackson.databind.deser.BeanDeserializerModifier)">setDeserializerModifier</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/deser/BeanDeserializerModifier.html" title="class in com.fasterxml.jackson.databind.deser">BeanDeserializerModifier</a> mod)</code> </td> 354</tr> 355<tr class="altColor"> 356<td class="colFirst"><code>void</code></td> 357<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#setDeserializers(com.fasterxml.jackson.databind.module.SimpleDeserializers)">setDeserializers</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/module/SimpleDeserializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleDeserializers</a> d)</code> 358<div class="block">Resets all currently configured deserializers.</div> 359</td> 360</tr> 361<tr class="rowColor"> 362<td class="colFirst"><code>void</code></td> 363<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#setKeyDeserializers(com.fasterxml.jackson.databind.module.SimpleKeyDeserializers)">setKeyDeserializers</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/module/SimpleKeyDeserializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleKeyDeserializers</a> kd)</code> 364<div class="block">Resets all currently configured key deserializers.</div> 365</td> 366</tr> 367<tr class="altColor"> 368<td class="colFirst"><code>void</code></td> 369<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#setKeySerializers(com.fasterxml.jackson.databind.module.SimpleSerializers)">setKeySerializers</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleSerializers</a> ks)</code> 370<div class="block">Resets all currently configured key serializers.</div> 371</td> 372</tr> 373<tr class="rowColor"> 374<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a></code></td> 375<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#setMixInAnnotation(java.lang.Class, java.lang.Class)">setMixInAnnotation</a></strong>(<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><?> targetType, 376 <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><?> mixinClass)</code> 377<div class="block">Method for specifying that annotations define by <code>mixinClass</code> 378 should be "mixed in" with annotations that <code>targetType</code> 379 has (as if they were directly included on it!).</div> 380</td> 381</tr> 382<tr class="altColor"> 383<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a></code></td> 384<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#setSerializerModifier(com.fasterxml.jackson.databind.ser.BeanSerializerModifier)">setSerializerModifier</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerModifier</a> mod)</code> </td> 385</tr> 386<tr class="rowColor"> 387<td class="colFirst"><code>void</code></td> 388<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#setSerializers(com.fasterxml.jackson.databind.module.SimpleSerializers)">setSerializers</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleSerializers</a> s)</code> 389<div class="block">Resets all currently configured serializers.</div> 390</td> 391</tr> 392<tr class="altColor"> 393<td class="colFirst"><code>void</code></td> 394<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#setupModule(com.fasterxml.jackson.databind.Module.SetupContext)">setupModule</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/Module.SetupContext.html" title="interface in com.fasterxml.jackson.databind">Module.SetupContext</a> context)</code> 395<div class="block">Method called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> when module is registered.</div> 396</td> 397</tr> 398<tr class="rowColor"> 399<td class="colFirst"><code>void</code></td> 400<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#setValueInstantiators(com.fasterxml.jackson.databind.module.SimpleValueInstantiators)">setValueInstantiators</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/module/SimpleValueInstantiators.html" title="class in com.fasterxml.jackson.databind.module">SimpleValueInstantiators</a> svi)</code> 401<div class="block">Resets all currently configured value instantiators</div> 402</td> 403</tr> 404<tr class="altColor"> 405<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a></code></td> 406<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#version()">version</a></strong>()</code> 407<div class="block">Method that returns version of this module.</div> 408</td> 409</tr> 410</table> 411<ul class="blockList"> 412<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 413<!-- --> 414</a> 415<h3>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></h3> 416<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></li> 417</ul> 418</li> 419</ul> 420</li> 421</ul> 422</div> 423<div class="details"> 424<ul class="blockList"> 425<li class="blockList"> 426<!-- ============ FIELD DETAIL =========== --> 427<ul class="blockList"> 428<li class="blockList"><a name="field_detail"> 429<!-- --> 430</a> 431<h3>Field Detail</h3> 432<a name="_name"> 433<!-- --> 434</a> 435<ul class="blockList"> 436<li class="blockList"> 437<h4>_name</h4> 438<pre>protected final <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> _name</pre> 439</li> 440</ul> 441<a name="_version"> 442<!-- --> 443</a> 444<ul class="blockList"> 445<li class="blockList"> 446<h4>_version</h4> 447<pre>protected final <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a> _version</pre> 448</li> 449</ul> 450<a name="_serializers"> 451<!-- --> 452</a> 453<ul class="blockList"> 454<li class="blockList"> 455<h4>_serializers</h4> 456<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleSerializers</a> _serializers</pre> 457</li> 458</ul> 459<a name="_deserializers"> 460<!-- --> 461</a> 462<ul class="blockList"> 463<li class="blockList"> 464<h4>_deserializers</h4> 465<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleDeserializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleDeserializers</a> _deserializers</pre> 466</li> 467</ul> 468<a name="_keySerializers"> 469<!-- --> 470</a> 471<ul class="blockList"> 472<li class="blockList"> 473<h4>_keySerializers</h4> 474<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleSerializers</a> _keySerializers</pre> 475</li> 476</ul> 477<a name="_keyDeserializers"> 478<!-- --> 479</a> 480<ul class="blockList"> 481<li class="blockList"> 482<h4>_keyDeserializers</h4> 483<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleKeyDeserializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleKeyDeserializers</a> _keyDeserializers</pre> 484</li> 485</ul> 486<a name="_abstractTypes"> 487<!-- --> 488</a> 489<ul class="blockList"> 490<li class="blockList"> 491<h4>_abstractTypes</h4> 492<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleAbstractTypeResolver.html" title="class in com.fasterxml.jackson.databind.module">SimpleAbstractTypeResolver</a> _abstractTypes</pre> 493<div class="block">Lazily-constructed resolver used for storing mappings from 494 abstract classes to more specific implementing classes 495 (which may be abstract or concrete)</div> 496</li> 497</ul> 498<a name="_valueInstantiators"> 499<!-- --> 500</a> 501<ul class="blockList"> 502<li class="blockList"> 503<h4>_valueInstantiators</h4> 504<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleValueInstantiators.html" title="class in com.fasterxml.jackson.databind.module">SimpleValueInstantiators</a> _valueInstantiators</pre> 505<div class="block">Lazily-constructed resolver used for storing mappings from 506 abstract classes to more specific implementing classes 507 (which may be abstract or concrete)</div> 508</li> 509</ul> 510<a name="_deserializerModifier"> 511<!-- --> 512</a> 513<ul class="blockList"> 514<li class="blockList"> 515<h4>_deserializerModifier</h4> 516<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/deser/BeanDeserializerModifier.html" title="class in com.fasterxml.jackson.databind.deser">BeanDeserializerModifier</a> _deserializerModifier</pre> 517<dl><dt><span class="strong">Since:</span></dt> 518 <dd>2.2</dd></dl> 519</li> 520</ul> 521<a name="_serializerModifier"> 522<!-- --> 523</a> 524<ul class="blockList"> 525<li class="blockList"> 526<h4>_serializerModifier</h4> 527<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerModifier</a> _serializerModifier</pre> 528<dl><dt><span class="strong">Since:</span></dt> 529 <dd>2.2</dd></dl> 530</li> 531</ul> 532<a name="_mixins"> 533<!-- --> 534</a> 535<ul class="blockList"> 536<li class="blockList"> 537<h4>_mixins</h4> 538<pre>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</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">Class</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">Class</a><?>> _mixins</pre> 539<div class="block">Lazily-constructed map that contains mix-in definitions, indexed 540 by target class, value being mix-in to apply.</div> 541</li> 542</ul> 543<a name="_subtypes"> 544<!-- --> 545</a> 546<ul class="blockListLast"> 547<li class="blockList"> 548<h4>_subtypes</h4> 549<pre>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/util/LinkedHashSet.html?is-external=true" title="class or interface in java.util">LinkedHashSet</a><<a href="../../../../../com/fasterxml/jackson/databind/jsontype/NamedType.html" title="class in com.fasterxml.jackson.databind.jsontype">NamedType</a>> _subtypes</pre> 550<div class="block">Set of subtypes to register, if any.</div> 551</li> 552</ul> 553</li> 554</ul> 555<!-- ========= CONSTRUCTOR DETAIL ======== --> 556<ul class="blockList"> 557<li class="blockList"><a name="constructor_detail"> 558<!-- --> 559</a> 560<h3>Constructor Detail</h3> 561<a name="SimpleModule()"> 562<!-- --> 563</a> 564<ul class="blockList"> 565<li class="blockList"> 566<h4>SimpleModule</h4> 567<pre>public SimpleModule()</pre> 568<div class="block">Constructors that should only be used for non-reusable 569 convenience modules used by app code: "real" modules should 570 use actual name and version number information.</div> 571</li> 572</ul> 573<a name="SimpleModule(java.lang.String)"> 574<!-- --> 575</a> 576<ul class="blockList"> 577<li class="blockList"> 578<h4>SimpleModule</h4> 579<pre>public SimpleModule(<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> name)</pre> 580<div class="block">Convenience constructor that will default version to 581 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true#unknownVersion()" title="class or interface in com.fasterxml.jackson.core"><code>Version.unknownVersion()</code></a>.</div> 582</li> 583</ul> 584<a name="SimpleModule(com.fasterxml.jackson.core.Version)"> 585<!-- --> 586</a> 587<ul class="blockList"> 588<li class="blockList"> 589<h4>SimpleModule</h4> 590<pre>public SimpleModule(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a> version)</pre> 591<div class="block">Convenience constructor that will use specified Version, 592 including name from <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true#getArtifactId()" title="class or interface in com.fasterxml.jackson.core"><code>Version.getArtifactId()</code></a></div> 593</li> 594</ul> 595<a name="SimpleModule(java.lang.String, com.fasterxml.jackson.core.Version)"> 596<!-- --> 597</a> 598<ul class="blockList"> 599<li class="blockList"> 600<h4>SimpleModule</h4> 601<pre>public SimpleModule(<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> name, 602 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a> version)</pre> 603<div class="block">Constructor to use for actual reusable modules. 604 ObjectMapper may use name as identifier to notice attempts 605 for multiple registrations of the same module (although it 606 does not have to).</div> 607<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - Unique name of the module</dd><dd><code>version</code> - Version of the module</dd></dl> 608</li> 609</ul> 610<a name="SimpleModule(java.lang.String, com.fasterxml.jackson.core.Version, java.util.Map)"> 611<!-- --> 612</a> 613<ul class="blockList"> 614<li class="blockList"> 615<h4>SimpleModule</h4> 616<pre>public SimpleModule(<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> name, 617 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a> version, 618 <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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">Class</a><?>,<a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><?>> deserializers)</pre> 619<dl><dt><span class="strong">Since:</span></dt> 620 <dd>2.1</dd></dl> 621</li> 622</ul> 623<a name="SimpleModule(java.lang.String, com.fasterxml.jackson.core.Version, java.util.List)"> 624<!-- --> 625</a> 626<ul class="blockList"> 627<li class="blockList"> 628<h4>SimpleModule</h4> 629<pre>public SimpleModule(<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> name, 630 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a> version, 631 <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> serializers)</pre> 632<dl><dt><span class="strong">Since:</span></dt> 633 <dd>2.1</dd></dl> 634</li> 635</ul> 636<a name="SimpleModule(java.lang.String, com.fasterxml.jackson.core.Version, java.util.Map, java.util.List)"> 637<!-- --> 638</a> 639<ul class="blockListLast"> 640<li class="blockList"> 641<h4>SimpleModule</h4> 642<pre>public SimpleModule(<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> name, 643 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a> version, 644 <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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">Class</a><?>,<a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><?>> deserializers, 645 <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> serializers)</pre> 646<dl><dt><span class="strong">Since:</span></dt> 647 <dd>2.1</dd></dl> 648</li> 649</ul> 650</li> 651</ul> 652<!-- ============ METHOD DETAIL ========== --> 653<ul class="blockList"> 654<li class="blockList"><a name="method_detail"> 655<!-- --> 656</a> 657<h3>Method Detail</h3> 658<a name="setSerializers(com.fasterxml.jackson.databind.module.SimpleSerializers)"> 659<!-- --> 660</a> 661<ul class="blockList"> 662<li class="blockList"> 663<h4>setSerializers</h4> 664<pre>public void setSerializers(<a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleSerializers</a> s)</pre> 665<div class="block">Resets all currently configured serializers.</div> 666</li> 667</ul> 668<a name="setDeserializers(com.fasterxml.jackson.databind.module.SimpleDeserializers)"> 669<!-- --> 670</a> 671<ul class="blockList"> 672<li class="blockList"> 673<h4>setDeserializers</h4> 674<pre>public void setDeserializers(<a href="../../../../../com/fasterxml/jackson/databind/module/SimpleDeserializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleDeserializers</a> d)</pre> 675<div class="block">Resets all currently configured deserializers.</div> 676</li> 677</ul> 678<a name="setKeySerializers(com.fasterxml.jackson.databind.module.SimpleSerializers)"> 679<!-- --> 680</a> 681<ul class="blockList"> 682<li class="blockList"> 683<h4>setKeySerializers</h4> 684<pre>public void setKeySerializers(<a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleSerializers</a> ks)</pre> 685<div class="block">Resets all currently configured key serializers.</div> 686</li> 687</ul> 688<a name="setKeyDeserializers(com.fasterxml.jackson.databind.module.SimpleKeyDeserializers)"> 689<!-- --> 690</a> 691<ul class="blockList"> 692<li class="blockList"> 693<h4>setKeyDeserializers</h4> 694<pre>public void setKeyDeserializers(<a href="../../../../../com/fasterxml/jackson/databind/module/SimpleKeyDeserializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleKeyDeserializers</a> kd)</pre> 695<div class="block">Resets all currently configured key deserializers.</div> 696</li> 697</ul> 698<a name="setAbstractTypes(com.fasterxml.jackson.databind.module.SimpleAbstractTypeResolver)"> 699<!-- --> 700</a> 701<ul class="blockList"> 702<li class="blockList"> 703<h4>setAbstractTypes</h4> 704<pre>public void setAbstractTypes(<a href="../../../../../com/fasterxml/jackson/databind/module/SimpleAbstractTypeResolver.html" title="class in com.fasterxml.jackson.databind.module">SimpleAbstractTypeResolver</a> atr)</pre> 705<div class="block">Resets currently configured abstract type mappings</div> 706</li> 707</ul> 708<a name="setValueInstantiators(com.fasterxml.jackson.databind.module.SimpleValueInstantiators)"> 709<!-- --> 710</a> 711<ul class="blockList"> 712<li class="blockList"> 713<h4>setValueInstantiators</h4> 714<pre>public void setValueInstantiators(<a href="../../../../../com/fasterxml/jackson/databind/module/SimpleValueInstantiators.html" title="class in com.fasterxml.jackson.databind.module">SimpleValueInstantiators</a> svi)</pre> 715<div class="block">Resets all currently configured value instantiators</div> 716</li> 717</ul> 718<a name="setDeserializerModifier(com.fasterxml.jackson.databind.deser.BeanDeserializerModifier)"> 719<!-- --> 720</a> 721<ul class="blockList"> 722<li class="blockList"> 723<h4>setDeserializerModifier</h4> 724<pre>public <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a> setDeserializerModifier(<a href="../../../../../com/fasterxml/jackson/databind/deser/BeanDeserializerModifier.html" title="class in com.fasterxml.jackson.databind.deser">BeanDeserializerModifier</a> mod)</pre> 725<dl><dt><span class="strong">Since:</span></dt> 726 <dd>2.2</dd></dl> 727</li> 728</ul> 729<a name="setSerializerModifier(com.fasterxml.jackson.databind.ser.BeanSerializerModifier)"> 730<!-- --> 731</a> 732<ul class="blockList"> 733<li class="blockList"> 734<h4>setSerializerModifier</h4> 735<pre>public <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a> setSerializerModifier(<a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerModifier</a> mod)</pre> 736<dl><dt><span class="strong">Since:</span></dt> 737 <dd>2.2</dd></dl> 738</li> 739</ul> 740<a name="addSerializer(com.fasterxml.jackson.databind.JsonSerializer)"> 741<!-- --> 742</a> 743<ul class="blockList"> 744<li class="blockList"> 745<h4>addSerializer</h4> 746<pre>public <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a> addSerializer(<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</pre> 747</li> 748</ul> 749<a name="addSerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer)"> 750<!-- --> 751</a> 752<ul class="blockList"> 753<li class="blockList"> 754<h4>addSerializer</h4> 755<pre>public <T> <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a> addSerializer(<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><? extends T> type, 756 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><T> ser)</pre> 757</li> 758</ul> 759<a name="addKeySerializer(java.lang.Class, com.fasterxml.jackson.databind.JsonSerializer)"> 760<!-- --> 761</a> 762<ul class="blockList"> 763<li class="blockList"> 764<h4>addKeySerializer</h4> 765<pre>public <T> <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a> addKeySerializer(<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><? extends T> type, 766 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><T> ser)</pre> 767</li> 768</ul> 769<a name="addDeserializer(java.lang.Class, com.fasterxml.jackson.databind.JsonDeserializer)"> 770<!-- --> 771</a> 772<ul class="blockList"> 773<li class="blockList"> 774<h4>addDeserializer</h4> 775<pre>public <T> <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a> addDeserializer(<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><T> type, 776 <a href="../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><? extends T> deser)</pre> 777</li> 778</ul> 779<a name="addKeyDeserializer(java.lang.Class, com.fasterxml.jackson.databind.KeyDeserializer)"> 780<!-- --> 781</a> 782<ul class="blockList"> 783<li class="blockList"> 784<h4>addKeyDeserializer</h4> 785<pre>public <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a> addKeyDeserializer(<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, 786 <a href="../../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer</a> deser)</pre> 787</li> 788</ul> 789<a name="addAbstractTypeMapping(java.lang.Class, java.lang.Class)"> 790<!-- --> 791</a> 792<ul class="blockList"> 793<li class="blockList"> 794<h4>addAbstractTypeMapping</h4> 795<pre>public <T> <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a> addAbstractTypeMapping(<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><T> superType, 796 <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><? extends T> subType)</pre> 797<div class="block">Lazily-constructed resolver used for storing mappings from 798 abstract classes to more specific implementing classes 799 (which may be abstract or concrete)</div> 800</li> 801</ul> 802<a name="addValueInstantiator(java.lang.Class, com.fasterxml.jackson.databind.deser.ValueInstantiator)"> 803<!-- --> 804</a> 805<ul class="blockList"> 806<li class="blockList"> 807<h4>addValueInstantiator</h4> 808<pre>public <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a> addValueInstantiator(<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><?> beanType, 809 <a href="../../../../../com/fasterxml/jackson/databind/deser/ValueInstantiator.html" title="class in com.fasterxml.jackson.databind.deser">ValueInstantiator</a> inst)</pre> 810<div class="block">Method for registering <a href="../../../../../com/fasterxml/jackson/databind/deser/ValueInstantiator.html" title="class in com.fasterxml.jackson.databind.deser"><code>ValueInstantiator</code></a> to use when deserializing 811 instances of type <code>beanType</code>. 812<p> 813 Instantiator is 814 registered when module is registered for <code>ObjectMapper</code>.</div> 815</li> 816</ul> 817<a name="registerSubtypes(java.lang.Class...)"> 818<!-- --> 819</a> 820<ul class="blockList"> 821<li class="blockList"> 822<h4>registerSubtypes</h4> 823<pre>public <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a> registerSubtypes(<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><?>... subtypes)</pre> 824<div class="block">Method for adding set of subtypes to be registered with 825 <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> 826 this is an alternative to using annotations in super type to indicate subtypes.</div> 827</li> 828</ul> 829<a name="registerSubtypes(com.fasterxml.jackson.databind.jsontype.NamedType...)"> 830<!-- --> 831</a> 832<ul class="blockList"> 833<li class="blockList"> 834<h4>registerSubtypes</h4> 835<pre>public <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a> registerSubtypes(<a href="../../../../../com/fasterxml/jackson/databind/jsontype/NamedType.html" title="class in com.fasterxml.jackson.databind.jsontype">NamedType</a>... subtypes)</pre> 836<div class="block">Method for adding set of subtypes (along with type name to use) to be registered with 837 <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> 838 this is an alternative to using annotations in super type to indicate subtypes.</div> 839</li> 840</ul> 841<a name="setMixInAnnotation(java.lang.Class, java.lang.Class)"> 842<!-- --> 843</a> 844<ul class="blockList"> 845<li class="blockList"> 846<h4>setMixInAnnotation</h4> 847<pre>public <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a> setMixInAnnotation(<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><?> targetType, 848 <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><?> mixinClass)</pre> 849<div class="block">Method for specifying that annotations define by <code>mixinClass</code> 850 should be "mixed in" with annotations that <code>targetType</code> 851 has (as if they were directly included on it!). 852<p> 853 Mix-in annotations are 854 registered when module is registered for <code>ObjectMapper</code>.</div> 855</li> 856</ul> 857<a name="getModuleName()"> 858<!-- --> 859</a> 860<ul class="blockList"> 861<li class="blockList"> 862<h4>getModuleName</h4> 863<pre>public <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> getModuleName()</pre> 864<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/Module.html#getModuleName()">Module</a></code></strong></div> 865<div class="block">Method that returns identifier for module; this can be used by Jackson 866 for informational purposes, as well as in associating extensions with 867 module that provides them.</div> 868<dl> 869<dt><strong>Specified by:</strong></dt> 870<dd><code><a href="../../../../../com/fasterxml/jackson/databind/Module.html#getModuleName()">getModuleName</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/Module.html" title="class in com.fasterxml.jackson.databind">Module</a></code></dd> 871</dl> 872</li> 873</ul> 874<a name="setupModule(com.fasterxml.jackson.databind.Module.SetupContext)"> 875<!-- --> 876</a> 877<ul class="blockList"> 878<li class="blockList"> 879<h4>setupModule</h4> 880<pre>public void setupModule(<a href="../../../../../com/fasterxml/jackson/databind/Module.SetupContext.html" title="interface in com.fasterxml.jackson.databind">Module.SetupContext</a> context)</pre> 881<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/Module.html#setupModule(com.fasterxml.jackson.databind.Module.SetupContext)">Module</a></code></strong></div> 882<div class="block">Method called by <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> when module is registered. 883 It is called to let module register functionality it provides, 884 using callback methods passed-in context object exposes.</div> 885<dl> 886<dt><strong>Specified by:</strong></dt> 887<dd><code><a href="../../../../../com/fasterxml/jackson/databind/Module.html#setupModule(com.fasterxml.jackson.databind.Module.SetupContext)">setupModule</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/Module.html" title="class in com.fasterxml.jackson.databind">Module</a></code></dd> 888</dl> 889</li> 890</ul> 891<a name="version()"> 892<!-- --> 893</a> 894<ul class="blockListLast"> 895<li class="blockList"> 896<h4>version</h4> 897<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a> version()</pre> 898<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/Module.html#version()">Module</a></code></strong></div> 899<div class="block">Method that returns version of this module. Can be used by Jackson for 900 informational purposes.</div> 901<dl> 902<dt><strong>Specified by:</strong></dt> 903<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Versioned.html?is-external=true#version()" title="class or interface in com.fasterxml.jackson.core">version</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/Versioned.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Versioned</a></code></dd> 904<dt><strong>Specified by:</strong></dt> 905<dd><code><a href="../../../../../com/fasterxml/jackson/databind/Module.html#version()">version</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/Module.html" title="class in com.fasterxml.jackson.databind">Module</a></code></dd> 906</dl> 907</li> 908</ul> 909</li> 910</ul> 911</li> 912</ul> 913</div> 914</div> 915<!-- ========= END OF CLASS DATA ========= --> 916<!-- ======= START OF BOTTOM NAVBAR ====== --> 917<div class="bottomNav"><a name="navbar_bottom"> 918<!-- --> 919</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 920<!-- --> 921</a> 922<ul class="navList" title="Navigation"> 923<li><a href="../../../../../overview-summary.html">Overview</a></li> 924<li><a href="package-summary.html">Package</a></li> 925<li class="navBarCell1Rev">Class</li> 926<li><a href="class-use/SimpleModule.html">Use</a></li> 927<li><a href="package-tree.html">Tree</a></li> 928<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 929<li><a href="../../../../../index-all.html">Index</a></li> 930<li><a href="../../../../../help-doc.html">Help</a></li> 931</ul> 932</div> 933<div class="subNav"> 934<ul class="navList"> 935<li><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleKeyDeserializers.html" title="class in com.fasterxml.jackson.databind.module"><span class="strong">Prev Class</span></a></li> 936<li><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html" title="class in com.fasterxml.jackson.databind.module"><span class="strong">Next Class</span></a></li> 937</ul> 938<ul class="navList"> 939<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/module/SimpleModule.html" target="_top">Frames</a></li> 940<li><a href="SimpleModule.html" target="_top">No Frames</a></li> 941</ul> 942<ul class="navList" id="allclasses_navbar_bottom"> 943<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 944</ul> 945<div> 946<script type="text/javascript"><!-- 947 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 948 if(window==top) { 949 allClassesLink.style.display = "block"; 950 } 951 else { 952 allClassesLink.style.display = "none"; 953 } 954 //--> 955</script> 956</div> 957<div> 958<ul class="subNavList"> 959<li>Summary: </li> 960<li><a href="#nested_classes_inherited_from_class_com.fasterxml.jackson.databind.Module">Nested</a> | </li> 961<li><a href="#field_summary">Field</a> | </li> 962<li><a href="#constructor_summary">Constr</a> | </li> 963<li><a href="#method_summary">Method</a></li> 964</ul> 965<ul class="subNavList"> 966<li>Detail: </li> 967<li><a href="#field_detail">Field</a> | </li> 968<li><a href="#constructor_detail">Constr</a> | </li> 969<li><a href="#method_detail">Method</a></li> 970</ul> 971</div> 972<a name="skip-navbar_bottom"> 973<!-- --> 974</a></div> 975<!-- ======== END OF BOTTOM NAVBAR ======= --> 976<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 977</body> 978</html> 979