<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_162) on Tue Jan 23 20:22:12 PST 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Module.SetupContext (jackson-databind 2.9.0 API)</title> <meta name="date" content="2018-01-23"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Module.SetupContext (jackson-databind 2.9.0 API)"; } } catch(err) { } //--> var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/Module.SetupContext.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../com/fasterxml/jackson/databind/Module.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?com/fasterxml/jackson/databind/Module.SetupContext.html" target="_top">Frames</a></li> <li><a href="Module.SetupContext.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li>Field | </li> <li>Constr | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li>Constr | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">com.fasterxml.jackson.databind</div> <h2 title="Interface Module.SetupContext" class="title">Interface Module.SetupContext</h2> </div> <div class="contentContainer"> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>Enclosing class:</dt> <dd><a href="../../../../com/fasterxml/jackson/databind/Module.html" title="class in com.fasterxml.jackson.databind">Module</a></dd> </dl> <hr> <br> <pre>public static interface <span class="typeNameLabel">Module.SetupContext</span></pre> <div class="block">Interface Jackson exposes to modules for purpose of registering extended functionality. Usually implemented by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>, but modules should NOT rely on this -- if they do require access to mapper instance, they need to call <a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#getOwner--"><code>getOwner()</code></a> method.</div> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#addAbstractTypeResolver-com.fasterxml.jackson.databind.AbstractTypeResolver-">addAbstractTypeResolver</a></span>(<a href="../../../../com/fasterxml/jackson/databind/AbstractTypeResolver.html" title="class in com.fasterxml.jackson.databind">AbstractTypeResolver</a> resolver)</code> <div class="block">Method that module can use to register additional <a href="../../../../com/fasterxml/jackson/databind/AbstractTypeResolver.html" title="class in com.fasterxml.jackson.databind"><code>AbstractTypeResolver</code></a> instance, to handle resolution of abstract to concrete types (either by defaulting, or by materializing).</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#addBeanDeserializerModifier-com.fasterxml.jackson.databind.deser.BeanDeserializerModifier-">addBeanDeserializerModifier</a></span>(<a href="../../../../com/fasterxml/jackson/databind/deser/BeanDeserializerModifier.html" title="class in com.fasterxml.jackson.databind.deser">BeanDeserializerModifier</a> mod)</code> <div class="block">Method that module can use to register additional modifier objects to customize configuration and construction of bean deserializers.</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#addBeanSerializerModifier-com.fasterxml.jackson.databind.ser.BeanSerializerModifier-">addBeanSerializerModifier</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerModifier</a> mod)</code> <div class="block">Method that module can use to register additional modifier objects to customize configuration and construction of bean serializers.</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#addDeserializationProblemHandler-com.fasterxml.jackson.databind.deser.DeserializationProblemHandler-">addDeserializationProblemHandler</a></span>(<a href="../../../../com/fasterxml/jackson/databind/deser/DeserializationProblemHandler.html" title="class in com.fasterxml.jackson.databind.deser">DeserializationProblemHandler</a> handler)</code> <div class="block">Add a deserialization problem handler</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#addDeserializers-com.fasterxml.jackson.databind.deser.Deserializers-">addDeserializers</a></span>(<a href="../../../../com/fasterxml/jackson/databind/deser/Deserializers.html" title="interface in com.fasterxml.jackson.databind.deser">Deserializers</a> d)</code> <div class="block">Method that module can use to register additional deserializers to use for handling types.</div> </td> </tr> <tr id="i5" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#addKeyDeserializers-com.fasterxml.jackson.databind.deser.KeyDeserializers-">addKeyDeserializers</a></span>(<a href="../../../../com/fasterxml/jackson/databind/deser/KeyDeserializers.html" title="interface in com.fasterxml.jackson.databind.deser">KeyDeserializers</a> s)</code> <div class="block">Method that module can use to register additional deserializers to use for handling Map key values (which are separate from value deserializers because they are always serialized from String values)</div> </td> </tr> <tr id="i6" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#addKeySerializers-com.fasterxml.jackson.databind.ser.Serializers-">addKeySerializers</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a> s)</code> <div class="block">Method that module can use to register additional serializers to use for handling Map key values (which are separate from value serializers because they must write <code>JsonToken.FIELD_NAME</code> instead of String value).</div> </td> </tr> <tr id="i7" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#addSerializers-com.fasterxml.jackson.databind.ser.Serializers-">addSerializers</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a> s)</code> <div class="block">Method that module can use to register additional serializers to use for handling types.</div> </td> </tr> <tr id="i8" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#addTypeModifier-com.fasterxml.jackson.databind.type.TypeModifier-">addTypeModifier</a></span>(<a href="../../../../com/fasterxml/jackson/databind/type/TypeModifier.html" title="class in com.fasterxml.jackson.databind.type">TypeModifier</a> modifier)</code> <div class="block">Method that module can use to register additional <a href="../../../../com/fasterxml/jackson/databind/type/TypeModifier.html" title="class in com.fasterxml.jackson.databind.type"><code>TypeModifier</code></a> instance, which can augment <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind"><code>JavaType</code></a> instances constructed by <a href="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type"><code>TypeFactory</code></a>.</div> </td> </tr> <tr id="i9" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#addValueInstantiators-com.fasterxml.jackson.databind.deser.ValueInstantiators-">addValueInstantiators</a></span>(<a href="../../../../com/fasterxml/jackson/databind/deser/ValueInstantiators.html" title="interface in com.fasterxml.jackson.databind.deser">ValueInstantiators</a> instantiators)</code> <div class="block">Method that module can use to register additional <a href="../../../../com/fasterxml/jackson/databind/deser/ValueInstantiator.html" title="class in com.fasterxml.jackson.databind.deser"><code>ValueInstantiator</code></a>s, by adding <a href="../../../../com/fasterxml/jackson/databind/deser/ValueInstantiators.html" title="interface in com.fasterxml.jackson.databind.deser"><code>ValueInstantiators</code></a> object that gets called when instantatiator is needed by a deserializer.</div> </td> </tr> <tr id="i10" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#appendAnnotationIntrospector-com.fasterxml.jackson.databind.AnnotationIntrospector-">appendAnnotationIntrospector</a></span>(<a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a> ai)</code> <div class="block">Method for registering specified <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a> as the lowest priority introspector, chained with existing introspector(s) and called as fallback for cases not otherwise handled.</div> </td> </tr> <tr id="i11" class="rowColor"> <td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/cfg/MutableConfigOverride.html" title="class in com.fasterxml.jackson.databind.cfg">MutableConfigOverride</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#configOverride-java.lang.Class-">configOverride</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</code> <div class="block">"Mutant accessor" for getting a mutable configuration override object for given type, needed to add or change per-type overrides applied to properties of given type.</div> </td> </tr> <tr id="i12" class="altColor"> <td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#getMapperVersion--">getMapperVersion</a></span>()</code> <div class="block">Method that returns version information about <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> that implements this context.</div> </td> </tr> <tr id="i13" class="rowColor"> <td class="colFirst"><code><C extends <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/ObjectCodec.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">ObjectCodec</a>><br>C</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#getOwner--">getOwner</a></span>()</code> <div class="block">Fallback access method that allows modules to refer to the <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> that provided this context.</div> </td> </tr> <tr id="i14" class="altColor"> <td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#getTypeFactory--">getTypeFactory</a></span>()</code> <div class="block">Accessor for finding <a href="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type"><code>TypeFactory</code></a> that is currently configured by the context.</div> </td> </tr> <tr id="i15" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#insertAnnotationIntrospector-com.fasterxml.jackson.databind.AnnotationIntrospector-">insertAnnotationIntrospector</a></span>(<a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a> ai)</code> <div class="block">Method for registering specified <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a> as the highest priority introspector (will be chained with existing introspector(s) which will be used as fallbacks for cases this introspector does not handle)</div> </td> </tr> <tr id="i16" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#isEnabled-com.fasterxml.jackson.databind.DeserializationFeature-">isEnabled</a></span>(<a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> f)</code> </td> </tr> <tr id="i17" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#isEnabled-com.fasterxml.jackson.core.JsonFactory.Feature-">isEnabled</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonFactory.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory.Feature</a> f)</code> </td> </tr> <tr id="i18" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#isEnabled-com.fasterxml.jackson.core.JsonGenerator.Feature-">isEnabled</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a> f)</code> </td> </tr> <tr id="i19" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#isEnabled-com.fasterxml.jackson.core.JsonParser.Feature-">isEnabled</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.Feature</a> f)</code> </td> </tr> <tr id="i20" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#isEnabled-com.fasterxml.jackson.databind.MapperFeature-">isEnabled</a></span>(<a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> f)</code> </td> </tr> <tr id="i21" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#isEnabled-com.fasterxml.jackson.databind.SerializationFeature-">isEnabled</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> f)</code> </td> </tr> <tr id="i22" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#registerSubtypes-java.lang.Class...-">registerSubtypes</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... subtypes)</code> <div class="block">Method for registering specified classes as subtypes (of supertype(s) they have)</div> </td> </tr> <tr id="i23" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#registerSubtypes-java.util.Collection-">registerSubtypes</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> subtypes)</code> <div class="block">Method for registering specified classes as subtypes (of supertype(s) they have)</div> </td> </tr> <tr id="i24" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.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> <div class="block">Method for registering specified classes as subtypes (of supertype(s) they have), using specified type names.</div> </td> </tr> <tr id="i25" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#setClassIntrospector-com.fasterxml.jackson.databind.introspect.ClassIntrospector-">setClassIntrospector</a></span>(<a href="../../../../com/fasterxml/jackson/databind/introspect/ClassIntrospector.html" title="class in com.fasterxml.jackson.databind.introspect">ClassIntrospector</a> ci)</code> <div class="block">Method for replacing the default class introspector with a derived class that overrides specific behavior.</div> </td> </tr> <tr id="i26" class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html#setMixInAnnotations-java.lang.Class-java.lang.Class-">setMixInAnnotations</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> target, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> mixinSource)</code> <div class="block">Method used for defining mix-in annotations to use for augmenting specified class or interface.</div> </td> </tr> <tr id="i27" class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.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> <div class="block">Method that may be used to override naming strategy that is used by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>.</div> </td> </tr> </table> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="getMapperVersion--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMapperVersion</h4> <pre><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a> getMapperVersion()</pre> <div class="block">Method that returns version information about <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> that implements this context. Modules can use this to choose different settings or initialization order; or even decide to fail set up completely if version is compatible with module.</div> </li> </ul> <a name="getOwner--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getOwner</h4> <pre><C extends <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/ObjectCodec.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">ObjectCodec</a>> C getOwner()</pre> <div class="block">Fallback access method that allows modules to refer to the <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> that provided this context. It should NOT be needed by most modules; and ideally should not be used -- however, there may be cases where this may be necessary due to various design constraints. <p> NOTE: use of this method is discouraged, as it allows access to things Modules typically should not modify. It is included, however, to allow access to new features in cases where Module API has not yet been extended, or there are oversights. <p> Return value is chosen to not leak dependency to <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>; however, instance will always be of that type. This is why return value is declared generic, to allow caller to specify context to often avoid casting.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.0</dd> </dl> </li> </ul> <a name="getTypeFactory--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getTypeFactory</h4> <pre><a href="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a> getTypeFactory()</pre> <div class="block">Accessor for finding <a href="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type"><code>TypeFactory</code></a> that is currently configured by the context. <p> NOTE: since it is possible that other modules might change or replace TypeFactory, use of this method adds order-dependency for registrations.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.0</dd> </dl> </li> </ul> <a name="isEnabled-com.fasterxml.jackson.databind.MapperFeature-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isEnabled</h4> <pre>boolean isEnabled(<a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> f)</pre> </li> </ul> <a name="isEnabled-com.fasterxml.jackson.databind.DeserializationFeature-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isEnabled</h4> <pre>boolean isEnabled(<a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> f)</pre> </li> </ul> <a name="isEnabled-com.fasterxml.jackson.databind.SerializationFeature-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isEnabled</h4> <pre>boolean isEnabled(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> f)</pre> </li> </ul> <a name="isEnabled-com.fasterxml.jackson.core.JsonFactory.Feature-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isEnabled</h4> <pre>boolean isEnabled(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonFactory.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory.Feature</a> f)</pre> </li> </ul> <a name="isEnabled-com.fasterxml.jackson.core.JsonParser.Feature-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isEnabled</h4> <pre>boolean isEnabled(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.Feature</a> f)</pre> </li> </ul> <a name="isEnabled-com.fasterxml.jackson.core.JsonGenerator.Feature-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isEnabled</h4> <pre>boolean isEnabled(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a> f)</pre> </li> </ul> <a name="configOverride-java.lang.Class-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>configOverride</h4> <pre><a href="../../../../com/fasterxml/jackson/databind/cfg/MutableConfigOverride.html" title="class in com.fasterxml.jackson.databind.cfg">MutableConfigOverride</a> configOverride(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</pre> <div class="block">"Mutant accessor" for getting a mutable configuration override object for given type, needed to add or change per-type overrides applied to properties of given type. Usage is through returned object by colling "setter" methods, which directly modify override object and take effect directly. For example you can do <pre> mapper.configOverride(java.util.Date.class) .setFormat(JsonFormat.Value.forPattern("yyyy-MM-dd")); <pre> to change the default format to use for properties of type <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> (possibly further overridden by per-property annotations)</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.8</dd> </dl> </li> </ul> <a name="addDeserializers-com.fasterxml.jackson.databind.deser.Deserializers-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addDeserializers</h4> <pre>void addDeserializers(<a href="../../../../com/fasterxml/jackson/databind/deser/Deserializers.html" title="interface in com.fasterxml.jackson.databind.deser">Deserializers</a> d)</pre> <div class="block">Method that module can use to register additional deserializers to use for handling types.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>d</code> - Object that can be called to find deserializer for types supported by module (null returned for non-supported types)</dd> </dl> </li> </ul> <a name="addKeyDeserializers-com.fasterxml.jackson.databind.deser.KeyDeserializers-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addKeyDeserializers</h4> <pre>void addKeyDeserializers(<a href="../../../../com/fasterxml/jackson/databind/deser/KeyDeserializers.html" title="interface in com.fasterxml.jackson.databind.deser">KeyDeserializers</a> s)</pre> <div class="block">Method that module can use to register additional deserializers to use for handling Map key values (which are separate from value deserializers because they are always serialized from String values)</div> </li> </ul> <a name="addSerializers-com.fasterxml.jackson.databind.ser.Serializers-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addSerializers</h4> <pre>void addSerializers(<a href="../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a> s)</pre> <div class="block">Method that module can use to register additional serializers to use for handling types.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>s</code> - Object that can be called to find serializer for types supported by module (null returned for non-supported types)</dd> </dl> </li> </ul> <a name="addKeySerializers-com.fasterxml.jackson.databind.ser.Serializers-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addKeySerializers</h4> <pre>void addKeySerializers(<a href="../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a> s)</pre> <div class="block">Method that module can use to register additional serializers to use for handling Map key values (which are separate from value serializers because they must write <code>JsonToken.FIELD_NAME</code> instead of String value).</div> </li> </ul> <a name="addBeanDeserializerModifier-com.fasterxml.jackson.databind.deser.BeanDeserializerModifier-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addBeanDeserializerModifier</h4> <pre>void addBeanDeserializerModifier(<a href="../../../../com/fasterxml/jackson/databind/deser/BeanDeserializerModifier.html" title="class in com.fasterxml.jackson.databind.deser">BeanDeserializerModifier</a> mod)</pre> <div class="block">Method that module can use to register additional modifier objects to customize configuration and construction of bean deserializers.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>mod</code> - Modifier to register</dd> </dl> </li> </ul> <a name="addBeanSerializerModifier-com.fasterxml.jackson.databind.ser.BeanSerializerModifier-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addBeanSerializerModifier</h4> <pre>void addBeanSerializerModifier(<a href="../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerModifier</a> mod)</pre> <div class="block">Method that module can use to register additional modifier objects to customize configuration and construction of bean serializers.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>mod</code> - Modifier to register</dd> </dl> </li> </ul> <a name="addAbstractTypeResolver-com.fasterxml.jackson.databind.AbstractTypeResolver-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addAbstractTypeResolver</h4> <pre>void addAbstractTypeResolver(<a href="../../../../com/fasterxml/jackson/databind/AbstractTypeResolver.html" title="class in com.fasterxml.jackson.databind">AbstractTypeResolver</a> resolver)</pre> <div class="block">Method that module can use to register additional <a href="../../../../com/fasterxml/jackson/databind/AbstractTypeResolver.html" title="class in com.fasterxml.jackson.databind"><code>AbstractTypeResolver</code></a> instance, to handle resolution of abstract to concrete types (either by defaulting, or by materializing).</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>resolver</code> - Resolver to add.</dd> </dl> </li> </ul> <a name="addTypeModifier-com.fasterxml.jackson.databind.type.TypeModifier-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addTypeModifier</h4> <pre>void addTypeModifier(<a href="../../../../com/fasterxml/jackson/databind/type/TypeModifier.html" title="class in com.fasterxml.jackson.databind.type">TypeModifier</a> modifier)</pre> <div class="block">Method that module can use to register additional <a href="../../../../com/fasterxml/jackson/databind/type/TypeModifier.html" title="class in com.fasterxml.jackson.databind.type"><code>TypeModifier</code></a> instance, which can augment <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind"><code>JavaType</code></a> instances constructed by <a href="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type"><code>TypeFactory</code></a>.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>modifier</code> - to add</dd> </dl> </li> </ul> <a name="addValueInstantiators-com.fasterxml.jackson.databind.deser.ValueInstantiators-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addValueInstantiators</h4> <pre>void addValueInstantiators(<a href="../../../../com/fasterxml/jackson/databind/deser/ValueInstantiators.html" title="interface in com.fasterxml.jackson.databind.deser">ValueInstantiators</a> instantiators)</pre> <div class="block">Method that module can use to register additional <a href="../../../../com/fasterxml/jackson/databind/deser/ValueInstantiator.html" title="class in com.fasterxml.jackson.databind.deser"><code>ValueInstantiator</code></a>s, by adding <a href="../../../../com/fasterxml/jackson/databind/deser/ValueInstantiators.html" title="interface in com.fasterxml.jackson.databind.deser"><code>ValueInstantiators</code></a> object that gets called when instantatiator is needed by a deserializer.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>instantiators</code> - Object that can provide <a href="../../../../com/fasterxml/jackson/databind/deser/ValueInstantiator.html" title="class in com.fasterxml.jackson.databind.deser"><code>ValueInstantiator</code></a>s for constructing POJO values during deserialization</dd> </dl> </li> </ul> <a name="setClassIntrospector-com.fasterxml.jackson.databind.introspect.ClassIntrospector-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setClassIntrospector</h4> <pre>void setClassIntrospector(<a href="../../../../com/fasterxml/jackson/databind/introspect/ClassIntrospector.html" title="class in com.fasterxml.jackson.databind.introspect">ClassIntrospector</a> ci)</pre> <div class="block">Method for replacing the default class introspector with a derived class that overrides specific behavior.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>ci</code> - Derived class of ClassIntrospector with overriden behavior</dd> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.2</dd> </dl> </li> </ul> <a name="insertAnnotationIntrospector-com.fasterxml.jackson.databind.AnnotationIntrospector-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insertAnnotationIntrospector</h4> <pre>void insertAnnotationIntrospector(<a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a> ai)</pre> <div class="block">Method for registering specified <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a> as the highest priority introspector (will be chained with existing introspector(s) which will be used as fallbacks for cases this introspector does not handle)</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>ai</code> - Annotation introspector to register.</dd> </dl> </li> </ul> <a name="appendAnnotationIntrospector-com.fasterxml.jackson.databind.AnnotationIntrospector-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>appendAnnotationIntrospector</h4> <pre>void appendAnnotationIntrospector(<a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a> ai)</pre> <div class="block">Method for registering specified <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a> as the lowest priority introspector, chained with existing introspector(s) and called as fallback for cases not otherwise handled.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>ai</code> - Annotation introspector to register.</dd> </dl> </li> </ul> <a name="registerSubtypes-java.lang.Class...-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>registerSubtypes</h4> <pre>void registerSubtypes(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... subtypes)</pre> <div class="block">Method for registering specified classes as subtypes (of supertype(s) they have)</div> </li> </ul> <a name="registerSubtypes-com.fasterxml.jackson.databind.jsontype.NamedType...-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>registerSubtypes</h4> <pre>void registerSubtypes(<a href="../../../../com/fasterxml/jackson/databind/jsontype/NamedType.html" title="class in com.fasterxml.jackson.databind.jsontype">NamedType</a>... subtypes)</pre> <div class="block">Method for registering specified classes as subtypes (of supertype(s) they have), using specified type names.</div> </li> </ul> <a name="registerSubtypes-java.util.Collection-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>registerSubtypes</h4> <pre>void registerSubtypes(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>> subtypes)</pre> <div class="block">Method for registering specified classes as subtypes (of supertype(s) they have)</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.9</dd> </dl> </li> </ul> <a name="setMixInAnnotations-java.lang.Class-java.lang.Class-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setMixInAnnotations</h4> <pre>void setMixInAnnotations(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> target, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> mixinSource)</pre> <div class="block">Method used for defining mix-in annotations to use for augmenting specified class or interface. All annotations from <code>mixinSource</code> are taken to override annotations that <code>target</code> (or its supertypes) has. <p> Note: mix-ins are registered both for serialization and deserialization (which can be different internally). <p> Note: currently only one set of mix-in annotations can be defined for a single class; so if multiple modules register mix-ins, highest priority one (last one registered) will have priority over other modules.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>target</code> - Class (or interface) whose annotations to effectively override</dd> <dd><code>mixinSource</code> - Class (or interface) whose annotations are to be "added" to target's annotations, overriding as necessary</dd> </dl> </li> </ul> <a name="addDeserializationProblemHandler-com.fasterxml.jackson.databind.deser.DeserializationProblemHandler-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addDeserializationProblemHandler</h4> <pre>void addDeserializationProblemHandler(<a href="../../../../com/fasterxml/jackson/databind/deser/DeserializationProblemHandler.html" title="class in com.fasterxml.jackson.databind.deser">DeserializationProblemHandler</a> handler)</pre> <div class="block">Add a deserialization problem handler</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>handler</code> - The deserialization problem handler</dd> </dl> </li> </ul> <a name="setNamingStrategy-com.fasterxml.jackson.databind.PropertyNamingStrategy-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>setNamingStrategy</h4> <pre>void setNamingStrategy(<a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a> naming)</pre> <div class="block">Method that may be used to override naming strategy that is used by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.3</dd> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/Module.SetupContext.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../com/fasterxml/jackson/databind/Module.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev Class</span></a></li> <li><a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?com/fasterxml/jackson/databind/Module.SetupContext.html" target="_top">Frames</a></li> <li><a href="Module.SetupContext.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li>Field | </li> <li>Constr | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li>Constr | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright © 2008–2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> </body> </html>