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:23 PDT 2013 --> 6<title>IOContext (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="IOContext (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/IOContext.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/io/InputDecorator.html" title="class in org.codehaus.jackson.io"><span class="strong">Prev Class</span></a></li> 40<li><a href="../../../../org/codehaus/jackson/io/JsonStringEncoder.html" title="class in org.codehaus.jackson.io"><span class="strong">Next Class</span></a></li> 41</ul> 42<ul class="navList"> 43<li><a href="../../../../index.html?org/codehaus/jackson/io/IOContext.html" target="_top">Frames</a></li> 44<li><a href="IOContext.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.io</div> 83<h2 title="Class IOContext" class="title">Class IOContext</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>org.codehaus.jackson.io.IOContext</li> 91</ul> 92</li> 93</ul> 94<div class="description"> 95<ul class="blockList"> 96<li class="blockList"> 97<hr> 98<br> 99<pre>public final class <span class="strong">IOContext</span> 100extends <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></pre> 101<div class="block">To limit number of configuration and state objects to pass, all 102 contextual objects that need to be passed by the factory to 103 readers and writers are combined under this object. One instance 104 is created for each reader and writer.</div> 105</li> 106</ul> 107</div> 108<div class="summary"> 109<ul class="blockList"> 110<li class="blockList"> 111<!-- =========== FIELD SUMMARY =========== --> 112<ul class="blockList"> 113<li class="blockList"><a name="field_summary"> 114<!-- --> 115</a> 116<h3>Field Summary</h3> 117<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 118<caption><span>Fields</span><span class="tabEnd"> </span></caption> 119<tr> 120<th class="colFirst" scope="col">Modifier and Type</th> 121<th class="colLast" scope="col">Field and Description</th> 122</tr> 123<tr class="altColor"> 124<td class="colFirst"><code>protected <a href="../../../../org/codehaus/jackson/util/BufferRecycler.html" title="class in org.codehaus.jackson.util">BufferRecycler</a></code></td> 125<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#_bufferRecycler">_bufferRecycler</a></strong></code> 126<div class="block">Recycler used for actual allocation/deallocation/reuse</div> 127</td> 128</tr> 129<tr class="rowColor"> 130<td class="colFirst"><code>protected char[]</code></td> 131<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#_concatCBuffer">_concatCBuffer</a></strong></code> 132<div class="block">Reference to the buffer allocated for buffering it for 133 output, before being encoded: generally this means concatenating 134 output, then encoding when buffer fills up.</div> 135</td> 136</tr> 137<tr class="altColor"> 138<td class="colFirst"><code>protected <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></code></td> 139<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#_encoding">_encoding</a></strong></code> 140<div class="block">Encoding used by the underlying stream, if known.</div> 141</td> 142</tr> 143<tr class="rowColor"> 144<td class="colFirst"><code>protected boolean</code></td> 145<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#_managedResource">_managedResource</a></strong></code> 146<div class="block">Flag that indicates whether underlying input/output source/target 147 object is fully managed by the owner of this context (parser or 148 generator).</div> 149</td> 150</tr> 151<tr class="altColor"> 152<td class="colFirst"><code>protected char[]</code></td> 153<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#_nameCopyBuffer">_nameCopyBuffer</a></strong></code> 154<div class="block">Reference temporary buffer Parser instances need if calling 155 app decides it wants to access name via 'getTextCharacters' method.</div> 156</td> 157</tr> 158<tr class="rowColor"> 159<td class="colFirst"><code>protected byte[]</code></td> 160<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#_readIOBuffer">_readIOBuffer</a></strong></code> 161<div class="block">Reference to the allocated I/O buffer for low-level input reading, 162 if any allocated.</div> 163</td> 164</tr> 165<tr class="altColor"> 166<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> 167<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#_sourceRef">_sourceRef</a></strong></code> 168<div class="block">Reference to the source object, which can be used for displaying 169 location information</div> 170</td> 171</tr> 172<tr class="rowColor"> 173<td class="colFirst"><code>protected char[]</code></td> 174<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#_tokenCBuffer">_tokenCBuffer</a></strong></code> 175<div class="block">Reference to the buffer allocated for tokenization purposes, 176 in which character input is read, and from which it can be 177 further returned.</div> 178</td> 179</tr> 180<tr class="altColor"> 181<td class="colFirst"><code>protected byte[]</code></td> 182<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#_writeEncodingBuffer">_writeEncodingBuffer</a></strong></code> 183<div class="block">Reference to the allocated I/O buffer used for low-level 184 encoding-related buffering.</div> 185</td> 186</tr> 187</table> 188</li> 189</ul> 190<!-- ======== CONSTRUCTOR SUMMARY ======== --> 191<ul class="blockList"> 192<li class="blockList"><a name="constructor_summary"> 193<!-- --> 194</a> 195<h3>Constructor Summary</h3> 196<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 197<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 198<tr> 199<th class="colOne" scope="col">Constructor and Description</th> 200</tr> 201<tr class="altColor"> 202<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#IOContext(org.codehaus.jackson.util.BufferRecycler, java.lang.Object, boolean)">IOContext</a></strong>(<a href="../../../../org/codehaus/jackson/util/BufferRecycler.html" title="class in org.codehaus.jackson.util">BufferRecycler</a> br, 203 <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> sourceRef, 204 boolean managedResource)</code> </td> 205</tr> 206</table> 207</li> 208</ul> 209<!-- ========== METHOD SUMMARY =========== --> 210<ul class="blockList"> 211<li class="blockList"><a name="method_summary"> 212<!-- --> 213</a> 214<h3>Method Summary</h3> 215<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 216<caption><span>Methods</span><span class="tabEnd"> </span></caption> 217<tr> 218<th class="colFirst" scope="col">Modifier and Type</th> 219<th class="colLast" scope="col">Method and Description</th> 220</tr> 221<tr class="altColor"> 222<td class="colFirst"><code>char[]</code></td> 223<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#allocConcatBuffer()">allocConcatBuffer</a></strong>()</code> </td> 224</tr> 225<tr class="rowColor"> 226<td class="colFirst"><code>char[]</code></td> 227<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#allocNameCopyBuffer(int)">allocNameCopyBuffer</a></strong>(int minSize)</code> </td> 228</tr> 229<tr class="altColor"> 230<td class="colFirst"><code>byte[]</code></td> 231<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#allocReadIOBuffer()">allocReadIOBuffer</a></strong>()</code> 232<div class="block"> 233 Note: the method can only be called once during its life cycle.</div> 234</td> 235</tr> 236<tr class="rowColor"> 237<td class="colFirst"><code>char[]</code></td> 238<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#allocTokenBuffer()">allocTokenBuffer</a></strong>()</code> </td> 239</tr> 240<tr class="altColor"> 241<td class="colFirst"><code>byte[]</code></td> 242<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#allocWriteEncodingBuffer()">allocWriteEncodingBuffer</a></strong>()</code> </td> 243</tr> 244<tr class="rowColor"> 245<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/util/TextBuffer.html" title="class in org.codehaus.jackson.util">TextBuffer</a></code></td> 246<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#constructTextBuffer()">constructTextBuffer</a></strong>()</code> </td> 247</tr> 248<tr class="altColor"> 249<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a></code></td> 250<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#getEncoding()">getEncoding</a></strong>()</code> </td> 251</tr> 252<tr class="rowColor"> 253<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> 254<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#getSourceReference()">getSourceReference</a></strong>()</code> </td> 255</tr> 256<tr class="altColor"> 257<td class="colFirst"><code>boolean</code></td> 258<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#isResourceManaged()">isResourceManaged</a></strong>()</code> </td> 259</tr> 260<tr class="rowColor"> 261<td class="colFirst"><code>void</code></td> 262<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#releaseConcatBuffer(char[])">releaseConcatBuffer</a></strong>(char[] buf)</code> </td> 263</tr> 264<tr class="altColor"> 265<td class="colFirst"><code>void</code></td> 266<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#releaseNameCopyBuffer(char[])">releaseNameCopyBuffer</a></strong>(char[] buf)</code> </td> 267</tr> 268<tr class="rowColor"> 269<td class="colFirst"><code>void</code></td> 270<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#releaseReadIOBuffer(byte[])">releaseReadIOBuffer</a></strong>(byte[] buf)</code> 271<div class="block">Method to call when all the processing buffers can be safely 272 recycled.</div> 273</td> 274</tr> 275<tr class="altColor"> 276<td class="colFirst"><code>void</code></td> 277<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#releaseTokenBuffer(char[])">releaseTokenBuffer</a></strong>(char[] buf)</code> </td> 278</tr> 279<tr class="rowColor"> 280<td class="colFirst"><code>void</code></td> 281<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#releaseWriteEncodingBuffer(byte[])">releaseWriteEncodingBuffer</a></strong>(byte[] buf)</code> </td> 282</tr> 283<tr class="altColor"> 284<td class="colFirst"><code>void</code></td> 285<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/io/IOContext.html#setEncoding(org.codehaus.jackson.JsonEncoding)">setEncoding</a></strong>(<a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a> enc)</code> </td> 286</tr> 287</table> 288<ul class="blockList"> 289<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 290<!-- --> 291</a> 292<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> 293<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#toString()" title="class or interface in java.lang">toString</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> 294</ul> 295</li> 296</ul> 297</li> 298</ul> 299</div> 300<div class="details"> 301<ul class="blockList"> 302<li class="blockList"> 303<!-- ============ FIELD DETAIL =========== --> 304<ul class="blockList"> 305<li class="blockList"><a name="field_detail"> 306<!-- --> 307</a> 308<h3>Field Detail</h3> 309<a name="_sourceRef"> 310<!-- --> 311</a> 312<ul class="blockList"> 313<li class="blockList"> 314<h4>_sourceRef</h4> 315<pre>protected final <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> _sourceRef</pre> 316<div class="block">Reference to the source object, which can be used for displaying 317 location information</div> 318</li> 319</ul> 320<a name="_encoding"> 321<!-- --> 322</a> 323<ul class="blockList"> 324<li class="blockList"> 325<h4>_encoding</h4> 326<pre>protected <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a> _encoding</pre> 327<div class="block">Encoding used by the underlying stream, if known.</div> 328</li> 329</ul> 330<a name="_managedResource"> 331<!-- --> 332</a> 333<ul class="blockList"> 334<li class="blockList"> 335<h4>_managedResource</h4> 336<pre>protected final boolean _managedResource</pre> 337<div class="block">Flag that indicates whether underlying input/output source/target 338 object is fully managed by the owner of this context (parser or 339 generator). If true, it is, and is to be closed by parser/generator; 340 if false, calling application has to do closing (unless auto-closing 341 feature is enabled for the parser/generator in question; in which 342 case it acts like the owner).</div> 343</li> 344</ul> 345<a name="_bufferRecycler"> 346<!-- --> 347</a> 348<ul class="blockList"> 349<li class="blockList"> 350<h4>_bufferRecycler</h4> 351<pre>protected final <a href="../../../../org/codehaus/jackson/util/BufferRecycler.html" title="class in org.codehaus.jackson.util">BufferRecycler</a> _bufferRecycler</pre> 352<div class="block">Recycler used for actual allocation/deallocation/reuse</div> 353</li> 354</ul> 355<a name="_readIOBuffer"> 356<!-- --> 357</a> 358<ul class="blockList"> 359<li class="blockList"> 360<h4>_readIOBuffer</h4> 361<pre>protected byte[] _readIOBuffer</pre> 362<div class="block">Reference to the allocated I/O buffer for low-level input reading, 363 if any allocated.</div> 364</li> 365</ul> 366<a name="_writeEncodingBuffer"> 367<!-- --> 368</a> 369<ul class="blockList"> 370<li class="blockList"> 371<h4>_writeEncodingBuffer</h4> 372<pre>protected byte[] _writeEncodingBuffer</pre> 373<div class="block">Reference to the allocated I/O buffer used for low-level 374 encoding-related buffering.</div> 375</li> 376</ul> 377<a name="_tokenCBuffer"> 378<!-- --> 379</a> 380<ul class="blockList"> 381<li class="blockList"> 382<h4>_tokenCBuffer</h4> 383<pre>protected char[] _tokenCBuffer</pre> 384<div class="block">Reference to the buffer allocated for tokenization purposes, 385 in which character input is read, and from which it can be 386 further returned.</div> 387</li> 388</ul> 389<a name="_concatCBuffer"> 390<!-- --> 391</a> 392<ul class="blockList"> 393<li class="blockList"> 394<h4>_concatCBuffer</h4> 395<pre>protected char[] _concatCBuffer</pre> 396<div class="block">Reference to the buffer allocated for buffering it for 397 output, before being encoded: generally this means concatenating 398 output, then encoding when buffer fills up.</div> 399</li> 400</ul> 401<a name="_nameCopyBuffer"> 402<!-- --> 403</a> 404<ul class="blockListLast"> 405<li class="blockList"> 406<h4>_nameCopyBuffer</h4> 407<pre>protected char[] _nameCopyBuffer</pre> 408<div class="block">Reference temporary buffer Parser instances need if calling 409 app decides it wants to access name via 'getTextCharacters' method. 410 Regular text buffer can not be used as it may contain textual 411 representation of the value token.</div> 412</li> 413</ul> 414</li> 415</ul> 416<!-- ========= CONSTRUCTOR DETAIL ======== --> 417<ul class="blockList"> 418<li class="blockList"><a name="constructor_detail"> 419<!-- --> 420</a> 421<h3>Constructor Detail</h3> 422<a name="IOContext(org.codehaus.jackson.util.BufferRecycler, java.lang.Object, boolean)"> 423<!-- --> 424</a> 425<ul class="blockListLast"> 426<li class="blockList"> 427<h4>IOContext</h4> 428<pre>public IOContext(<a href="../../../../org/codehaus/jackson/util/BufferRecycler.html" title="class in org.codehaus.jackson.util">BufferRecycler</a> br, 429 <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> sourceRef, 430 boolean managedResource)</pre> 431</li> 432</ul> 433</li> 434</ul> 435<!-- ============ METHOD DETAIL ========== --> 436<ul class="blockList"> 437<li class="blockList"><a name="method_detail"> 438<!-- --> 439</a> 440<h3>Method Detail</h3> 441<a name="setEncoding(org.codehaus.jackson.JsonEncoding)"> 442<!-- --> 443</a> 444<ul class="blockList"> 445<li class="blockList"> 446<h4>setEncoding</h4> 447<pre>public void setEncoding(<a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a> enc)</pre> 448</li> 449</ul> 450<a name="getSourceReference()"> 451<!-- --> 452</a> 453<ul class="blockList"> 454<li class="blockList"> 455<h4>getSourceReference</h4> 456<pre>public final <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> getSourceReference()</pre> 457</li> 458</ul> 459<a name="getEncoding()"> 460<!-- --> 461</a> 462<ul class="blockList"> 463<li class="blockList"> 464<h4>getEncoding</h4> 465<pre>public final <a href="../../../../org/codehaus/jackson/JsonEncoding.html" title="enum in org.codehaus.jackson">JsonEncoding</a> getEncoding()</pre> 466</li> 467</ul> 468<a name="isResourceManaged()"> 469<!-- --> 470</a> 471<ul class="blockList"> 472<li class="blockList"> 473<h4>isResourceManaged</h4> 474<pre>public final boolean isResourceManaged()</pre> 475</li> 476</ul> 477<a name="constructTextBuffer()"> 478<!-- --> 479</a> 480<ul class="blockList"> 481<li class="blockList"> 482<h4>constructTextBuffer</h4> 483<pre>public final <a href="../../../../org/codehaus/jackson/util/TextBuffer.html" title="class in org.codehaus.jackson.util">TextBuffer</a> constructTextBuffer()</pre> 484</li> 485</ul> 486<a name="allocReadIOBuffer()"> 487<!-- --> 488</a> 489<ul class="blockList"> 490<li class="blockList"> 491<h4>allocReadIOBuffer</h4> 492<pre>public final byte[] allocReadIOBuffer()</pre> 493<div class="block"><p> 494 Note: the method can only be called once during its life cycle. 495 This is to protect against accidental sharing.</div> 496</li> 497</ul> 498<a name="allocWriteEncodingBuffer()"> 499<!-- --> 500</a> 501<ul class="blockList"> 502<li class="blockList"> 503<h4>allocWriteEncodingBuffer</h4> 504<pre>public final byte[] allocWriteEncodingBuffer()</pre> 505</li> 506</ul> 507<a name="allocTokenBuffer()"> 508<!-- --> 509</a> 510<ul class="blockList"> 511<li class="blockList"> 512<h4>allocTokenBuffer</h4> 513<pre>public final char[] allocTokenBuffer()</pre> 514</li> 515</ul> 516<a name="allocConcatBuffer()"> 517<!-- --> 518</a> 519<ul class="blockList"> 520<li class="blockList"> 521<h4>allocConcatBuffer</h4> 522<pre>public final char[] allocConcatBuffer()</pre> 523</li> 524</ul> 525<a name="allocNameCopyBuffer(int)"> 526<!-- --> 527</a> 528<ul class="blockList"> 529<li class="blockList"> 530<h4>allocNameCopyBuffer</h4> 531<pre>public final char[] allocNameCopyBuffer(int minSize)</pre> 532</li> 533</ul> 534<a name="releaseReadIOBuffer(byte[])"> 535<!-- --> 536</a> 537<ul class="blockList"> 538<li class="blockList"> 539<h4>releaseReadIOBuffer</h4> 540<pre>public final void releaseReadIOBuffer(byte[] buf)</pre> 541<div class="block">Method to call when all the processing buffers can be safely 542 recycled.</div> 543</li> 544</ul> 545<a name="releaseWriteEncodingBuffer(byte[])"> 546<!-- --> 547</a> 548<ul class="blockList"> 549<li class="blockList"> 550<h4>releaseWriteEncodingBuffer</h4> 551<pre>public final void releaseWriteEncodingBuffer(byte[] buf)</pre> 552</li> 553</ul> 554<a name="releaseTokenBuffer(char[])"> 555<!-- --> 556</a> 557<ul class="blockList"> 558<li class="blockList"> 559<h4>releaseTokenBuffer</h4> 560<pre>public final void releaseTokenBuffer(char[] buf)</pre> 561</li> 562</ul> 563<a name="releaseConcatBuffer(char[])"> 564<!-- --> 565</a> 566<ul class="blockList"> 567<li class="blockList"> 568<h4>releaseConcatBuffer</h4> 569<pre>public final void releaseConcatBuffer(char[] buf)</pre> 570</li> 571</ul> 572<a name="releaseNameCopyBuffer(char[])"> 573<!-- --> 574</a> 575<ul class="blockListLast"> 576<li class="blockList"> 577<h4>releaseNameCopyBuffer</h4> 578<pre>public final void releaseNameCopyBuffer(char[] buf)</pre> 579</li> 580</ul> 581</li> 582</ul> 583</li> 584</ul> 585</div> 586</div> 587<!-- ========= END OF CLASS DATA ========= --> 588<!-- ======= START OF BOTTOM NAVBAR ====== --> 589<div class="bottomNav"><a name="navbar_bottom"> 590<!-- --> 591</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 592<!-- --> 593</a> 594<ul class="navList" title="Navigation"> 595<li><a href="../../../../overview-summary.html">Overview</a></li> 596<li><a href="package-summary.html">Package</a></li> 597<li class="navBarCell1Rev">Class</li> 598<li><a href="class-use/IOContext.html">Use</a></li> 599<li><a href="package-tree.html">Tree</a></li> 600<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 601<li><a href="../../../../index-all.html">Index</a></li> 602<li><a href="../../../../help-doc.html">Help</a></li> 603</ul> 604</div> 605<div class="subNav"> 606<ul class="navList"> 607<li><a href="../../../../org/codehaus/jackson/io/InputDecorator.html" title="class in org.codehaus.jackson.io"><span class="strong">Prev Class</span></a></li> 608<li><a href="../../../../org/codehaus/jackson/io/JsonStringEncoder.html" title="class in org.codehaus.jackson.io"><span class="strong">Next Class</span></a></li> 609</ul> 610<ul class="navList"> 611<li><a href="../../../../index.html?org/codehaus/jackson/io/IOContext.html" target="_top">Frames</a></li> 612<li><a href="IOContext.html" target="_top">No Frames</a></li> 613</ul> 614<ul class="navList" id="allclasses_navbar_bottom"> 615<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 616</ul> 617<div> 618<script type="text/javascript"><!-- 619 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 620 if(window==top) { 621 allClassesLink.style.display = "block"; 622 } 623 else { 624 allClassesLink.style.display = "none"; 625 } 626 //--> 627</script> 628</div> 629<div> 630<ul class="subNavList"> 631<li>Summary: </li> 632<li>Nested | </li> 633<li><a href="#field_summary">Field</a> | </li> 634<li><a href="#constructor_summary">Constr</a> | </li> 635<li><a href="#method_summary">Method</a></li> 636</ul> 637<ul class="subNavList"> 638<li>Detail: </li> 639<li><a href="#field_detail">Field</a> | </li> 640<li><a href="#constructor_detail">Constr</a> | </li> 641<li><a href="#method_detail">Method</a></li> 642</ul> 643</div> 644<a name="skip-navbar_bottom"> 645<!-- --> 646</a></div> 647<!-- ======== END OF BOTTOM NAVBAR ======= --> 648</body> 649</html> 650