<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_10-ea) on Sun Jul 14 20:03:25 PDT 2013 --> <title>TokenBuffer.Parser (Jackson JSON Processor)</title> <meta name="date" content="2013-07-14"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="TokenBuffer.Parser (Jackson JSON Processor)"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/TokenBuffer.Parser.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../org/codehaus/jackson/util/TokenBuffer.html" title="class in org.codehaus.jackson.util"><span class="strong">Prev Class</span></a></li> <li><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Segment.html" title="class in org.codehaus.jackson.util"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/codehaus/jackson/util/TokenBuffer.Parser.html" target="_top">Frames</a></li> <li><a href="TokenBuffer.Parser.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested_classes_inherited_from_class_org.codehaus.jackson.JsonParser">Nested</a> | </li> <li><a href="#field_summary">Field</a> | </li> <li><a href="#constructor_summary">Constr</a> | </li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li><a href="#field_detail">Field</a> | </li> <li><a href="#constructor_detail">Constr</a> | </li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">org.codehaus.jackson.util</div> <h2 title="Class TokenBuffer.Parser" class="title">Class TokenBuffer.Parser</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <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> <li> <ul class="inheritance"> <li><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">org.codehaus.jackson.JsonParser</a></li> <li> <ul class="inheritance"> <li><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">org.codehaus.jackson.impl.JsonParserMinimalBase</a></li> <li> <ul class="inheritance"> <li>org.codehaus.jackson.util.TokenBuffer.Parser</li> </ul> </li> </ul> </li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> <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="../../../../org/codehaus/jackson/Versioned.html" title="interface in org.codehaus.jackson">Versioned</a></dd> </dl> <dl> <dt>Enclosing class:</dt> <dd><a href="../../../../org/codehaus/jackson/util/TokenBuffer.html" title="class in org.codehaus.jackson.util">TokenBuffer</a></dd> </dl> <hr> <br> <pre>protected static final class <span class="strong">TokenBuffer.Parser</span> extends <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a></pre> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ======== NESTED CLASS SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="nested_class_summary"> <!-- --> </a> <h3>Nested Class Summary</h3> <ul class="blockList"> <li class="blockList"><a name="nested_classes_inherited_from_class_org.codehaus.jackson.JsonParser"> <!-- --> </a> <h3>Nested classes/interfaces inherited from class org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></h3> <code><a href="../../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>, <a href="../../../../org/codehaus/jackson/JsonParser.NumberType.html" title="enum in org.codehaus.jackson">JsonParser.NumberType</a></code></li> </ul> </li> </ul> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field_summary"> <!-- --> </a> <h3>Field Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> <caption><span>Fields</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>protected <a href="../../../../org/codehaus/jackson/util/ByteArrayBuilder.html" title="class in org.codehaus.jackson.util">ByteArrayBuilder</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#_byteBuilder">_byteBuilder</a></strong></code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected boolean</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#_closed">_closed</a></strong></code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>protected <a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#_codec">_codec</a></strong></code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected <a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#_location">_location</a></strong></code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>protected <a href="../../../../org/codehaus/jackson/impl/JsonReadContext.html" title="class in org.codehaus.jackson.impl">JsonReadContext</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#_parsingContext">_parsingContext</a></strong></code> <div class="block">Information about parser context, context in which the next token is to be parsed (root, array, object).</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected <a href="../../../../org/codehaus/jackson/util/TokenBuffer.Segment.html" title="class in org.codehaus.jackson.util">TokenBuffer.Segment</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#_segment">_segment</a></strong></code> <div class="block">Currently active segment</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>protected int</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#_segmentPtr">_segmentPtr</a></strong></code> <div class="block">Pointer to current token within current segment</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="fields_inherited_from_class_org.codehaus.jackson.impl.JsonParserMinimalBase"> <!-- --> </a> <h3>Fields inherited from class org.codehaus.jackson.impl.<a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a></h3> <code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_APOSTROPHE">INT_APOSTROPHE</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_ASTERISK">INT_ASTERISK</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_b">INT_b</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_BACKSLASH">INT_BACKSLASH</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_COLON">INT_COLON</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_COMMA">INT_COMMA</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_CR">INT_CR</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_f">INT_f</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_LBRACKET">INT_LBRACKET</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_LCURLY">INT_LCURLY</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_LF">INT_LF</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_n">INT_n</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_QUOTE">INT_QUOTE</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_r">INT_r</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_RBRACKET">INT_RBRACKET</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_RCURLY">INT_RCURLY</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_SLASH">INT_SLASH</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_SPACE">INT_SPACE</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_t">INT_t</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_TAB">INT_TAB</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#INT_u">INT_u</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="fields_inherited_from_class_org.codehaus.jackson.JsonParser"> <!-- --> </a> <h3>Fields inherited from class org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></h3> <code><a href="../../../../org/codehaus/jackson/JsonParser.html#_currToken">_currToken</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#_features">_features</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#_lastClearedToken">_lastClearedToken</a></code></li> </ul> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#TokenBuffer.Parser(org.codehaus.jackson.util.TokenBuffer.Segment, org.codehaus.jackson.ObjectCodec)">TokenBuffer.Parser</a></strong>(<a href="../../../../org/codehaus/jackson/util/TokenBuffer.Segment.html" title="class in org.codehaus.jackson.util">TokenBuffer.Segment</a> firstSeg, <a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a> codec)</code> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span>Methods</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#_checkIsNumber()">_checkIsNumber</a></strong>()</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#_currentObject()">_currentObject</a></strong>()</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>protected void</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#_handleEOF()">_handleEOF</a></strong>()</code> <div class="block">Method sub-classes need to implement</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#close()">close</a></strong>()</code> <div class="block">Closes the parser so that no further iteration or data access can be made; will also close the underlying input source if parser either <b>owns</b> the input source, or feature <a href="../../../../org/codehaus/jackson/JsonParser.Feature.html#AUTO_CLOSE_SOURCE"><code>JsonParser.Feature.AUTO_CLOSE_SOURCE</code></a> is enabled.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getBigIntegerValue()">getBigIntegerValue</a></strong>()</code> <div class="block">Numeric accessor that can be called when the current token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and it can not be used as a Java long primitive type due to its magnitude.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>byte[]</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getBinaryValue(org.codehaus.jackson.Base64Variant)">getBinaryValue</a></strong>(<a href="../../../../org/codehaus/jackson/Base64Variant.html" title="class in org.codehaus.jackson">Base64Variant</a> b64variant)</code> <div class="block">Method that can be used to read (and consume -- results may not be accessible using other methods after the call) base64-encoded binary data included in the current textual JSON value.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getCodec()">getCodec</a></strong>()</code> <div class="block">Accessor for <a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson"><code>ObjectCodec</code></a> associated with this parser, if any.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getCurrentLocation()">getCurrentLocation</a></strong>()</code> <div class="block">Method that returns location of the last processed character; usually for error reporting purposes.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getCurrentName()">getCurrentName</a></strong>()</code> <div class="block">Method that can be called to get the name associated with the current token: for <a href="../../../../org/codehaus/jackson/JsonToken.html#FIELD_NAME"><code>JsonToken.FIELD_NAME</code></a>s it will be the same as what <a href="../../../../org/codehaus/jackson/JsonParser.html#getText()"><code>JsonParser.getText()</code></a> returns; for field values it will be preceding field name; and for others (array values, root-level values) null.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getDecimalValue()">getDecimalValue</a></strong>()</code> <div class="block">Numeric accessor that can be called when the current token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a> or <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a>.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>double</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getDoubleValue()">getDoubleValue</a></strong>()</code> <div class="block">Numeric accessor that can be called when the current token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a> and it can be expressed as a Java double primitive type.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getEmbeddedObject()">getEmbeddedObject</a></strong>()</code> <div class="block">Accessor that can be called if (and only if) the current token is <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_EMBEDDED_OBJECT"><code>JsonToken.VALUE_EMBEDDED_OBJECT</code></a>.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>float</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getFloatValue()">getFloatValue</a></strong>()</code> <div class="block">Numeric accessor that can be called when the current token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a> and it can be expressed as a Java float primitive type.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getIntValue()">getIntValue</a></strong>()</code> <div class="block">Numeric accessor that can be called when the current token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and it can be expressed as a value of Java int primitive type.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>long</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getLongValue()">getLongValue</a></strong>()</code> <div class="block">Numeric accessor that can be called when the current token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and it can be expressed as a Java long primitive type.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonParser.NumberType.html" title="enum in org.codehaus.jackson">JsonParser.NumberType</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getNumberType()">getNumberType</a></strong>()</code> <div class="block">If current token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> or <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a>, returns one of <a href="../../../../org/codehaus/jackson/JsonParser.NumberType.html" title="enum in org.codehaus.jackson"><code>JsonParser.NumberType</code></a> constants; otherwise returns null.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getNumberValue()">getNumberValue</a></strong>()</code> <div class="block">Generic number value accessor method that will work for all kinds of numeric values.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonStreamContext.html" title="class in org.codehaus.jackson">JsonStreamContext</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getParsingContext()">getParsingContext</a></strong>()</code> <div class="block">Method that can be used to access current parsing context reader is in.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getText()">getText</a></strong>()</code> <div class="block">Method for accessing textual representation of the current token; if no current token (before first call to <a href="../../../../org/codehaus/jackson/JsonParser.html#nextToken()"><code>JsonParser.nextToken()</code></a>, or after encountering end-of-input), returns null.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>char[]</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getTextCharacters()">getTextCharacters</a></strong>()</code> <div class="block">Method similar to <a href="../../../../org/codehaus/jackson/JsonParser.html#getText()"><code>JsonParser.getText()</code></a>, but that will return underlying (unmodifiable) character array that contains textual value, instead of constructing a String object to contain this information.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getTextLength()">getTextLength</a></strong>()</code> <div class="block">Accessor used with <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()"><code>JsonParser.getTextCharacters()</code></a>, to know length of String stored in returned buffer.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getTextOffset()">getTextOffset</a></strong>()</code> <div class="block">Accessor used with <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()"><code>JsonParser.getTextCharacters()</code></a>, to know offset of the first text content character within buffer.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#getTokenLocation()">getTokenLocation</a></strong>()</code> <div class="block">Method that return the <b>starting</b> location of the current token; that is, position of the first character from input that starts the current token.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#hasTextCharacters()">hasTextCharacters</a></strong>()</code> <div class="block">Method that can be used to determine whether calling of <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()"><code>JsonParser.getTextCharacters()</code></a> would be the most efficient way to access textual content for the event parser currently points to.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#isClosed()">isClosed</a></strong>()</code> <div class="block">Method that can be called to determine whether this parser is closed or not.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#nextToken()">nextToken</a></strong>()</code> <div class="block">Main iteration method, which will advance stream enough to determine type of the next token, if any.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a></code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#peekNextToken()">peekNextToken</a></strong>()</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#setCodec(org.codehaus.jackson.ObjectCodec)">setCodec</a></strong>(<a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a> c)</code> <div class="block">Setter that allows defining <a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson"><code>ObjectCodec</code></a> associated with this parser, if any.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Parser.html#setLocation(org.codehaus.jackson.JsonLocation)">setLocation</a></strong>(<a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a> l)</code> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_org.codehaus.jackson.impl.JsonParserMinimalBase"> <!-- --> </a> <h3>Methods inherited from class org.codehaus.jackson.impl.<a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a></h3> <code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_constructError(java.lang.String, java.lang.Throwable)">_constructError</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_decodeBase64(java.lang.String, org.codehaus.jackson.util.ByteArrayBuilder, org.codehaus.jackson.Base64Variant)">_decodeBase64</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_getCharDesc(int)">_getCharDesc</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_handleUnrecognizedCharacterEscape(char)">_handleUnrecognizedCharacterEscape</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_reportBase64EOF()">_reportBase64EOF</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_reportError(java.lang.String)">_reportError</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_reportInvalidBase64(org.codehaus.jackson.Base64Variant, char, int, java.lang.String)">_reportInvalidBase64</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_reportInvalidEOF()">_reportInvalidEOF</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_reportInvalidEOF(java.lang.String)">_reportInvalidEOF</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_reportInvalidEOFInValue()">_reportInvalidEOFInValue</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_reportUnexpectedChar(int, java.lang.String)">_reportUnexpectedChar</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_throwInternal()">_throwInternal</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_throwInvalidSpace(int)">_throwInvalidSpace</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_throwUnquotedSpace(int, java.lang.String)">_throwUnquotedSpace</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_wrapError(java.lang.String, java.lang.Throwable)">_wrapError</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#getValueAsBoolean(boolean)">getValueAsBoolean</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#getValueAsDouble(double)">getValueAsDouble</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#getValueAsInt(int)">getValueAsInt</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#getValueAsLong(long)">getValueAsLong</a>, <a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#skipChildren()">skipChildren</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_org.codehaus.jackson.JsonParser"> <!-- --> </a> <h3>Methods inherited from class org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></h3> <code><a href="../../../../org/codehaus/jackson/JsonParser.html#_constructError(java.lang.String)">_constructError</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#canUseSchema(org.codehaus.jackson.FormatSchema)">canUseSchema</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#clearCurrentToken()">clearCurrentToken</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#configure(org.codehaus.jackson.JsonParser.Feature, boolean)">configure</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#disable(org.codehaus.jackson.JsonParser.Feature)">disable</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#disableFeature(org.codehaus.jackson.JsonParser.Feature)">disableFeature</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#enable(org.codehaus.jackson.JsonParser.Feature)">enable</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#enableFeature(org.codehaus.jackson.JsonParser.Feature)">enableFeature</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getBinaryValue()">getBinaryValue</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getBooleanValue()">getBooleanValue</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getByteValue()">getByteValue</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getCurrentToken()">getCurrentToken</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getInputSource()">getInputSource</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getLastClearedToken()">getLastClearedToken</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getShortValue()">getShortValue</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getValueAsBoolean()">getValueAsBoolean</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getValueAsDouble()">getValueAsDouble</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getValueAsInt()">getValueAsInt</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getValueAsLong()">getValueAsLong</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#hasCurrentToken()">hasCurrentToken</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#isEnabled(org.codehaus.jackson.JsonParser.Feature)">isEnabled</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#isExpectedStartArrayToken()">isExpectedStartArrayToken</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#isFeatureEnabled(org.codehaus.jackson.JsonParser.Feature)">isFeatureEnabled</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#nextBooleanValue()">nextBooleanValue</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#nextFieldName(org.codehaus.jackson.SerializableString)">nextFieldName</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#nextIntValue(int)">nextIntValue</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#nextLongValue(long)">nextLongValue</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#nextTextValue()">nextTextValue</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#nextValue()">nextValue</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#readValueAs(java.lang.Class)">readValueAs</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#readValueAs(org.codehaus.jackson.type.TypeReference)">readValueAs</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#readValueAsTree()">readValueAsTree</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#readValuesAs(java.lang.Class)">readValuesAs</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#readValuesAs(org.codehaus.jackson.type.TypeReference)">readValuesAs</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#releaseBuffered(java.io.OutputStream)">releaseBuffered</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#releaseBuffered(java.io.Writer)">releaseBuffered</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#setFeature(org.codehaus.jackson.JsonParser.Feature, boolean)">setFeature</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#setSchema(org.codehaus.jackson.FormatSchema)">setSchema</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#version()">version</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> <!-- --> </a> <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> <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> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ FIELD DETAIL =========== --> <ul class="blockList"> <li class="blockList"><a name="field_detail"> <!-- --> </a> <h3>Field Detail</h3> <a name="_codec"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>_codec</h4> <pre>protected <a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a> _codec</pre> </li> </ul> <a name="_segment"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>_segment</h4> <pre>protected <a href="../../../../org/codehaus/jackson/util/TokenBuffer.Segment.html" title="class in org.codehaus.jackson.util">TokenBuffer.Segment</a> _segment</pre> <div class="block">Currently active segment</div> </li> </ul> <a name="_segmentPtr"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>_segmentPtr</h4> <pre>protected int _segmentPtr</pre> <div class="block">Pointer to current token within current segment</div> </li> </ul> <a name="_parsingContext"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>_parsingContext</h4> <pre>protected <a href="../../../../org/codehaus/jackson/impl/JsonReadContext.html" title="class in org.codehaus.jackson.impl">JsonReadContext</a> _parsingContext</pre> <div class="block">Information about parser context, context in which the next token is to be parsed (root, array, object).</div> </li> </ul> <a name="_closed"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>_closed</h4> <pre>protected boolean _closed</pre> </li> </ul> <a name="_byteBuilder"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>_byteBuilder</h4> <pre>protected transient <a href="../../../../org/codehaus/jackson/util/ByteArrayBuilder.html" title="class in org.codehaus.jackson.util">ByteArrayBuilder</a> _byteBuilder</pre> </li> </ul> <a name="_location"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>_location</h4> <pre>protected <a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a> _location</pre> </li> </ul> </li> </ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="TokenBuffer.Parser(org.codehaus.jackson.util.TokenBuffer.Segment, org.codehaus.jackson.ObjectCodec)"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>TokenBuffer.Parser</h4> <pre>public TokenBuffer.Parser(<a href="../../../../org/codehaus/jackson/util/TokenBuffer.Segment.html" title="class in org.codehaus.jackson.util">TokenBuffer.Segment</a> firstSeg, <a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a> codec)</pre> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="setLocation(org.codehaus.jackson.JsonLocation)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setLocation</h4> <pre>public void setLocation(<a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a> l)</pre> </li> </ul> <a name="getCodec()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getCodec</h4> <pre>public <a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a> getCodec()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getCodec()">JsonParser</a></code></strong></div> <div class="block">Accessor for <a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson"><code>ObjectCodec</code></a> associated with this parser, if any. Codec is used by <a href="../../../../org/codehaus/jackson/JsonParser.html#readValueAs(java.lang.Class)"><code>JsonParser.readValueAs(Class)</code></a> method (and its variants).</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getCodec()">getCodec</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd> </dl> </li> </ul> <a name="setCodec(org.codehaus.jackson.ObjectCodec)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>setCodec</h4> <pre>public void setCodec(<a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a> c)</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#setCodec(org.codehaus.jackson.ObjectCodec)">JsonParser</a></code></strong></div> <div class="block">Setter that allows defining <a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson"><code>ObjectCodec</code></a> associated with this parser, if any. Codec is used by <a href="../../../../org/codehaus/jackson/JsonParser.html#readValueAs(java.lang.Class)"><code>JsonParser.readValueAs(Class)</code></a> method (and its variants).</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#setCodec(org.codehaus.jackson.ObjectCodec)">setCodec</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd> </dl> </li> </ul> <a name="peekNextToken()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>peekNextToken</h4> <pre>public <a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a> peekNextToken() 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>, <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre> <dl><dt><span class="strong">Throws:</span></dt> <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> <dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl> </li> </ul> <a name="close()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>close</h4> <pre>public void close() 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> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#close()">JsonParser</a></code></strong></div> <div class="block">Closes the parser so that no further iteration or data access can be made; will also close the underlying input source if parser either <b>owns</b> the input source, or feature <a href="../../../../org/codehaus/jackson/JsonParser.Feature.html#AUTO_CLOSE_SOURCE"><code>JsonParser.Feature.AUTO_CLOSE_SOURCE</code></a> is enabled. Whether parser owns the input source depends on factory method that was used to construct instance (so check <a href="../../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson"><code>JsonFactory</code></a> for details, but the general idea is that if caller passes in closable resource (such as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> or <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a>) parser does NOT own the source; but if it passes a reference (such as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io"><code>File</code></a> or <a href="http://docs.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net"><code>URL</code></a> and creates stream or reader it does own them.</div> <dl> <dt><strong>Specified by:</strong></dt> <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> <dt><strong>Specified by:</strong></dt> <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> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#close()">close</a></code> in class <code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a></code></dd> <dt><span class="strong">Throws:</span></dt> <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> </li> </ul> <a name="nextToken()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>nextToken</h4> <pre>public <a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a> nextToken() 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>, <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#nextToken()">JsonParser</a></code></strong></div> <div class="block">Main iteration method, which will advance stream enough to determine type of the next token, if any. If none remaining (stream has no content other than possible white space before ending), null will be returned.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#nextToken()">nextToken</a></code> in class <code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a></code></dd> <dt><span class="strong">Returns:</span></dt><dd>Next token from the stream, if any found, or null to indicate end-of-input</dd> <dt><span class="strong">Throws:</span></dt> <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> <dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl> </li> </ul> <a name="isClosed()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isClosed</h4> <pre>public boolean isClosed()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#isClosed()">JsonParser</a></code></strong></div> <div class="block">Method that can be called to determine whether this parser is closed or not. If it is closed, no new tokens can be retrieved by calling <a href="../../../../org/codehaus/jackson/JsonParser.html#nextToken()"><code>JsonParser.nextToken()</code></a> (and the underlying stream may be closed). Closing may be due to an explicit call to <a href="../../../../org/codehaus/jackson/JsonParser.html#close()"><code>JsonParser.close()</code></a> or because parser has encountered end of input.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#isClosed()">isClosed</a></code> in class <code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a></code></dd> </dl> </li> </ul> <a name="getParsingContext()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getParsingContext</h4> <pre>public <a href="../../../../org/codehaus/jackson/JsonStreamContext.html" title="class in org.codehaus.jackson">JsonStreamContext</a> getParsingContext()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getParsingContext()">JsonParser</a></code></strong></div> <div class="block">Method that can be used to access current parsing context reader is in. There are 3 different types: root, array and object contexts, with slightly different available information. Contexts are hierarchically nested, and can be used for example for figuring out part of the input document that correspond to specific array or object (for highlighting purposes, or error reporting). Contexts can also be used for simple xpath-like matching of input, if so desired.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#getParsingContext()">getParsingContext</a></code> in class <code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a></code></dd> </dl> </li> </ul> <a name="getTokenLocation()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getTokenLocation</h4> <pre>public <a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a> getTokenLocation()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getTokenLocation()">JsonParser</a></code></strong></div> <div class="block">Method that return the <b>starting</b> location of the current token; that is, position of the first character from input that starts the current token.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getTokenLocation()">getTokenLocation</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd> </dl> </li> </ul> <a name="getCurrentLocation()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getCurrentLocation</h4> <pre>public <a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a> getCurrentLocation()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getCurrentLocation()">JsonParser</a></code></strong></div> <div class="block">Method that returns location of the last processed character; usually for error reporting purposes.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getCurrentLocation()">getCurrentLocation</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd> </dl> </li> </ul> <a name="getCurrentName()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getCurrentName</h4> <pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getCurrentName()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getCurrentName()">JsonParser</a></code></strong></div> <div class="block">Method that can be called to get the name associated with the current token: for <a href="../../../../org/codehaus/jackson/JsonToken.html#FIELD_NAME"><code>JsonToken.FIELD_NAME</code></a>s it will be the same as what <a href="../../../../org/codehaus/jackson/JsonParser.html#getText()"><code>JsonParser.getText()</code></a> returns; for field values it will be preceding field name; and for others (array values, root-level values) null.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#getCurrentName()">getCurrentName</a></code> in class <code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a></code></dd> </dl> </li> </ul> <a name="getText()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getText</h4> <pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getText()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getText()">JsonParser</a></code></strong></div> <div class="block">Method for accessing textual representation of the current token; if no current token (before first call to <a href="../../../../org/codehaus/jackson/JsonParser.html#nextToken()"><code>JsonParser.nextToken()</code></a>, or after encountering end-of-input), returns null. Method can be called for any token type.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#getText()">getText</a></code> in class <code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a></code></dd> </dl> </li> </ul> <a name="getTextCharacters()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getTextCharacters</h4> <pre>public char[] getTextCharacters()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()">JsonParser</a></code></strong></div> <div class="block">Method similar to <a href="../../../../org/codehaus/jackson/JsonParser.html#getText()"><code>JsonParser.getText()</code></a>, but that will return underlying (unmodifiable) character array that contains textual value, instead of constructing a String object to contain this information. Note, however, that: <ul> <li>Textual contents are not guaranteed to start at index 0 (rather, call <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextOffset()"><code>JsonParser.getTextOffset()</code></a>) to know the actual offset </li> <li>Length of textual contents may be less than the length of returned buffer: call <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextLength()"><code>JsonParser.getTextLength()</code></a> for actual length of returned content. </li> </ul> <p> Note that caller <b>MUST NOT</b> modify the returned character array in any way -- doing so may corrupt current parser state and render parser instance useless. <p> The only reason to call this method (over <a href="../../../../org/codehaus/jackson/JsonParser.html#getText()"><code>JsonParser.getText()</code></a>) is to avoid construction of a String object (which will make a copy of contents).</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#getTextCharacters()">getTextCharacters</a></code> in class <code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a></code></dd> </dl> </li> </ul> <a name="getTextLength()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getTextLength</h4> <pre>public int getTextLength()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getTextLength()">JsonParser</a></code></strong></div> <div class="block">Accessor used with <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()"><code>JsonParser.getTextCharacters()</code></a>, to know length of String stored in returned buffer.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#getTextLength()">getTextLength</a></code> in class <code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a></code></dd> <dt><span class="strong">Returns:</span></dt><dd>Number of characters within buffer returned by <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()"><code>JsonParser.getTextCharacters()</code></a> that are part of textual content of the current token.</dd></dl> </li> </ul> <a name="getTextOffset()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getTextOffset</h4> <pre>public int getTextOffset()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getTextOffset()">JsonParser</a></code></strong></div> <div class="block">Accessor used with <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()"><code>JsonParser.getTextCharacters()</code></a>, to know offset of the first text content character within buffer.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#getTextOffset()">getTextOffset</a></code> in class <code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a></code></dd> <dt><span class="strong">Returns:</span></dt><dd>Offset of the first character within buffer returned by <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()"><code>JsonParser.getTextCharacters()</code></a> that is part of textual content of the current token.</dd></dl> </li> </ul> <a name="hasTextCharacters()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>hasTextCharacters</h4> <pre>public boolean hasTextCharacters()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#hasTextCharacters()">JsonParser</a></code></strong></div> <div class="block">Method that can be used to determine whether calling of <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()"><code>JsonParser.getTextCharacters()</code></a> would be the most efficient way to access textual content for the event parser currently points to. <p> Default implementation simply returns false since only actual implementation class has knowledge of its internal buffering state. Implementations are strongly encouraged to properly override this method, to allow efficient copying of content by other code.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#hasTextCharacters()">hasTextCharacters</a></code> in class <code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a></code></dd> <dt><span class="strong">Returns:</span></dt><dd>True if parser currently has character array that can be efficiently returned via <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()"><code>JsonParser.getTextCharacters()</code></a>; false means that it may or may not exist</dd></dl> </li> </ul> <a name="getBigIntegerValue()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getBigIntegerValue</h4> <pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a> getBigIntegerValue() 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>, <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getBigIntegerValue()">JsonParser</a></code></strong></div> <div class="block">Numeric accessor that can be called when the current token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and it can not be used as a Java long primitive type due to its magnitude. It can also be called for <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a>; if so, it is equivalent to calling <a href="../../../../org/codehaus/jackson/JsonParser.html#getDecimalValue()"><code>JsonParser.getDecimalValue()</code></a> and then constructing a <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><code>BigInteger</code></a> from that value.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getBigIntegerValue()">getBigIntegerValue</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd> <dt><span class="strong">Throws:</span></dt> <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> <dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl> </li> </ul> <a name="getDecimalValue()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getDecimalValue</h4> <pre>public <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a> getDecimalValue() 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>, <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getDecimalValue()">JsonParser</a></code></strong></div> <div class="block">Numeric accessor that can be called when the current token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a> or <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a>. No under/overflow exceptions are ever thrown.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getDecimalValue()">getDecimalValue</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd> <dt><span class="strong">Throws:</span></dt> <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> <dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl> </li> </ul> <a name="getDoubleValue()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getDoubleValue</h4> <pre>public double getDoubleValue() 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>, <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getDoubleValue()">JsonParser</a></code></strong></div> <div class="block">Numeric accessor that can be called when the current token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a> and it can be expressed as a Java double primitive type. It can also be called for <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a>; if so, it is equivalent to calling <a href="../../../../org/codehaus/jackson/JsonParser.html#getLongValue()"><code>JsonParser.getLongValue()</code></a> and then casting; except for possible overflow/underflow exception. <p> Note: if the value falls outside of range of Java double, a <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson"><code>JsonParseException</code></a> will be thrown to indicate numeric overflow/underflow.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getDoubleValue()">getDoubleValue</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd> <dt><span class="strong">Throws:</span></dt> <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> <dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl> </li> </ul> <a name="getFloatValue()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getFloatValue</h4> <pre>public float getFloatValue() 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>, <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getFloatValue()">JsonParser</a></code></strong></div> <div class="block">Numeric accessor that can be called when the current token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a> and it can be expressed as a Java float primitive type. It can also be called for <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a>; if so, it is equivalent to calling <a href="../../../../org/codehaus/jackson/JsonParser.html#getLongValue()"><code>JsonParser.getLongValue()</code></a> and then casting; except for possible overflow/underflow exception. <p> Note: if the value falls outside of range of Java float, a <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson"><code>JsonParseException</code></a> will be thrown to indicate numeric overflow/underflow.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getFloatValue()">getFloatValue</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd> <dt><span class="strong">Throws:</span></dt> <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> <dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl> </li> </ul> <a name="getIntValue()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getIntValue</h4> <pre>public int getIntValue() 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>, <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getIntValue()">JsonParser</a></code></strong></div> <div class="block">Numeric accessor that can be called when the current token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and it can be expressed as a value of Java int primitive type. It can also be called for <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a>; if so, it is equivalent to calling <a href="../../../../org/codehaus/jackson/JsonParser.html#getDoubleValue()"><code>JsonParser.getDoubleValue()</code></a> and then casting; except for possible overflow/underflow exception. <p> Note: if the resulting integer value falls outside range of Java int, a <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson"><code>JsonParseException</code></a> may be thrown to indicate numeric overflow/underflow.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getIntValue()">getIntValue</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd> <dt><span class="strong">Throws:</span></dt> <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> <dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl> </li> </ul> <a name="getLongValue()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getLongValue</h4> <pre>public long getLongValue() 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>, <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getLongValue()">JsonParser</a></code></strong></div> <div class="block">Numeric accessor that can be called when the current token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and it can be expressed as a Java long primitive type. It can also be called for <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a>; if so, it is equivalent to calling <a href="../../../../org/codehaus/jackson/JsonParser.html#getDoubleValue()"><code>JsonParser.getDoubleValue()</code></a> and then casting to int; except for possible overflow/underflow exception. <p> Note: if the token is an integer, but its value falls outside of range of Java long, a <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson"><code>JsonParseException</code></a> may be thrown to indicate numeric overflow/underflow.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getLongValue()">getLongValue</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd> <dt><span class="strong">Throws:</span></dt> <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> <dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl> </li> </ul> <a name="getNumberType()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getNumberType</h4> <pre>public <a href="../../../../org/codehaus/jackson/JsonParser.NumberType.html" title="enum in org.codehaus.jackson">JsonParser.NumberType</a> getNumberType() 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>, <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getNumberType()">JsonParser</a></code></strong></div> <div class="block">If current token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> or <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a>, returns one of <a href="../../../../org/codehaus/jackson/JsonParser.NumberType.html" title="enum in org.codehaus.jackson"><code>JsonParser.NumberType</code></a> constants; otherwise returns null.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getNumberType()">getNumberType</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd> <dt><span class="strong">Throws:</span></dt> <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> <dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl> </li> </ul> <a name="getNumberValue()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getNumberValue</h4> <pre>public final <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a> getNumberValue() 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>, <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getNumberValue()">JsonParser</a></code></strong></div> <div class="block">Generic number value accessor method that will work for all kinds of numeric values. It will return the optimal (simplest/smallest possible) wrapper object that can express the numeric value just parsed.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getNumberValue()">getNumberValue</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd> <dt><span class="strong">Throws:</span></dt> <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> <dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl> </li> </ul> <a name="getEmbeddedObject()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getEmbeddedObject</h4> <pre>public <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> getEmbeddedObject()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getEmbeddedObject()">JsonParser</a></code></strong></div> <div class="block">Accessor that can be called if (and only if) the current token is <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_EMBEDDED_OBJECT"><code>JsonToken.VALUE_EMBEDDED_OBJECT</code></a>. For other token types, null is returned. <p> Note: only some specialized parser implementations support embedding of objects (usually ones that are facades on top of non-streaming sources, such as object trees).</div> <dl> <dt><strong>Overrides:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getEmbeddedObject()">getEmbeddedObject</a></code> in class <code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd> </dl> </li> </ul> <a name="getBinaryValue(org.codehaus.jackson.Base64Variant)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getBinaryValue</h4> <pre>public byte[] getBinaryValue(<a href="../../../../org/codehaus/jackson/Base64Variant.html" title="class in org.codehaus.jackson">Base64Variant</a> b64variant) 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>, <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/JsonParser.html#getBinaryValue(org.codehaus.jackson.Base64Variant)">JsonParser</a></code></strong></div> <div class="block">Method that can be used to read (and consume -- results may not be accessible using other methods after the call) base64-encoded binary data included in the current textual JSON value. It works similar to getting String value via <a href="../../../../org/codehaus/jackson/JsonParser.html#getText()"><code>JsonParser.getText()</code></a> and decoding result (except for decoding part), but should be significantly more performant. <p> Note that non-decoded textual contents of the current token are not guaranteed to be accessible after this method is called. Current implementation, for example, clears up textual content during decoding. Decoded binary content, however, will be retained until parser is advanced to the next event.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#getBinaryValue(org.codehaus.jackson.Base64Variant)">getBinaryValue</a></code> in class <code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>b64variant</code> - Expected variant of base64 encoded content (see <a href="../../../../org/codehaus/jackson/Base64Variants.html" title="class in org.codehaus.jackson"><code>Base64Variants</code></a> for definitions of "standard" variants).</dd> <dt><span class="strong">Returns:</span></dt><dd>Decoded binary data</dd> <dt><span class="strong">Throws:</span></dt> <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> <dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl> </li> </ul> <a name="_currentObject()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>_currentObject</h4> <pre>protected final <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> _currentObject()</pre> </li> </ul> <a name="_checkIsNumber()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>_checkIsNumber</h4> <pre>protected final void _checkIsNumber() throws <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre> <dl><dt><span class="strong">Throws:</span></dt> <dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl> </li> </ul> <a name="_handleEOF()"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>_handleEOF</h4> <pre>protected void _handleEOF() throws <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_handleEOF()">JsonParserMinimalBase</a></code></strong></div> <div class="block">Method sub-classes need to implement</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html#_handleEOF()">_handleEOF</a></code> in class <code><a href="../../../../org/codehaus/jackson/impl/JsonParserMinimalBase.html" title="class in org.codehaus.jackson.impl">JsonParserMinimalBase</a></code></dd> <dt><span class="strong">Throws:</span></dt> <dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/TokenBuffer.Parser.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li><a href="../../../../org/codehaus/jackson/util/TokenBuffer.html" title="class in org.codehaus.jackson.util"><span class="strong">Prev Class</span></a></li> <li><a href="../../../../org/codehaus/jackson/util/TokenBuffer.Segment.html" title="class in org.codehaus.jackson.util"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/codehaus/jackson/util/TokenBuffer.Parser.html" target="_top">Frames</a></li> <li><a href="TokenBuffer.Parser.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li><a href="#nested_classes_inherited_from_class_org.codehaus.jackson.JsonParser">Nested</a> | </li> <li><a href="#field_summary">Field</a> | </li> <li><a href="#constructor_summary">Constr</a> | </li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li><a href="#field_detail">Field</a> | </li> <li><a href="#constructor_detail">Constr</a> | </li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> </body> </html>