1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (1.8.0) on Sun Jul 19 11:36:53 PDT 2015 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>VirtualBeanPropertyWriter (jackson-databind 2.6.0 API)</title> 8<meta name="date" content="2015-07-19"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="VirtualBeanPropertyWriter (jackson-databind 2.6.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":9,"i1":9,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":6,"i8":6}; 23var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; 24var altColor = "altColor"; 25var rowColor = "rowColor"; 26var tableTab = "tableTab"; 27var activeTableTab = "activeTableTab"; 28</script> 29<noscript> 30<div>JavaScript is disabled on your browser.</div> 31</noscript> 32<!-- ========= START OF TOP NAVBAR ======= --> 33<div class="topNav"><a name="navbar.top"> 34<!-- --> 35</a> 36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 37<a name="navbar.top.firstrow"> 38<!-- --> 39</a> 40<ul class="navList" title="Navigation"> 41<li><a href="../../../../../overview-summary.html">Overview</a></li> 42<li><a href="package-summary.html">Package</a></li> 43<li class="navBarCell1Rev">Class</li> 44<li><a href="class-use/VirtualBeanPropertyWriter.html">Use</a></li> 45<li><a href="package-tree.html">Tree</a></li> 46<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 47<li><a href="../../../../../index-all.html">Index</a></li> 48<li><a href="../../../../../help-doc.html">Help</a></li> 49</ul> 50</div> 51<div class="subNav"> 52<ul class="navList"> 53<li><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Prev Class</span></a></li> 54<li>Next Class</li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html" target="_top">Frames</a></li> 58<li><a href="VirtualBeanPropertyWriter.html" target="_top">No Frames</a></li> 59</ul> 60<ul class="navList" id="allclasses_navbar_top"> 61<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 62</ul> 63<div> 64<script type="text/javascript"><!-- 65 allClassesLink = document.getElementById("allclasses_navbar_top"); 66 if(window==top) { 67 allClassesLink.style.display = "block"; 68 } 69 else { 70 allClassesLink.style.display = "none"; 71 } 72 //--> 73</script> 74</div> 75<div> 76<ul class="subNavList"> 77<li>Summary: </li> 78<li>Nested | </li> 79<li><a href="#fields.inherited.from.class.com.fasterxml.jackson.databind.ser.BeanPropertyWriter">Field</a> | </li> 80<li><a href="#constructor.summary">Constr</a> | </li> 81<li><a href="#method.summary">Method</a></li> 82</ul> 83<ul class="subNavList"> 84<li>Detail: </li> 85<li>Field | </li> 86<li><a href="#constructor.detail">Constr</a> | </li> 87<li><a href="#method.detail">Method</a></li> 88</ul> 89</div> 90<a name="skip.navbar.top"> 91<!-- --> 92</a></div> 93<!-- ========= END OF TOP NAVBAR ========= --> 94<!-- ======== START OF CLASS DATA ======== --> 95<div class="header"> 96<div class="subTitle">com.fasterxml.jackson.databind.ser</div> 97<h2 title="Class VirtualBeanPropertyWriter" class="title">Class VirtualBeanPropertyWriter</h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<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> 102<li> 103<ul class="inheritance"> 104<li><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">com.fasterxml.jackson.databind.ser.PropertyWriter</a></li> 105<li> 106<ul class="inheritance"> 107<li><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">com.fasterxml.jackson.databind.ser.BeanPropertyWriter</a></li> 108<li> 109<ul class="inheritance"> 110<li>com.fasterxml.jackson.databind.ser.VirtualBeanPropertyWriter</li> 111</ul> 112</li> 113</ul> 114</li> 115</ul> 116</li> 117</ul> 118<div class="description"> 119<ul class="blockList"> 120<li class="blockList"> 121<dl> 122<dt>All Implemented Interfaces:</dt> 123<dd><a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a>, <a href="../../../../../com/fasterxml/jackson/databind/util/Named.html" title="interface in com.fasterxml.jackson.databind.util">Named</a></dd> 124</dl> 125<dl> 126<dt>Direct Known Subclasses:</dt> 127<dd><a href="../../../../../com/fasterxml/jackson/databind/ser/impl/AttributePropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">AttributePropertyWriter</a></dd> 128</dl> 129<hr> 130<br> 131<pre>public abstract class <span class="typeNameLabel">VirtualBeanPropertyWriter</span> 132extends <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a></pre> 133<div class="block"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanPropertyWriter</code></a> implementation used with 134 <a href="../../../../../com/fasterxml/jackson/databind/annotation/JsonAppend.html" title="annotation in com.fasterxml.jackson.databind.annotation"><code>JsonAppend</code></a> 135 to add "virtual" properties in addition to regular ones.</div> 136<dl> 137<dt><span class="simpleTagLabel">Since:</span></dt> 138<dd>2.5</dd> 139<dt><span class="seeLabel">See Also:</span></dt> 140<dd><a href="../../../../../com/fasterxml/jackson/databind/ser/impl/AttributePropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl"><code>AttributePropertyWriter</code></a></dd> 141</dl> 142</li> 143</ul> 144</div> 145<div class="summary"> 146<ul class="blockList"> 147<li class="blockList"> 148<!-- ======== NESTED CLASS SUMMARY ======== --> 149<ul class="blockList"> 150<li class="blockList"><a name="nested.class.summary"> 151<!-- --> 152</a> 153<h3>Nested Class Summary</h3> 154<ul class="blockList"> 155<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.BeanProperty"> 156<!-- --> 157</a> 158<h3>Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a></h3> 159<code><a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.Std.html" title="class in com.fasterxml.jackson.databind">BeanProperty.Std</a></code></li> 160</ul> 161</li> 162</ul> 163<!-- =========== FIELD SUMMARY =========== --> 164<ul class="blockList"> 165<li class="blockList"><a name="field.summary"> 166<!-- --> 167</a> 168<h3>Field Summary</h3> 169<ul class="blockList"> 170<li class="blockList"><a name="fields.inherited.from.class.com.fasterxml.jackson.databind.ser.BeanPropertyWriter"> 171<!-- --> 172</a> 173<h3>Fields inherited from class com.fasterxml.jackson.databind.ser.<a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a></h3> 174<code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_accessorMethod">_accessorMethod</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_cfgSerializationType">_cfgSerializationType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_contextAnnotations">_contextAnnotations</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_declaredType">_declaredType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_dynamicSerializers">_dynamicSerializers</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_field">_field</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_format">_format</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_includeInViews">_includeInViews</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_internalSettings">_internalSettings</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_member">_member</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_metadata">_metadata</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_name">_name</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_nonTrivialBaseType">_nonTrivialBaseType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_nullSerializer">_nullSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_serializer">_serializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_suppressableValue">_suppressableValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_suppressNulls">_suppressNulls</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_typeSerializer">_typeSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_wrapperName">_wrapperName</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#MARKER_FOR_EMPTY">MARKER_FOR_EMPTY</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#NO_FORMAT">NO_FORMAT</a></code></li> 175</ul> 176</li> 177</ul> 178<!-- ======== CONSTRUCTOR SUMMARY ======== --> 179<ul class="blockList"> 180<li class="blockList"><a name="constructor.summary"> 181<!-- --> 182</a> 183<h3>Constructor Summary</h3> 184<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 185<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 186<tr> 187<th class="colFirst" scope="col">Modifier</th> 188<th class="colLast" scope="col">Constructor and Description</th> 189</tr> 190<tr class="altColor"> 191<td class="colFirst"><code>protected </code></td> 192<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#VirtualBeanPropertyWriter--">VirtualBeanPropertyWriter</a></span>()</code> 193<div class="block">Constructor that may be used by sub-classes for constructing a "blue-print" instance; 194 one that will only become (or create) actual usable instance when its 195 <a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#withConfig-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedClass-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-com.fasterxml.jackson.databind.JavaType-"><code>withConfig(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.introspect.AnnotatedClass, com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition, com.fasterxml.jackson.databind.JavaType)</code></a> method is called.</div> 196</td> 197</tr> 198<tr class="rowColor"> 199<td class="colFirst"><code>protected </code></td> 200<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#VirtualBeanPropertyWriter-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-com.fasterxml.jackson.databind.util.Annotations-com.fasterxml.jackson.databind.JavaType-">VirtualBeanPropertyWriter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> propDef, 201 <a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a> contextAnnotations, 202 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> declaredType)</code> 203<div class="block">Constructor used by most sub-types.</div> 204</td> 205</tr> 206<tr class="altColor"> 207<td class="colFirst"><code>protected </code></td> 208<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#VirtualBeanPropertyWriter-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-com.fasterxml.jackson.databind.util.Annotations-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.jsontype.TypeSerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.annotation.JsonInclude.Include-">VirtualBeanPropertyWriter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> propDef, 209 <a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a> contextAnnotations, 210 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> declaredType, 211 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 212 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer, 213 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> serType, 214 com.fasterxml.jackson.annotation.JsonInclude.Include inclusion)</code> 215<div class="block">Pass-through constructor that may be used by sub-classes that 216 want full control over implementation.</div> 217</td> 218</tr> 219<tr class="rowColor"> 220<td class="colFirst"><code>protected </code></td> 221<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#VirtualBeanPropertyWriter-com.fasterxml.jackson.databind.ser.VirtualBeanPropertyWriter-">VirtualBeanPropertyWriter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">VirtualBeanPropertyWriter</a> base)</code> </td> 222</tr> 223<tr class="altColor"> 224<td class="colFirst"><code>protected </code></td> 225<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#VirtualBeanPropertyWriter-com.fasterxml.jackson.databind.ser.VirtualBeanPropertyWriter-com.fasterxml.jackson.databind.PropertyName-">VirtualBeanPropertyWriter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">VirtualBeanPropertyWriter</a> base, 226 <a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a> name)</code> </td> 227</tr> 228</table> 229</li> 230</ul> 231<!-- ========== METHOD SUMMARY =========== --> 232<ul class="blockList"> 233<li class="blockList"><a name="method.summary"> 234<!-- --> 235</a> 236<h3>Method Summary</h3> 237<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 238<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> 239<tr> 240<th class="colFirst" scope="col">Modifier and Type</th> 241<th class="colLast" scope="col">Method and Description</th> 242</tr> 243<tr id="i0" class="altColor"> 244<td class="colFirst"><code>protected static <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> 245<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#Z:Z_suppressableValue-com.fasterxml.jackson.annotation.JsonInclude.Include-">_suppressableValue</a></span>(com.fasterxml.jackson.annotation.JsonInclude.Include inclusion)</code> </td> 246</tr> 247<tr id="i1" class="rowColor"> 248<td class="colFirst"><code>protected static boolean</code></td> 249<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#Z:Z_suppressNulls-com.fasterxml.jackson.annotation.JsonInclude.Include-">_suppressNulls</a></span>(com.fasterxml.jackson.annotation.JsonInclude.Include inclusion)</code> </td> 250</tr> 251<tr id="i2" class="altColor"> 252<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a></code></td> 253<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#getGenericPropertyType--">getGenericPropertyType</a></span>()</code> 254<div class="block">Get the generic property type of this property writer.</div> 255</td> 256</tr> 257<tr id="i3" class="rowColor"> 258<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> 259<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#getPropertyType--">getPropertyType</a></span>()</code> </td> 260</tr> 261<tr id="i4" class="altColor"> 262<td class="colFirst"><code>boolean</code></td> 263<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#isVirtual--">isVirtual</a></span>()</code> 264<div class="block">Note: will be defined in <a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind"><code>BeanProperty</code></a>; as of now is not yet.</div> 265</td> 266</tr> 267<tr id="i5" class="rowColor"> 268<td class="colFirst"><code>void</code></td> 269<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#serializeAsElement-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serializeAsElement</a></span>(<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, 270 com.fasterxml.jackson.core.JsonGenerator gen, 271 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> prov)</code> 272<div class="block">Alternative to <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#serializeAsField-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-"><code>BeanPropertyWriter.serializeAsField(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)</code></a> that is used when a POJO 273 is serialized as JSON Array; the difference is that no field names 274 are written.</div> 275</td> 276</tr> 277<tr id="i6" class="altColor"> 278<td class="colFirst"><code>void</code></td> 279<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#serializeAsField-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serializeAsField</a></span>(<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, 280 com.fasterxml.jackson.core.JsonGenerator gen, 281 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> prov)</code> 282<div class="block">Method called to access property that this bean stands for, from 283 within given bean, and to serialize it as a JSON Object field 284 using appropriate serializer.</div> 285</td> 286</tr> 287<tr id="i7" class="rowColor"> 288<td class="colFirst"><code>protected 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> 289<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#value-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">value</a></span>(<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, 290 com.fasterxml.jackson.core.JsonGenerator jgen, 291 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> prov)</code> 292<div class="block">Method called to figure out the value to serialize.</div> 293</td> 294</tr> 295<tr id="i8" class="altColor"> 296<td class="colFirst"><code>abstract <a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">VirtualBeanPropertyWriter</a></code></td> 297<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#withConfig-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedClass-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-com.fasterxml.jackson.databind.JavaType-">withConfig</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a><?> config, 298 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</a> declaringClass, 299 <a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> propDef, 300 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> 301<div class="block">Contextualization method called on a newly constructed virtual bean property.</div> 302</td> 303</tr> 304</table> 305<ul class="blockList"> 306<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.ser.BeanPropertyWriter"> 307<!-- --> 308</a> 309<h3>Methods inherited from class com.fasterxml.jackson.databind.ser.<a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a></h3> 310<code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_depositSchemaProperty-com.fasterxml.jackson.databind.node.ObjectNode-com.fasterxml.jackson.databind.JsonNode-">_depositSchemaProperty</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_findAndAddDynamic-com.fasterxml.jackson.databind.ser.impl.PropertySerializerMap-java.lang.Class-com.fasterxml.jackson.databind.SerializerProvider-">_findAndAddDynamic</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_handleSelfReference-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.JsonSerializer-">_handleSelfReference</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#Z:Z_new-com.fasterxml.jackson.databind.PropertyName-">_new</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#assignNullSerializer-com.fasterxml.jackson.databind.JsonSerializer-">assignNullSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#assignSerializer-com.fasterxml.jackson.databind.JsonSerializer-">assignSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#assignTypeSerializer-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">assignTypeSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#depositSchemaProperty-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor-">depositSchemaProperty</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#depositSchemaProperty-com.fasterxml.jackson.databind.node.ObjectNode-com.fasterxml.jackson.databind.SerializerProvider-">depositSchemaProperty</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#findFormatOverrides-com.fasterxml.jackson.databind.AnnotationIntrospector-">findFormatOverrides</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#get-java.lang.Object-">get</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getAnnotation-java.lang.Class-">getAnnotation</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getContextAnnotation-java.lang.Class-">getContextAnnotation</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getFullName--">getFullName</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getInternalSetting-java.lang.Object-">getInternalSetting</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getMember--">getMember</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getMetadata--">getMetadata</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getName--">getName</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getRawSerializationType--">getRawSerializationType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getSerializationType--">getSerializationType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getSerializedName--">getSerializedName</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getSerializer--">getSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getType--">getType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getTypeSerializer--">getTypeSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getViews--">getViews</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getWrapperName--">getWrapperName</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#hasNullSerializer--">hasNullSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#hasSerializer--">hasSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#isRequired--">isRequired</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#isUnwrapping--">isUnwrapping</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#removeInternalSetting-java.lang.Object-">removeInternalSetting</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#rename-com.fasterxml.jackson.databind.util.NameTransformer-">rename</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#serializeAsOmittedField-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serializeAsOmittedField</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#serializeAsPlaceholder-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serializeAsPlaceholder</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#setInternalSetting-java.lang.Object-java.lang.Object-">setInternalSetting</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#setNonTrivialBaseType-com.fasterxml.jackson.databind.JavaType-">setNonTrivialBaseType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#toString--">toString</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#unwrappingWriter-com.fasterxml.jackson.databind.util.NameTransformer-">unwrappingWriter</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#willSuppressNulls--">willSuppressNulls</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#wouldConflictWithName-com.fasterxml.jackson.databind.PropertyName-">wouldConflictWithName</a></code></li> 311</ul> 312<ul class="blockList"> 313<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.ser.PropertyWriter"> 314<!-- --> 315</a> 316<h3>Methods inherited from class com.fasterxml.jackson.databind.ser.<a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">PropertyWriter</a></h3> 317<code><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyWriter.html#findAnnotation-java.lang.Class-">findAnnotation</a></code></li> 318</ul> 319<ul class="blockList"> 320<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 321<!-- --> 322</a> 323<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> 324<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#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> 325</ul> 326</li> 327</ul> 328</li> 329</ul> 330</div> 331<div class="details"> 332<ul class="blockList"> 333<li class="blockList"> 334<!-- ========= CONSTRUCTOR DETAIL ======== --> 335<ul class="blockList"> 336<li class="blockList"><a name="constructor.detail"> 337<!-- --> 338</a> 339<h3>Constructor Detail</h3> 340<a name="VirtualBeanPropertyWriter-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-com.fasterxml.jackson.databind.util.Annotations-com.fasterxml.jackson.databind.JavaType-"> 341<!-- --> 342</a> 343<ul class="blockList"> 344<li class="blockList"> 345<h4>VirtualBeanPropertyWriter</h4> 346<pre>protected VirtualBeanPropertyWriter(<a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> propDef, 347 <a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a> contextAnnotations, 348 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> declaredType)</pre> 349<div class="block">Constructor used by most sub-types.</div> 350</li> 351</ul> 352<a name="VirtualBeanPropertyWriter--"> 353<!-- --> 354</a> 355<ul class="blockList"> 356<li class="blockList"> 357<h4>VirtualBeanPropertyWriter</h4> 358<pre>protected VirtualBeanPropertyWriter()</pre> 359<div class="block">Constructor that may be used by sub-classes for constructing a "blue-print" instance; 360 one that will only become (or create) actual usable instance when its 361 <a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#withConfig-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedClass-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-com.fasterxml.jackson.databind.JavaType-"><code>withConfig(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.introspect.AnnotatedClass, com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition, com.fasterxml.jackson.databind.JavaType)</code></a> method is called.</div> 362</li> 363</ul> 364<a name="VirtualBeanPropertyWriter-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-com.fasterxml.jackson.databind.util.Annotations-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.jsontype.TypeSerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.annotation.JsonInclude.Include-"> 365<!-- --> 366</a> 367<ul class="blockList"> 368<li class="blockList"> 369<h4>VirtualBeanPropertyWriter</h4> 370<pre>protected VirtualBeanPropertyWriter(<a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> propDef, 371 <a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a> contextAnnotations, 372 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> declaredType, 373 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 374 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer, 375 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> serType, 376 com.fasterxml.jackson.annotation.JsonInclude.Include inclusion)</pre> 377<div class="block">Pass-through constructor that may be used by sub-classes that 378 want full control over implementation.</div> 379</li> 380</ul> 381<a name="VirtualBeanPropertyWriter-com.fasterxml.jackson.databind.ser.VirtualBeanPropertyWriter-"> 382<!-- --> 383</a> 384<ul class="blockList"> 385<li class="blockList"> 386<h4>VirtualBeanPropertyWriter</h4> 387<pre>protected VirtualBeanPropertyWriter(<a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">VirtualBeanPropertyWriter</a> base)</pre> 388</li> 389</ul> 390<a name="VirtualBeanPropertyWriter-com.fasterxml.jackson.databind.ser.VirtualBeanPropertyWriter-com.fasterxml.jackson.databind.PropertyName-"> 391<!-- --> 392</a> 393<ul class="blockListLast"> 394<li class="blockList"> 395<h4>VirtualBeanPropertyWriter</h4> 396<pre>protected VirtualBeanPropertyWriter(<a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">VirtualBeanPropertyWriter</a> base, 397 <a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a> name)</pre> 398</li> 399</ul> 400</li> 401</ul> 402<!-- ============ METHOD DETAIL ========== --> 403<ul class="blockList"> 404<li class="blockList"><a name="method.detail"> 405<!-- --> 406</a> 407<h3>Method Detail</h3> 408<a name="Z:Z_suppressNulls-com.fasterxml.jackson.annotation.JsonInclude.Include-"> 409<!-- --> 410</a> 411<ul class="blockList"> 412<li class="blockList"> 413<h4>_suppressNulls</h4> 414<pre>protected static boolean _suppressNulls(com.fasterxml.jackson.annotation.JsonInclude.Include inclusion)</pre> 415</li> 416</ul> 417<a name="Z:Z_suppressableValue-com.fasterxml.jackson.annotation.JsonInclude.Include-"> 418<!-- --> 419</a> 420<ul class="blockList"> 421<li class="blockList"> 422<h4>_suppressableValue</h4> 423<pre>protected static <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> _suppressableValue(com.fasterxml.jackson.annotation.JsonInclude.Include inclusion)</pre> 424</li> 425</ul> 426<a name="isVirtual--"> 427<!-- --> 428</a> 429<ul class="blockList"> 430<li class="blockList"> 431<h4>isVirtual</h4> 432<pre>public boolean isVirtual()</pre> 433<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#isVirtual--">BeanPropertyWriter</a></code></span></div> 434<div class="block">Note: will be defined in <a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind"><code>BeanProperty</code></a>; as of now is not yet. 435<p> 436 TODO: move to <a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind"><code>BeanProperty</code></a> in near future, once all standard 437 implementations define it.</div> 438<dl> 439<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 440<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#isVirtual--">isVirtual</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a></code></dd> 441</dl> 442</li> 443</ul> 444<a name="getPropertyType--"> 445<!-- --> 446</a> 447<ul class="blockList"> 448<li class="blockList"> 449<h4>getPropertyType</h4> 450<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> getPropertyType()</pre> 451<dl> 452<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 453<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getPropertyType--">getPropertyType</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a></code></dd> 454</dl> 455</li> 456</ul> 457<a name="getGenericPropertyType--"> 458<!-- --> 459</a> 460<ul class="blockList"> 461<li class="blockList"> 462<h4>getGenericPropertyType</h4> 463<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> getGenericPropertyType()</pre> 464<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getGenericPropertyType--">BeanPropertyWriter</a></code></span></div> 465<div class="block">Get the generic property type of this property writer.</div> 466<dl> 467<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 468<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getGenericPropertyType--">getGenericPropertyType</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a></code></dd> 469<dt><span class="returnLabel">Returns:</span></dt> 470<dd>The property type, or null if not found.</dd> 471</dl> 472</li> 473</ul> 474<a name="value-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-"> 475<!-- --> 476</a> 477<ul class="blockList"> 478<li class="blockList"> 479<h4>value</h4> 480<pre>protected 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> value(<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, 481 com.fasterxml.jackson.core.JsonGenerator jgen, 482 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> prov) 483 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> 484<div class="block">Method called to figure out the value to serialize. For simple sub-types 485 (such as <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/AttributePropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl"><code>AttributePropertyWriter</code></a>) 486 this may be one of few methods to define, although more advanced implementations 487 may choose to not even use this method (by overriding <a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#serializeAsField-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-"><code>serializeAsField(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)</code></a>) 488 and define a bogus implementation.</div> 489<dl> 490<dt><span class="throwsLabel">Throws:</span></dt> 491<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> 492</dl> 493</li> 494</ul> 495<a name="withConfig-com.fasterxml.jackson.databind.cfg.MapperConfig-com.fasterxml.jackson.databind.introspect.AnnotatedClass-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-com.fasterxml.jackson.databind.JavaType-"> 496<!-- --> 497</a> 498<ul class="blockList"> 499<li class="blockList"> 500<h4>withConfig</h4> 501<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">VirtualBeanPropertyWriter</a> withConfig(<a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a><?> config, 502 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</a> declaringClass, 503 <a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> propDef, 504 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</pre> 505<div class="block">Contextualization method called on a newly constructed virtual bean property. 506 Usually a new intance needs to be created due to finality of some of configuration 507 members; otherwise while recommended, creating a new instance is not strictly-speaking 508 mandatory because calls are made in thread-safe manner, as part of initialization 509 before use.</div> 510<dl> 511<dt><span class="paramLabel">Parameters:</span></dt> 512<dd><code>config</code> - Currenct configuration; guaranteed to be <a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>SerializationConfig</code></a> 513 (just not typed since caller does not have dependency to serialization-specific types)</dd> 514<dd><code>declaringClass</code> - Class that contains this property writer</dd> 515<dd><code>propDef</code> - Nominal property definition to use</dd> 516<dd><code>type</code> - Declared type for the property</dd> 517</dl> 518</li> 519</ul> 520<a name="serializeAsField-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-"> 521<!-- --> 522</a> 523<ul class="blockList"> 524<li class="blockList"> 525<h4>serializeAsField</h4> 526<pre>public void serializeAsField(<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, 527 com.fasterxml.jackson.core.JsonGenerator gen, 528 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> prov) 529 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> 530<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#serializeAsField-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">BeanPropertyWriter</a></code></span></div> 531<div class="block">Method called to access property that this bean stands for, from 532 within given bean, and to serialize it as a JSON Object field 533 using appropriate serializer.</div> 534<dl> 535<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 536<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#serializeAsField-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serializeAsField</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a></code></dd> 537<dt><span class="throwsLabel">Throws:</span></dt> 538<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> 539</dl> 540</li> 541</ul> 542<a name="serializeAsElement-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-"> 543<!-- --> 544</a> 545<ul class="blockListLast"> 546<li class="blockList"> 547<h4>serializeAsElement</h4> 548<pre>public void serializeAsElement(<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, 549 com.fasterxml.jackson.core.JsonGenerator gen, 550 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> prov) 551 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> 552<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#serializeAsElement-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">BeanPropertyWriter</a></code></span></div> 553<div class="block">Alternative to <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#serializeAsField-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-"><code>BeanPropertyWriter.serializeAsField(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)</code></a> that is used when a POJO 554 is serialized as JSON Array; the difference is that no field names 555 are written.</div> 556<dl> 557<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 558<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#serializeAsElement-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serializeAsElement</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a></code></dd> 559<dt><span class="throwsLabel">Throws:</span></dt> 560<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> 561</dl> 562</li> 563</ul> 564</li> 565</ul> 566</li> 567</ul> 568</div> 569</div> 570<!-- ========= END OF CLASS DATA ========= --> 571<!-- ======= START OF BOTTOM NAVBAR ====== --> 572<div class="bottomNav"><a name="navbar.bottom"> 573<!-- --> 574</a> 575<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 576<a name="navbar.bottom.firstrow"> 577<!-- --> 578</a> 579<ul class="navList" title="Navigation"> 580<li><a href="../../../../../overview-summary.html">Overview</a></li> 581<li><a href="package-summary.html">Package</a></li> 582<li class="navBarCell1Rev">Class</li> 583<li><a href="class-use/VirtualBeanPropertyWriter.html">Use</a></li> 584<li><a href="package-tree.html">Tree</a></li> 585<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 586<li><a href="../../../../../index-all.html">Index</a></li> 587<li><a href="../../../../../help-doc.html">Help</a></li> 588</ul> 589</div> 590<div class="subNav"> 591<ul class="navList"> 592<li><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Prev Class</span></a></li> 593<li>Next Class</li> 594</ul> 595<ul class="navList"> 596<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html" target="_top">Frames</a></li> 597<li><a href="VirtualBeanPropertyWriter.html" target="_top">No Frames</a></li> 598</ul> 599<ul class="navList" id="allclasses_navbar_bottom"> 600<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 601</ul> 602<div> 603<script type="text/javascript"><!-- 604 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 605 if(window==top) { 606 allClassesLink.style.display = "block"; 607 } 608 else { 609 allClassesLink.style.display = "none"; 610 } 611 //--> 612</script> 613</div> 614<div> 615<ul class="subNavList"> 616<li>Summary: </li> 617<li>Nested | </li> 618<li><a href="#fields.inherited.from.class.com.fasterxml.jackson.databind.ser.BeanPropertyWriter">Field</a> | </li> 619<li><a href="#constructor.summary">Constr</a> | </li> 620<li><a href="#method.summary">Method</a></li> 621</ul> 622<ul class="subNavList"> 623<li>Detail: </li> 624<li>Field | </li> 625<li><a href="#constructor.detail">Constr</a> | </li> 626<li><a href="#method.detail">Method</a></li> 627</ul> 628</div> 629<a name="skip.navbar.bottom"> 630<!-- --> 631</a></div> 632<!-- ======== END OF BOTTOM NAVBAR ======= --> 633<p class="legalCopy"><small>Copyright © 2014–2015 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 634</body> 635</html> 636