1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (1.8.0) on Sun Jul 19 11:36:54 PDT 2015 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>RawValue (jackson-databind 2.6.0 API)</title> 8<meta name="date" content="2015-07-19"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="RawValue (jackson-databind 2.6.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10}; 23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; 24var altColor = "altColor"; 25var rowColor = "rowColor"; 26var tableTab = "tableTab"; 27var activeTableTab = "activeTableTab"; 28</script> 29<noscript> 30<div>JavaScript is disabled on your browser.</div> 31</noscript> 32<!-- ========= START OF TOP NAVBAR ======= --> 33<div class="topNav"><a name="navbar.top"> 34<!-- --> 35</a> 36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 37<a name="navbar.top.firstrow"> 38<!-- --> 39</a> 40<ul class="navList" title="Navigation"> 41<li><a href="../../../../../overview-summary.html">Overview</a></li> 42<li><a href="package-summary.html">Package</a></li> 43<li class="navBarCell1Rev">Class</li> 44<li><a href="class-use/RawValue.html">Use</a></li> 45<li><a href="package-tree.html">Tree</a></li> 46<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 47<li><a href="../../../../../index-all.html">Index</a></li> 48<li><a href="../../../../../help-doc.html">Help</a></li> 49</ul> 50</div> 51<div class="subNav"> 52<ul class="navList"> 53<li><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../../com/fasterxml/jackson/databind/util/RootNameLookup.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/RawValue.html" target="_top">Frames</a></li> 58<li><a href="RawValue.html" target="_top">No Frames</a></li> 59</ul> 60<ul class="navList" id="allclasses_navbar_top"> 61<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 62</ul> 63<div> 64<script type="text/javascript"><!-- 65 allClassesLink = document.getElementById("allclasses_navbar_top"); 66 if(window==top) { 67 allClassesLink.style.display = "block"; 68 } 69 else { 70 allClassesLink.style.display = "none"; 71 } 72 //--> 73</script> 74</div> 75<div> 76<ul class="subNavList"> 77<li>Summary: </li> 78<li>Nested | </li> 79<li><a href="#field.summary">Field</a> | </li> 80<li><a href="#constructor.summary">Constr</a> | </li> 81<li><a href="#method.summary">Method</a></li> 82</ul> 83<ul class="subNavList"> 84<li>Detail: </li> 85<li><a href="#field.detail">Field</a> | </li> 86<li><a href="#constructor.detail">Constr</a> | </li> 87<li><a href="#method.detail">Method</a></li> 88</ul> 89</div> 90<a name="skip.navbar.top"> 91<!-- --> 92</a></div> 93<!-- ========= END OF TOP NAVBAR ========= --> 94<!-- ======== START OF CLASS DATA ======== --> 95<div class="header"> 96<div class="subTitle">com.fasterxml.jackson.databind.util</div> 97<h2 title="Class RawValue" class="title">Class RawValue</h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 102<li> 103<ul class="inheritance"> 104<li>com.fasterxml.jackson.databind.util.RawValue</li> 105</ul> 106</li> 107</ul> 108<div class="description"> 109<ul class="blockList"> 110<li class="blockList"> 111<dl> 112<dt>All Implemented Interfaces:</dt> 113<dd><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></dd> 114</dl> 115<hr> 116<br> 117<pre>public class <span class="typeNameLabel">RawValue</span> 118extends <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> 119implements <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></pre> 120<div class="block">Helper class used to encapsulate "raw values", pre-encoded textual content 121 that can be output as opaque value with no quoting/escaping, using 122 <code>JsonGenerator.writeRawValue(String)</code>. 123 It may be stored in <a href="../../../../../com/fasterxml/jackson/databind/util/TokenBuffer.html" title="class in com.fasterxml.jackson.databind.util"><code>TokenBuffer</code></a>, as well as in Tree Model 124 (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind"><code>JsonNode</code></a>)</div> 125<dl> 126<dt><span class="simpleTagLabel">Since:</span></dt> 127<dd>2.6</dd> 128</dl> 129</li> 130</ul> 131</div> 132<div class="summary"> 133<ul class="blockList"> 134<li class="blockList"> 135<!-- ======== NESTED CLASS SUMMARY ======== --> 136<ul class="blockList"> 137<li class="blockList"><a name="nested.class.summary"> 138<!-- --> 139</a> 140<h3>Nested Class Summary</h3> 141<ul class="blockList"> 142<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable"> 143<!-- --> 144</a> 145<h3>Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></h3> 146<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></code></li> 147</ul> 148</li> 149</ul> 150<!-- =========== FIELD SUMMARY =========== --> 151<ul class="blockList"> 152<li class="blockList"><a name="field.summary"> 153<!-- --> 154</a> 155<h3>Field Summary</h3> 156<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 157<caption><span>Fields</span><span class="tabEnd"> </span></caption> 158<tr> 159<th class="colFirst" scope="col">Modifier and Type</th> 160<th class="colLast" scope="col">Field and Description</th> 161</tr> 162<tr class="altColor"> 163<td class="colFirst"><code>protected <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> 164<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html#Z:Z_value">_value</a></span></code> 165<div class="block">Contents to serialize.</div> 166</td> 167</tr> 168</table> 169</li> 170</ul> 171<!-- ======== CONSTRUCTOR SUMMARY ======== --> 172<ul class="blockList"> 173<li class="blockList"><a name="constructor.summary"> 174<!-- --> 175</a> 176<h3>Constructor Summary</h3> 177<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 178<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 179<tr> 180<th class="colFirst" scope="col">Modifier</th> 181<th class="colLast" scope="col">Constructor and Description</th> 182</tr> 183<tr class="altColor"> 184<td class="colFirst"><code> </code></td> 185<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html#RawValue-com.fasterxml.jackson.databind.JsonSerializable-">RawValue</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a> v)</code> </td> 186</tr> 187<tr class="rowColor"> 188<td class="colFirst"><code>protected </code></td> 189<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html#RawValue-java.lang.Object-boolean-">RawValue</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 190 boolean bogus)</code> 191<div class="block">Constructor that may be used by sub-classes, and allows passing value 192 types other than ones for which explicit constructor exists.</div> 193</td> 194</tr> 195<tr class="altColor"> 196<td class="colFirst"><code> </code></td> 197<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html#RawValue-com.fasterxml.jackson.core.SerializableString-">RawValue</a></span>(com.fasterxml.jackson.core.SerializableString v)</code> </td> 198</tr> 199<tr class="rowColor"> 200<td class="colFirst"><code> </code></td> 201<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html#RawValue-java.lang.String-">RawValue</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> v)</code> </td> 202</tr> 203</table> 204</li> 205</ul> 206<!-- ========== METHOD SUMMARY =========== --> 207<ul class="blockList"> 208<li class="blockList"><a name="method.summary"> 209<!-- --> 210</a> 211<h3>Method Summary</h3> 212<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 213<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> 214<tr> 215<th class="colFirst" scope="col">Modifier and Type</th> 216<th class="colLast" scope="col">Method and Description</th> 217</tr> 218<tr id="i0" class="altColor"> 219<td class="colFirst"><code>protected void</code></td> 220<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html#Z:Z_serialize-com.fasterxml.jackson.core.JsonGenerator-">_serialize</a></span>(com.fasterxml.jackson.core.JsonGenerator gen)</code> </td> 221</tr> 222<tr id="i1" class="rowColor"> 223<td class="colFirst"><code>boolean</code></td> 224<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> </td> 225</tr> 226<tr id="i2" class="altColor"> 227<td class="colFirst"><code>int</code></td> 228<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html#hashCode--">hashCode</a></span>()</code> </td> 229</tr> 230<tr id="i3" class="rowColor"> 231<td class="colFirst"><code><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> 232<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html#rawValue--">rawValue</a></span>()</code> 233<div class="block">Accessor for returning enclosed raw value in whatever form it was created in 234 (usually <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>, {link SerializableString}, or any <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind"><code>JsonSerializable</code></a>).</div> 235</td> 236</tr> 237<tr id="i4" class="altColor"> 238<td class="colFirst"><code>void</code></td> 239<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html#serialize-com.fasterxml.jackson.core.JsonGenerator-">serialize</a></span>(com.fasterxml.jackson.core.JsonGenerator gen)</code> </td> 240</tr> 241<tr id="i5" class="rowColor"> 242<td class="colFirst"><code>void</code></td> 243<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></span>(com.fasterxml.jackson.core.JsonGenerator gen, 244 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> serializers)</code> 245<div class="block">Serialization method called when no additional type information is 246 to be included in serialization.</div> 247</td> 248</tr> 249<tr id="i6" class="altColor"> 250<td class="colFirst"><code>void</code></td> 251<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html#serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">serializeWithType</a></span>(com.fasterxml.jackson.core.JsonGenerator gen, 252 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> serializers, 253 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer)</code> 254<div class="block">Serialization method called when additional type information is 255 expected to be included in serialization, for deserialization to use.</div> 256</td> 257</tr> 258<tr id="i7" class="rowColor"> 259<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 260<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html#toString--">toString</a></span>()</code> </td> 261</tr> 262</table> 263<ul class="blockList"> 264<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 265<!-- --> 266</a> 267<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> 268<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#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#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> 269</ul> 270</li> 271</ul> 272</li> 273</ul> 274</div> 275<div class="details"> 276<ul class="blockList"> 277<li class="blockList"> 278<!-- ============ FIELD DETAIL =========== --> 279<ul class="blockList"> 280<li class="blockList"><a name="field.detail"> 281<!-- --> 282</a> 283<h3>Field Detail</h3> 284<a name="Z:Z_value"> 285<!-- --> 286</a> 287<ul class="blockListLast"> 288<li class="blockList"> 289<h4>_value</h4> 290<pre>protected <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</pre> 291<div class="block">Contents to serialize. Untyped because there are multiple types that are 292 supported: <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind"><code>JsonSerializable</code></a>, <code>SerializableString</code>.</div> 293</li> 294</ul> 295</li> 296</ul> 297<!-- ========= CONSTRUCTOR DETAIL ======== --> 298<ul class="blockList"> 299<li class="blockList"><a name="constructor.detail"> 300<!-- --> 301</a> 302<h3>Constructor Detail</h3> 303<a name="RawValue-java.lang.String-"> 304<!-- --> 305</a> 306<ul class="blockList"> 307<li class="blockList"> 308<h4>RawValue</h4> 309<pre>public RawValue(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> v)</pre> 310</li> 311</ul> 312<a name="RawValue-com.fasterxml.jackson.core.SerializableString-"> 313<!-- --> 314</a> 315<ul class="blockList"> 316<li class="blockList"> 317<h4>RawValue</h4> 318<pre>public RawValue(com.fasterxml.jackson.core.SerializableString v)</pre> 319</li> 320</ul> 321<a name="RawValue-com.fasterxml.jackson.databind.JsonSerializable-"> 322<!-- --> 323</a> 324<ul class="blockList"> 325<li class="blockList"> 326<h4>RawValue</h4> 327<pre>public RawValue(<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a> v)</pre> 328</li> 329</ul> 330<a name="RawValue-java.lang.Object-boolean-"> 331<!-- --> 332</a> 333<ul class="blockListLast"> 334<li class="blockList"> 335<h4>RawValue</h4> 336<pre>protected RawValue(<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, 337 boolean bogus)</pre> 338<div class="block">Constructor that may be used by sub-classes, and allows passing value 339 types other than ones for which explicit constructor exists. Caller has to 340 take care that values of types not supported by base implementation are 341 handled properly, usually by overriding some of existing serialization 342 methods.</div> 343</li> 344</ul> 345</li> 346</ul> 347<!-- ============ METHOD DETAIL ========== --> 348<ul class="blockList"> 349<li class="blockList"><a name="method.detail"> 350<!-- --> 351</a> 352<h3>Method Detail</h3> 353<a name="rawValue--"> 354<!-- --> 355</a> 356<ul class="blockList"> 357<li class="blockList"> 358<h4>rawValue</h4> 359<pre>public <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> rawValue()</pre> 360<div class="block">Accessor for returning enclosed raw value in whatever form it was created in 361 (usually <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>, {link SerializableString}, or any <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind"><code>JsonSerializable</code></a>).</div> 362</li> 363</ul> 364<a name="serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-"> 365<!-- --> 366</a> 367<ul class="blockList"> 368<li class="blockList"> 369<h4>serialize</h4> 370<pre>public void serialize(com.fasterxml.jackson.core.JsonGenerator gen, 371 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> serializers) 372 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 373<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">JsonSerializable</a></code></span></div> 374<div class="block">Serialization method called when no additional type information is 375 to be included in serialization.</div> 376<dl> 377<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 378<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd> 379<dt><span class="throwsLabel">Throws:</span></dt> 380<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 381</dl> 382</li> 383</ul> 384<a name="serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-"> 385<!-- --> 386</a> 387<ul class="blockList"> 388<li class="blockList"> 389<h4>serializeWithType</h4> 390<pre>public void serializeWithType(com.fasterxml.jackson.core.JsonGenerator gen, 391 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> serializers, 392 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer) 393 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 394<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">JsonSerializable</a></code></span></div> 395<div class="block">Serialization method called when additional type information is 396 expected to be included in serialization, for deserialization to use. 397<p> 398 Usually implementation consists of a call to one of methods 399 in <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype"><code>TypeSerializer</code></a> (such as <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html#writeTypePrefixForObject-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-"><code>TypeSerializer.writeTypePrefixForObject(Object, JsonGenerator)</code></a>) 400 followed by serialization of contents, 401 followed by another call to <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype"><code>TypeSerializer</code></a> 402 (such as <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html#writeTypeSuffixForObject-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-"><code>TypeSerializer.writeTypeSuffixForObject(Object, JsonGenerator)</code></a>). 403 Exact methods to call in <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype"><code>TypeSerializer</code></a> depend on shape of JSON Object used 404 (Array, Object or scalar like String/Number/Boolean). 405<p> 406 Note that some types (most notably, "natural" types: String, Integer, 407 Double and Boolean) never include type information.</div> 408<dl> 409<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 410<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">serializeWithType</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd> 411<dt><span class="throwsLabel">Throws:</span></dt> 412<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 413</dl> 414</li> 415</ul> 416<a name="serialize-com.fasterxml.jackson.core.JsonGenerator-"> 417<!-- --> 418</a> 419<ul class="blockList"> 420<li class="blockList"> 421<h4>serialize</h4> 422<pre>public void serialize(com.fasterxml.jackson.core.JsonGenerator gen) 423 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 424<dl> 425<dt><span class="throwsLabel">Throws:</span></dt> 426<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 427</dl> 428</li> 429</ul> 430<a name="Z:Z_serialize-com.fasterxml.jackson.core.JsonGenerator-"> 431<!-- --> 432</a> 433<ul class="blockList"> 434<li class="blockList"> 435<h4>_serialize</h4> 436<pre>protected void _serialize(com.fasterxml.jackson.core.JsonGenerator gen) 437 throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 438<dl> 439<dt><span class="throwsLabel">Throws:</span></dt> 440<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 441</dl> 442</li> 443</ul> 444<a name="equals-java.lang.Object-"> 445<!-- --> 446</a> 447<ul class="blockList"> 448<li class="blockList"> 449<h4>equals</h4> 450<pre>public boolean equals(<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> o)</pre> 451<dl> 452<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 453<dd><code><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></code> in class <code><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></dd> 454</dl> 455</li> 456</ul> 457<a name="hashCode--"> 458<!-- --> 459</a> 460<ul class="blockList"> 461<li class="blockList"> 462<h4>hashCode</h4> 463<pre>public int hashCode()</pre> 464<dl> 465<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 466<dd><code><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></code> in class <code><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></dd> 467</dl> 468</li> 469</ul> 470<a name="toString--"> 471<!-- --> 472</a> 473<ul class="blockListLast"> 474<li class="blockList"> 475<h4>toString</h4> 476<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> 477<dl> 478<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 479<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><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></dd> 480</dl> 481</li> 482</ul> 483</li> 484</ul> 485</li> 486</ul> 487</div> 488</div> 489<!-- ========= END OF CLASS DATA ========= --> 490<!-- ======= START OF BOTTOM NAVBAR ====== --> 491<div class="bottomNav"><a name="navbar.bottom"> 492<!-- --> 493</a> 494<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 495<a name="navbar.bottom.firstrow"> 496<!-- --> 497</a> 498<ul class="navList" title="Navigation"> 499<li><a href="../../../../../overview-summary.html">Overview</a></li> 500<li><a href="package-summary.html">Package</a></li> 501<li class="navBarCell1Rev">Class</li> 502<li><a href="class-use/RawValue.html">Use</a></li> 503<li><a href="package-tree.html">Tree</a></li> 504<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 505<li><a href="../../../../../index-all.html">Index</a></li> 506<li><a href="../../../../../help-doc.html">Help</a></li> 507</ul> 508</div> 509<div class="subNav"> 510<ul class="navList"> 511<li><a href="../../../../../com/fasterxml/jackson/databind/util/PrimitiveArrayBuilder.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Prev Class</span></a></li> 512<li><a href="../../../../../com/fasterxml/jackson/databind/util/RootNameLookup.html" title="class in com.fasterxml.jackson.databind.util"><span class="typeNameLink">Next Class</span></a></li> 513</ul> 514<ul class="navList"> 515<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/RawValue.html" target="_top">Frames</a></li> 516<li><a href="RawValue.html" target="_top">No Frames</a></li> 517</ul> 518<ul class="navList" id="allclasses_navbar_bottom"> 519<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 520</ul> 521<div> 522<script type="text/javascript"><!-- 523 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 524 if(window==top) { 525 allClassesLink.style.display = "block"; 526 } 527 else { 528 allClassesLink.style.display = "none"; 529 } 530 //--> 531</script> 532</div> 533<div> 534<ul class="subNavList"> 535<li>Summary: </li> 536<li>Nested | </li> 537<li><a href="#field.summary">Field</a> | </li> 538<li><a href="#constructor.summary">Constr</a> | </li> 539<li><a href="#method.summary">Method</a></li> 540</ul> 541<ul class="subNavList"> 542<li>Detail: </li> 543<li><a href="#field.detail">Field</a> | </li> 544<li><a href="#constructor.detail">Constr</a> | </li> 545<li><a href="#method.detail">Method</a></li> 546</ul> 547</div> 548<a name="skip.navbar.bottom"> 549<!-- --> 550</a></div> 551<!-- ======== END OF BOTTOM NAVBAR ======= --> 552<p class="legalCopy"><small>Copyright © 2014–2015 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 553</body> 554</html> 555