1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0_29) on Mon Mar 26 19:07:10 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8MappingIterator (jackson-databind 2.0.0 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2012-03-26"> 12 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> 14 15<SCRIPT type="text/javascript"> 16function windowTitle() 17{ 18 if (location.href.indexOf('is-external=true') == -1) { 19 parent.document.title="MappingIterator (jackson-databind 2.0.0 API)"; 20 } 21} 22</SCRIPT> 23<NOSCRIPT> 24</NOSCRIPT> 25 26</HEAD> 27 28<BODY BGCOLOR="white" onload="windowTitle();"> 29<HR> 30 31 32<!-- ========= START OF TOP NAVBAR ======= --> 33<A NAME="navbar_top"><!-- --></A> 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 36<TR> 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 38<A NAME="navbar_top_firstrow"><!-- --></A> 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 40 <TR ALIGN="center" VALIGN="top"> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MappingIterator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 49 </TR> 50</TABLE> 51</TD> 52<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 53</EM> 54</TD> 55</TR> 56 57<TR> 58<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 59 <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind"><B>PREV CLASS</B></A> 60 <A HREF="../../../../com/fasterxml/jackson/databind/MappingJsonFactory.html" title="class in com.fasterxml.jackson.databind"><B>NEXT CLASS</B></A></FONT></TD> 61<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 62 <A HREF="../../../../index.html?com/fasterxml/jackson/databind/MappingIterator.html" target="_top"><B>FRAMES</B></A> 63 <A HREF="MappingIterator.html" target="_top"><B>NO FRAMES</B></A> 64 <SCRIPT type="text/javascript"> 65 <!-- 66 if(window==top) { 67 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 68 } 69 //--> 70</SCRIPT> 71<NOSCRIPT> 72 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 73</NOSCRIPT> 74 75 76</FONT></TD> 77</TR> 78<TR> 79<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 80 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 81<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 82DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 83</TR> 84</TABLE> 85<A NAME="skip-navbar_top"></A> 86<!-- ========= END OF TOP NAVBAR ========= --> 87 88<HR> 89<!-- ======== START OF CLASS DATA ======== --> 90<H2> 91<FONT SIZE="-1"> 92com.fasterxml.jackson.databind</FONT> 93<BR> 94Class MappingIterator<T></H2> 95<PRE> 96<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> 97 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.fasterxml.jackson.databind.MappingIterator<T></B> 98</PRE> 99<DL> 100<DT><B>All Implemented Interfaces:</B> <DD><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<DL> 104<DT><PRE>public class <B>MappingIterator<T></B><DT>extends <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><DT>implements <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></DL> 105</PRE> 106 107<P> 108Iterator 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 109 objects. Extension is done to allow more convenient exposing of 110 <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) 111<P> 112 113<P> 114<HR> 115 116<P> 117<!-- =========== FIELD SUMMARY =========== --> 118 119<A NAME="field_summary"><!-- --></A> 120<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 121<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 122<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 123<B>Field Summary</B></FONT></TH> 124</TR> 125<TR BGCOLOR="white" CLASS="TableRowColor"> 126<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 127<CODE>protected boolean</CODE></FONT></TD> 128<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#_closeParser">_closeParser</A></B></CODE> 129 130<BR> 131 Flag that indicates whether input <CODE>JsonParser</CODE> should be closed 132 when we are done or not; generally only called when caller did not 133 pass JsonParser.</TD> 134</TR> 135<TR BGCOLOR="white" CLASS="TableRowColor"> 136<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 137<CODE>protected <A HREF="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</A></CODE></FONT></TD> 138<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#_context">_context</A></B></CODE> 139 140<BR> 141 </TD> 142</TR> 143<TR BGCOLOR="white" CLASS="TableRowColor"> 144<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 145<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></FONT></TD> 146<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#_deserializer">_deserializer</A></B></CODE> 147 148<BR> 149 </TD> 150</TR> 151<TR BGCOLOR="white" CLASS="TableRowColor"> 152<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 153<CODE>protected boolean</CODE></FONT></TD> 154<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#_hasNextChecked">_hasNextChecked</A></B></CODE> 155 156<BR> 157 Flag that is set when we have determined what <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#hasNextValue()"><CODE>hasNextValue()</CODE></A> 158 should value; reset when <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#nextValue()"><CODE>nextValue()</CODE></A> is called</TD> 159</TR> 160<TR BGCOLOR="white" CLASS="TableRowColor"> 161<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 162<CODE>protected com.fasterxml.jackson.core.JsonParser</CODE></FONT></TD> 163<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#_parser">_parser</A></B></CODE> 164 165<BR> 166 </TD> 167</TR> 168<TR BGCOLOR="white" CLASS="TableRowColor"> 169<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 170<CODE>protected <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A></CODE></FONT></TD> 171<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#_type">_type</A></B></CODE> 172 173<BR> 174 </TD> 175</TR> 176<TR BGCOLOR="white" CLASS="TableRowColor"> 177<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 178<CODE>protected <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</A></CODE></FONT></TD> 179<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#_updatedValue">_updatedValue</A></B></CODE> 180 181<BR> 182 If not null, "value to update" instead of creating a new instance 183 for each call.</TD> 184</TR> 185<TR BGCOLOR="white" CLASS="TableRowColor"> 186<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 187<CODE>protected static <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind">MappingIterator</A><?></CODE></FONT></TD> 188<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#EMPTY_ITERATOR">EMPTY_ITERATOR</A></B></CODE> 189 190<BR> 191 </TD> 192</TR> 193</TABLE> 194 195<!-- ======== CONSTRUCTOR SUMMARY ======== --> 196 197<A NAME="constructor_summary"><!-- --></A> 198<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 199<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 200<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 201<B>Constructor Summary</B></FONT></TH> 202</TR> 203<TR BGCOLOR="white" CLASS="TableRowColor"> 204<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 205<CODE>protected </CODE></FONT></TD> 206<TD><CODE><B><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></B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> type, 207 com.fasterxml.jackson.core.JsonParser jp, 208 <A HREF="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</A> ctxt, 209 <A HREF="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</A><?> deser)</CODE> 210 211<BR> 212 </TD> 213</TR> 214<TR BGCOLOR="white" CLASS="TableRowColor"> 215<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 216<CODE>protected </CODE></FONT></TD> 217<TD><CODE><B><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></B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> type, 218 com.fasterxml.jackson.core.JsonParser jp, 219 <A HREF="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</A> ctxt, 220 <A HREF="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</A><?> deser, 221 boolean closeParser, 222 <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> 223 224<BR> 225 </TD> 226</TR> 227</TABLE> 228 229<!-- ========== METHOD SUMMARY =========== --> 230 231<A NAME="method_summary"><!-- --></A> 232<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 233<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 234<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 235<B>Method Summary</B></FONT></TH> 236</TR> 237<TR BGCOLOR="white" CLASS="TableRowColor"> 238<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 239<CODE>protected static 240<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 241<TR ALIGN="right" VALIGN=""> 242<TD NOWRAP><FONT SIZE="-1"> 243<CODE><T> <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind">MappingIterator</A><T></CODE></FONT></TD> 244</TR> 245</TABLE> 246</CODE></FONT></TD> 247<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#emptyIterator()">emptyIterator</A></B>()</CODE> 248 249<BR> 250 </TD> 251</TR> 252<TR BGCOLOR="white" CLASS="TableRowColor"> 253<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 254<CODE> boolean</CODE></FONT></TD> 255<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#hasNext()">hasNext</A></B>()</CODE> 256 257<BR> 258 </TD> 259</TR> 260<TR BGCOLOR="white" CLASS="TableRowColor"> 261<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 262<CODE> boolean</CODE></FONT></TD> 263<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#hasNextValue()">hasNextValue</A></B>()</CODE> 264 265<BR> 266 Equivalent of <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#next()"><CODE>next()</CODE></A> but one that may throw checked 267 exceptions from Jackson due to invalid input.</TD> 268</TR> 269<TR BGCOLOR="white" CLASS="TableRowColor"> 270<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 271<CODE> <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</A></CODE></FONT></TD> 272<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#next()">next</A></B>()</CODE> 273 274<BR> 275 </TD> 276</TR> 277<TR BGCOLOR="white" CLASS="TableRowColor"> 278<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 279<CODE> <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</A></CODE></FONT></TD> 280<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#nextValue()">nextValue</A></B>()</CODE> 281 282<BR> 283 </TD> 284</TR> 285<TR BGCOLOR="white" CLASS="TableRowColor"> 286<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 287<CODE> void</CODE></FONT></TD> 288<TD><CODE><B><A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#remove()">remove</A></B>()</CODE> 289 290<BR> 291 </TD> 292</TR> 293</TABLE> 294 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 295<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 296<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 297<TH ALIGN="left"><B>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></B></TH> 298</TR> 299<TR BGCOLOR="white" CLASS="TableRowColor"> 300<TD><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></TD> 301</TR> 302</TABLE> 303 304<P> 305 306<!-- ============ FIELD DETAIL =========== --> 307 308<A NAME="field_detail"><!-- --></A> 309<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 310<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 311<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 312<B>Field Detail</B></FONT></TH> 313</TR> 314</TABLE> 315 316<A NAME="EMPTY_ITERATOR"><!-- --></A><H3> 317EMPTY_ITERATOR</H3> 318<PRE> 319protected static final <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind">MappingIterator</A><?> <B>EMPTY_ITERATOR</B></PRE> 320<DL> 321<DL> 322</DL> 323</DL> 324<HR> 325 326<A NAME="_type"><!-- --></A><H3> 327_type</H3> 328<PRE> 329protected final <A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> <B>_type</B></PRE> 330<DL> 331<DL> 332</DL> 333</DL> 334<HR> 335 336<A NAME="_context"><!-- --></A><H3> 337_context</H3> 338<PRE> 339protected final <A HREF="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</A> <B>_context</B></PRE> 340<DL> 341<DL> 342</DL> 343</DL> 344<HR> 345 346<A NAME="_deserializer"><!-- --></A><H3> 347_deserializer</H3> 348<PRE> 349protected 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>> <B>_deserializer</B></PRE> 350<DL> 351<DL> 352</DL> 353</DL> 354<HR> 355 356<A NAME="_parser"><!-- --></A><H3> 357_parser</H3> 358<PRE> 359protected com.fasterxml.jackson.core.JsonParser <B>_parser</B></PRE> 360<DL> 361<DL> 362</DL> 363</DL> 364<HR> 365 366<A NAME="_closeParser"><!-- --></A><H3> 367_closeParser</H3> 368<PRE> 369protected final boolean <B>_closeParser</B></PRE> 370<DL> 371<DD>Flag that indicates whether input <CODE>JsonParser</CODE> should be closed 372 when we are done or not; generally only called when caller did not 373 pass JsonParser. 374<P> 375<DL> 376</DL> 377</DL> 378<HR> 379 380<A NAME="_hasNextChecked"><!-- --></A><H3> 381_hasNextChecked</H3> 382<PRE> 383protected boolean <B>_hasNextChecked</B></PRE> 384<DL> 385<DD>Flag that is set when we have determined what <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#hasNextValue()"><CODE>hasNextValue()</CODE></A> 386 should value; reset when <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#nextValue()"><CODE>nextValue()</CODE></A> is called 387<P> 388<DL> 389</DL> 390</DL> 391<HR> 392 393<A NAME="_updatedValue"><!-- --></A><H3> 394_updatedValue</H3> 395<PRE> 396protected final <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</A> <B>_updatedValue</B></PRE> 397<DL> 398<DD>If not null, "value to update" instead of creating a new instance 399 for each call. 400<P> 401<DL> 402</DL> 403</DL> 404 405<!-- ========= CONSTRUCTOR DETAIL ======== --> 406 407<A NAME="constructor_detail"><!-- --></A> 408<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 409<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 410<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 411<B>Constructor Detail</B></FONT></TH> 412</TR> 413</TABLE> 414 415<A NAME="MappingIterator(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.JsonDeserializer)"><!-- --></A><H3> 416MappingIterator</H3> 417<PRE> 418protected <B>MappingIterator</B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> type, 419 com.fasterxml.jackson.core.JsonParser jp, 420 <A HREF="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</A> ctxt, 421 <A HREF="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</A><?> deser)</PRE> 422<DL> 423</DL> 424<HR> 425 426<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)"><!-- --></A><H3> 427MappingIterator</H3> 428<PRE> 429protected <B>MappingIterator</B>(<A HREF="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</A> type, 430 com.fasterxml.jackson.core.JsonParser jp, 431 <A HREF="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</A> ctxt, 432 <A HREF="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</A><?> deser, 433 boolean closeParser, 434 <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> 435<DL> 436</DL> 437 438<!-- ============ METHOD DETAIL ========== --> 439 440<A NAME="method_detail"><!-- --></A> 441<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 442<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 443<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 444<B>Method Detail</B></FONT></TH> 445</TR> 446</TABLE> 447 448<A NAME="emptyIterator()"><!-- --></A><H3> 449emptyIterator</H3> 450<PRE> 451protected static <T> <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind">MappingIterator</A><T> <B>emptyIterator</B>()</PRE> 452<DL> 453<DD><DL> 454</DL> 455</DD> 456<DD><DL> 457</DL> 458</DD> 459</DL> 460<HR> 461 462<A NAME="hasNext()"><!-- --></A><H3> 463hasNext</H3> 464<PRE> 465public boolean <B>hasNext</B>()</PRE> 466<DL> 467<DD><DL> 468<DT><B>Specified by:</B><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></DL> 469</DD> 470<DD><DL> 471</DL> 472</DD> 473</DL> 474<HR> 475 476<A NAME="next()"><!-- --></A><H3> 477next</H3> 478<PRE> 479public <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</A> <B>next</B>()</PRE> 480<DL> 481<DD><DL> 482<DT><B>Specified by:</B><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></DL> 483</DD> 484<DD><DL> 485</DL> 486</DD> 487</DL> 488<HR> 489 490<A NAME="remove()"><!-- --></A><H3> 491remove</H3> 492<PRE> 493public void <B>remove</B>()</PRE> 494<DL> 495<DD><DL> 496<DT><B>Specified by:</B><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></DL> 497</DD> 498<DD><DL> 499</DL> 500</DD> 501</DL> 502<HR> 503 504<A NAME="hasNextValue()"><!-- --></A><H3> 505hasNextValue</H3> 506<PRE> 507public boolean <B>hasNextValue</B>() 508 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> 509<DL> 510<DD>Equivalent of <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html#next()"><CODE>next()</CODE></A> but one that may throw checked 511 exceptions from Jackson due to invalid input. 512<P> 513<DD><DL> 514</DL> 515</DD> 516<DD><DL> 517 518<DT><B>Throws:</B> 519<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></DL> 520</DD> 521</DL> 522<HR> 523 524<A NAME="nextValue()"><!-- --></A><H3> 525nextValue</H3> 526<PRE> 527public <A HREF="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="type parameter in MappingIterator">T</A> <B>nextValue</B>() 528 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> 529<DL> 530<DD><DL> 531</DL> 532</DD> 533<DD><DL> 534 535<DT><B>Throws:</B> 536<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></DL> 537</DD> 538</DL> 539<!-- ========= END OF CLASS DATA ========= --> 540<HR> 541 542 543<!-- ======= START OF BOTTOM NAVBAR ====== --> 544<A NAME="navbar_bottom"><!-- --></A> 545<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 546<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 547<TR> 548<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 549<A NAME="navbar_bottom_firstrow"><!-- --></A> 550<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 551 <TR ALIGN="center" VALIGN="top"> 552 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 553 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 554 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 555 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MappingIterator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 556 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 557 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 558 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 559 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 560 </TR> 561</TABLE> 562</TD> 563<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 564</EM> 565</TD> 566</TR> 567 568<TR> 569<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 570 <A HREF="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind"><B>PREV CLASS</B></A> 571 <A HREF="../../../../com/fasterxml/jackson/databind/MappingJsonFactory.html" title="class in com.fasterxml.jackson.databind"><B>NEXT CLASS</B></A></FONT></TD> 572<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 573 <A HREF="../../../../index.html?com/fasterxml/jackson/databind/MappingIterator.html" target="_top"><B>FRAMES</B></A> 574 <A HREF="MappingIterator.html" target="_top"><B>NO FRAMES</B></A> 575 <SCRIPT type="text/javascript"> 576 <!-- 577 if(window==top) { 578 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 579 } 580 //--> 581</SCRIPT> 582<NOSCRIPT> 583 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 584</NOSCRIPT> 585 586 587</FONT></TD> 588</TR> 589<TR> 590<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 591 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 592<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 593DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 594</TR> 595</TABLE> 596<A NAME="skip-navbar_bottom"></A> 597<!-- ======== END OF BOTTOM NAVBAR ======= --> 598 599<HR> 600Copyright © 2012 <a href="http://fasterxml.com">fasterxml.com</a>. All Rights Reserved. 601</BODY> 602</HTML> 603