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 Sat Nov 16 21:43:19 PST 2013 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>AnyGetterWriter (jackson-databind 2.3.0 API)</title> 8<meta name="date" content="2013-11-16"> 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="AnyGetterWriter (jackson-databind 2.3.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/AnyGetterWriter.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>Prev Class</li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/ser/BasicSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" target="_top">Frames</a></li> 45<li><a href="AnyGetterWriter.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>Nested | </li> 66<li><a href="#field_summary">Field</a> | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li><a href="#field_detail">Field</a> | </li> 73<li><a href="#constructor_detail">Constr</a> | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind.ser</div> 84<h2 title="Class AnyGetterWriter" class="title">Class AnyGetterWriter</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.ser.AnyGetterWriter</li> 92</ul> 93</li> 94</ul> 95<div class="description"> 96<ul class="blockList"> 97<li class="blockList"> 98<hr> 99<br> 100<pre>public class <span class="strong">AnyGetterWriter</span> 101extends <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> 102<div class="block">Class similar to <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanPropertyWriter</code></a>, but that will be used 103 for serializing <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.3.0/com/fasterxml/jackson/annotation/JsonAnyGetter.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonAnyGetter</code></a> annotated 104 (Map) properties</div> 105</li> 106</ul> 107</div> 108<div class="summary"> 109<ul class="blockList"> 110<li class="blockList"> 111<!-- =========== FIELD SUMMARY =========== --> 112<ul class="blockList"> 113<li class="blockList"><a name="field_summary"> 114<!-- --> 115</a> 116<h3>Field Summary</h3> 117<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 118<caption><span>Fields</span><span class="tabEnd"> </span></caption> 119<tr> 120<th class="colFirst" scope="col">Modifier and Type</th> 121<th class="colLast" scope="col">Field and Description</th> 122</tr> 123<tr class="altColor"> 124<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a></code></td> 125<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html#_accessor">_accessor</a></strong></code> 126<div class="block">Method (or field) that represents the "any getter"</div> 127</td> 128</tr> 129<tr class="rowColor"> 130<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a></code></td> 131<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html#_property">_property</a></strong></code> </td> 132</tr> 133<tr class="altColor"> 134<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/std/MapSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">MapSerializer</a></code></td> 135<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html#_serializer">_serializer</a></strong></code> </td> 136</tr> 137</table> 138</li> 139</ul> 140<!-- ======== CONSTRUCTOR SUMMARY ======== --> 141<ul class="blockList"> 142<li class="blockList"><a name="constructor_summary"> 143<!-- --> 144</a> 145<h3>Constructor Summary</h3> 146<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 147<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 148<tr> 149<th class="colOne" scope="col">Constructor and Description</th> 150</tr> 151<tr class="altColor"> 152<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html#AnyGetterWriter(com.fasterxml.jackson.databind.BeanProperty, com.fasterxml.jackson.databind.introspect.AnnotatedMember, com.fasterxml.jackson.databind.ser.std.MapSerializer)">AnyGetterWriter</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property, 153 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> accessor, 154 <a href="../../../../../com/fasterxml/jackson/databind/ser/std/MapSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">MapSerializer</a> serializer)</code> </td> 155</tr> 156</table> 157</li> 158</ul> 159<!-- ========== METHOD SUMMARY =========== --> 160<ul class="blockList"> 161<li class="blockList"><a name="method_summary"> 162<!-- --> 163</a> 164<h3>Method Summary</h3> 165<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 166<caption><span>Methods</span><span class="tabEnd"> </span></caption> 167<tr> 168<th class="colFirst" scope="col">Modifier and Type</th> 169<th class="colLast" scope="col">Method and Description</th> 170</tr> 171<tr class="altColor"> 172<td class="colFirst"><code>void</code></td> 173<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html#getAndFilter(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.ser.PropertyFilter)">getAndFilter</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> bean, 174 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jgen, 175 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 176 <a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyFilter.html" title="interface in com.fasterxml.jackson.databind.ser">PropertyFilter</a> filter)</code> </td> 177</tr> 178<tr class="rowColor"> 179<td class="colFirst"><code>void</code></td> 180<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html#getAndSerialize(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">getAndSerialize</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> bean, 181 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jgen, 182 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider)</code> </td> 183</tr> 184<tr class="altColor"> 185<td class="colFirst"><code>void</code></td> 186<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/AnyGetterWriter.html#resolve(com.fasterxml.jackson.databind.SerializerProvider)">resolve</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider)</code> </td> 187</tr> 188</table> 189<ul class="blockList"> 190<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 191<!-- --> 192</a> 193<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> 194<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> 195</ul> 196</li> 197</ul> 198</li> 199</ul> 200</div> 201<div class="details"> 202<ul class="blockList"> 203<li class="blockList"> 204<!-- ============ FIELD DETAIL =========== --> 205<ul class="blockList"> 206<li class="blockList"><a name="field_detail"> 207<!-- --> 208</a> 209<h3>Field Detail</h3> 210<a name="_property"> 211<!-- --> 212</a> 213<ul class="blockList"> 214<li class="blockList"> 215<h4>_property</h4> 216<pre>protected final <a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> _property</pre> 217</li> 218</ul> 219<a name="_accessor"> 220<!-- --> 221</a> 222<ul class="blockList"> 223<li class="blockList"> 224<h4>_accessor</h4> 225<pre>protected final <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> _accessor</pre> 226<div class="block">Method (or field) that represents the "any getter"</div> 227</li> 228</ul> 229<a name="_serializer"> 230<!-- --> 231</a> 232<ul class="blockListLast"> 233<li class="blockList"> 234<h4>_serializer</h4> 235<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/std/MapSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">MapSerializer</a> _serializer</pre> 236</li> 237</ul> 238</li> 239</ul> 240<!-- ========= CONSTRUCTOR DETAIL ======== --> 241<ul class="blockList"> 242<li class="blockList"><a name="constructor_detail"> 243<!-- --> 244</a> 245<h3>Constructor Detail</h3> 246<a name="AnyGetterWriter(com.fasterxml.jackson.databind.BeanProperty, com.fasterxml.jackson.databind.introspect.AnnotatedMember, com.fasterxml.jackson.databind.ser.std.MapSerializer)"> 247<!-- --> 248</a> 249<ul class="blockListLast"> 250<li class="blockList"> 251<h4>AnyGetterWriter</h4> 252<pre>public AnyGetterWriter(<a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property, 253 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedMember.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedMember</a> accessor, 254 <a href="../../../../../com/fasterxml/jackson/databind/ser/std/MapSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">MapSerializer</a> serializer)</pre> 255</li> 256</ul> 257</li> 258</ul> 259<!-- ============ METHOD DETAIL ========== --> 260<ul class="blockList"> 261<li class="blockList"><a name="method_detail"> 262<!-- --> 263</a> 264<h3>Method Detail</h3> 265<a name="getAndSerialize(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"> 266<!-- --> 267</a> 268<ul class="blockList"> 269<li class="blockList"> 270<h4>getAndSerialize</h4> 271<pre>public void getAndSerialize(<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> bean, 272 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jgen, 273 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider) 274 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> 275<dl><dt><span class="strong">Throws:</span></dt> 276<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl> 277</li> 278</ul> 279<a name="getAndFilter(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.ser.PropertyFilter)"> 280<!-- --> 281</a> 282<ul class="blockList"> 283<li class="blockList"> 284<h4>getAndFilter</h4> 285<pre>public void getAndFilter(<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> bean, 286 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jgen, 287 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 288 <a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyFilter.html" title="interface in com.fasterxml.jackson.databind.ser">PropertyFilter</a> filter) 289 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> 290<dl><dt><span class="strong">Throws:</span></dt> 291<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd><dt><span class="strong">Since:</span></dt> 292 <dd>2.3</dd></dl> 293</li> 294</ul> 295<a name="resolve(com.fasterxml.jackson.databind.SerializerProvider)"> 296<!-- --> 297</a> 298<ul class="blockListLast"> 299<li class="blockList"> 300<h4>resolve</h4> 301<pre>public void resolve(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider) 302 throws <a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 303<dl><dt><span class="strong">Throws:</span></dt> 304<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd></dl> 305</li> 306</ul> 307</li> 308</ul> 309</li> 310</ul> 311</div> 312</div> 313<!-- ========= END OF CLASS DATA ========= --> 314<!-- ======= START OF BOTTOM NAVBAR ====== --> 315<div class="bottomNav"><a name="navbar_bottom"> 316<!-- --> 317</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 318<!-- --> 319</a> 320<ul class="navList" title="Navigation"> 321<li><a href="../../../../../overview-summary.html">Overview</a></li> 322<li><a href="package-summary.html">Package</a></li> 323<li class="navBarCell1Rev">Class</li> 324<li><a href="class-use/AnyGetterWriter.html">Use</a></li> 325<li><a href="package-tree.html">Tree</a></li> 326<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 327<li><a href="../../../../../index-all.html">Index</a></li> 328<li><a href="../../../../../help-doc.html">Help</a></li> 329</ul> 330</div> 331<div class="subNav"> 332<ul class="navList"> 333<li>Prev Class</li> 334<li><a href="../../../../../com/fasterxml/jackson/databind/ser/BasicSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Next Class</span></a></li> 335</ul> 336<ul class="navList"> 337<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/AnyGetterWriter.html" target="_top">Frames</a></li> 338<li><a href="AnyGetterWriter.html" target="_top">No Frames</a></li> 339</ul> 340<ul class="navList" id="allclasses_navbar_bottom"> 341<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 342</ul> 343<div> 344<script type="text/javascript"><!-- 345 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 346 if(window==top) { 347 allClassesLink.style.display = "block"; 348 } 349 else { 350 allClassesLink.style.display = "none"; 351 } 352 //--> 353</script> 354</div> 355<div> 356<ul class="subNavList"> 357<li>Summary: </li> 358<li>Nested | </li> 359<li><a href="#field_summary">Field</a> | </li> 360<li><a href="#constructor_summary">Constr</a> | </li> 361<li><a href="#method_summary">Method</a></li> 362</ul> 363<ul class="subNavList"> 364<li>Detail: </li> 365<li><a href="#field_detail">Field</a> | </li> 366<li><a href="#constructor_detail">Constr</a> | </li> 367<li><a href="#method_detail">Method</a></li> 368</ul> 369</div> 370<a name="skip-navbar_bottom"> 371<!-- --> 372</a></div> 373<!-- ======== END OF BOTTOM NAVBAR ======= --> 374<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 375</body> 376</html> 377