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