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 (1.8.0_162) on Tue Mar 24 11:44:43 PDT 2020 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>Uses of Class com.fasterxml.jackson.databind.module.SimpleModule (jackson-databind 2.11.0.rc1 API)</title> 8<meta name="date" content="2020-03-24"> 9<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="Uses of Class com.fasterxml.jackson.databind.module.SimpleModule (jackson-databind 2.11.0.rc1 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22</script> 23<noscript> 24<div>JavaScript is disabled on your browser.</div> 25</noscript> 26<!-- ========= START OF TOP NAVBAR ======= --> 27<div class="topNav"><a name="navbar.top"> 28<!-- --> 29</a> 30<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 31<a name="navbar.top.firstrow"> 32<!-- --> 33</a> 34<ul class="navList" title="Navigation"> 35<li><a href="../../../../../../overview-summary.html">Overview</a></li> 36<li><a href="../package-summary.html">Package</a></li> 37<li><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">Class</a></li> 38<li class="navBarCell1Rev">Use</li> 39<li><a href="../package-tree.html">Tree</a></li> 40<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> 41<li><a href="../../../../../../index-all.html">Index</a></li> 42<li><a href="../../../../../../help-doc.html">Help</a></li> 43</ul> 44</div> 45<div class="subNav"> 46<ul class="navList"> 47<li>Prev</li> 48<li>Next</li> 49</ul> 50<ul class="navList"> 51<li><a href="../../../../../../index.html?com/fasterxml/jackson/databind/module/class-use/SimpleModule.html" target="_top">Frames</a></li> 52<li><a href="SimpleModule.html" target="_top">No Frames</a></li> 53</ul> 54<ul class="navList" id="allclasses_navbar_top"> 55<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> 56</ul> 57<div> 58<script type="text/javascript"><!-- 59 allClassesLink = document.getElementById("allclasses_navbar_top"); 60 if(window==top) { 61 allClassesLink.style.display = "block"; 62 } 63 else { 64 allClassesLink.style.display = "none"; 65 } 66 //--> 67</script> 68</div> 69<a name="skip.navbar.top"> 70<!-- --> 71</a></div> 72<!-- ========= END OF TOP NAVBAR ========= --> 73<div class="header"> 74<h2 title="Uses of Class com.fasterxml.jackson.databind.module.SimpleModule" class="title">Uses of Class<br>com.fasterxml.jackson.databind.module.SimpleModule</h2> 75</div> 76<div class="classUseContainer"> 77<ul class="blockList"> 78<li class="blockList"> 79<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> 80<caption><span>Packages that use <a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a></span><span class="tabEnd"> </span></caption> 81<tr> 82<th class="colFirst" scope="col">Package</th> 83<th class="colLast" scope="col">Description</th> 84</tr> 85<tbody> 86<tr class="altColor"> 87<td class="colFirst"><a href="#com.fasterxml.jackson.databind.module">com.fasterxml.jackson.databind.module</a></td> 88<td class="colLast"> 89<div class="block">Package that contains classes and interfaces to help implement 90 custom extension <a href="../../../../../../com/fasterxml/jackson/databind/Module.html" title="class in com.fasterxml.jackson.databind"><code>Module</code></a>s 91 (which are registered using 92 <a href="../../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#registerModule-com.fasterxml.jackson.databind.Module-"><code>ObjectMapper.registerModule(com.fasterxml.jackson.databind.Module)</code></a>.</div> 93</td> 94</tr> 95</tbody> 96</table> 97</li> 98<li class="blockList"> 99<ul class="blockList"> 100<li class="blockList"><a name="com.fasterxml.jackson.databind.module"> 101<!-- --> 102</a> 103<h3>Uses of <a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a> in <a href="../../../../../../com/fasterxml/jackson/databind/module/package-summary.html">com.fasterxml.jackson.databind.module</a></h3> 104<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 105<caption><span>Methods in <a href="../../../../../../com/fasterxml/jackson/databind/module/package-summary.html">com.fasterxml.jackson.databind.module</a> that return <a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a></span><span class="tabEnd"> </span></caption> 106<tr> 107<th class="colFirst" scope="col">Modifier and Type</th> 108<th class="colLast" scope="col">Method and Description</th> 109</tr> 110<tbody> 111<tr class="altColor"> 112<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> 113<td class="colLast"><span class="typeNameLabel">SimpleModule.</span><code><span class="memberNameLink"><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#addAbstractTypeMapping-java.lang.Class-java.lang.Class-">addAbstractTypeMapping</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> superType, 114 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends T> subType)</code> 115<div class="block">Lazily-constructed resolver used for storing mappings from 116 abstract classes to more specific implementing classes 117 (which may be abstract or concrete)</div> 118</td> 119</tr> 120<tr class="rowColor"> 121<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> 122<td class="colLast"><span class="typeNameLabel">SimpleModule.</span><code><span class="memberNameLink"><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#addDeserializer-java.lang.Class-com.fasterxml.jackson.databind.JsonDeserializer-">addDeserializer</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type, 123 <a href="../../../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><? extends T> deser)</code> 124<div class="block">Method for adding deserializer to handle specified type.</div> 125</td> 126</tr> 127<tr class="altColor"> 128<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> 129<td class="colLast"><span class="typeNameLabel">SimpleModule.</span><code><span class="memberNameLink"><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#addKeyDeserializer-java.lang.Class-com.fasterxml.jackson.databind.KeyDeserializer-">addKeyDeserializer</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type, 130 <a href="../../../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer</a> deser)</code> </td> 131</tr> 132<tr class="rowColor"> 133<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> 134<td class="colLast"><span class="typeNameLabel">SimpleModule.</span><code><span class="memberNameLink"><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#addKeySerializer-java.lang.Class-com.fasterxml.jackson.databind.JsonSerializer-">addKeySerializer</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends T> type, 135 <a href="../../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><T> ser)</code> </td> 136</tr> 137<tr class="altColor"> 138<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> 139<td class="colLast"><span class="typeNameLabel">SimpleModule.</span><code><span class="memberNameLink"><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#addSerializer-java.lang.Class-com.fasterxml.jackson.databind.JsonSerializer-">addSerializer</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends T> type, 140 <a href="../../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><T> ser)</code> 141<div class="block">Method for adding serializer to handle values of specific type.</div> 142</td> 143</tr> 144<tr class="rowColor"> 145<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> 146<td class="colLast"><span class="typeNameLabel">SimpleModule.</span><code><span class="memberNameLink"><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#addSerializer-com.fasterxml.jackson.databind.JsonSerializer-">addSerializer</a></span>(<a href="../../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</code> 147<div class="block">Method for adding serializer to handle type that the serializer claims to handle 148 (see <a href="../../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#handledType--"><code>JsonSerializer.handledType()</code></a>).</div> 149</td> 150</tr> 151<tr class="altColor"> 152<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> 153<td class="colLast"><span class="typeNameLabel">SimpleModule.</span><code><span class="memberNameLink"><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#addValueInstantiator-java.lang.Class-com.fasterxml.jackson.databind.deser.ValueInstantiator-">addValueInstantiator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> beanType, 154 <a href="../../../../../../com/fasterxml/jackson/databind/deser/ValueInstantiator.html" title="class in com.fasterxml.jackson.databind.deser">ValueInstantiator</a> inst)</code> 155<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 156 instances of type <code>beanType</code>.</div> 157</td> 158</tr> 159<tr class="rowColor"> 160<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> 161<td class="colLast"><span class="typeNameLabel">SimpleModule.</span><code><span class="memberNameLink"><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#registerSubtypes-java.lang.Class...-">registerSubtypes</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... subtypes)</code> 162<div class="block">Method for adding set of subtypes to be registered with 163 <a href="../../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> 164 this is an alternative to using annotations in super type to indicate subtypes.</div> 165</td> 166</tr> 167<tr class="altColor"> 168<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> 169<td class="colLast"><span class="typeNameLabel">SimpleModule.</span><code><span class="memberNameLink"><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#registerSubtypes-java.util.Collection-">registerSubtypes</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> subtypes)</code> 170<div class="block">Method for adding set of subtypes (along with type name to use) to be registered with 171 <a href="../../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> 172 this is an alternative to using annotations in super type to indicate subtypes.</div> 173</td> 174</tr> 175<tr class="rowColor"> 176<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> 177<td class="colLast"><span class="typeNameLabel">SimpleModule.</span><code><span class="memberNameLink"><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#registerSubtypes-com.fasterxml.jackson.databind.jsontype.NamedType...-">registerSubtypes</a></span>(<a href="../../../../../../com/fasterxml/jackson/databind/jsontype/NamedType.html" title="class in com.fasterxml.jackson.databind.jsontype">NamedType</a>... subtypes)</code> 178<div class="block">Method for adding set of subtypes (along with type name to use) to be registered with 179 <a href="../../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> 180 this is an alternative to using annotations in super type to indicate subtypes.</div> 181</td> 182</tr> 183<tr class="altColor"> 184<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> 185<td class="colLast"><span class="typeNameLabel">SimpleModule.</span><code><span class="memberNameLink"><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#setDeserializerModifier-com.fasterxml.jackson.databind.deser.BeanDeserializerModifier-">setDeserializerModifier</a></span>(<a href="../../../../../../com/fasterxml/jackson/databind/deser/BeanDeserializerModifier.html" title="class in com.fasterxml.jackson.databind.deser">BeanDeserializerModifier</a> mod)</code> </td> 186</tr> 187<tr class="rowColor"> 188<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> 189<td class="colLast"><span class="typeNameLabel">SimpleModule.</span><code><span class="memberNameLink"><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#setMixInAnnotation-java.lang.Class-java.lang.Class-">setMixInAnnotation</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> targetType, 190 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> mixinClass)</code> 191<div class="block">Method for specifying that annotations define by <code>mixinClass</code> 192 should be "mixed in" with annotations that <code>targetType</code> 193 has (as if they were directly included on it!).</div> 194</td> 195</tr> 196<tr class="altColor"> 197<td class="colFirst"><code>protected <a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">SimpleModule</a></code></td> 198<td class="colLast"><span class="typeNameLabel">SimpleModule.</span><code><span class="memberNameLink"><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#setNamingStrategy-com.fasterxml.jackson.databind.PropertyNamingStrategy-">setNamingStrategy</a></span>(<a href="../../../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> naming)</code> </td> 199</tr> 200<tr class="rowColor"> 201<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> 202<td class="colLast"><span class="typeNameLabel">SimpleModule.</span><code><span class="memberNameLink"><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html#setSerializerModifier-com.fasterxml.jackson.databind.ser.BeanSerializerModifier-">setSerializerModifier</a></span>(<a href="../../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerModifier</a> mod)</code> </td> 203</tr> 204</tbody> 205</table> 206</li> 207</ul> 208</li> 209</ul> 210</div> 211<!-- ======= START OF BOTTOM NAVBAR ====== --> 212<div class="bottomNav"><a name="navbar.bottom"> 213<!-- --> 214</a> 215<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 216<a name="navbar.bottom.firstrow"> 217<!-- --> 218</a> 219<ul class="navList" title="Navigation"> 220<li><a href="../../../../../../overview-summary.html">Overview</a></li> 221<li><a href="../package-summary.html">Package</a></li> 222<li><a href="../../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module">Class</a></li> 223<li class="navBarCell1Rev">Use</li> 224<li><a href="../package-tree.html">Tree</a></li> 225<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> 226<li><a href="../../../../../../index-all.html">Index</a></li> 227<li><a href="../../../../../../help-doc.html">Help</a></li> 228</ul> 229</div> 230<div class="subNav"> 231<ul class="navList"> 232<li>Prev</li> 233<li>Next</li> 234</ul> 235<ul class="navList"> 236<li><a href="../../../../../../index.html?com/fasterxml/jackson/databind/module/class-use/SimpleModule.html" target="_top">Frames</a></li> 237<li><a href="SimpleModule.html" target="_top">No Frames</a></li> 238</ul> 239<ul class="navList" id="allclasses_navbar_bottom"> 240<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> 241</ul> 242<div> 243<script type="text/javascript"><!-- 244 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 245 if(window==top) { 246 allClassesLink.style.display = "block"; 247 } 248 else { 249 allClassesLink.style.display = "none"; 250 } 251 //--> 252</script> 253</div> 254<a name="skip.navbar.bottom"> 255<!-- --> 256</a></div> 257<!-- ======== END OF BOTTOM NAVBAR ======= --> 258<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 259</body> 260</html> 261