| <!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 (9.0.1) on Fri Dec 28 04:30:56 EST 2018 --> | |
| <title>JsonParserImpl (JSR 374 (JSON Processing) Default Provider 1.1.5 API)</title> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <meta name="date" content="2018-12-28"> | |
| <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> | |
| <link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style"> | |
| <script type="text/javascript" src="../../../script.js"></script> | |
| <script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script> | |
| <script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> | |
| <!--[if IE]> | |
| <script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> | |
| <![endif]--> | |
| <script type="text/javascript" src="../../../jquery/jquery-1.10.2.js"></script> | |
| <script type="text/javascript" src="../../../jquery/jquery-ui.js"></script> | |
| </head> | |
| <body> | |
| <script type="text/javascript"><!-- | |
| try { | |
| if (location.href.indexOf('is-external=true') == -1) { | |
| parent.document.title="JsonParserImpl (JSR 374 (JSON Processing) Default Provider 1.1.5 API)"; | |
| } | |
| } | |
| catch(err) { | |
| } | |
| //--> | |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10}; | |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; | |
| var altColor = "altColor"; | |
| var rowColor = "rowColor"; | |
| var tableTab = "tableTab"; | |
| var activeTableTab = "activeTableTab"; | |
| var pathtoroot = "../../../";loadScripts(document, 'script');</script> | |
| <noscript> | |
| <div>JavaScript is disabled on your browser.</div> | |
| </noscript> | |
| <div class="fixedNav"> | |
| <!-- ========= START OF TOP NAVBAR ======= --> | |
| <div class="topNav"><a name="navbar.top"> | |
| <!-- --> | |
| </a> | |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> | |
| <a name="navbar.top.firstrow"> | |
| <!-- --> | |
| </a> | |
| <ul class="navList" title="Navigation"> | |
| <li><a href="../../../overview-summary.html">Overview</a></li> | |
| <li><a href="../../../org.glassfish.java.json-summary.html">Module</a></li> | |
| <li><a href="package-summary.html">Package</a></li> | |
| <li class="navBarCell1Rev">Class</li> | |
| <li><a href="class-use/JsonParserImpl.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/glassfish/json/JsonMergePatchImpl.html" title="class in org.glassfish.json"><span class="typeNameLink">Prev Class</span></a></li> | |
| <li><a href="../../../org/glassfish/json/JsonPatchBuilderImpl.html" title="class in org.glassfish.json"><span class="typeNameLink">Next Class</span></a></li> | |
| </ul> | |
| <ul class="navList"> | |
| <li><a href="../../../index.html?org/glassfish/json/JsonParserImpl.html" target="_top">Frames</a></li> | |
| <li><a href="JsonParserImpl.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> | |
| <ul class="navListSearch"> | |
| <li><span>SEARCH: </span> | |
| <input type="text" id="search" value=" " disabled="disabled"> | |
| <input type="reset" id="reset" value=" " disabled="disabled"> | |
| </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> | |
| <noscript> | |
| <div>JavaScript is disabled on your browser.</div> | |
| </noscript> | |
| </div> | |
| <div> | |
| <ul class="subNavList"> | |
| <li>Summary: </li> | |
| <li>Nested | </li> | |
| <li>Field | </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>Field | </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 ========= --> | |
| </div> | |
| <div class="navPadding"> </div> | |
| <script type="text/javascript"><!-- | |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); | |
| //--> | |
| </script> | |
| <!-- ======== START OF CLASS DATA ======== --> | |
| <div class="header"> | |
| <div class="subTitle"><span class="moduleLabelInType">Module</span> <a href="../../../org.glassfish.java.json-summary.html">org.glassfish.java.json</a></div> | |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="../../../org/glassfish/json/package-summary.html">org.glassfish.json</a></div> | |
| <h2 title="Class JsonParserImpl" class="title">Class JsonParserImpl</h2> | |
| </div> | |
| <div class="contentContainer"> | |
| <ul class="inheritance"> | |
| <li><a href="https://docs.oracle.com/javase/8/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>org.glassfish.json.JsonParserImpl</li> | |
| </ul> | |
| </li> | |
| </ul> | |
| <div class="description"> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <dl> | |
| <dt>All Implemented Interfaces:</dt> | |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code>, <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| </dl> | |
| <hr> | |
| <br> | |
| <pre>public class <span class="typeNameLabel">JsonParserImpl</span> | |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> | |
| implements <a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></pre> | |
| <div class="block">JSON parser implementation. NoneContext, ArrayContext, ObjectContext is used | |
| to go to next parser state.</div> | |
| <dl> | |
| <dt><span class="simpleTagLabel">Author:</span></dt> | |
| <dd>Jitendra Kotamraju, Kin-man Chung</dd> | |
| </dl> | |
| </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.javax.json.stream.JsonParser"> | |
| <!-- --> | |
| </a> | |
| <h3>Nested classes/interfaces inherited from interface javax.json.stream.<a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></h3> | |
| <code><a href="../../../javax/json/stream/JsonParser.Event.html" title="enum in javax.json.stream">JsonParser.Event</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="memberSummary" summary="Constructor Summary table, listing constructors, and an explanation"> | |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> | |
| <tr> | |
| <th class="colFirst" scope="col">Constructor</th> | |
| <th class="colLast" scope="col">Description</th> | |
| </tr> | |
| <tr class="altColor"> | |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#JsonParserImpl-java.io.InputStream-java.nio.charset.Charset-org.glassfish.json.api.BufferPool-">JsonParserImpl</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> in, | |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a> encoding, | |
| <a href="../../../org/glassfish/json/api/BufferPool.html" title="interface in org.glassfish.json.api">BufferPool</a> bufferPool)</code></th> | |
| <td class="colLast"> </td> | |
| </tr> | |
| <tr class="rowColor"> | |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#JsonParserImpl-java.io.InputStream-org.glassfish.json.api.BufferPool-">JsonParserImpl</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> in, | |
| <a href="../../../org/glassfish/json/api/BufferPool.html" title="interface in org.glassfish.json.api">BufferPool</a> bufferPool)</code></th> | |
| <td class="colLast"> </td> | |
| </tr> | |
| <tr class="altColor"> | |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#JsonParserImpl-java.io.Reader-org.glassfish.json.api.BufferPool-">JsonParserImpl</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> reader, | |
| <a href="../../../org/glassfish/json/api/BufferPool.html" title="interface in org.glassfish.json.api">BufferPool</a> bufferPool)</code></th> | |
| <td class="colLast"> </td> | |
| </tr> | |
| </table> | |
| </li> | |
| </ul> | |
| <!-- ========== METHOD SUMMARY =========== --> | |
| <ul class="blockList"> | |
| <li class="blockList"><a name="method.summary"> | |
| <!-- --> | |
| </a> | |
| <h3>Method Summary</h3> | |
| <table class="memberSummary" summary="Method Summary table, listing methods, and an explanation"> | |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> | |
| <tr> | |
| <th class="colFirst" scope="col">Modifier and Type</th> | |
| <th class="colSecond" scope="col">Method</th> | |
| <th class="colLast" scope="col">Description</th> | |
| </tr> | |
| <tr id="i0" class="altColor"> | |
| <td class="colFirst"><code>void</code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#close--">close</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Closes this parser and frees any resources associated with the | |
| parser.</div> | |
| </td> | |
| </tr> | |
| <tr id="i1" class="rowColor"> | |
| <td class="colFirst"><code><a href="../../../javax/json/JsonArray.html" title="interface in javax.json">JsonArray</a></code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getArray--">getArray</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Returns a <code>JsonArray</code> and advance the parser to the | |
| the corresponding <code>END_ARRAY</code>.</div> | |
| </td> | |
| </tr> | |
| <tr id="i2" class="altColor"> | |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="../../../javax/json/JsonValue.html" title="interface in javax.json">JsonValue</a>></code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getArrayStream--">getArrayStream</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Returns a stream of the <code>JsonArray</code> elements.</div> | |
| </td> | |
| </tr> | |
| <tr id="i3" class="rowColor"> | |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a></code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getBigDecimal--">getBigDecimal</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Returns a JSON number as a <code>BigDecimal</code>.</div> | |
| </td> | |
| </tr> | |
| <tr id="i4" class="altColor"> | |
| <td class="colFirst"><code>int</code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getInt--">getInt</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Returns a JSON number as an integer.</div> | |
| </td> | |
| </tr> | |
| <tr id="i5" class="rowColor"> | |
| <td class="colFirst"><code><a href="../../../javax/json/stream/JsonLocation.html" title="interface in javax.json.stream">JsonLocation</a></code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getLastCharLocation--">getLastCharLocation</a></span>​()</code></th> | |
| <td class="colLast"> </td> | |
| </tr> | |
| <tr id="i6" class="altColor"> | |
| <td class="colFirst"><code><a href="../../../javax/json/stream/JsonLocation.html" title="interface in javax.json.stream">JsonLocation</a></code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getLocation--">getLocation</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Return the location that corresponds to the parser's current state in | |
| the JSON input source.</div> | |
| </td> | |
| </tr> | |
| <tr id="i7" class="rowColor"> | |
| <td class="colFirst"><code>long</code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getLong--">getLong</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Returns a JSON number as a long.</div> | |
| </td> | |
| </tr> | |
| <tr id="i8" class="altColor"> | |
| <td class="colFirst"><code><a href="../../../javax/json/JsonObject.html" title="interface in javax.json">JsonObject</a></code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getObject--">getObject</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Returns a <code>JsonObject</code> and advances the parser to the | |
| corresponding <code>END_OBJECT</code>.</div> | |
| </td> | |
| </tr> | |
| <tr id="i9" class="rowColor"> | |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../javax/json/JsonValue.html" title="interface in javax.json">JsonValue</a>>></code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getObjectStream--">getObjectStream</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Returns a stream of the <code>JsonObject</code>'s | |
| name/value pairs.</div> | |
| </td> | |
| </tr> | |
| <tr id="i10" class="altColor"> | |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getString--">getString</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Returns a <code>String</code> for the name in a name/value pair, | |
| for a string value or a number value.</div> | |
| </td> | |
| </tr> | |
| <tr id="i11" class="rowColor"> | |
| <td class="colFirst"><code><a href="../../../javax/json/JsonValue.html" title="interface in javax.json">JsonValue</a></code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getValue--">getValue</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Returns a <code>JsonValue</code> at the current parser position.</div> | |
| </td> | |
| </tr> | |
| <tr id="i12" class="altColor"> | |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="../../../javax/json/JsonValue.html" title="interface in javax.json">JsonValue</a>></code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#getValueStream--">getValueStream</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Returns a stream of <code>JsonValue</code> from a sequence of | |
| JSON values.</div> | |
| </td> | |
| </tr> | |
| <tr id="i13" class="rowColor"> | |
| <td class="colFirst"><code>boolean</code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#hasNext--">hasNext</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Returns <code>true</code> if there are more parsing states.</div> | |
| </td> | |
| </tr> | |
| <tr id="i14" class="altColor"> | |
| <td class="colFirst"><code>boolean</code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#isIntegralNumber--">isIntegralNumber</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Returns true if the JSON number at the current parser state is a | |
| integral number.</div> | |
| </td> | |
| </tr> | |
| <tr id="i15" class="rowColor"> | |
| <td class="colFirst"><code><a href="../../../javax/json/stream/JsonParser.Event.html" title="enum in javax.json.stream">JsonParser.Event</a></code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#next--">next</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Returns the event for the next parsing state.</div> | |
| </td> | |
| </tr> | |
| <tr id="i16" class="altColor"> | |
| <td class="colFirst"><code>void</code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#skipArray--">skipArray</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Advance the parser to <code>END_ARRAY</code>.</div> | |
| </td> | |
| </tr> | |
| <tr id="i17" class="rowColor"> | |
| <td class="colFirst"><code>void</code></td> | |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../org/glassfish/json/JsonParserImpl.html#skipObject--">skipObject</a></span>​()</code></th> | |
| <td class="colLast"> | |
| <div class="block">Advance the parser to <code>END_OBJECT</code>.</div> | |
| </td> | |
| </tr> | |
| </table> | |
| <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="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> | |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/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"> | |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> | |
| <ul class="blockList"> | |
| <li class="blockList"><a name="constructor.detail"> | |
| <!-- --> | |
| </a> | |
| <h3>Constructor Detail</h3> | |
| <a name="JsonParserImpl-java.io.Reader-org.glassfish.json.api.BufferPool-"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>JsonParserImpl</h4> | |
| <pre>public JsonParserImpl​(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> reader, | |
| <a href="../../../org/glassfish/json/api/BufferPool.html" title="interface in org.glassfish.json.api">BufferPool</a> bufferPool)</pre> | |
| </li> | |
| </ul> | |
| <a name="JsonParserImpl-java.io.InputStream-org.glassfish.json.api.BufferPool-"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>JsonParserImpl</h4> | |
| <pre>public JsonParserImpl​(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> in, | |
| <a href="../../../org/glassfish/json/api/BufferPool.html" title="interface in org.glassfish.json.api">BufferPool</a> bufferPool)</pre> | |
| </li> | |
| </ul> | |
| <a name="JsonParserImpl-java.io.InputStream-java.nio.charset.Charset-org.glassfish.json.api.BufferPool-"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockListLast"> | |
| <li class="blockList"> | |
| <h4>JsonParserImpl</h4> | |
| <pre>public JsonParserImpl​(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> in, | |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html?is-external=true" title="class or interface in java.nio.charset">Charset</a> encoding, | |
| <a href="../../../org/glassfish/json/api/BufferPool.html" title="interface in org.glassfish.json.api">BufferPool</a> bufferPool)</pre> | |
| </li> | |
| </ul> | |
| </li> | |
| </ul> | |
| <!-- ============ METHOD DETAIL ========== --> | |
| <ul class="blockList"> | |
| <li class="blockList"><a name="method.detail"> | |
| <!-- --> | |
| </a> | |
| <h3>Method Detail</h3> | |
| <a name="getString--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getString</h4> | |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getString​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#getString--">JsonParser</a></code></span></div> | |
| <div class="block">Returns a <code>String</code> for the name in a name/value pair, | |
| for a string value or a number value. This method should only be called | |
| when the parser state is <a href="../../../javax/json/stream/JsonParser.Event.html#KEY_NAME"><code>JsonParser.Event.KEY_NAME</code></a>, <a href="../../../javax/json/stream/JsonParser.Event.html#VALUE_STRING"><code>JsonParser.Event.VALUE_STRING</code></a>, | |
| or <a href="../../../javax/json/stream/JsonParser.Event.html#VALUE_NUMBER"><code>JsonParser.Event.VALUE_NUMBER</code></a>.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#getString--">getString</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>a name when the parser state is <a href="../../../javax/json/stream/JsonParser.Event.html#KEY_NAME"><code>JsonParser.Event.KEY_NAME</code></a> | |
| a string value when the parser state is <a href="../../../javax/json/stream/JsonParser.Event.html#VALUE_STRING"><code>JsonParser.Event.VALUE_STRING</code></a> | |
| a number value when the parser state is <a href="../../../javax/json/stream/JsonParser.Event.html#VALUE_NUMBER"><code>JsonParser.Event.VALUE_NUMBER</code></a></dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="isIntegralNumber--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>isIntegralNumber</h4> | |
| <pre>public boolean isIntegralNumber​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#isIntegralNumber--">JsonParser</a></code></span></div> | |
| <div class="block">Returns true if the JSON number at the current parser state is a | |
| integral number. A <a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a> may be used to store the value | |
| internally and this method semantics are defined using its | |
| <code>scale()</code>. If the scale is zero, then it is considered integral | |
| type. This integral type information can be used to invoke an | |
| appropriate accessor method to obtain a numeric value as in the | |
| following example: | |
| <pre> | |
| <code> | |
| JsonParser parser = ... | |
| if (parser.isIntegralNumber()) { | |
| parser.getInt(); // or other methods to get integral value | |
| } else { | |
| parser.getBigDecimal(); | |
| } | |
| </code> | |
| </pre></div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#isIntegralNumber--">isIntegralNumber</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>true if this number is a integral number, otherwise false</dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="getInt--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getInt</h4> | |
| <pre>public int getInt​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#getInt--">JsonParser</a></code></span></div> | |
| <div class="block">Returns a JSON number as an integer. The returned value is equal | |
| to <code>new BigDecimal(getString()).intValue()</code>. Note that | |
| this conversion can lose information about the overall magnitude | |
| and precision of the number value as well as return a result with | |
| the opposite sign. This method should only be called when the parser | |
| state is <a href="../../../javax/json/stream/JsonParser.Event.html#VALUE_NUMBER"><code>JsonParser.Event.VALUE_NUMBER</code></a>.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#getInt--">getInt</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>an integer for a JSON number</dd> | |
| <dt><span class="seeLabel">See Also:</span></dt> | |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true#intValue--" title="class or interface in java.math"><code>BigDecimal.intValue()</code></a></dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="getLong--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getLong</h4> | |
| <pre>public long getLong​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#getLong--">JsonParser</a></code></span></div> | |
| <div class="block">Returns a JSON number as a long. The returned value is equal | |
| to <code>new BigDecimal(getString()).longValue()</code>. Note that this | |
| conversion can lose information about the overall magnitude and | |
| precision of the number value as well as return a result with | |
| the opposite sign. This method is only called when the parser state is | |
| <a href="../../../javax/json/stream/JsonParser.Event.html#VALUE_NUMBER"><code>JsonParser.Event.VALUE_NUMBER</code></a>.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#getLong--">getLong</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>a long for a JSON number</dd> | |
| <dt><span class="seeLabel">See Also:</span></dt> | |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true#longValue--" title="class or interface in java.math"><code>BigDecimal.longValue()</code></a></dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="getBigDecimal--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getBigDecimal</h4> | |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a> getBigDecimal​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#getBigDecimal--">JsonParser</a></code></span></div> | |
| <div class="block">Returns a JSON number as a <code>BigDecimal</code>. The <code>BigDecimal</code> | |
| is created using <code>new BigDecimal(getString())</code>. This | |
| method should only called when the parser state is | |
| <a href="../../../javax/json/stream/JsonParser.Event.html#VALUE_NUMBER"><code>JsonParser.Event.VALUE_NUMBER</code></a>.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#getBigDecimal--">getBigDecimal</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>a <code>BigDecimal</code> for a JSON number</dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="getArray--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getArray</h4> | |
| <pre>public <a href="../../../javax/json/JsonArray.html" title="interface in javax.json">JsonArray</a> getArray​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#getArray--">JsonParser</a></code></span></div> | |
| <div class="block">Returns a <code>JsonArray</code> and advance the parser to the | |
| the corresponding <code>END_ARRAY</code>.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#getArray--">getArray</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>the <code>JsonArray</code> at the current parser position</dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="getObject--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getObject</h4> | |
| <pre>public <a href="../../../javax/json/JsonObject.html" title="interface in javax.json">JsonObject</a> getObject​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#getObject--">JsonParser</a></code></span></div> | |
| <div class="block">Returns a <code>JsonObject</code> and advances the parser to the | |
| corresponding <code>END_OBJECT</code>.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#getObject--">getObject</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>the <code>JsonObject</code> at the current parser position</dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="getValue--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getValue</h4> | |
| <pre>public <a href="../../../javax/json/JsonValue.html" title="interface in javax.json">JsonValue</a> getValue​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#getValue--">JsonParser</a></code></span></div> | |
| <div class="block">Returns a <code>JsonValue</code> at the current parser position. | |
| If the parser state is <code>START_ARRAY</code>, the behavior is | |
| the same as <a href="../../../javax/json/stream/JsonParser.html#getArray--"><code>JsonParser.getArray()</code></a>. If the parser state is | |
| <code>START_OBJECT</code>, the behavior is the same as | |
| <a href="../../../javax/json/stream/JsonParser.html#getObject--"><code>JsonParser.getObject()</code></a>. For all other cases, if applicable, the JSON value is | |
| read and returned.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#getValue--">getValue</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>the <code>JsonValue</code> at the current parser position.</dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="getArrayStream--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getArrayStream</h4> | |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="../../../javax/json/JsonValue.html" title="interface in javax.json">JsonValue</a>> getArrayStream​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#getArrayStream--">JsonParser</a></code></span></div> | |
| <div class="block">Returns a stream of the <code>JsonArray</code> elements. | |
| The parser state must be <code>START_ARRAY</code>. | |
| The elements are read lazily, on an as-needed basis, as | |
| required by the stream operations. | |
| If the stream operations do not consume | |
| all of the array elements, <a href="../../../javax/json/stream/JsonParser.html#skipArray--"><code>JsonParser.skipArray()</code></a> can be used to | |
| skip the unprocessed array elements.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#getArrayStream--">getArrayStream</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>a stream of elements of the <code>JsonArray</code></dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="getObjectStream--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getObjectStream</h4> | |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../javax/json/JsonValue.html" title="interface in javax.json">JsonValue</a>>> getObjectStream​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#getObjectStream--">JsonParser</a></code></span></div> | |
| <div class="block">Returns a stream of the <code>JsonObject</code>'s | |
| name/value pairs. The parser state must be <code>START_OBJECT</code>. | |
| The name/value pairs are read lazily, on an as-needed basis, as | |
| required by the stream operations. | |
| If the stream operations do not consume | |
| all of the object's name/value pairs, <a href="../../../javax/json/stream/JsonParser.html#skipObject--"><code>JsonParser.skipObject()</code></a> can be | |
| used to skip the unprocessed elements.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#getObjectStream--">getObjectStream</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>a stream of name/value pairs of the <code>JsonObject</code></dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="getValueStream--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getValueStream</h4> | |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true" title="class or interface in java.util.stream">Stream</a><<a href="../../../javax/json/JsonValue.html" title="interface in javax.json">JsonValue</a>> getValueStream​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#getValueStream--">JsonParser</a></code></span></div> | |
| <div class="block">Returns a stream of <code>JsonValue</code> from a sequence of | |
| JSON values. The values are read lazily, on an as-needed basis, | |
| as needed by the stream operations.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#getValueStream--">getValueStream</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>a Stream of <code>JsonValue</code></dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="skipArray--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>skipArray</h4> | |
| <pre>public void skipArray​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#skipArray--">JsonParser</a></code></span></div> | |
| <div class="block">Advance the parser to <code>END_ARRAY</code>. | |
| If the parser is in array context, i.e. it has previously | |
| encountered a <code>START_ARRAY</code> without encountering the | |
| corresponding <code>END_ARRAY</code>, the parser is advanced to | |
| the corresponding <code>END_ARRAY</code>. | |
| If the parser is not in any array context, nothing happens.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#skipArray--">skipArray</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="skipObject--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>skipObject</h4> | |
| <pre>public void skipObject​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#skipObject--">JsonParser</a></code></span></div> | |
| <div class="block">Advance the parser to <code>END_OBJECT</code>. | |
| If the parser is in object context, i.e. it has previously | |
| encountered a <code>START_OBJECT</code> without encountering the | |
| corresponding <code>END_OBJECT</code>, the parser is advanced to | |
| the corresponding <code>END_OBJECT</code>. | |
| If the parser is not in any object context, nothing happens.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#skipObject--">skipObject</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="getLocation--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getLocation</h4> | |
| <pre>public <a href="../../../javax/json/stream/JsonLocation.html" title="interface in javax.json.stream">JsonLocation</a> getLocation​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#getLocation--">JsonParser</a></code></span></div> | |
| <div class="block">Return the location that corresponds to the parser's current state in | |
| the JSON input source. The location information is only valid in the | |
| current parser state (or until the parser is advanced to a next state).</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#getLocation--">getLocation</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>a non-null location corresponding to the current parser state | |
| in JSON input source</dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="getLastCharLocation--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>getLastCharLocation</h4> | |
| <pre>public <a href="../../../javax/json/stream/JsonLocation.html" title="interface in javax.json.stream">JsonLocation</a> getLastCharLocation​()</pre> | |
| </li> | |
| </ul> | |
| <a name="hasNext--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>hasNext</h4> | |
| <pre>public boolean hasNext​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#hasNext--">JsonParser</a></code></span></div> | |
| <div class="block">Returns <code>true</code> if there are more parsing states. This method returns | |
| <code>false</code> if the parser reaches the end of the JSON text.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#hasNext--">hasNext</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd><code>true</code> if there are more parsing states.</dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="next--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockList"> | |
| <li class="blockList"> | |
| <h4>next</h4> | |
| <pre>public <a href="../../../javax/json/stream/JsonParser.Event.html" title="enum in javax.json.stream">JsonParser.Event</a> next​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#next--">JsonParser</a></code></span></div> | |
| <div class="block">Returns the event for the next parsing state.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#next--">next</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</a></code></dd> | |
| <dt><span class="returnLabel">Returns:</span></dt> | |
| <dd>the event for the next parsing state</dd> | |
| </dl> | |
| </li> | |
| </ul> | |
| <a name="close--"> | |
| <!-- --> | |
| </a> | |
| <ul class="blockListLast"> | |
| <li class="blockList"> | |
| <h4>close</h4> | |
| <pre>public void close​()</pre> | |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../javax/json/stream/JsonParser.html#close--">JsonParser</a></code></span></div> | |
| <div class="block">Closes this parser and frees any resources associated with the | |
| parser. This method closes the underlying input source.</div> | |
| <dl> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="https://docs.oracle.com/javase/8/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="https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd> | |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> | |
| <dd><code><a href="../../../javax/json/stream/JsonParser.html#close--">close</a></code> in interface <code><a href="../../../javax/json/stream/JsonParser.html" title="interface in javax.json.stream">JsonParser</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> | |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> | |
| <a name="navbar.bottom.firstrow"> | |
| <!-- --> | |
| </a> | |
| <ul class="navList" title="Navigation"> | |
| <li><a href="../../../overview-summary.html">Overview</a></li> | |
| <li><a href="../../../org.glassfish.java.json-summary.html">Module</a></li> | |
| <li><a href="package-summary.html">Package</a></li> | |
| <li class="navBarCell1Rev">Class</li> | |
| <li><a href="class-use/JsonParserImpl.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/glassfish/json/JsonMergePatchImpl.html" title="class in org.glassfish.json"><span class="typeNameLink">Prev Class</span></a></li> | |
| <li><a href="../../../org/glassfish/json/JsonPatchBuilderImpl.html" title="class in org.glassfish.json"><span class="typeNameLink">Next Class</span></a></li> | |
| </ul> | |
| <ul class="navList"> | |
| <li><a href="../../../index.html?org/glassfish/json/JsonParserImpl.html" target="_top">Frames</a></li> | |
| <li><a href="JsonParserImpl.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> | |
| <noscript> | |
| <div>JavaScript is disabled on your browser.</div> | |
| </noscript> | |
| </div> | |
| <div> | |
| <ul class="subNavList"> | |
| <li>Summary: </li> | |
| <li>Nested | </li> | |
| <li>Field | </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>Field | </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 ======= --> | |
| <p class="legalCopy"><small>Copyright © 2012-2018, <a href="http://www.oracle.com">Oracle</a> and/or its affiliates. All Rights Reserved. Use is subject to <a href="../../../doc-files/speclicense.html" target="_top">license terms</a>. <br>Comments to : jsonp-dev@eclipse.org</small></p> | |
| </body> | |
| </html> |