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_10-ea) on Sun Jul 14 20:03:22 PDT 2013 --> 6<title>JsonWriteContext (Jackson JSON Processor)</title> 7<meta name="date" content="2013-07-14"> 8<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> 9</head> 10<body> 11<script type="text/javascript"><!-- 12 if (location.href.indexOf('is-external=true') == -1) { 13 parent.document.title="JsonWriteContext (Jackson JSON Processor)"; 14 } 15//--> 16</script> 17<noscript> 18<div>JavaScript is disabled on your browser.</div> 19</noscript> 20<!-- ========= START OF TOP NAVBAR ======= --> 21<div class="topNav"><a name="navbar_top"> 22<!-- --> 23</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 24<!-- --> 25</a> 26<ul class="navList" title="Navigation"> 27<li><a href="../../../../overview-summary.html">Overview</a></li> 28<li><a href="package-summary.html">Package</a></li> 29<li class="navBarCell1Rev">Class</li> 30<li><a href="class-use/JsonWriteContext.html">Use</a></li> 31<li><a href="package-tree.html">Tree</a></li> 32<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 33<li><a href="../../../../index-all.html">Index</a></li> 34<li><a href="../../../../help-doc.html">Help</a></li> 35</ul> 36</div> 37<div class="subNav"> 38<ul class="navList"> 39<li><a href="../../../../org/codehaus/jackson/impl/JsonReadContext.html" title="class in org.codehaus.jackson.impl"><span class="strong">Prev Class</span></a></li> 40<li><a href="../../../../org/codehaus/jackson/impl/ReaderBasedParser.html" title="class in org.codehaus.jackson.impl"><span class="strong">Next Class</span></a></li> 41</ul> 42<ul class="navList"> 43<li><a href="../../../../index.html?org/codehaus/jackson/impl/JsonWriteContext.html" target="_top">Frames</a></li> 44<li><a href="JsonWriteContext.html" target="_top">No Frames</a></li> 45</ul> 46<ul class="navList" id="allclasses_navbar_top"> 47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 48</ul> 49<div> 50<script type="text/javascript"><!-- 51 allClassesLink = document.getElementById("allclasses_navbar_top"); 52 if(window==top) { 53 allClassesLink.style.display = "block"; 54 } 55 else { 56 allClassesLink.style.display = "none"; 57 } 58 //--> 59</script> 60</div> 61<div> 62<ul class="subNavList"> 63<li>Summary: </li> 64<li>Nested | </li> 65<li><a href="#field_summary">Field</a> | </li> 66<li><a href="#constructor_summary">Constr</a> | </li> 67<li><a href="#method_summary">Method</a></li> 68</ul> 69<ul class="subNavList"> 70<li>Detail: </li> 71<li><a href="#field_detail">Field</a> | </li> 72<li><a href="#constructor_detail">Constr</a> | </li> 73<li><a href="#method_detail">Method</a></li> 74</ul> 75</div> 76<a name="skip-navbar_top"> 77<!-- --> 78</a></div> 79<!-- ========= END OF TOP NAVBAR ========= --> 80<!-- ======== START OF CLASS DATA ======== --> 81<div class="header"> 82<div class="subTitle">org.codehaus.jackson.impl</div> 83<h2 title="Class JsonWriteContext" class="title">Class JsonWriteContext</h2> 84</div> 85<div class="contentContainer"> 86<ul class="inheritance"> 87<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> 88<li> 89<ul class="inheritance"> 90<li><a href="../../../../org/codehaus/jackson/JsonStreamContext.html" title="class in org.codehaus.jackson">org.codehaus.jackson.JsonStreamContext</a></li> 91<li> 92<ul class="inheritance"> 93<li>org.codehaus.jackson.impl.JsonWriteContext</li> 94</ul> 95</li> 96</ul> 97</li> 98</ul> 99<div class="description"> 100<ul class="blockList"> 101<li class="blockList"> 102<hr> 103<br> 104<pre>public class <span class="strong">JsonWriteContext</span> 105extends <a href="../../../../org/codehaus/jackson/JsonStreamContext.html" title="class in org.codehaus.jackson">JsonStreamContext</a></pre> 106<div class="block">Extension of <a href="../../../../org/codehaus/jackson/JsonStreamContext.html" title="class in org.codehaus.jackson"><code>JsonStreamContext</code></a>, which implements 107 core methods needed, and also exposes 108 more complete API to generator implementation classes.</div> 109</li> 110</ul> 111</div> 112<div class="summary"> 113<ul class="blockList"> 114<li class="blockList"> 115<!-- =========== FIELD SUMMARY =========== --> 116<ul class="blockList"> 117<li class="blockList"><a name="field_summary"> 118<!-- --> 119</a> 120<h3>Field Summary</h3> 121<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 122<caption><span>Fields</span><span class="tabEnd"> </span></caption> 123<tr> 124<th class="colFirst" scope="col">Modifier and Type</th> 125<th class="colLast" scope="col">Field and Description</th> 126</tr> 127<tr class="altColor"> 128<td class="colFirst"><code>protected <a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html" title="class in org.codehaus.jackson.impl">JsonWriteContext</a></code></td> 129<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#_child">_child</a></strong></code> </td> 130</tr> 131<tr class="rowColor"> 132<td class="colFirst"><code>protected <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> 133<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#_currentName">_currentName</a></strong></code> 134<div class="block">Name of the field of which value is to be parsed; only 135 used for OBJECT contexts</div> 136</td> 137</tr> 138<tr class="altColor"> 139<td class="colFirst"><code>protected <a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html" title="class in org.codehaus.jackson.impl">JsonWriteContext</a></code></td> 140<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#_parent">_parent</a></strong></code> </td> 141</tr> 142<tr class="rowColor"> 143<td class="colFirst"><code>static int</code></td> 144<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#STATUS_EXPECT_NAME">STATUS_EXPECT_NAME</a></strong></code> </td> 145</tr> 146<tr class="altColor"> 147<td class="colFirst"><code>static int</code></td> 148<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#STATUS_EXPECT_VALUE">STATUS_EXPECT_VALUE</a></strong></code> </td> 149</tr> 150<tr class="rowColor"> 151<td class="colFirst"><code>static int</code></td> 152<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#STATUS_OK_AFTER_COLON">STATUS_OK_AFTER_COLON</a></strong></code> </td> 153</tr> 154<tr class="altColor"> 155<td class="colFirst"><code>static int</code></td> 156<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#STATUS_OK_AFTER_COMMA">STATUS_OK_AFTER_COMMA</a></strong></code> </td> 157</tr> 158<tr class="rowColor"> 159<td class="colFirst"><code>static int</code></td> 160<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#STATUS_OK_AFTER_SPACE">STATUS_OK_AFTER_SPACE</a></strong></code> </td> 161</tr> 162<tr class="altColor"> 163<td class="colFirst"><code>static int</code></td> 164<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#STATUS_OK_AS_IS">STATUS_OK_AS_IS</a></strong></code> </td> 165</tr> 166</table> 167<ul class="blockList"> 168<li class="blockList"><a name="fields_inherited_from_class_org.codehaus.jackson.JsonStreamContext"> 169<!-- --> 170</a> 171<h3>Fields inherited from class org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonStreamContext.html" title="class in org.codehaus.jackson">JsonStreamContext</a></h3> 172<code><a href="../../../../org/codehaus/jackson/JsonStreamContext.html#_index">_index</a>, <a href="../../../../org/codehaus/jackson/JsonStreamContext.html#_type">_type</a>, <a href="../../../../org/codehaus/jackson/JsonStreamContext.html#TYPE_ARRAY">TYPE_ARRAY</a>, <a href="../../../../org/codehaus/jackson/JsonStreamContext.html#TYPE_OBJECT">TYPE_OBJECT</a>, <a href="../../../../org/codehaus/jackson/JsonStreamContext.html#TYPE_ROOT">TYPE_ROOT</a></code></li> 173</ul> 174</li> 175</ul> 176<!-- ======== CONSTRUCTOR SUMMARY ======== --> 177<ul class="blockList"> 178<li class="blockList"><a name="constructor_summary"> 179<!-- --> 180</a> 181<h3>Constructor Summary</h3> 182<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 183<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 184<tr> 185<th class="colFirst" scope="col">Modifier</th> 186<th class="colLast" scope="col">Constructor and Description</th> 187</tr> 188<tr class="altColor"> 189<td class="colFirst"><code>protected </code></td> 190<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#JsonWriteContext(int, org.codehaus.jackson.impl.JsonWriteContext)">JsonWriteContext</a></strong>(int type, 191 <a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html" title="class in org.codehaus.jackson.impl">JsonWriteContext</a> parent)</code> </td> 192</tr> 193</table> 194</li> 195</ul> 196<!-- ========== METHOD SUMMARY =========== --> 197<ul class="blockList"> 198<li class="blockList"><a name="method_summary"> 199<!-- --> 200</a> 201<h3>Method Summary</h3> 202<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 203<caption><span>Methods</span><span class="tabEnd"> </span></caption> 204<tr> 205<th class="colFirst" scope="col">Modifier and Type</th> 206<th class="colLast" scope="col">Method and Description</th> 207</tr> 208<tr class="altColor"> 209<td class="colFirst"><code>protected void</code></td> 210<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#appendDesc(java.lang.StringBuilder)">appendDesc</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> sb)</code> </td> 211</tr> 212<tr class="rowColor"> 213<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html" title="class in org.codehaus.jackson.impl">JsonWriteContext</a></code></td> 214<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#createChildArrayContext()">createChildArrayContext</a></strong>()</code> </td> 215</tr> 216<tr class="altColor"> 217<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html" title="class in org.codehaus.jackson.impl">JsonWriteContext</a></code></td> 218<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#createChildObjectContext()">createChildObjectContext</a></strong>()</code> </td> 219</tr> 220<tr class="rowColor"> 221<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html" title="class in org.codehaus.jackson.impl">JsonWriteContext</a></code></td> 222<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#createRootContext()">createRootContext</a></strong>()</code> </td> 223</tr> 224<tr class="altColor"> 225<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> 226<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#getCurrentName()">getCurrentName</a></strong>()</code> 227<div class="block">Method for accessing name associated with the current location.</div> 228</td> 229</tr> 230<tr class="rowColor"> 231<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html" title="class in org.codehaus.jackson.impl">JsonWriteContext</a></code></td> 232<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#getParent()">getParent</a></strong>()</code> 233<div class="block">Accessor for finding parent context of this context; will 234 return null for root context.</div> 235</td> 236</tr> 237<tr class="altColor"> 238<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> 239<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#toString()">toString</a></strong>()</code> 240<div class="block">Overridden to provide developer writeable "JsonPath" representation 241 of the context.</div> 242</td> 243</tr> 244<tr class="rowColor"> 245<td class="colFirst"><code>int</code></td> 246<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#writeFieldName(java.lang.String)">writeFieldName</a></strong>(<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> name)</code> 247<div class="block">Method that writer is to call before it writes a field name.</div> 248</td> 249</tr> 250<tr class="altColor"> 251<td class="colFirst"><code>int</code></td> 252<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html#writeValue()">writeValue</a></strong>()</code> </td> 253</tr> 254</table> 255<ul class="blockList"> 256<li class="blockList"><a name="methods_inherited_from_class_org.codehaus.jackson.JsonStreamContext"> 257<!-- --> 258</a> 259<h3>Methods inherited from class org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonStreamContext.html" title="class in org.codehaus.jackson">JsonStreamContext</a></h3> 260<code><a href="../../../../org/codehaus/jackson/JsonStreamContext.html#getCurrentIndex()">getCurrentIndex</a>, <a href="../../../../org/codehaus/jackson/JsonStreamContext.html#getEntryCount()">getEntryCount</a>, <a href="../../../../org/codehaus/jackson/JsonStreamContext.html#getTypeDesc()">getTypeDesc</a>, <a href="../../../../org/codehaus/jackson/JsonStreamContext.html#inArray()">inArray</a>, <a href="../../../../org/codehaus/jackson/JsonStreamContext.html#inObject()">inObject</a>, <a href="../../../../org/codehaus/jackson/JsonStreamContext.html#inRoot()">inRoot</a></code></li> 261</ul> 262<ul class="blockList"> 263<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 264<!-- --> 265</a> 266<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> 267<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> 268</ul> 269</li> 270</ul> 271</li> 272</ul> 273</div> 274<div class="details"> 275<ul class="blockList"> 276<li class="blockList"> 277<!-- ============ FIELD DETAIL =========== --> 278<ul class="blockList"> 279<li class="blockList"><a name="field_detail"> 280<!-- --> 281</a> 282<h3>Field Detail</h3> 283<a name="STATUS_OK_AS_IS"> 284<!-- --> 285</a> 286<ul class="blockList"> 287<li class="blockList"> 288<h4>STATUS_OK_AS_IS</h4> 289<pre>public static final int STATUS_OK_AS_IS</pre> 290<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.impl.JsonWriteContext.STATUS_OK_AS_IS">Constant Field Values</a></dd></dl> 291</li> 292</ul> 293<a name="STATUS_OK_AFTER_COMMA"> 294<!-- --> 295</a> 296<ul class="blockList"> 297<li class="blockList"> 298<h4>STATUS_OK_AFTER_COMMA</h4> 299<pre>public static final int STATUS_OK_AFTER_COMMA</pre> 300<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.impl.JsonWriteContext.STATUS_OK_AFTER_COMMA">Constant Field Values</a></dd></dl> 301</li> 302</ul> 303<a name="STATUS_OK_AFTER_COLON"> 304<!-- --> 305</a> 306<ul class="blockList"> 307<li class="blockList"> 308<h4>STATUS_OK_AFTER_COLON</h4> 309<pre>public static final int STATUS_OK_AFTER_COLON</pre> 310<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.impl.JsonWriteContext.STATUS_OK_AFTER_COLON">Constant Field Values</a></dd></dl> 311</li> 312</ul> 313<a name="STATUS_OK_AFTER_SPACE"> 314<!-- --> 315</a> 316<ul class="blockList"> 317<li class="blockList"> 318<h4>STATUS_OK_AFTER_SPACE</h4> 319<pre>public static final int STATUS_OK_AFTER_SPACE</pre> 320<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.impl.JsonWriteContext.STATUS_OK_AFTER_SPACE">Constant Field Values</a></dd></dl> 321</li> 322</ul> 323<a name="STATUS_EXPECT_VALUE"> 324<!-- --> 325</a> 326<ul class="blockList"> 327<li class="blockList"> 328<h4>STATUS_EXPECT_VALUE</h4> 329<pre>public static final int STATUS_EXPECT_VALUE</pre> 330<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.impl.JsonWriteContext.STATUS_EXPECT_VALUE">Constant Field Values</a></dd></dl> 331</li> 332</ul> 333<a name="STATUS_EXPECT_NAME"> 334<!-- --> 335</a> 336<ul class="blockList"> 337<li class="blockList"> 338<h4>STATUS_EXPECT_NAME</h4> 339<pre>public static final int STATUS_EXPECT_NAME</pre> 340<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.codehaus.jackson.impl.JsonWriteContext.STATUS_EXPECT_NAME">Constant Field Values</a></dd></dl> 341</li> 342</ul> 343<a name="_parent"> 344<!-- --> 345</a> 346<ul class="blockList"> 347<li class="blockList"> 348<h4>_parent</h4> 349<pre>protected final <a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html" title="class in org.codehaus.jackson.impl">JsonWriteContext</a> _parent</pre> 350</li> 351</ul> 352<a name="_currentName"> 353<!-- --> 354</a> 355<ul class="blockList"> 356<li class="blockList"> 357<h4>_currentName</h4> 358<pre>protected <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> _currentName</pre> 359<div class="block">Name of the field of which value is to be parsed; only 360 used for OBJECT contexts</div> 361</li> 362</ul> 363<a name="_child"> 364<!-- --> 365</a> 366<ul class="blockListLast"> 367<li class="blockList"> 368<h4>_child</h4> 369<pre>protected <a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html" title="class in org.codehaus.jackson.impl">JsonWriteContext</a> _child</pre> 370</li> 371</ul> 372</li> 373</ul> 374<!-- ========= CONSTRUCTOR DETAIL ======== --> 375<ul class="blockList"> 376<li class="blockList"><a name="constructor_detail"> 377<!-- --> 378</a> 379<h3>Constructor Detail</h3> 380<a name="JsonWriteContext(int, org.codehaus.jackson.impl.JsonWriteContext)"> 381<!-- --> 382</a> 383<ul class="blockListLast"> 384<li class="blockList"> 385<h4>JsonWriteContext</h4> 386<pre>protected JsonWriteContext(int type, 387 <a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html" title="class in org.codehaus.jackson.impl">JsonWriteContext</a> parent)</pre> 388</li> 389</ul> 390</li> 391</ul> 392<!-- ============ METHOD DETAIL ========== --> 393<ul class="blockList"> 394<li class="blockList"><a name="method_detail"> 395<!-- --> 396</a> 397<h3>Method Detail</h3> 398<a name="createRootContext()"> 399<!-- --> 400</a> 401<ul class="blockList"> 402<li class="blockList"> 403<h4>createRootContext</h4> 404<pre>public static <a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html" title="class in org.codehaus.jackson.impl">JsonWriteContext</a> createRootContext()</pre> 405</li> 406</ul> 407<a name="createChildArrayContext()"> 408<!-- --> 409</a> 410<ul class="blockList"> 411<li class="blockList"> 412<h4>createChildArrayContext</h4> 413<pre>public final <a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html" title="class in org.codehaus.jackson.impl">JsonWriteContext</a> createChildArrayContext()</pre> 414</li> 415</ul> 416<a name="createChildObjectContext()"> 417<!-- --> 418</a> 419<ul class="blockList"> 420<li class="blockList"> 421<h4>createChildObjectContext</h4> 422<pre>public final <a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html" title="class in org.codehaus.jackson.impl">JsonWriteContext</a> createChildObjectContext()</pre> 423</li> 424</ul> 425<a name="getParent()"> 426<!-- --> 427</a> 428<ul class="blockList"> 429<li class="blockList"> 430<h4>getParent</h4> 431<pre>public final <a href="../../../../org/codehaus/jackson/impl/JsonWriteContext.html" title="class in org.codehaus.jackson.impl">JsonWriteContext</a> getParent()</pre> 432<div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonStreamContext.html#getParent()">JsonStreamContext</a></code></strong></div> 433<div class="block">Accessor for finding parent context of this context; will 434 return null for root context.</div> 435<dl> 436<dt><strong>Specified by:</strong></dt> 437<dd><code><a href="../../../../org/codehaus/jackson/JsonStreamContext.html#getParent()">getParent</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonStreamContext.html" title="class in org.codehaus.jackson">JsonStreamContext</a></code></dd> 438</dl> 439</li> 440</ul> 441<a name="getCurrentName()"> 442<!-- --> 443</a> 444<ul class="blockList"> 445<li class="blockList"> 446<h4>getCurrentName</h4> 447<pre>public final <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> getCurrentName()</pre> 448<div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonStreamContext.html#getCurrentName()">JsonStreamContext</a></code></strong></div> 449<div class="block">Method for accessing name associated with the current location. 450 Non-null for <code>FIELD_NAME</code> and value events that directly 451 follow field names; null for root level and array values.</div> 452<dl> 453<dt><strong>Specified by:</strong></dt> 454<dd><code><a href="../../../../org/codehaus/jackson/JsonStreamContext.html#getCurrentName()">getCurrentName</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonStreamContext.html" title="class in org.codehaus.jackson">JsonStreamContext</a></code></dd> 455</dl> 456</li> 457</ul> 458<a name="writeFieldName(java.lang.String)"> 459<!-- --> 460</a> 461<ul class="blockList"> 462<li class="blockList"> 463<h4>writeFieldName</h4> 464<pre>public final int writeFieldName(<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> name)</pre> 465<div class="block">Method that writer is to call before it writes a field name.</div> 466<dl><dt><span class="strong">Returns:</span></dt><dd>Index of the field entry (0-based)</dd></dl> 467</li> 468</ul> 469<a name="writeValue()"> 470<!-- --> 471</a> 472<ul class="blockList"> 473<li class="blockList"> 474<h4>writeValue</h4> 475<pre>public final int writeValue()</pre> 476</li> 477</ul> 478<a name="appendDesc(java.lang.StringBuilder)"> 479<!-- --> 480</a> 481<ul class="blockList"> 482<li class="blockList"> 483<h4>appendDesc</h4> 484<pre>protected final void appendDesc(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a> sb)</pre> 485</li> 486</ul> 487<a name="toString()"> 488<!-- --> 489</a> 490<ul class="blockListLast"> 491<li class="blockList"> 492<h4>toString</h4> 493<pre>public final <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> 494<div class="block">Overridden to provide developer writeable "JsonPath" representation 495 of the context.</div> 496<dl> 497<dt><strong>Overrides:</strong></dt> 498<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> 499</dl> 500</li> 501</ul> 502</li> 503</ul> 504</li> 505</ul> 506</div> 507</div> 508<!-- ========= END OF CLASS DATA ========= --> 509<!-- ======= START OF BOTTOM NAVBAR ====== --> 510<div class="bottomNav"><a name="navbar_bottom"> 511<!-- --> 512</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 513<!-- --> 514</a> 515<ul class="navList" title="Navigation"> 516<li><a href="../../../../overview-summary.html">Overview</a></li> 517<li><a href="package-summary.html">Package</a></li> 518<li class="navBarCell1Rev">Class</li> 519<li><a href="class-use/JsonWriteContext.html">Use</a></li> 520<li><a href="package-tree.html">Tree</a></li> 521<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 522<li><a href="../../../../index-all.html">Index</a></li> 523<li><a href="../../../../help-doc.html">Help</a></li> 524</ul> 525</div> 526<div class="subNav"> 527<ul class="navList"> 528<li><a href="../../../../org/codehaus/jackson/impl/JsonReadContext.html" title="class in org.codehaus.jackson.impl"><span class="strong">Prev Class</span></a></li> 529<li><a href="../../../../org/codehaus/jackson/impl/ReaderBasedParser.html" title="class in org.codehaus.jackson.impl"><span class="strong">Next Class</span></a></li> 530</ul> 531<ul class="navList"> 532<li><a href="../../../../index.html?org/codehaus/jackson/impl/JsonWriteContext.html" target="_top">Frames</a></li> 533<li><a href="JsonWriteContext.html" target="_top">No Frames</a></li> 534</ul> 535<ul class="navList" id="allclasses_navbar_bottom"> 536<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 537</ul> 538<div> 539<script type="text/javascript"><!-- 540 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 541 if(window==top) { 542 allClassesLink.style.display = "block"; 543 } 544 else { 545 allClassesLink.style.display = "none"; 546 } 547 //--> 548</script> 549</div> 550<div> 551<ul class="subNavList"> 552<li>Summary: </li> 553<li>Nested | </li> 554<li><a href="#field_summary">Field</a> | </li> 555<li><a href="#constructor_summary">Constr</a> | </li> 556<li><a href="#method_summary">Method</a></li> 557</ul> 558<ul class="subNavList"> 559<li>Detail: </li> 560<li><a href="#field_detail">Field</a> | </li> 561<li><a href="#constructor_detail">Constr</a> | </li> 562<li><a href="#method_detail">Method</a></li> 563</ul> 564</div> 565<a name="skip-navbar_bottom"> 566<!-- --> 567</a></div> 568<!-- ======== END OF BOTTOM NAVBAR ======= --> 569</body> 570</html> 571