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_79) on Wed Jul 20 08:39:13 PDT 2016 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>VirtualBeanPropertyWriter (jackson-databind 2.8.0 API)</title> 8<meta name="date" content="2016-07-20"> 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="VirtualBeanPropertyWriter (jackson-databind 2.8.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/VirtualBeanPropertyWriter.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/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Prev Class</span></a></li> 41<li>Next Class</li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html" target="_top">Frames</a></li> 45<li><a href="VirtualBeanPropertyWriter.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="#fields_inherited_from_class_com.fasterxml.jackson.databind.ser.BeanPropertyWriter">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>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.ser</div> 84<h2 title="Class VirtualBeanPropertyWriter" class="title">Class VirtualBeanPropertyWriter</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<li><a href="http://docs.oracle.com/javase/7/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><a href="../../../../../com/fasterxml/jackson/databind/introspect/ConcreteBeanPropertyBase.html" title="class in com.fasterxml.jackson.databind.introspect">com.fasterxml.jackson.databind.introspect.ConcreteBeanPropertyBase</a></li> 92<li> 93<ul class="inheritance"> 94<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> 95<li> 96<ul class="inheritance"> 97<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> 98<li> 99<ul class="inheritance"> 100<li>com.fasterxml.jackson.databind.ser.VirtualBeanPropertyWriter</li> 101</ul> 102</li> 103</ul> 104</li> 105</ul> 106</li> 107</ul> 108</li> 109</ul> 110<div class="description"> 111<ul class="blockList"> 112<li class="blockList"> 113<dl> 114<dt>All Implemented Interfaces:</dt> 115<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>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> 116</dl> 117<dl> 118<dt>Direct Known Subclasses:</dt> 119<dd><a href="../../../../../com/fasterxml/jackson/databind/ser/impl/AttributePropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">AttributePropertyWriter</a></dd> 120</dl> 121<hr> 122<br> 123<pre>public abstract class <span class="strong">VirtualBeanPropertyWriter</span> 124extends <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a> 125implements <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre> 126<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 127 <a href="../../../../../com/fasterxml/jackson/databind/annotation/JsonAppend.html" title="annotation in com.fasterxml.jackson.databind.annotation"><code>JsonAppend</code></a> 128 to add "virtual" properties in addition to regular ones.</div> 129<dl><dt><span class="strong">Since:</span></dt> 130 <dd>2.5</dd> 131<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../com/fasterxml/jackson/databind/ser/impl/AttributePropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl"><code>AttributePropertyWriter</code></a>, 132<a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.ser.VirtualBeanPropertyWriter">Serialized Form</a></dd></dl> 133</li> 134</ul> 135</div> 136<div class="summary"> 137<ul class="blockList"> 138<li class="blockList"> 139<!-- ======== NESTED CLASS SUMMARY ======== --> 140<ul class="blockList"> 141<li class="blockList"><a name="nested_class_summary"> 142<!-- --> 143</a> 144<h3>Nested Class Summary</h3> 145<ul class="blockList"> 146<li class="blockList"><a name="nested_classes_inherited_from_class_com.fasterxml.jackson.databind.BeanProperty"> 147<!-- --> 148</a> 149<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> 150<code><a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.Std.html" title="class in com.fasterxml.jackson.databind">BeanProperty.Std</a></code></li> 151</ul> 152</li> 153</ul> 154<!-- =========== FIELD SUMMARY =========== --> 155<ul class="blockList"> 156<li class="blockList"><a name="field_summary"> 157<!-- --> 158</a> 159<h3>Field Summary</h3> 160<ul class="blockList"> 161<li class="blockList"><a name="fields_inherited_from_class_com.fasterxml.jackson.databind.ser.BeanPropertyWriter"> 162<!-- --> 163</a> 164<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> 165<code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_accessorMethod">_accessorMethod</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_cfgSerializationType">_cfgSerializationType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_contextAnnotations">_contextAnnotations</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_declaredType">_declaredType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_dynamicSerializers">_dynamicSerializers</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_field">_field</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_includeInViews">_includeInViews</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_internalSettings">_internalSettings</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_member">_member</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_name">_name</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_nonTrivialBaseType">_nonTrivialBaseType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_nullSerializer">_nullSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_serializer">_serializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_suppressableValue">_suppressableValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_suppressNulls">_suppressNulls</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_typeSerializer">_typeSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_wrapperName">_wrapperName</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#MARKER_FOR_EMPTY">MARKER_FOR_EMPTY</a></code></li> 166</ul> 167<ul class="blockList"> 168<li class="blockList"><a name="fields_inherited_from_class_com.fasterxml.jackson.databind.introspect.ConcreteBeanPropertyBase"> 169<!-- --> 170</a> 171<h3>Fields inherited from class com.fasterxml.jackson.databind.introspect.<a href="../../../../../com/fasterxml/jackson/databind/introspect/ConcreteBeanPropertyBase.html" title="class in com.fasterxml.jackson.databind.introspect">ConcreteBeanPropertyBase</a></h3> 172<code><a href="../../../../../com/fasterxml/jackson/databind/introspect/ConcreteBeanPropertyBase.html#_metadata">_metadata</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/ConcreteBeanPropertyBase.html#_propertyFormat">_propertyFormat</a></code></li> 173</ul> 174<ul class="blockList"> 175<li class="blockList"><a name="fields_inherited_from_class_com.fasterxml.jackson.databind.BeanProperty"> 176<!-- --> 177</a> 178<h3>Fields 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> 179<code><a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html#EMPTY_FORMAT">EMPTY_FORMAT</a>, <a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html#EMPTY_INCLUDE">EMPTY_INCLUDE</a></code></li> 180</ul> 181</li> 182</ul> 183<!-- ======== CONSTRUCTOR SUMMARY ======== --> 184<ul class="blockList"> 185<li class="blockList"><a name="constructor_summary"> 186<!-- --> 187</a> 188<h3>Constructor Summary</h3> 189<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 190<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 191<tr> 192<th class="colFirst" scope="col">Modifier</th> 193<th class="colLast" scope="col">Constructor and Description</th> 194</tr> 195<tr class="altColor"> 196<td class="colFirst"><code>protected </code></td> 197<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#VirtualBeanPropertyWriter()">VirtualBeanPropertyWriter</a></strong>()</code> 198<div class="block">Constructor that may be used by sub-classes for constructing a "blue-print" instance; 199 one that will only become (or create) actual usable instance when its 200 <a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#withConfig(com.fasterxml.jackson.databind.cfg.MapperConfig,%20com.fasterxml.jackson.databind.introspect.AnnotatedClass,%20com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition,%20com.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> 201</td> 202</tr> 203<tr class="rowColor"> 204<td class="colFirst"><code>protected </code></td> 205<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#VirtualBeanPropertyWriter(com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition,%20com.fasterxml.jackson.databind.util.Annotations,%20com.fasterxml.jackson.databind.JavaType)">VirtualBeanPropertyWriter</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> propDef, 206 <a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a> contextAnnotations, 207 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> declaredType)</code> 208<div class="block">Constructor used by most sub-types.</div> 209</td> 210</tr> 211<tr class="altColor"> 212<td class="colFirst"><code>protected </code></td> 213<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#VirtualBeanPropertyWriter(com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition,%20com.fasterxml.jackson.databind.util.Annotations,%20com.fasterxml.jackson.databind.JavaType,%20com.fasterxml.jackson.databind.JsonSerializer,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer,%20com.fasterxml.jackson.databind.JavaType,%20com.fasterxml.jackson.annotation.JsonInclude.Value)">VirtualBeanPropertyWriter</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> propDef, 214 <a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a> contextAnnotations, 215 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> declaredType, 216 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 217 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer, 218 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> serType, 219 <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Value</a> inclusion)</code> 220<div class="block">Pass-through constructor that may be used by sub-classes that 221 want full control over implementation.</div> 222</td> 223</tr> 224<tr class="rowColor"> 225<td class="colFirst"><code>protected </code></td> 226<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#VirtualBeanPropertyWriter(com.fasterxml.jackson.databind.ser.VirtualBeanPropertyWriter)">VirtualBeanPropertyWriter</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">VirtualBeanPropertyWriter</a> base)</code> </td> 227</tr> 228<tr class="altColor"> 229<td class="colFirst"><code>protected </code></td> 230<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#VirtualBeanPropertyWriter(com.fasterxml.jackson.databind.ser.VirtualBeanPropertyWriter,%20com.fasterxml.jackson.databind.PropertyName)">VirtualBeanPropertyWriter</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">VirtualBeanPropertyWriter</a> base, 231 <a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a> name)</code> </td> 232</tr> 233</table> 234</li> 235</ul> 236<!-- ========== METHOD SUMMARY =========== --> 237<ul class="blockList"> 238<li class="blockList"><a name="method_summary"> 239<!-- --> 240</a> 241<h3>Method Summary</h3> 242<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 243<caption><span>Methods</span><span class="tabEnd"> </span></caption> 244<tr> 245<th class="colFirst" scope="col">Modifier and Type</th> 246<th class="colLast" scope="col">Method and Description</th> 247</tr> 248<tr class="altColor"> 249<td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 250<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#_suppressableValue(com.fasterxml.jackson.annotation.JsonInclude.Value)">_suppressableValue</a></strong>(<a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Value</a> inclusion)</code> </td> 251</tr> 252<tr class="rowColor"> 253<td class="colFirst"><code>protected static boolean</code></td> 254<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#_suppressNulls(com.fasterxml.jackson.annotation.JsonInclude.Value)">_suppressNulls</a></strong>(<a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Value</a> inclusion)</code> </td> 255</tr> 256<tr class="altColor"> 257<td class="colFirst"><code>boolean</code></td> 258<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#isVirtual()">isVirtual</a></strong>()</code> 259<div class="block">Accessor for checking whether there is an actual physical property 260 behind this property abstraction or not.</div> 261</td> 262</tr> 263<tr class="rowColor"> 264<td class="colFirst"><code>void</code></td> 265<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#serializeAsElement(java.lang.Object,%20com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider)">serializeAsElement</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> bean, 266 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 267 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> prov)</code> 268<div class="block">Alternative to <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#serializeAsField(java.lang.Object,%20com.fasterxml.jackson.core.JsonGenerator,%20com.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 is 269 serialized as JSON Array; the difference is that no field names are 270 written.</div> 271</td> 272</tr> 273<tr class="altColor"> 274<td class="colFirst"><code>void</code></td> 275<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#serializeAsField(java.lang.Object,%20com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider)">serializeAsField</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> bean, 276 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 277 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> prov)</code> 278<div class="block">Method called to access property that this bean stands for, from within 279 given bean, and to serialize it as a JSON Object field using appropriate 280 serializer.</div> 281</td> 282</tr> 283<tr class="rowColor"> 284<td class="colFirst"><code>protected abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 285<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#value(java.lang.Object,%20com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider)">value</a></strong>(<a href="http://docs.oracle.com/javase/7/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.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 287 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> prov)</code> 288<div class="block">Method called to figure out the value to serialize.</div> 289</td> 290</tr> 291<tr class="altColor"> 292<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> 293<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#withConfig(com.fasterxml.jackson.databind.cfg.MapperConfig,%20com.fasterxml.jackson.databind.introspect.AnnotatedClass,%20com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition,%20com.fasterxml.jackson.databind.JavaType)">withConfig</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html" title="class in com.fasterxml.jackson.databind.cfg">MapperConfig</a><?> config, 294 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</a> declaringClass, 295 <a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> propDef, 296 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> 297<div class="block">Contextualization method called on a newly constructed virtual bean property.</div> 298</td> 299</tr> 300</table> 301<ul class="blockList"> 302<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.ser.BeanPropertyWriter"> 303<!-- --> 304</a> 305<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> 306<code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_depositSchemaProperty(com.fasterxml.jackson.databind.node.ObjectNode,%20com.fasterxml.jackson.databind.JsonNode)">_depositSchemaProperty</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_findAndAddDynamic(com.fasterxml.jackson.databind.ser.impl.PropertySerializerMap,%20java.lang.Class,%20com.fasterxml.jackson.databind.SerializerProvider)">_findAndAddDynamic</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_handleSelfReference(java.lang.Object,%20com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider,%20com.fasterxml.jackson.databind.JsonSerializer)">_handleSelfReference</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#_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,%20com.fasterxml.jackson.databind.SerializerProvider)">depositSchemaProperty</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#depositSchemaProperty(com.fasterxml.jackson.databind.node.ObjectNode,%20com.fasterxml.jackson.databind.SerializerProvider)">depositSchemaProperty</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#getGenericPropertyType()">getGenericPropertyType</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#getName()">getName</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#getPropertyType()">getPropertyType</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#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,%20com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider)">serializeAsOmittedField</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#serializeAsPlaceholder(java.lang.Object,%20com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider)">serializeAsPlaceholder</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#setInternalSetting(java.lang.Object,%20java.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> 307</ul> 308<ul class="blockList"> 309<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.ser.PropertyWriter"> 310<!-- --> 311</a> 312<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> 313<code><a href="../../../../../com/fasterxml/jackson/databind/ser/PropertyWriter.html#findAnnotation(java.lang.Class)">findAnnotation</a></code></li> 314</ul> 315<ul class="blockList"> 316<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.introspect.ConcreteBeanPropertyBase"> 317<!-- --> 318</a> 319<h3>Methods inherited from class com.fasterxml.jackson.databind.introspect.<a href="../../../../../com/fasterxml/jackson/databind/introspect/ConcreteBeanPropertyBase.html" title="class in com.fasterxml.jackson.databind.introspect">ConcreteBeanPropertyBase</a></h3> 320<code><a href="../../../../../com/fasterxml/jackson/databind/introspect/ConcreteBeanPropertyBase.html#findFormatOverrides(com.fasterxml.jackson.databind.AnnotationIntrospector)">findFormatOverrides</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/ConcreteBeanPropertyBase.html#findPropertyFormat(com.fasterxml.jackson.databind.cfg.MapperConfig,%20java.lang.Class)">findPropertyFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/ConcreteBeanPropertyBase.html#findPropertyInclusion(com.fasterxml.jackson.databind.cfg.MapperConfig,%20java.lang.Class)">findPropertyInclusion</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/ConcreteBeanPropertyBase.html#getMetadata()">getMetadata</a>, <a href="../../../../../com/fasterxml/jackson/databind/introspect/ConcreteBeanPropertyBase.html#isRequired()">isRequired</a></code></li> 321</ul> 322<ul class="blockList"> 323<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 324<!-- --> 325</a> 326<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 327<code><a href="http://docs.oracle.com/javase/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> 328</ul> 329</li> 330</ul> 331</li> 332</ul> 333</div> 334<div class="details"> 335<ul class="blockList"> 336<li class="blockList"> 337<!-- ========= CONSTRUCTOR DETAIL ======== --> 338<ul class="blockList"> 339<li class="blockList"><a name="constructor_detail"> 340<!-- --> 341</a> 342<h3>Constructor Detail</h3> 343<a name="VirtualBeanPropertyWriter(com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition, com.fasterxml.jackson.databind.util.Annotations, com.fasterxml.jackson.databind.JavaType)"> 344<!-- --> 345</a> 346<ul class="blockList"> 347<li class="blockList"> 348<h4>VirtualBeanPropertyWriter</h4> 349<pre>protected VirtualBeanPropertyWriter(<a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> propDef, 350 <a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a> contextAnnotations, 351 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> declaredType)</pre> 352<div class="block">Constructor used by most sub-types.</div> 353</li> 354</ul> 355<a name="VirtualBeanPropertyWriter()"> 356<!-- --> 357</a> 358<ul class="blockList"> 359<li class="blockList"> 360<h4>VirtualBeanPropertyWriter</h4> 361<pre>protected VirtualBeanPropertyWriter()</pre> 362<div class="block">Constructor that may be used by sub-classes for constructing a "blue-print" instance; 363 one that will only become (or create) actual usable instance when its 364 <a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#withConfig(com.fasterxml.jackson.databind.cfg.MapperConfig,%20com.fasterxml.jackson.databind.introspect.AnnotatedClass,%20com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition,%20com.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> 365</li> 366</ul> 367<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.Value)"> 368<!-- --> 369</a> 370<ul class="blockList"> 371<li class="blockList"> 372<h4>VirtualBeanPropertyWriter</h4> 373<pre>protected VirtualBeanPropertyWriter(<a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> propDef, 374 <a href="../../../../../com/fasterxml/jackson/databind/util/Annotations.html" title="interface in com.fasterxml.jackson.databind.util">Annotations</a> contextAnnotations, 375 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> declaredType, 376 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 377 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer, 378 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> serType, 379 <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Value</a> inclusion)</pre> 380<div class="block">Pass-through constructor that may be used by sub-classes that 381 want full control over implementation.</div> 382</li> 383</ul> 384<a name="VirtualBeanPropertyWriter(com.fasterxml.jackson.databind.ser.VirtualBeanPropertyWriter)"> 385<!-- --> 386</a> 387<ul class="blockList"> 388<li class="blockList"> 389<h4>VirtualBeanPropertyWriter</h4> 390<pre>protected VirtualBeanPropertyWriter(<a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">VirtualBeanPropertyWriter</a> base)</pre> 391</li> 392</ul> 393<a name="VirtualBeanPropertyWriter(com.fasterxml.jackson.databind.ser.VirtualBeanPropertyWriter, com.fasterxml.jackson.databind.PropertyName)"> 394<!-- --> 395</a> 396<ul class="blockListLast"> 397<li class="blockList"> 398<h4>VirtualBeanPropertyWriter</h4> 399<pre>protected VirtualBeanPropertyWriter(<a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">VirtualBeanPropertyWriter</a> base, 400 <a href="../../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a> name)</pre> 401</li> 402</ul> 403</li> 404</ul> 405<!-- ============ METHOD DETAIL ========== --> 406<ul class="blockList"> 407<li class="blockList"><a name="method_detail"> 408<!-- --> 409</a> 410<h3>Method Detail</h3> 411<a name="_suppressNulls(com.fasterxml.jackson.annotation.JsonInclude.Value)"> 412<!-- --> 413</a> 414<ul class="blockList"> 415<li class="blockList"> 416<h4>_suppressNulls</h4> 417<pre>protected static boolean _suppressNulls(<a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Value</a> inclusion)</pre> 418</li> 419</ul> 420<a name="_suppressableValue(com.fasterxml.jackson.annotation.JsonInclude.Value)"> 421<!-- --> 422</a> 423<ul class="blockList"> 424<li class="blockList"> 425<h4>_suppressableValue</h4> 426<pre>protected static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> _suppressableValue(<a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.7/com/fasterxml/jackson/annotation/JsonInclude.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Value</a> inclusion)</pre> 427</li> 428</ul> 429<a name="isVirtual()"> 430<!-- --> 431</a> 432<ul class="blockList"> 433<li class="blockList"> 434<h4>isVirtual</h4> 435<pre>public boolean isVirtual()</pre> 436<div class="block"><strong>Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html#isVirtual()">BeanProperty</a></code></strong></div> 437<div class="block">Accessor for checking whether there is an actual physical property 438 behind this property abstraction or not.</div> 439<dl> 440<dt><strong>Specified by:</strong></dt> 441<dd><code><a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html#isVirtual()">isVirtual</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a></code></dd> 442<dt><strong>Overrides:</strong></dt> 443<dd><code><a href="../../../../../com/fasterxml/jackson/databind/introspect/ConcreteBeanPropertyBase.html#isVirtual()">isVirtual</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/introspect/ConcreteBeanPropertyBase.html" title="class in com.fasterxml.jackson.databind.introspect">ConcreteBeanPropertyBase</a></code></dd> 444</dl> 445</li> 446</ul> 447<a name="value(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"> 448<!-- --> 449</a> 450<ul class="blockList"> 451<li class="blockList"> 452<h4>value</h4> 453<pre>protected abstract <a href="http://docs.oracle.com/javase/7/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/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> bean, 454 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 455 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> prov) 456 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> 457<div class="block">Method called to figure out the value to serialize. For simple sub-types 458 (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>) 459 this may be one of few methods to define, although more advanced implementations 460 may choose to not even use this method (by overriding <a href="../../../../../com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html#serializeAsField(java.lang.Object,%20com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider)"><code>serializeAsField(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)</code></a>) 461 and define a bogus implementation.</div> 462<dl><dt><span class="strong">Throws:</span></dt> 463<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl> 464</li> 465</ul> 466<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)"> 467<!-- --> 468</a> 469<ul class="blockList"> 470<li class="blockList"> 471<h4>withConfig</h4> 472<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, 473 <a href="../../../../../com/fasterxml/jackson/databind/introspect/AnnotatedClass.html" title="class in com.fasterxml.jackson.databind.introspect">AnnotatedClass</a> declaringClass, 474 <a href="../../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> propDef, 475 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</pre> 476<div class="block">Contextualization method called on a newly constructed virtual bean property. 477 Usually a new intance needs to be created due to finality of some of configuration 478 members; otherwise while recommended, creating a new instance is not strictly-speaking 479 mandatory because calls are made in thread-safe manner, as part of initialization 480 before use.</div> 481<dl><dt><span class="strong">Parameters:</span></dt><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> 482 (just not typed since caller does not have dependency to serialization-specific types)</dd><dd><code>declaringClass</code> - Class that contains this property writer</dd><dd><code>propDef</code> - Nominal property definition to use</dd><dd><code>type</code> - Declared type for the property</dd></dl> 483</li> 484</ul> 485<a name="serializeAsField(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"> 486<!-- --> 487</a> 488<ul class="blockList"> 489<li class="blockList"> 490<h4>serializeAsField</h4> 491<pre>public void serializeAsField(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> bean, 492 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 493 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> prov) 494 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> 495<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#serializeAsField(java.lang.Object,%20com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider)">BeanPropertyWriter</a></code></strong></div> 496<div class="block">Method called to access property that this bean stands for, from within 497 given bean, and to serialize it as a JSON Object field using appropriate 498 serializer.</div> 499<dl> 500<dt><strong>Overrides:</strong></dt> 501<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#serializeAsField(java.lang.Object,%20com.fasterxml.jackson.core.JsonGenerator,%20com.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> 502<dt><span class="strong">Throws:</span></dt> 503<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl> 504</li> 505</ul> 506<a name="serializeAsElement(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"> 507<!-- --> 508</a> 509<ul class="blockListLast"> 510<li class="blockList"> 511<h4>serializeAsElement</h4> 512<pre>public void serializeAsElement(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> bean, 513 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 514 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> prov) 515 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> 516<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#serializeAsElement(java.lang.Object,%20com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider)">BeanPropertyWriter</a></code></strong></div> 517<div class="block">Alternative to <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#serializeAsField(java.lang.Object,%20com.fasterxml.jackson.core.JsonGenerator,%20com.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 is 518 serialized as JSON Array; the difference is that no field names are 519 written.</div> 520<dl> 521<dt><strong>Overrides:</strong></dt> 522<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html#serializeAsElement(java.lang.Object,%20com.fasterxml.jackson.core.JsonGenerator,%20com.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> 523<dt><span class="strong">Throws:</span></dt> 524<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd></dl> 525</li> 526</ul> 527</li> 528</ul> 529</li> 530</ul> 531</div> 532</div> 533<!-- ========= END OF CLASS DATA ========= --> 534<!-- ======= START OF BOTTOM NAVBAR ====== --> 535<div class="bottomNav"><a name="navbar_bottom"> 536<!-- --> 537</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 538<!-- --> 539</a> 540<ul class="navList" title="Navigation"> 541<li><a href="../../../../../overview-summary.html">Overview</a></li> 542<li><a href="package-summary.html">Package</a></li> 543<li class="navBarCell1Rev">Class</li> 544<li><a href="class-use/VirtualBeanPropertyWriter.html">Use</a></li> 545<li><a href="package-tree.html">Tree</a></li> 546<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 547<li><a href="../../../../../index-all.html">Index</a></li> 548<li><a href="../../../../../help-doc.html">Help</a></li> 549</ul> 550</div> 551<div class="subNav"> 552<ul class="navList"> 553<li><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser"><span class="strong">Prev Class</span></a></li> 554<li>Next Class</li> 555</ul> 556<ul class="navList"> 557<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/VirtualBeanPropertyWriter.html" target="_top">Frames</a></li> 558<li><a href="VirtualBeanPropertyWriter.html" target="_top">No Frames</a></li> 559</ul> 560<ul class="navList" id="allclasses_navbar_bottom"> 561<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 562</ul> 563<div> 564<script type="text/javascript"><!-- 565 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 566 if(window==top) { 567 allClassesLink.style.display = "block"; 568 } 569 else { 570 allClassesLink.style.display = "none"; 571 } 572 //--> 573</script> 574</div> 575<div> 576<ul class="subNavList"> 577<li>Summary: </li> 578<li>Nested | </li> 579<li><a href="#fields_inherited_from_class_com.fasterxml.jackson.databind.ser.BeanPropertyWriter">Field</a> | </li> 580<li><a href="#constructor_summary">Constr</a> | </li> 581<li><a href="#method_summary">Method</a></li> 582</ul> 583<ul class="subNavList"> 584<li>Detail: </li> 585<li>Field | </li> 586<li><a href="#constructor_detail">Constr</a> | </li> 587<li><a href="#method_detail">Method</a></li> 588</ul> 589</div> 590<a name="skip-navbar_bottom"> 591<!-- --> 592</a></div> 593<!-- ======== END OF BOTTOM NAVBAR ======= --> 594<p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 595</body> 596</html> 597