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 Mon Apr 22 19:50:32 PDT 2013 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>MappingIterator (jackson-databind 2.2.0 API)</title> 8<meta name="date" content="2013-04-22"> 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="MappingIterator (jackson-databind 2.2.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/MappingIterator.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/MapperFeature.html" title="enum in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../com/fasterxml/jackson/databind/MappingJsonFactory.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../index.html?com/fasterxml/jackson/databind/MappingIterator.html" target="_top">Frames</a></li> 45<li><a href="MappingIterator.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="#field_summary">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><a href="#field_detail">Field</a> | </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</div> 84<h2 title="Class MappingIterator" class="title">Class MappingIterator<T></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>com.fasterxml.jackson.databind.MappingIterator<T></li> 92</ul> 93</li> 94</ul> 95<div class="description"> 96<ul class="blockList"> 97<li class="blockList"> 98<dl> 99<dt>All Implemented Interfaces:</dt> 100<dd><a href="http://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><T></dd> 101</dl> 102<hr> 103<br> 104<pre>public class <span class="strong">MappingIterator<T></span> 105extends <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> 106implements <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><T>, <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></pre> 107<div class="block">Iterator exposed by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> when binding sequence of 108 objects. Extension is done to allow more convenient exposing of 109 <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a> (which basic <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util"><code>Iterator</code></a> does not expose)</div> 110</li> 111</ul> 112</div> 113<div class="summary"> 114<ul class="blockList"> 115<li class="blockList"> 116<!-- =========== FIELD SUMMARY =========== --> 117<ul class="blockList"> 118<li class="blockList"><a name="field_summary"> 119<!-- --> 120</a> 121<h3>Field Summary</h3> 122<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 123<caption><span>Fields</span><span class="tabEnd"> </span></caption> 124<tr> 125<th class="colFirst" scope="col">Modifier and Type</th> 126<th class="colLast" scope="col">Field and Description</th> 127</tr> 128<tr class="altColor"> 129<td class="colFirst"><code>protected boolean</code></td> 130<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#_closeParser">_closeParser</a></strong></code> 131<div class="block">Flag that indicates whether input <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a> should be closed 132 when we are done or not; generally only called when caller did not 133 pass JsonParser.</div> 134</td> 135</tr> 136<tr class="rowColor"> 137<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a></code></td> 138<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#_context">_context</a></strong></code> </td> 139</tr> 140<tr class="altColor"> 141<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a>></code></td> 142<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#_deserializer">_deserializer</a></strong></code> </td> 143</tr> 144<tr class="rowColor"> 145<td class="colFirst"><code>protected boolean</code></td> 146<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#_hasNextChecked">_hasNextChecked</a></strong></code> 147<div class="block">Flag that is set when we have determined what <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#hasNextValue()"><code>hasNextValue()</code></a> 148 should value; reset when <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#nextValue()"><code>nextValue()</code></a> is called</div> 149</td> 150</tr> 151<tr class="altColor"> 152<td class="colFirst"><code>protected <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a></code></td> 153<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#_parser">_parser</a></strong></code> </td> 154</tr> 155<tr class="rowColor"> 156<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></code></td> 157<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#_type">_type</a></strong></code> </td> 158</tr> 159<tr class="altColor"> 160<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a></code></td> 161<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#_updatedValue">_updatedValue</a></strong></code> 162<div class="block">If not null, "value to update" instead of creating a new instance 163 for each call.</div> 164</td> 165</tr> 166<tr class="rowColor"> 167<td class="colFirst"><code>protected static <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind">MappingIterator</a><?></code></td> 168<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#EMPTY_ITERATOR">EMPTY_ITERATOR</a></strong></code> </td> 169</tr> 170</table> 171</li> 172</ul> 173<!-- ======== CONSTRUCTOR SUMMARY ======== --> 174<ul class="blockList"> 175<li class="blockList"><a name="constructor_summary"> 176<!-- --> 177</a> 178<h3>Constructor Summary</h3> 179<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 180<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 181<tr> 182<th class="colFirst" scope="col">Modifier</th> 183<th class="colLast" scope="col">Constructor and Description</th> 184</tr> 185<tr class="altColor"> 186<td class="colFirst"><code>protected </code></td> 187<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#MappingIterator(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.JsonDeserializer)">MappingIterator</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 188 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> jp, 189 <a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 190 <a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><?> deser)</code> 191<div class="block"><strong>Deprecated.</strong> 192<div class="block"><i>Since 2.1, to be removed</i></div> 193</div> 194</td> 195</tr> 196<tr class="rowColor"> 197<td class="colFirst"><code>protected </code></td> 198<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#MappingIterator(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.JsonDeserializer, boolean, java.lang.Object)">MappingIterator</a></strong>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 199 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> jp, 200 <a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 201 <a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><?> deser, 202 boolean managedParser, 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> valueToUpdate)</code> </td> 204</tr> 205</table> 206</li> 207</ul> 208<!-- ========== METHOD SUMMARY =========== --> 209<ul class="blockList"> 210<li class="blockList"><a name="method_summary"> 211<!-- --> 212</a> 213<h3>Method Summary</h3> 214<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 215<caption><span>Methods</span><span class="tabEnd"> </span></caption> 216<tr> 217<th class="colFirst" scope="col">Modifier and Type</th> 218<th class="colLast" scope="col">Method and Description</th> 219</tr> 220<tr class="altColor"> 221<td class="colFirst"><code>void</code></td> 222<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#close()">close</a></strong>()</code> </td> 223</tr> 224<tr class="rowColor"> 225<td class="colFirst"><code>protected static <T> <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind">MappingIterator</a><T></code></td> 226<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#emptyIterator()">emptyIterator</a></strong>()</code> </td> 227</tr> 228<tr class="altColor"> 229<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a></code></td> 230<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#getParser()">getParser</a></strong>()</code> 231<div class="block">Accessor for getting underlying parser this iterator uses.</div> 232</td> 233</tr> 234<tr class="rowColor"> 235<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a></code></td> 236<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#getParserSchema()">getParserSchema</a></strong>()</code> 237<div class="block">Accessor for accessing <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>FormatSchema</code></a> that the underlying parser 238 (as per <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#getParser()"><code>getParser()</code></a>) is using, if any; only parser of schema-aware 239 formats use schemas.</div> 240</td> 241</tr> 242<tr class="altColor"> 243<td class="colFirst"><code>boolean</code></td> 244<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#hasNext()">hasNext</a></strong>()</code> </td> 245</tr> 246<tr class="rowColor"> 247<td class="colFirst"><code>boolean</code></td> 248<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#hasNextValue()">hasNextValue</a></strong>()</code> 249<div class="block">Equivalent of <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#next()"><code>next()</code></a> but one that may throw checked 250 exceptions from Jackson due to invalid input.</div> 251</td> 252</tr> 253<tr class="altColor"> 254<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a></code></td> 255<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#next()">next</a></strong>()</code> </td> 256</tr> 257<tr class="rowColor"> 258<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a></code></td> 259<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#nextValue()">nextValue</a></strong>()</code> </td> 260</tr> 261<tr class="altColor"> 262<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a>></code></td> 263<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#readAll()">readAll</a></strong>()</code> 264<div class="block">Convenience method for reading all entries accessible via 265 this iterator</div> 266</td> 267</tr> 268<tr class="rowColor"> 269<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a>></code></td> 270<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#readAll(java.util.List)">readAll</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a>> resultList)</code> 271<div class="block">Convenience method for reading all entries accessible via 272 this iterator</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="../../../../com/fasterxml/jackson/databind/MappingIterator.html#remove()">remove</a></strong>()</code> </td> 278</tr> 279</table> 280<ul class="blockList"> 281<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 282<!-- --> 283</a> 284<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> 285<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> 286</ul> 287</li> 288</ul> 289</li> 290</ul> 291</div> 292<div class="details"> 293<ul class="blockList"> 294<li class="blockList"> 295<!-- ============ FIELD DETAIL =========== --> 296<ul class="blockList"> 297<li class="blockList"><a name="field_detail"> 298<!-- --> 299</a> 300<h3>Field Detail</h3> 301<a name="EMPTY_ITERATOR"> 302<!-- --> 303</a> 304<ul class="blockList"> 305<li class="blockList"> 306<h4>EMPTY_ITERATOR</h4> 307<pre>protected static final <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind">MappingIterator</a><?> EMPTY_ITERATOR</pre> 308</li> 309</ul> 310<a name="_type"> 311<!-- --> 312</a> 313<ul class="blockList"> 314<li class="blockList"> 315<h4>_type</h4> 316<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> _type</pre> 317</li> 318</ul> 319<a name="_context"> 320<!-- --> 321</a> 322<ul class="blockList"> 323<li class="blockList"> 324<h4>_context</h4> 325<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> _context</pre> 326</li> 327</ul> 328<a name="_deserializer"> 329<!-- --> 330</a> 331<ul class="blockList"> 332<li class="blockList"> 333<h4>_deserializer</h4> 334<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><<a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a>> _deserializer</pre> 335</li> 336</ul> 337<a name="_parser"> 338<!-- --> 339</a> 340<ul class="blockList"> 341<li class="blockList"> 342<h4>_parser</h4> 343<pre>protected <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> _parser</pre> 344</li> 345</ul> 346<a name="_closeParser"> 347<!-- --> 348</a> 349<ul class="blockList"> 350<li class="blockList"> 351<h4>_closeParser</h4> 352<pre>protected final boolean _closeParser</pre> 353<div class="block">Flag that indicates whether input <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a> should be closed 354 when we are done or not; generally only called when caller did not 355 pass JsonParser.</div> 356</li> 357</ul> 358<a name="_hasNextChecked"> 359<!-- --> 360</a> 361<ul class="blockList"> 362<li class="blockList"> 363<h4>_hasNextChecked</h4> 364<pre>protected boolean _hasNextChecked</pre> 365<div class="block">Flag that is set when we have determined what <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#hasNextValue()"><code>hasNextValue()</code></a> 366 should value; reset when <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#nextValue()"><code>nextValue()</code></a> is called</div> 367</li> 368</ul> 369<a name="_updatedValue"> 370<!-- --> 371</a> 372<ul class="blockListLast"> 373<li class="blockList"> 374<h4>_updatedValue</h4> 375<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a> _updatedValue</pre> 376<div class="block">If not null, "value to update" instead of creating a new instance 377 for each call.</div> 378</li> 379</ul> 380</li> 381</ul> 382<!-- ========= CONSTRUCTOR DETAIL ======== --> 383<ul class="blockList"> 384<li class="blockList"><a name="constructor_detail"> 385<!-- --> 386</a> 387<h3>Constructor Detail</h3> 388<a name="MappingIterator(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.JsonDeserializer)"> 389<!-- --> 390</a> 391<ul class="blockList"> 392<li class="blockList"> 393<h4>MappingIterator</h4> 394<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 395protected MappingIterator(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 396 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> jp, 397 <a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 398 <a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><?> deser)</pre> 399<div class="block"><span class="strong">Deprecated.</span> <i>Since 2.1, to be removed</i></div> 400</li> 401</ul> 402<a name="MappingIterator(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.JsonDeserializer, boolean, java.lang.Object)"> 403<!-- --> 404</a> 405<ul class="blockListLast"> 406<li class="blockList"> 407<h4>MappingIterator</h4> 408<pre>protected MappingIterator(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 409 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> jp, 410 <a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 411 <a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><?> deser, 412 boolean managedParser, 413 <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> valueToUpdate)</pre> 414<dl><dt><span class="strong">Parameters:</span></dt><dd><code>managedParser</code> - Whether we "own" the <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a> passed or not: 415 if true, it was created by <a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a> and code here needs to 416 close it; if false, it was passed by calling code and should not be 417 closed by iterator.</dd></dl> 418</li> 419</ul> 420</li> 421</ul> 422<!-- ============ METHOD DETAIL ========== --> 423<ul class="blockList"> 424<li class="blockList"><a name="method_detail"> 425<!-- --> 426</a> 427<h3>Method Detail</h3> 428<a name="emptyIterator()"> 429<!-- --> 430</a> 431<ul class="blockList"> 432<li class="blockList"> 433<h4>emptyIterator</h4> 434<pre>protected static <T> <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind">MappingIterator</a><T> emptyIterator()</pre> 435</li> 436</ul> 437<a name="hasNext()"> 438<!-- --> 439</a> 440<ul class="blockList"> 441<li class="blockList"> 442<h4>hasNext</h4> 443<pre>public boolean hasNext()</pre> 444<dl> 445<dt><strong>Specified by:</strong></dt> 446<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true#hasNext()" title="class or interface in java.util">hasNext</a></code> in interface <code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a>></code></dd> 447</dl> 448</li> 449</ul> 450<a name="next()"> 451<!-- --> 452</a> 453<ul class="blockList"> 454<li class="blockList"> 455<h4>next</h4> 456<pre>public <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a> next()</pre> 457<dl> 458<dt><strong>Specified by:</strong></dt> 459<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true#next()" title="class or interface in java.util">next</a></code> in interface <code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a>></code></dd> 460</dl> 461</li> 462</ul> 463<a name="remove()"> 464<!-- --> 465</a> 466<ul class="blockList"> 467<li class="blockList"> 468<h4>remove</h4> 469<pre>public void remove()</pre> 470<dl> 471<dt><strong>Specified by:</strong></dt> 472<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true#remove()" title="class or interface in java.util">remove</a></code> in interface <code><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a>></code></dd> 473</dl> 474</li> 475</ul> 476<a name="close()"> 477<!-- --> 478</a> 479<ul class="blockList"> 480<li class="blockList"> 481<h4>close</h4> 482<pre>public void close() 483 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> 484<dl> 485<dt><strong>Specified by:</strong></dt> 486<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true#close()" title="class or interface in java.io">close</a></code> in interface <code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd> 487<dt><strong>Specified by:</strong></dt> 488<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true#close()" title="class or interface in java.lang">close</a></code> in interface <code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd> 489<dt><span class="strong">Throws:</span></dt> 490<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></dl> 491</li> 492</ul> 493<a name="hasNextValue()"> 494<!-- --> 495</a> 496<ul class="blockList"> 497<li class="blockList"> 498<h4>hasNextValue</h4> 499<pre>public boolean hasNextValue() 500 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> 501<div class="block">Equivalent of <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#next()"><code>next()</code></a> but one that may throw checked 502 exceptions from Jackson due to invalid input.</div> 503<dl><dt><span class="strong">Throws:</span></dt> 504<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></dl> 505</li> 506</ul> 507<a name="nextValue()"> 508<!-- --> 509</a> 510<ul class="blockList"> 511<li class="blockList"> 512<h4>nextValue</h4> 513<pre>public <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a> nextValue() 514 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> 515<dl><dt><span class="strong">Throws:</span></dt> 516<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></dl> 517</li> 518</ul> 519<a name="readAll()"> 520<!-- --> 521</a> 522<ul class="blockList"> 523<li class="blockList"> 524<h4>readAll</h4> 525<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a>> readAll() 526 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> 527<div class="block">Convenience method for reading all entries accessible via 528 this iterator</div> 529<dl><dt><span class="strong">Returns:</span></dt><dd>List of entries read</dd> 530<dt><span class="strong">Throws:</span></dt> 531<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><dt><span class="strong">Since:</span></dt> 532 <dd>2.2</dd></dl> 533</li> 534</ul> 535<a name="readAll(java.util.List)"> 536<!-- --> 537</a> 538<ul class="blockList"> 539<li class="blockList"> 540<h4>readAll</h4> 541<pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a>> readAll(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a>> resultList) 542 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> 543<div class="block">Convenience method for reading all entries accessible via 544 this iterator</div> 545<dl><dt><span class="strong">Returns:</span></dt><dd>List of entries read (same as passed-in argument)</dd> 546<dt><span class="strong">Throws:</span></dt> 547<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><dt><span class="strong">Since:</span></dt> 548 <dd>2.2</dd></dl> 549</li> 550</ul> 551<a name="getParser()"> 552<!-- --> 553</a> 554<ul class="blockList"> 555<li class="blockList"> 556<h4>getParser</h4> 557<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> getParser()</pre> 558<div class="block">Accessor for getting underlying parser this iterator uses.</div> 559<dl><dt><span class="strong">Since:</span></dt> 560 <dd>2.2</dd></dl> 561</li> 562</ul> 563<a name="getParserSchema()"> 564<!-- --> 565</a> 566<ul class="blockListLast"> 567<li class="blockList"> 568<h4>getParserSchema</h4> 569<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a> getParserSchema()</pre> 570<div class="block">Accessor for accessing <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>FormatSchema</code></a> that the underlying parser 571 (as per <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#getParser()"><code>getParser()</code></a>) is using, if any; only parser of schema-aware 572 formats use schemas.</div> 573<dl><dt><span class="strong">Since:</span></dt> 574 <dd>2.2</dd></dl> 575</li> 576</ul> 577</li> 578</ul> 579</li> 580</ul> 581</div> 582</div> 583<!-- ========= END OF CLASS DATA ========= --> 584<!-- ======= START OF BOTTOM NAVBAR ====== --> 585<div class="bottomNav"><a name="navbar_bottom"> 586<!-- --> 587</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 588<!-- --> 589</a> 590<ul class="navList" title="Navigation"> 591<li><a href="../../../../overview-summary.html">Overview</a></li> 592<li><a href="package-summary.html">Package</a></li> 593<li class="navBarCell1Rev">Class</li> 594<li><a href="class-use/MappingIterator.html">Use</a></li> 595<li><a href="package-tree.html">Tree</a></li> 596<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 597<li><a href="../../../../index-all.html">Index</a></li> 598<li><a href="../../../../help-doc.html">Help</a></li> 599</ul> 600</div> 601<div class="subNav"> 602<ul class="navList"> 603<li><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 604<li><a href="../../../../com/fasterxml/jackson/databind/MappingJsonFactory.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 605</ul> 606<ul class="navList"> 607<li><a href="../../../../index.html?com/fasterxml/jackson/databind/MappingIterator.html" target="_top">Frames</a></li> 608<li><a href="MappingIterator.html" target="_top">No Frames</a></li> 609</ul> 610<ul class="navList" id="allclasses_navbar_bottom"> 611<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 612</ul> 613<div> 614<script type="text/javascript"><!-- 615 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 616 if(window==top) { 617 allClassesLink.style.display = "block"; 618 } 619 else { 620 allClassesLink.style.display = "none"; 621 } 622 //--> 623</script> 624</div> 625<div> 626<ul class="subNavList"> 627<li>Summary: </li> 628<li>Nested | </li> 629<li><a href="#field_summary">Field</a> | </li> 630<li><a href="#constructor_summary">Constr</a> | </li> 631<li><a href="#method_summary">Method</a></li> 632</ul> 633<ul class="subNavList"> 634<li>Detail: </li> 635<li><a href="#field_detail">Field</a> | </li> 636<li><a href="#constructor_detail">Constr</a> | </li> 637<li><a href="#method_detail">Method</a></li> 638</ul> 639</div> 640<a name="skip-navbar_bottom"> 641<!-- --> 642</a></div> 643<!-- ======== END OF BOTTOM NAVBAR ======= --> 644<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 645</body> 646</html> 647