1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (1.8.0_162) on Tue Jan 23 20:22:12 PST 2018 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>MappingIterator (jackson-databind 2.9.0 API)</title> 8<meta name="date" content="2018-01-23"> 9<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="MappingIterator (jackson-databind 2.9.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":9,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10}; 23var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; 24var altColor = "altColor"; 25var rowColor = "rowColor"; 26var tableTab = "tableTab"; 27var activeTableTab = "activeTableTab"; 28</script> 29<noscript> 30<div>JavaScript is disabled on your browser.</div> 31</noscript> 32<!-- ========= START OF TOP NAVBAR ======= --> 33<div class="topNav"><a name="navbar.top"> 34<!-- --> 35</a> 36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 37<a name="navbar.top.firstrow"> 38<!-- --> 39</a> 40<ul class="navList" title="Navigation"> 41<li><a href="../../../../overview-summary.html">Overview</a></li> 42<li><a href="package-summary.html">Package</a></li> 43<li class="navBarCell1Rev">Class</li> 44<li><a href="class-use/MappingIterator.html">Use</a></li> 45<li><a href="package-tree.html">Tree</a></li> 46<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 47<li><a href="../../../../index-all.html">Index</a></li> 48<li><a href="../../../../help-doc.html">Help</a></li> 49</ul> 50</div> 51<div class="subNav"> 52<ul class="navList"> 53<li><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../com/fasterxml/jackson/databind/MappingJsonFactory.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../index.html?com/fasterxml/jackson/databind/MappingIterator.html" target="_top">Frames</a></li> 58<li><a href="MappingIterator.html" target="_top">No Frames</a></li> 59</ul> 60<ul class="navList" id="allclasses_navbar_top"> 61<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 62</ul> 63<div> 64<script type="text/javascript"><!-- 65 allClassesLink = document.getElementById("allclasses_navbar_top"); 66 if(window==top) { 67 allClassesLink.style.display = "block"; 68 } 69 else { 70 allClassesLink.style.display = "none"; 71 } 72 //--> 73</script> 74</div> 75<div> 76<ul class="subNavList"> 77<li>Summary: </li> 78<li>Nested | </li> 79<li><a href="#field.summary">Field</a> | </li> 80<li><a href="#constructor.summary">Constr</a> | </li> 81<li><a href="#method.summary">Method</a></li> 82</ul> 83<ul class="subNavList"> 84<li>Detail: </li> 85<li><a href="#field.detail">Field</a> | </li> 86<li><a href="#constructor.detail">Constr</a> | </li> 87<li><a href="#method.detail">Method</a></li> 88</ul> 89</div> 90<a name="skip.navbar.top"> 91<!-- --> 92</a></div> 93<!-- ========= END OF TOP NAVBAR ========= --> 94<!-- ======== START OF CLASS DATA ======== --> 95<div class="header"> 96<div class="subTitle">com.fasterxml.jackson.databind</div> 97<h2 title="Class MappingIterator" class="title">Class MappingIterator<T></h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 102<li> 103<ul class="inheritance"> 104<li>com.fasterxml.jackson.databind.MappingIterator<T></li> 105</ul> 106</li> 107</ul> 108<div class="description"> 109<ul class="blockList"> 110<li class="blockList"> 111<dl> 112<dt>All Implemented Interfaces:</dt> 113<dd><a href="http://docs.oracle.com/javase/7/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/7/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/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><T></dd> 114</dl> 115<hr> 116<br> 117<pre>public class <span class="typeNameLabel">MappingIterator<T></span> 118extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 119implements <a href="http://docs.oracle.com/javase/7/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/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></pre> 120<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 121 objects. Extension is done to allow more convenient exposing of 122 <a href="http://docs.oracle.com/javase/7/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/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util"><code>Iterator</code></a> does not expose)</div> 123</li> 124</ul> 125</div> 126<div class="summary"> 127<ul class="blockList"> 128<li class="blockList"> 129<!-- =========== FIELD SUMMARY =========== --> 130<ul class="blockList"> 131<li class="blockList"><a name="field.summary"> 132<!-- --> 133</a> 134<h3>Field Summary</h3> 135<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 136<caption><span>Fields</span><span class="tabEnd"> </span></caption> 137<tr> 138<th class="colFirst" scope="col">Modifier and Type</th> 139<th class="colLast" scope="col">Field and Description</th> 140</tr> 141<tr class="altColor"> 142<td class="colFirst"><code>protected boolean</code></td> 143<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#Z:Z_closeParser">_closeParser</a></span></code> 144<div class="block">Flag that indicates whether input <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/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 145 when we are done or not; generally only called when caller did not 146 pass JsonParser.</div> 147</td> 148</tr> 149<tr class="rowColor"> 150<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a></code></td> 151<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#Z:Z_context">_context</a></span></code> 152<div class="block">Context for deserialization, needed to pass through to deserializer</div> 153</td> 154</tr> 155<tr class="altColor"> 156<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> 157<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#Z:Z_deserializer">_deserializer</a></span></code> 158<div class="block">Deserializer for individual element values.</div> 159</td> 160</tr> 161<tr class="rowColor"> 162<td class="colFirst"><code>protected <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a></code></td> 163<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#Z:Z_parser">_parser</a></span></code> 164<div class="block">Underlying parser used for reading content to bind.</div> 165</td> 166</tr> 167<tr class="altColor"> 168<td class="colFirst"><code>protected <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonStreamContext.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonStreamContext</a></code></td> 169<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#Z:Z_seqContext">_seqContext</a></span></code> 170<div class="block">Context to resynchronize to, in case an exception is encountered 171 but caller wants to try to read more elements.</div> 172</td> 173</tr> 174<tr class="rowColor"> 175<td class="colFirst"><code>protected int</code></td> 176<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#Z:Z_state">_state</a></span></code> 177<div class="block">State of the iterator</div> 178</td> 179</tr> 180<tr class="altColor"> 181<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></code></td> 182<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#Z:Z_type">_type</a></span></code> 183<div class="block">Type to bind individual elements to.</div> 184</td> 185</tr> 186<tr class="rowColor"> 187<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a></code></td> 188<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#Z:Z_updatedValue">_updatedValue</a></span></code> 189<div class="block">If not null, "value to update" instead of creating a new instance 190 for each call.</div> 191</td> 192</tr> 193<tr class="altColor"> 194<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> 195<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#EMPTY_ITERATOR">EMPTY_ITERATOR</a></span></code> </td> 196</tr> 197<tr class="rowColor"> 198<td class="colFirst"><code>protected static int</code></td> 199<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#STATE_CLOSED">STATE_CLOSED</a></span></code> 200<div class="block">State in which iterator is closed</div> 201</td> 202</tr> 203<tr class="altColor"> 204<td class="colFirst"><code>protected static int</code></td> 205<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#STATE_HAS_VALUE">STATE_HAS_VALUE</a></span></code> 206<div class="block">State in which "hasNextValue()" has been succesfully called 207 and deserializer can be called to fetch value</div> 208</td> 209</tr> 210<tr class="rowColor"> 211<td class="colFirst"><code>protected static int</code></td> 212<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#STATE_MAY_HAVE_VALUE">STATE_MAY_HAVE_VALUE</a></span></code> 213<div class="block">State in which no recovery is needed, but "hasNextValue()" needs 214 to be called first</div> 215</td> 216</tr> 217<tr class="altColor"> 218<td class="colFirst"><code>protected static int</code></td> 219<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#STATE_NEED_RESYNC">STATE_NEED_RESYNC</a></span></code> 220<div class="block">State in which value read failed</div> 221</td> 222</tr> 223</table> 224</li> 225</ul> 226<!-- ======== CONSTRUCTOR SUMMARY ======== --> 227<ul class="blockList"> 228<li class="blockList"><a name="constructor.summary"> 229<!-- --> 230</a> 231<h3>Constructor Summary</h3> 232<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 233<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 234<tr> 235<th class="colFirst" scope="col">Modifier</th> 236<th class="colLast" scope="col">Constructor and Description</th> 237</tr> 238<tr class="altColor"> 239<td class="colFirst"><code>protected </code></td> 240<td class="colLast"><code><span class="memberNameLink"><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></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 241 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> p, 242 <a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 243 <a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><?> deser, 244 boolean managedParser, 245 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> valueToUpdate)</code> </td> 246</tr> 247</table> 248</li> 249</ul> 250<!-- ========== METHOD SUMMARY =========== --> 251<ul class="blockList"> 252<li class="blockList"><a name="method.summary"> 253<!-- --> 254</a> 255<h3>Method Summary</h3> 256<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 257<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> 258<tr> 259<th class="colFirst" scope="col">Modifier and Type</th> 260<th class="colLast" scope="col">Method and Description</th> 261</tr> 262<tr id="i0" class="altColor"> 263<td class="colFirst"><code>protected <R> R</code></td> 264<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#Z:Z_handleIOException-java.io.IOException-">_handleIOException</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a> e)</code> </td> 265</tr> 266<tr id="i1" class="rowColor"> 267<td class="colFirst"><code>protected <R> R</code></td> 268<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#Z:Z_handleMappingException-com.fasterxml.jackson.databind.JsonMappingException-">_handleMappingException</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> e)</code> </td> 269</tr> 270<tr id="i2" class="altColor"> 271<td class="colFirst"><code>protected void</code></td> 272<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#Z:Z_resync--">_resync</a></span>()</code> </td> 273</tr> 274<tr id="i3" class="rowColor"> 275<td class="colFirst"><code>protected <R> R</code></td> 276<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#Z:Z_throwNoSuchElement--">_throwNoSuchElement</a></span>()</code> </td> 277</tr> 278<tr id="i4" class="altColor"> 279<td class="colFirst"><code>void</code></td> 280<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#close--">close</a></span>()</code> </td> 281</tr> 282<tr id="i5" class="rowColor"> 283<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> 284<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#emptyIterator--">emptyIterator</a></span>()</code> </td> 285</tr> 286<tr id="i6" class="altColor"> 287<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonLocation.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonLocation</a></code></td> 288<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#getCurrentLocation--">getCurrentLocation</a></span>()</code> 289<div class="block">Convenience method, functionally equivalent to: 290<code> 291 iterator.getParser().getCurrentLocation() 292</code></div> 293</td> 294</tr> 295<tr id="i7" class="rowColor"> 296<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a></code></td> 297<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#getParser--">getParser</a></span>()</code> 298<div class="block">Accessor for getting underlying parser this iterator uses.</div> 299</td> 300</tr> 301<tr id="i8" class="altColor"> 302<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a></code></td> 303<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#getParserSchema--">getParserSchema</a></span>()</code> 304<div class="block">Accessor for accessing <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/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 305 (as per <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#getParser--"><code>getParser()</code></a>) is using, if any; only parser of schema-aware 306 formats use schemas.</div> 307</td> 308</tr> 309<tr id="i9" class="rowColor"> 310<td class="colFirst"><code>boolean</code></td> 311<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#hasNext--">hasNext</a></span>()</code> </td> 312</tr> 313<tr id="i10" class="altColor"> 314<td class="colFirst"><code>boolean</code></td> 315<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#hasNextValue--">hasNextValue</a></span>()</code> 316<div class="block">Equivalent of <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#next--"><code>next()</code></a> but one that may throw checked 317 exceptions from Jackson due to invalid input.</div> 318</td> 319</tr> 320<tr id="i11" class="rowColor"> 321<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a></code></td> 322<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#next--">next</a></span>()</code> </td> 323</tr> 324<tr id="i12" class="altColor"> 325<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a></code></td> 326<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#nextValue--">nextValue</a></span>()</code> </td> 327</tr> 328<tr id="i13" class="rowColor"> 329<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/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> 330<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#readAll--">readAll</a></span>()</code> 331<div class="block">Convenience method for reading all entries accessible via 332 this iterator; resulting container will be a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util"><code>ArrayList</code></a>.</div> 333</td> 334</tr> 335<tr id="i14" class="altColor"> 336<td class="colFirst"><code><C extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? super <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a>>><br>C</code></td> 337<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#readAll-C-">readAll</a></span>(C results)</code> 338<div class="block">Convenience method for reading all entries accessible via 339 this iterator</div> 340</td> 341</tr> 342<tr id="i15" class="rowColor"> 343<td class="colFirst"><code><L extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><? super <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a>>><br>L</code></td> 344<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#readAll-L-">readAll</a></span>(L resultList)</code> 345<div class="block">Convenience method for reading all entries accessible via 346 this iterator</div> 347</td> 348</tr> 349<tr id="i16" class="altColor"> 350<td class="colFirst"><code>void</code></td> 351<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#remove--">remove</a></span>()</code> </td> 352</tr> 353</table> 354<ul class="blockList"> 355<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 356<!-- --> 357</a> 358<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 359<code><a href="http://docs.oracle.com/javase/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/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/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 360</ul> 361<ul class="blockList"> 362<li class="blockList"><a name="methods.inherited.from.class.java.util.Iterator"> 363<!-- --> 364</a> 365<h3>Methods inherited from interface java.util.<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a></h3> 366<code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true#forEachRemaining-java.util.function.Consumer-" title="class or interface in java.util">forEachRemaining</a></code></li> 367</ul> 368</li> 369</ul> 370</li> 371</ul> 372</div> 373<div class="details"> 374<ul class="blockList"> 375<li class="blockList"> 376<!-- ============ FIELD DETAIL =========== --> 377<ul class="blockList"> 378<li class="blockList"><a name="field.detail"> 379<!-- --> 380</a> 381<h3>Field Detail</h3> 382<a name="EMPTY_ITERATOR"> 383<!-- --> 384</a> 385<ul class="blockList"> 386<li class="blockList"> 387<h4>EMPTY_ITERATOR</h4> 388<pre>protected static final <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind">MappingIterator</a><?> EMPTY_ITERATOR</pre> 389</li> 390</ul> 391<a name="STATE_CLOSED"> 392<!-- --> 393</a> 394<ul class="blockList"> 395<li class="blockList"> 396<h4>STATE_CLOSED</h4> 397<pre>protected static final int STATE_CLOSED</pre> 398<div class="block">State in which iterator is closed</div> 399<dl> 400<dt><span class="seeLabel">See Also:</span></dt> 401<dd><a href="../../../../constant-values.html#com.fasterxml.jackson.databind.MappingIterator.STATE_CLOSED">Constant Field Values</a></dd> 402</dl> 403</li> 404</ul> 405<a name="STATE_NEED_RESYNC"> 406<!-- --> 407</a> 408<ul class="blockList"> 409<li class="blockList"> 410<h4>STATE_NEED_RESYNC</h4> 411<pre>protected static final int STATE_NEED_RESYNC</pre> 412<div class="block">State in which value read failed</div> 413<dl> 414<dt><span class="seeLabel">See Also:</span></dt> 415<dd><a href="../../../../constant-values.html#com.fasterxml.jackson.databind.MappingIterator.STATE_NEED_RESYNC">Constant Field Values</a></dd> 416</dl> 417</li> 418</ul> 419<a name="STATE_MAY_HAVE_VALUE"> 420<!-- --> 421</a> 422<ul class="blockList"> 423<li class="blockList"> 424<h4>STATE_MAY_HAVE_VALUE</h4> 425<pre>protected static final int STATE_MAY_HAVE_VALUE</pre> 426<div class="block">State in which no recovery is needed, but "hasNextValue()" needs 427 to be called first</div> 428<dl> 429<dt><span class="seeLabel">See Also:</span></dt> 430<dd><a href="../../../../constant-values.html#com.fasterxml.jackson.databind.MappingIterator.STATE_MAY_HAVE_VALUE">Constant Field Values</a></dd> 431</dl> 432</li> 433</ul> 434<a name="STATE_HAS_VALUE"> 435<!-- --> 436</a> 437<ul class="blockList"> 438<li class="blockList"> 439<h4>STATE_HAS_VALUE</h4> 440<pre>protected static final int STATE_HAS_VALUE</pre> 441<div class="block">State in which "hasNextValue()" has been succesfully called 442 and deserializer can be called to fetch value</div> 443<dl> 444<dt><span class="seeLabel">See Also:</span></dt> 445<dd><a href="../../../../constant-values.html#com.fasterxml.jackson.databind.MappingIterator.STATE_HAS_VALUE">Constant Field Values</a></dd> 446</dl> 447</li> 448</ul> 449<a name="Z:Z_type"> 450<!-- --> 451</a> 452<ul class="blockList"> 453<li class="blockList"> 454<h4>_type</h4> 455<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> _type</pre> 456<div class="block">Type to bind individual elements to.</div> 457</li> 458</ul> 459<a name="Z:Z_context"> 460<!-- --> 461</a> 462<ul class="blockList"> 463<li class="blockList"> 464<h4>_context</h4> 465<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> _context</pre> 466<div class="block">Context for deserialization, needed to pass through to deserializer</div> 467</li> 468</ul> 469<a name="Z:Z_deserializer"> 470<!-- --> 471</a> 472<ul class="blockList"> 473<li class="blockList"> 474<h4>_deserializer</h4> 475<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> 476<div class="block">Deserializer for individual element values.</div> 477</li> 478</ul> 479<a name="Z:Z_parser"> 480<!-- --> 481</a> 482<ul class="blockList"> 483<li class="blockList"> 484<h4>_parser</h4> 485<pre>protected final <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> _parser</pre> 486<div class="block">Underlying parser used for reading content to bind. Initialized 487 as not <code>null</code> but set as <code>null</code> when 488 iterator is closed, to denote closing.</div> 489</li> 490</ul> 491<a name="Z:Z_seqContext"> 492<!-- --> 493</a> 494<ul class="blockList"> 495<li class="blockList"> 496<h4>_seqContext</h4> 497<pre>protected final <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonStreamContext.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonStreamContext</a> _seqContext</pre> 498<div class="block">Context to resynchronize to, in case an exception is encountered 499 but caller wants to try to read more elements.</div> 500</li> 501</ul> 502<a name="Z:Z_updatedValue"> 503<!-- --> 504</a> 505<ul class="blockList"> 506<li class="blockList"> 507<h4>_updatedValue</h4> 508<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a> _updatedValue</pre> 509<div class="block">If not null, "value to update" instead of creating a new instance 510 for each call.</div> 511</li> 512</ul> 513<a name="Z:Z_closeParser"> 514<!-- --> 515</a> 516<ul class="blockList"> 517<li class="blockList"> 518<h4>_closeParser</h4> 519<pre>protected final boolean _closeParser</pre> 520<div class="block">Flag that indicates whether input <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/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 521 when we are done or not; generally only called when caller did not 522 pass JsonParser.</div> 523</li> 524</ul> 525<a name="Z:Z_state"> 526<!-- --> 527</a> 528<ul class="blockListLast"> 529<li class="blockList"> 530<h4>_state</h4> 531<pre>protected int _state</pre> 532<div class="block">State of the iterator</div> 533</li> 534</ul> 535</li> 536</ul> 537<!-- ========= CONSTRUCTOR DETAIL ======== --> 538<ul class="blockList"> 539<li class="blockList"><a name="constructor.detail"> 540<!-- --> 541</a> 542<h3>Constructor Detail</h3> 543<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-"> 544<!-- --> 545</a> 546<ul class="blockListLast"> 547<li class="blockList"> 548<h4>MappingIterator</h4> 549<pre>protected MappingIterator(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 550 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> p, 551 <a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a> ctxt, 552 <a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a><?> deser, 553 boolean managedParser, 554 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> valueToUpdate)</pre> 555<dl> 556<dt><span class="paramLabel">Parameters:</span></dt> 557<dd><code>managedParser</code> - Whether we "own" the <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/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: 558 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 559 close it; if false, it was passed by calling code and should not be 560 closed by iterator.</dd> 561</dl> 562</li> 563</ul> 564</li> 565</ul> 566<!-- ============ METHOD DETAIL ========== --> 567<ul class="blockList"> 568<li class="blockList"><a name="method.detail"> 569<!-- --> 570</a> 571<h3>Method Detail</h3> 572<a name="emptyIterator--"> 573<!-- --> 574</a> 575<ul class="blockList"> 576<li class="blockList"> 577<h4>emptyIterator</h4> 578<pre>protected static <T> <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind">MappingIterator</a><T> emptyIterator()</pre> 579</li> 580</ul> 581<a name="hasNext--"> 582<!-- --> 583</a> 584<ul class="blockList"> 585<li class="blockList"> 586<h4>hasNext</h4> 587<pre>public boolean hasNext()</pre> 588<dl> 589<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 590<dd><code><a href="http://docs.oracle.com/javase/7/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/7/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> 591</dl> 592</li> 593</ul> 594<a name="next--"> 595<!-- --> 596</a> 597<ul class="blockList"> 598<li class="blockList"> 599<h4>next</h4> 600<pre>public <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a> next()</pre> 601<dl> 602<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 603<dd><code><a href="http://docs.oracle.com/javase/7/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/7/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> 604</dl> 605</li> 606</ul> 607<a name="remove--"> 608<!-- --> 609</a> 610<ul class="blockList"> 611<li class="blockList"> 612<h4>remove</h4> 613<pre>public void remove()</pre> 614<dl> 615<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 616<dd><code><a href="http://docs.oracle.com/javase/7/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/7/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> 617</dl> 618</li> 619</ul> 620<a name="close--"> 621<!-- --> 622</a> 623<ul class="blockList"> 624<li class="blockList"> 625<h4>close</h4> 626<pre>public void close() 627 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 628<dl> 629<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 630<dd><code><a href="http://docs.oracle.com/javase/7/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/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd> 631<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 632<dd><code><a href="http://docs.oracle.com/javase/7/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/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd> 633<dt><span class="throwsLabel">Throws:</span></dt> 634<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 635</dl> 636</li> 637</ul> 638<a name="hasNextValue--"> 639<!-- --> 640</a> 641<ul class="blockList"> 642<li class="blockList"> 643<h4>hasNextValue</h4> 644<pre>public boolean hasNextValue() 645 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 646<div class="block">Equivalent of <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#next--"><code>next()</code></a> but one that may throw checked 647 exceptions from Jackson due to invalid input.</div> 648<dl> 649<dt><span class="throwsLabel">Throws:</span></dt> 650<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 651</dl> 652</li> 653</ul> 654<a name="nextValue--"> 655<!-- --> 656</a> 657<ul class="blockList"> 658<li class="blockList"> 659<h4>nextValue</h4> 660<pre>public <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a> nextValue() 661 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 662<dl> 663<dt><span class="throwsLabel">Throws:</span></dt> 664<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 665</dl> 666</li> 667</ul> 668<a name="readAll--"> 669<!-- --> 670</a> 671<ul class="blockList"> 672<li class="blockList"> 673<h4>readAll</h4> 674<pre>public <a href="http://docs.oracle.com/javase/7/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() 675 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 676<div class="block">Convenience method for reading all entries accessible via 677 this iterator; resulting container will be a <a href="http://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util"><code>ArrayList</code></a>.</div> 678<dl> 679<dt><span class="returnLabel">Returns:</span></dt> 680<dd>List of entries read</dd> 681<dt><span class="throwsLabel">Throws:</span></dt> 682<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 683<dt><span class="simpleTagLabel">Since:</span></dt> 684<dd>2.2</dd> 685</dl> 686</li> 687</ul> 688<a name="readAll-java.util.List-"> 689<!-- --> 690</a><a name="readAll-L-"> 691<!-- --> 692</a> 693<ul class="blockList"> 694<li class="blockList"> 695<h4>readAll</h4> 696<pre>public <L extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><? super <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a>>> L readAll(L resultList) 697 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 698<div class="block">Convenience method for reading all entries accessible via 699 this iterator</div> 700<dl> 701<dt><span class="returnLabel">Returns:</span></dt> 702<dd>List of entries read (same as passed-in argument)</dd> 703<dt><span class="throwsLabel">Throws:</span></dt> 704<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 705<dt><span class="simpleTagLabel">Since:</span></dt> 706<dd>2.2</dd> 707</dl> 708</li> 709</ul> 710<a name="readAll-java.util.Collection-"> 711<!-- --> 712</a><a name="readAll-C-"> 713<!-- --> 714</a> 715<ul class="blockList"> 716<li class="blockList"> 717<h4>readAll</h4> 718<pre>public <C extends <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? super <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</a>>> C readAll(C results) 719 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 720<div class="block">Convenience method for reading all entries accessible via 721 this iterator</div> 722<dl> 723<dt><span class="throwsLabel">Throws:</span></dt> 724<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 725<dt><span class="simpleTagLabel">Since:</span></dt> 726<dd>2.5</dd> 727</dl> 728</li> 729</ul> 730<a name="getParser--"> 731<!-- --> 732</a> 733<ul class="blockList"> 734<li class="blockList"> 735<h4>getParser</h4> 736<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> getParser()</pre> 737<div class="block">Accessor for getting underlying parser this iterator uses.</div> 738<dl> 739<dt><span class="simpleTagLabel">Since:</span></dt> 740<dd>2.2</dd> 741</dl> 742</li> 743</ul> 744<a name="getParserSchema--"> 745<!-- --> 746</a> 747<ul class="blockList"> 748<li class="blockList"> 749<h4>getParserSchema</h4> 750<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a> getParserSchema()</pre> 751<div class="block">Accessor for accessing <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/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 752 (as per <a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html#getParser--"><code>getParser()</code></a>) is using, if any; only parser of schema-aware 753 formats use schemas.</div> 754<dl> 755<dt><span class="simpleTagLabel">Since:</span></dt> 756<dd>2.2</dd> 757</dl> 758</li> 759</ul> 760<a name="getCurrentLocation--"> 761<!-- --> 762</a> 763<ul class="blockList"> 764<li class="blockList"> 765<h4>getCurrentLocation</h4> 766<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonLocation.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonLocation</a> getCurrentLocation()</pre> 767<div class="block">Convenience method, functionally equivalent to: 768<code> 769 iterator.getParser().getCurrentLocation() 770</code></div> 771<dl> 772<dt><span class="returnLabel">Returns:</span></dt> 773<dd>Location of the input stream of the underlying parser</dd> 774<dt><span class="simpleTagLabel">Since:</span></dt> 775<dd>2.2.1</dd> 776</dl> 777</li> 778</ul> 779<a name="Z:Z_resync--"> 780<!-- --> 781</a> 782<ul class="blockList"> 783<li class="blockList"> 784<h4>_resync</h4> 785<pre>protected void _resync() 786 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 787<dl> 788<dt><span class="throwsLabel">Throws:</span></dt> 789<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 790</dl> 791</li> 792</ul> 793<a name="Z:Z_throwNoSuchElement--"> 794<!-- --> 795</a> 796<ul class="blockList"> 797<li class="blockList"> 798<h4>_throwNoSuchElement</h4> 799<pre>protected <R> R _throwNoSuchElement()</pre> 800</li> 801</ul> 802<a name="Z:Z_handleMappingException-com.fasterxml.jackson.databind.JsonMappingException-"> 803<!-- --> 804</a> 805<ul class="blockList"> 806<li class="blockList"> 807<h4>_handleMappingException</h4> 808<pre>protected <R> R _handleMappingException(<a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> e)</pre> 809</li> 810</ul> 811<a name="Z:Z_handleIOException-java.io.IOException-"> 812<!-- --> 813</a> 814<ul class="blockListLast"> 815<li class="blockList"> 816<h4>_handleIOException</h4> 817<pre>protected <R> R _handleIOException(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a> e)</pre> 818</li> 819</ul> 820</li> 821</ul> 822</li> 823</ul> 824</div> 825</div> 826<!-- ========= END OF CLASS DATA ========= --> 827<!-- ======= START OF BOTTOM NAVBAR ====== --> 828<div class="bottomNav"><a name="navbar.bottom"> 829<!-- --> 830</a> 831<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 832<a name="navbar.bottom.firstrow"> 833<!-- --> 834</a> 835<ul class="navList" title="Navigation"> 836<li><a href="../../../../overview-summary.html">Overview</a></li> 837<li><a href="package-summary.html">Package</a></li> 838<li class="navBarCell1Rev">Class</li> 839<li><a href="class-use/MappingIterator.html">Use</a></li> 840<li><a href="package-tree.html">Tree</a></li> 841<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 842<li><a href="../../../../index-all.html">Index</a></li> 843<li><a href="../../../../help-doc.html">Help</a></li> 844</ul> 845</div> 846<div class="subNav"> 847<ul class="navList"> 848<li><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev Class</span></a></li> 849<li><a href="../../../../com/fasterxml/jackson/databind/MappingJsonFactory.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next Class</span></a></li> 850</ul> 851<ul class="navList"> 852<li><a href="../../../../index.html?com/fasterxml/jackson/databind/MappingIterator.html" target="_top">Frames</a></li> 853<li><a href="MappingIterator.html" target="_top">No Frames</a></li> 854</ul> 855<ul class="navList" id="allclasses_navbar_bottom"> 856<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 857</ul> 858<div> 859<script type="text/javascript"><!-- 860 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 861 if(window==top) { 862 allClassesLink.style.display = "block"; 863 } 864 else { 865 allClassesLink.style.display = "none"; 866 } 867 //--> 868</script> 869</div> 870<div> 871<ul class="subNavList"> 872<li>Summary: </li> 873<li>Nested | </li> 874<li><a href="#field.summary">Field</a> | </li> 875<li><a href="#constructor.summary">Constr</a> | </li> 876<li><a href="#method.summary">Method</a></li> 877</ul> 878<ul class="subNavList"> 879<li>Detail: </li> 880<li><a href="#field.detail">Field</a> | </li> 881<li><a href="#constructor.detail">Constr</a> | </li> 882<li><a href="#method.detail">Method</a></li> 883</ul> 884</div> 885<a name="skip.navbar.bottom"> 886<!-- --> 887</a></div> 888<!-- ======== END OF BOTTOM NAVBAR ======= --> 889<p class="legalCopy"><small>Copyright © 2008–2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 890</body> 891</html> 892