1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_25) on Thu Jan 01 17:43:54 PST 2015 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>InjectableValues (jackson-databind 2.5.0 API)</title> 8<meta name="date" content="2015-01-01"> 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="InjectableValues (jackson-databind 2.5.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/InjectableValues.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/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../com/fasterxml/jackson/databind/InjectableValues.Std.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../index.html?com/fasterxml/jackson/databind/InjectableValues.html" target="_top">Frames</a></li> 45<li><a href="InjectableValues.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_class_summary">Nested</a> | </li> 66<li>Field | </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>Field | </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</div> 84<h2 title="Class InjectableValues" class="title">Class InjectableValues</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>com.fasterxml.jackson.databind.InjectableValues</li> 92</ul> 93</li> 94</ul> 95<div class="description"> 96<ul class="blockList"> 97<li class="blockList"> 98<dl> 99<dt>Direct Known Subclasses:</dt> 100<dd><a href="../../../../com/fasterxml/jackson/databind/InjectableValues.Std.html" title="class in com.fasterxml.jackson.databind">InjectableValues.Std</a></dd> 101</dl> 102<hr> 103<br> 104<pre>public abstract class <span class="strong">InjectableValues</span> 105extends <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></pre> 106<div class="block">Abstract class that defines API for objects that provide value to 107 "inject" during deserialization. An instance of this object</div> 108</li> 109</ul> 110</div> 111<div class="summary"> 112<ul class="blockList"> 113<li class="blockList"> 114<!-- ======== NESTED CLASS SUMMARY ======== --> 115<ul class="blockList"> 116<li class="blockList"><a name="nested_class_summary"> 117<!-- --> 118</a> 119<h3>Nested Class Summary</h3> 120<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> 121<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> 122<tr> 123<th class="colFirst" scope="col">Modifier and Type</th> 124<th class="colLast" scope="col">Class and Description</th> 125</tr> 126<tr class="altColor"> 127<td class="colFirst"><code>static class </code></td> 128<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/InjectableValues.Std.html" title="class in com.fasterxml.jackson.databind">InjectableValues.Std</a></strong></code> 129<div class="block">Simple standard implementation which uses a simple Map to 130 store values to inject, identified by simple String keys.</div> 131</td> 132</tr> 133</table> 134</li> 135</ul> 136<!-- ======== CONSTRUCTOR SUMMARY ======== --> 137<ul class="blockList"> 138<li class="blockList"><a name="constructor_summary"> 139<!-- --> 140</a> 141<h3>Constructor Summary</h3> 142<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 143<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 144<tr> 145<th class="colOne" scope="col">Constructor and Description</th> 146</tr> 147<tr class="altColor"> 148<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/InjectableValues.html#InjectableValues()">InjectableValues</a></strong>()</code> </td> 149</tr> 150</table> 151</li> 152</ul> 153<!-- ========== METHOD SUMMARY =========== --> 154<ul class="blockList"> 155<li class="blockList"><a name="method_summary"> 156<!-- --> 157</a> 158<h3>Method Summary</h3> 159<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 160<caption><span>Methods</span><span class="tabEnd"> </span></caption> 161<tr> 162<th class="colFirst" scope="col">Modifier and Type</th> 163<th class="colLast" scope="col">Method and Description</th> 164</tr> 165<tr class="altColor"> 166<td class="colFirst"><code>abstract <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></code></td> 167<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/InjectableValues.html#findInjectableValue(java.lang.Object, com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.BeanProperty, java.lang.Object)">findInjectableValue</a></strong>(<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> valueId, 168 <a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 169 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> forProperty, 170 <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> beanInstance)</code> 171<div class="block">Method called to find value identified by id <code>valueId</code> to 172 inject as value of specified property during deserialization, passing 173 POJO instance in which value will be injected if it is available 174 (will be available when injected via field or setter; not available 175 when injected via constructor or factory method argument).</div> 176</td> 177</tr> 178</table> 179<ul class="blockList"> 180<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 181<!-- --> 182</a> 183<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> 184<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> 185</ul> 186</li> 187</ul> 188</li> 189</ul> 190</div> 191<div class="details"> 192<ul class="blockList"> 193<li class="blockList"> 194<!-- ========= CONSTRUCTOR DETAIL ======== --> 195<ul class="blockList"> 196<li class="blockList"><a name="constructor_detail"> 197<!-- --> 198</a> 199<h3>Constructor Detail</h3> 200<a name="InjectableValues()"> 201<!-- --> 202</a> 203<ul class="blockListLast"> 204<li class="blockList"> 205<h4>InjectableValues</h4> 206<pre>public InjectableValues()</pre> 207</li> 208</ul> 209</li> 210</ul> 211<!-- ============ METHOD DETAIL ========== --> 212<ul class="blockList"> 213<li class="blockList"><a name="method_detail"> 214<!-- --> 215</a> 216<h3>Method Detail</h3> 217<a name="findInjectableValue(java.lang.Object, com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.BeanProperty, java.lang.Object)"> 218<!-- --> 219</a> 220<ul class="blockListLast"> 221<li class="blockList"> 222<h4>findInjectableValue</h4> 223<pre>public abstract <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> findInjectableValue(<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> valueId, 224 <a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 225 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> forProperty, 226 <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> beanInstance)</pre> 227<div class="block">Method called to find value identified by id <code>valueId</code> to 228 inject as value of specified property during deserialization, passing 229 POJO instance in which value will be injected if it is available 230 (will be available when injected via field or setter; not available 231 when injected via constructor or factory method argument).</div> 232<dl><dt><span class="strong">Parameters:</span></dt><dd><code>valueId</code> - Object that identifies value to inject; may be a simple 233 name or more complex identifier object, whatever provider needs</dd><dd><code>ctxt</code> - Deserialization context</dd><dd><code>forProperty</code> - Bean property in which value is to be injected</dd><dd><code>beanInstance</code> - Bean instance that contains property to inject, 234 if available; null if bean has not yet been constructed.</dd></dl> 235</li> 236</ul> 237</li> 238</ul> 239</li> 240</ul> 241</div> 242</div> 243<!-- ========= END OF CLASS DATA ========= --> 244<!-- ======= START OF BOTTOM NAVBAR ====== --> 245<div class="bottomNav"><a name="navbar_bottom"> 246<!-- --> 247</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 248<!-- --> 249</a> 250<ul class="navList" title="Navigation"> 251<li><a href="../../../../overview-summary.html">Overview</a></li> 252<li><a href="package-summary.html">Package</a></li> 253<li class="navBarCell1Rev">Class</li> 254<li><a href="class-use/InjectableValues.html">Use</a></li> 255<li><a href="package-tree.html">Tree</a></li> 256<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 257<li><a href="../../../../index-all.html">Index</a></li> 258<li><a href="../../../../help-doc.html">Help</a></li> 259</ul> 260</div> 261<div class="subNav"> 262<ul class="navList"> 263<li><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 264<li><a href="../../../../com/fasterxml/jackson/databind/InjectableValues.Std.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 265</ul> 266<ul class="navList"> 267<li><a href="../../../../index.html?com/fasterxml/jackson/databind/InjectableValues.html" target="_top">Frames</a></li> 268<li><a href="InjectableValues.html" target="_top">No Frames</a></li> 269</ul> 270<ul class="navList" id="allclasses_navbar_bottom"> 271<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 272</ul> 273<div> 274<script type="text/javascript"><!-- 275 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 276 if(window==top) { 277 allClassesLink.style.display = "block"; 278 } 279 else { 280 allClassesLink.style.display = "none"; 281 } 282 //--> 283</script> 284</div> 285<div> 286<ul class="subNavList"> 287<li>Summary: </li> 288<li><a href="#nested_class_summary">Nested</a> | </li> 289<li>Field | </li> 290<li><a href="#constructor_summary">Constr</a> | </li> 291<li><a href="#method_summary">Method</a></li> 292</ul> 293<ul class="subNavList"> 294<li>Detail: </li> 295<li>Field | </li> 296<li><a href="#constructor_detail">Constr</a> | </li> 297<li><a href="#method_detail">Method</a></li> 298</ul> 299</div> 300<a name="skip-navbar_bottom"> 301<!-- --> 302</a></div> 303<!-- ======== END OF BOTTOM NAVBAR ======= --> 304<p class="legalCopy"><small>Copyright © 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 305</body> 306</html> 307