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 Sun Jul 14 20:03:26 PDT 2013 --> 6<title>InjectableValues (Jackson JSON Processor)</title> 7<meta name="date" content="2013-07-14"> 8<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> 9</head> 10<body> 11<script type="text/javascript"><!-- 12 if (location.href.indexOf('is-external=true') == -1) { 13 parent.document.title="InjectableValues (Jackson JSON Processor)"; 14 } 15//--> 16</script> 17<noscript> 18<div>JavaScript is disabled on your browser.</div> 19</noscript> 20<!-- ========= START OF TOP NAVBAR ======= --> 21<div class="topNav"><a name="navbar_top"> 22<!-- --> 23</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 24<!-- --> 25</a> 26<ul class="navList" title="Navigation"> 27<li><a href="../../../../overview-summary.html">Overview</a></li> 28<li><a href="package-summary.html">Package</a></li> 29<li class="navBarCell1Rev">Class</li> 30<li><a href="class-use/InjectableValues.html">Use</a></li> 31<li><a href="package-tree.html">Tree</a></li> 32<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 33<li><a href="../../../../index-all.html">Index</a></li> 34<li><a href="../../../../help-doc.html">Help</a></li> 35</ul> 36</div> 37<div class="subNav"> 38<ul class="navList"> 39<li><a href="../../../../org/codehaus/jackson/map/HandlerInstantiator.html" title="class in org.codehaus.jackson.map"><span class="strong">Prev Class</span></a></li> 40<li><a href="../../../../org/codehaus/jackson/map/InjectableValues.Std.html" title="class in org.codehaus.jackson.map"><span class="strong">Next Class</span></a></li> 41</ul> 42<ul class="navList"> 43<li><a href="../../../../index.html?org/codehaus/jackson/map/InjectableValues.html" target="_top">Frames</a></li> 44<li><a href="InjectableValues.html" target="_top">No Frames</a></li> 45</ul> 46<ul class="navList" id="allclasses_navbar_top"> 47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 48</ul> 49<div> 50<script type="text/javascript"><!-- 51 allClassesLink = document.getElementById("allclasses_navbar_top"); 52 if(window==top) { 53 allClassesLink.style.display = "block"; 54 } 55 else { 56 allClassesLink.style.display = "none"; 57 } 58 //--> 59</script> 60</div> 61<div> 62<ul class="subNavList"> 63<li>Summary: </li> 64<li><a href="#nested_class_summary">Nested</a> | </li> 65<li>Field | </li> 66<li><a href="#constructor_summary">Constr</a> | </li> 67<li><a href="#method_summary">Method</a></li> 68</ul> 69<ul class="subNavList"> 70<li>Detail: </li> 71<li>Field | </li> 72<li><a href="#constructor_detail">Constr</a> | </li> 73<li><a href="#method_detail">Method</a></li> 74</ul> 75</div> 76<a name="skip-navbar_top"> 77<!-- --> 78</a></div> 79<!-- ========= END OF TOP NAVBAR ========= --> 80<!-- ======== START OF CLASS DATA ======== --> 81<div class="header"> 82<div class="subTitle">org.codehaus.jackson.map</div> 83<h2 title="Class InjectableValues" class="title">Class InjectableValues</h2> 84</div> 85<div class="contentContainer"> 86<ul class="inheritance"> 87<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> 88<li> 89<ul class="inheritance"> 90<li>org.codehaus.jackson.map.InjectableValues</li> 91</ul> 92</li> 93</ul> 94<div class="description"> 95<ul class="blockList"> 96<li class="blockList"> 97<dl> 98<dt>Direct Known Subclasses:</dt> 99<dd><a href="../../../../org/codehaus/jackson/map/InjectableValues.Std.html" title="class in org.codehaus.jackson.map">InjectableValues.Std</a></dd> 100</dl> 101<hr> 102<br> 103<pre>public abstract class <span class="strong">InjectableValues</span> 104extends <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> 105<div class="block">Abstract class that defines API for objects that provide value to 106 "inject" during deserialization. An instance of this object</div> 107<dl><dt><span class="strong">Since:</span></dt> 108 <dd>1.9</dd></dl> 109</li> 110</ul> 111</div> 112<div class="summary"> 113<ul class="blockList"> 114<li class="blockList"> 115<!-- ======== NESTED CLASS SUMMARY ======== --> 116<ul class="blockList"> 117<li class="blockList"><a name="nested_class_summary"> 118<!-- --> 119</a> 120<h3>Nested Class Summary</h3> 121<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> 122<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> 123<tr> 124<th class="colFirst" scope="col">Modifier and Type</th> 125<th class="colLast" scope="col">Class and Description</th> 126</tr> 127<tr class="altColor"> 128<td class="colFirst"><code>static class </code></td> 129<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/InjectableValues.Std.html" title="class in org.codehaus.jackson.map">InjectableValues.Std</a></strong></code> 130<div class="block">Simple standard implementation which uses a simple Map to 131 store values to inject, identified by simple String keys.</div> 132</td> 133</tr> 134</table> 135</li> 136</ul> 137<!-- ======== CONSTRUCTOR SUMMARY ======== --> 138<ul class="blockList"> 139<li class="blockList"><a name="constructor_summary"> 140<!-- --> 141</a> 142<h3>Constructor Summary</h3> 143<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 144<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 145<tr> 146<th class="colOne" scope="col">Constructor and Description</th> 147</tr> 148<tr class="altColor"> 149<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/InjectableValues.html#InjectableValues()">InjectableValues</a></strong>()</code> </td> 150</tr> 151</table> 152</li> 153</ul> 154<!-- ========== METHOD SUMMARY =========== --> 155<ul class="blockList"> 156<li class="blockList"><a name="method_summary"> 157<!-- --> 158</a> 159<h3>Method Summary</h3> 160<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 161<caption><span>Methods</span><span class="tabEnd"> </span></caption> 162<tr> 163<th class="colFirst" scope="col">Modifier and Type</th> 164<th class="colLast" scope="col">Method and Description</th> 165</tr> 166<tr class="altColor"> 167<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> 168<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/InjectableValues.html#findInjectableValue(java.lang.Object, org.codehaus.jackson.map.DeserializationContext, org.codehaus.jackson.map.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, 169 <a href="../../../../org/codehaus/jackson/map/DeserializationContext.html" title="class in org.codehaus.jackson.map">DeserializationContext</a> ctxt, 170 <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a> forProperty, 171 <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> 172<div class="block">Method called to find value identified by id <code>valueId</code> to 173 inject as value of specified property during deserialization, passing 174 POJO instance in which value will be injected if it is available 175 (will be available when injected via field or setter; not available 176 when injected via constructor or factory method argument).</div> 177</td> 178</tr> 179</table> 180<ul class="blockList"> 181<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 182<!-- --> 183</a> 184<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> 185<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> 186</ul> 187</li> 188</ul> 189</li> 190</ul> 191</div> 192<div class="details"> 193<ul class="blockList"> 194<li class="blockList"> 195<!-- ========= CONSTRUCTOR DETAIL ======== --> 196<ul class="blockList"> 197<li class="blockList"><a name="constructor_detail"> 198<!-- --> 199</a> 200<h3>Constructor Detail</h3> 201<a name="InjectableValues()"> 202<!-- --> 203</a> 204<ul class="blockListLast"> 205<li class="blockList"> 206<h4>InjectableValues</h4> 207<pre>public InjectableValues()</pre> 208</li> 209</ul> 210</li> 211</ul> 212<!-- ============ METHOD DETAIL ========== --> 213<ul class="blockList"> 214<li class="blockList"><a name="method_detail"> 215<!-- --> 216</a> 217<h3>Method Detail</h3> 218<a name="findInjectableValue(java.lang.Object, org.codehaus.jackson.map.DeserializationContext, org.codehaus.jackson.map.BeanProperty, java.lang.Object)"> 219<!-- --> 220</a> 221<ul class="blockListLast"> 222<li class="blockList"> 223<h4>findInjectableValue</h4> 224<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, 225 <a href="../../../../org/codehaus/jackson/map/DeserializationContext.html" title="class in org.codehaus.jackson.map">DeserializationContext</a> ctxt, 226 <a href="../../../../org/codehaus/jackson/map/BeanProperty.html" title="interface in org.codehaus.jackson.map">BeanProperty</a> forProperty, 227 <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> 228<div class="block">Method called to find value identified by id <code>valueId</code> to 229 inject as value of specified property during deserialization, passing 230 POJO instance in which value will be injected if it is available 231 (will be available when injected via field or setter; not available 232 when injected via constructor or factory method argument).</div> 233<dl><dt><span class="strong">Parameters:</span></dt><dd><code>valueId</code> - Object that identifies value to inject; may be a simple 234 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, 235 if available; null if bean has not yet been constructed.</dd></dl> 236</li> 237</ul> 238</li> 239</ul> 240</li> 241</ul> 242</div> 243</div> 244<!-- ========= END OF CLASS DATA ========= --> 245<!-- ======= START OF BOTTOM NAVBAR ====== --> 246<div class="bottomNav"><a name="navbar_bottom"> 247<!-- --> 248</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 249<!-- --> 250</a> 251<ul class="navList" title="Navigation"> 252<li><a href="../../../../overview-summary.html">Overview</a></li> 253<li><a href="package-summary.html">Package</a></li> 254<li class="navBarCell1Rev">Class</li> 255<li><a href="class-use/InjectableValues.html">Use</a></li> 256<li><a href="package-tree.html">Tree</a></li> 257<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 258<li><a href="../../../../index-all.html">Index</a></li> 259<li><a href="../../../../help-doc.html">Help</a></li> 260</ul> 261</div> 262<div class="subNav"> 263<ul class="navList"> 264<li><a href="../../../../org/codehaus/jackson/map/HandlerInstantiator.html" title="class in org.codehaus.jackson.map"><span class="strong">Prev Class</span></a></li> 265<li><a href="../../../../org/codehaus/jackson/map/InjectableValues.Std.html" title="class in org.codehaus.jackson.map"><span class="strong">Next Class</span></a></li> 266</ul> 267<ul class="navList"> 268<li><a href="../../../../index.html?org/codehaus/jackson/map/InjectableValues.html" target="_top">Frames</a></li> 269<li><a href="InjectableValues.html" target="_top">No Frames</a></li> 270</ul> 271<ul class="navList" id="allclasses_navbar_bottom"> 272<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 273</ul> 274<div> 275<script type="text/javascript"><!-- 276 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 277 if(window==top) { 278 allClassesLink.style.display = "block"; 279 } 280 else { 281 allClassesLink.style.display = "none"; 282 } 283 //--> 284</script> 285</div> 286<div> 287<ul class="subNavList"> 288<li>Summary: </li> 289<li><a href="#nested_class_summary">Nested</a> | </li> 290<li>Field | </li> 291<li><a href="#constructor_summary">Constr</a> | </li> 292<li><a href="#method_summary">Method</a></li> 293</ul> 294<ul class="subNavList"> 295<li>Detail: </li> 296<li>Field | </li> 297<li><a href="#constructor_detail">Constr</a> | </li> 298<li><a href="#method_detail">Method</a></li> 299</ul> 300</div> 301<a name="skip-navbar_bottom"> 302<!-- --> 303</a></div> 304<!-- ======== END OF BOTTOM NAVBAR ======= --> 305</body> 306</html> 307