source: sandbox/expresso-solr/solr/docs/api/org/apache/noggit/JSONParser.html @ 7588

Revision 7588, 42.0 KB checked in by adir, 11 years ago (diff)

Ticket #000 - Adicionando a integracao de buscas com Solr na base a ser isnerida na comunidade

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.6.0_24) on Mon Jun 25 15:26:26 EDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=utf-8">
7<TITLE>
8JSONParser (Solr 4.0.0-ALPHA API)
9</TITLE>
10
11<META NAME="date" CONTENT="2012-06-25">
12
13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
14
15<SCRIPT type="text/javascript">
16function windowTitle()
17{
18    if (location.href.indexOf('is-external=true') == -1) {
19        parent.document.title="JSONParser (Solr 4.0.0-ALPHA API)";
20    }
21}
22</SCRIPT>
23<NOSCRIPT>
24</NOSCRIPT>
25
26</HEAD>
27
28<BODY BGCOLOR="white" onload="windowTitle();">
29<HR>
30
31
32<!-- ========= START OF TOP NAVBAR ======= -->
33<A NAME="navbar_top"><!-- --></A>
34<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
36<TR>
37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38<A NAME="navbar_top_firstrow"><!-- --></A>
39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40  <TR ALIGN="center" VALIGN="top">
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JSONParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48  </TR>
49</TABLE>
50</TD>
51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52</EM>
53</TD>
54</TR>
55
56<TR>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58&nbsp;<A HREF="../../../org/apache/noggit/CharUtil.html" title="class in org.apache.noggit"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../org/apache/noggit/JSONParser.ParseException.html" title="class in org.apache.noggit"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../index.html?org/apache/noggit/JSONParser.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="JSONParser.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<SCRIPT type="text/javascript">
64  <!--
65  if(window==top) {
66    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
67  }
68  //-->
69</SCRIPT>
70<NOSCRIPT>
71  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72</NOSCRIPT>
73
74
75</FONT></TD>
76</TR>
77<TR>
78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82</TR>
83</TABLE>
84<A NAME="skip-navbar_top"></A>
85<!-- ========= END OF TOP NAVBAR ========= -->
86
87<HR>
88<!-- ======== START OF CLASS DATA ======== -->
89<H2>
90<FONT SIZE="-1">
91org.apache.noggit</FONT>
92<BR>
93Class JSONParser</H2>
94<PRE>
95<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.apache.noggit.JSONParser</B>
97</PRE>
98<HR>
99<DL>
100<DT><PRE>public class <B>JSONParser</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
101</PRE>
102
103<P>
104<HR>
105
106<P>
107<!-- ======== NESTED CLASS SUMMARY ======== -->
108
109<A NAME="nested_class_summary"><!-- --></A>
110<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
112<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
113<B>Nested Class Summary</B></FONT></TH>
114</TR>
115<TR BGCOLOR="white" CLASS="TableRowColor">
116<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
117<CODE>static&nbsp;class</CODE></FONT></TD>
118<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.ParseException.html" title="class in org.apache.noggit">JSONParser.ParseException</A></B></CODE>
119
120<BR>
121&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
122</TR>
123</TABLE>
124&nbsp;<!-- =========== FIELD SUMMARY =========== -->
125
126<A NAME="field_summary"><!-- --></A>
127<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
128<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
129<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
130<B>Field Summary</B></FONT></TH>
131</TR>
132<TR BGCOLOR="white" CLASS="TableRowColor">
133<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134<CODE>static&nbsp;int</CODE></FONT></TD>
135<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#ARRAY_END">ARRAY_END</A></B></CODE>
136
137<BR>
138&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Event indicating the end of a JSON array</TD>
139</TR>
140<TR BGCOLOR="white" CLASS="TableRowColor">
141<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142<CODE>static&nbsp;int</CODE></FONT></TD>
143<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#ARRAY_START">ARRAY_START</A></B></CODE>
144
145<BR>
146&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Event indicating the start of a JSON array</TD>
147</TR>
148<TR BGCOLOR="white" CLASS="TableRowColor">
149<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150<CODE>static&nbsp;int</CODE></FONT></TD>
151<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#BIGNUMBER">BIGNUMBER</A></B></CODE>
152
153<BR>
154&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Event indicating a JSON number value that was not produced by toString of any
155 Java primitive numerics such as Double or Long.</TD>
156</TR>
157<TR BGCOLOR="white" CLASS="TableRowColor">
158<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159<CODE>static&nbsp;int</CODE></FONT></TD>
160<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#BOOLEAN">BOOLEAN</A></B></CODE>
161
162<BR>
163&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Event indicating a JSON boolean</TD>
164</TR>
165<TR BGCOLOR="white" CLASS="TableRowColor">
166<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167<CODE>static&nbsp;int</CODE></FONT></TD>
168<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#EOF">EOF</A></B></CODE>
169
170<BR>
171&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Event indicating the end of input has been reached</TD>
172</TR>
173<TR BGCOLOR="white" CLASS="TableRowColor">
174<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175<CODE>static&nbsp;int</CODE></FONT></TD>
176<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#LONG">LONG</A></B></CODE>
177
178<BR>
179&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Event indicating a JSON number value which fits into a signed 64 bit integer</TD>
180</TR>
181<TR BGCOLOR="white" CLASS="TableRowColor">
182<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183<CODE>static&nbsp;int</CODE></FONT></TD>
184<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#NULL">NULL</A></B></CODE>
185
186<BR>
187&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Event indicating a JSON null</TD>
188</TR>
189<TR BGCOLOR="white" CLASS="TableRowColor">
190<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191<CODE>static&nbsp;int</CODE></FONT></TD>
192<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#NUMBER">NUMBER</A></B></CODE>
193
194<BR>
195&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Event indicating a JSON number value which has a fractional part or an exponent
196 and with string length <= 23 chars not including sign.</TD>
197</TR>
198<TR BGCOLOR="white" CLASS="TableRowColor">
199<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
200<CODE>static&nbsp;int</CODE></FONT></TD>
201<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#OBJECT_END">OBJECT_END</A></B></CODE>
202
203<BR>
204&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Event indicating the end of a JSON object</TD>
205</TR>
206<TR BGCOLOR="white" CLASS="TableRowColor">
207<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
208<CODE>static&nbsp;int</CODE></FONT></TD>
209<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#OBJECT_START">OBJECT_START</A></B></CODE>
210
211<BR>
212&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Event indicating the start of a JSON object</TD>
213</TR>
214<TR BGCOLOR="white" CLASS="TableRowColor">
215<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
216<CODE>static&nbsp;int</CODE></FONT></TD>
217<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#STRING">STRING</A></B></CODE>
218
219<BR>
220&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Event indicating a JSON string value, including member names of objects</TD>
221</TR>
222</TABLE>
223&nbsp;
224<!-- ======== CONSTRUCTOR SUMMARY ======== -->
225
226<A NAME="constructor_summary"><!-- --></A>
227<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
228<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
229<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
230<B>Constructor Summary</B></FONT></TH>
231</TR>
232<TR BGCOLOR="white" CLASS="TableRowColor">
233<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#JSONParser(char[], int, int)">JSONParser</A></B>(char[]&nbsp;data,
234           int&nbsp;start,
235           int&nbsp;end)</CODE>
236
237<BR>
238&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
239</TR>
240<TR BGCOLOR="white" CLASS="TableRowColor">
241<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#JSONParser(java.io.Reader)">JSONParser</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;in)</CODE>
242
243<BR>
244&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
245</TR>
246<TR BGCOLOR="white" CLASS="TableRowColor">
247<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#JSONParser(java.io.Reader, char[])">JSONParser</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;in,
248           char[]&nbsp;buffer)</CODE>
249
250<BR>
251&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
252</TR>
253<TR BGCOLOR="white" CLASS="TableRowColor">
254<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#JSONParser(java.lang.String)">JSONParser</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;data)</CODE>
255
256<BR>
257&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
258</TR>
259<TR BGCOLOR="white" CLASS="TableRowColor">
260<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#JSONParser(java.lang.String, int, int)">JSONParser</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;data,
261           int&nbsp;start,
262           int&nbsp;end)</CODE>
263
264<BR>
265&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
266</TR>
267</TABLE>
268&nbsp;
269<!-- ========== METHOD SUMMARY =========== -->
270
271<A NAME="method_summary"><!-- --></A>
272<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
273<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
274<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
275<B>Method Summary</B></FONT></TH>
276</TR>
277<TR BGCOLOR="white" CLASS="TableRowColor">
278<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
279<CODE>protected &nbsp;void</CODE></FONT></TD>
280<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#fill()">fill</A></B>()</CODE>
281
282<BR>
283&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
284</TR>
285<TR BGCOLOR="white" CLASS="TableRowColor">
286<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
287<CODE>&nbsp;boolean</CODE></FONT></TD>
288<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#getBoolean()">getBoolean</A></B>()</CODE>
289
290<BR>
291&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a boolean value</TD>
292</TR>
293<TR BGCOLOR="white" CLASS="TableRowColor">
294<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
295<CODE>protected &nbsp;int</CODE></FONT></TD>
296<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#getChar()">getChar</A></B>()</CODE>
297
298<BR>
299&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
300</TR>
301<TR BGCOLOR="white" CLASS="TableRowColor">
302<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
303<CODE>&nbsp;double</CODE></FONT></TD>
304<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#getDouble()">getDouble</A></B>()</CODE>
305
306<BR>
307&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a number from the input stream and parses it as a double</TD>
308</TR>
309<TR BGCOLOR="white" CLASS="TableRowColor">
310<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
311<CODE>static&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
312<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#getEventString(int)">getEventString</A></B>(int&nbsp;e)</CODE>
313
314<BR>
315&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
316</TR>
317<TR BGCOLOR="white" CLASS="TableRowColor">
318<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
319<CODE>&nbsp;int</CODE></FONT></TD>
320<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#getLevel()">getLevel</A></B>()</CODE>
321
322<BR>
323&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
324</TR>
325<TR BGCOLOR="white" CLASS="TableRowColor">
326<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
327<CODE>&nbsp;long</CODE></FONT></TD>
328<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#getLong()">getLong</A></B>()</CODE>
329
330<BR>
331&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a number from the input stream and parses it as a long, only if
332 the value will in fact fit into a signed 64 bit integer.</TD>
333</TR>
334<TR BGCOLOR="white" CLASS="TableRowColor">
335<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
336<CODE>&nbsp;void</CODE></FONT></TD>
337<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#getNull()">getNull</A></B>()</CODE>
338
339<BR>
340&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a null value</TD>
341</TR>
342<TR BGCOLOR="white" CLASS="TableRowColor">
343<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
344<CODE>&nbsp;<A HREF="../../../org/apache/noggit/CharArr.html" title="class in org.apache.noggit">CharArr</A></CODE></FONT></TD>
345<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#getNumberChars()">getNumberChars</A></B>()</CODE>
346
347<BR>
348&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the characters of a JSON numeric value.</TD>
349</TR>
350<TR BGCOLOR="white" CLASS="TableRowColor">
351<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
352<CODE>&nbsp;void</CODE></FONT></TD>
353<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#getNumberChars(org.apache.noggit.CharArr)">getNumberChars</A></B>(<A HREF="../../../org/apache/noggit/CharArr.html" title="class in org.apache.noggit">CharArr</A>&nbsp;output)</CODE>
354
355<BR>
356&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a JSON numeric value into the output.</TD>
357</TR>
358<TR BGCOLOR="white" CLASS="TableRowColor">
359<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
360<CODE>&nbsp;long</CODE></FONT></TD>
361<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#getPosition()">getPosition</A></B>()</CODE>
362
363<BR>
364&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
365</TR>
366<TR BGCOLOR="white" CLASS="TableRowColor">
367<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
368<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
369<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#getString()">getString</A></B>()</CODE>
370
371<BR>
372&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the JSON string value, decoding any escaped characters.</TD>
373</TR>
374<TR BGCOLOR="white" CLASS="TableRowColor">
375<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
376<CODE>&nbsp;void</CODE></FONT></TD>
377<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#getString(org.apache.noggit.CharArr)">getString</A></B>(<A HREF="../../../org/apache/noggit/CharArr.html" title="class in org.apache.noggit">CharArr</A>&nbsp;output)</CODE>
378
379<BR>
380&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a JSON string into the output, decoding any escaped characters.</TD>
381</TR>
382<TR BGCOLOR="white" CLASS="TableRowColor">
383<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
384<CODE>&nbsp;<A HREF="../../../org/apache/noggit/CharArr.html" title="class in org.apache.noggit">CharArr</A></CODE></FONT></TD>
385<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#getStringChars()">getStringChars</A></B>()</CODE>
386
387<BR>
388&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the characters of a JSON string value, decoding any escaped characters.</TD>
389</TR>
390<TR BGCOLOR="white" CLASS="TableRowColor">
391<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
392<CODE>&nbsp;int</CODE></FONT></TD>
393<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#lastEvent()">lastEvent</A></B>()</CODE>
394
395<BR>
396&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
397</TR>
398<TR BGCOLOR="white" CLASS="TableRowColor">
399<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
400<CODE>&nbsp;int</CODE></FONT></TD>
401<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#nextEvent()">nextEvent</A></B>()</CODE>
402
403<BR>
404&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the next event encountered in the JSON stream, one of
405 
406 <A HREF="../../../org/apache/noggit/JSONParser.html#STRING"><CODE>STRING</CODE></A>
407 <A HREF="../../../org/apache/noggit/JSONParser.html#LONG"><CODE>LONG</CODE></A>
408 <A HREF="../../../org/apache/noggit/JSONParser.html#NUMBER"><CODE>NUMBER</CODE></A>
409 <A HREF="../../../org/apache/noggit/JSONParser.html#BIGNUMBER"><CODE>BIGNUMBER</CODE></A>
410 <A HREF="../../../org/apache/noggit/JSONParser.html#BOOLEAN"><CODE>BOOLEAN</CODE></A>
411 <A HREF="../../../org/apache/noggit/JSONParser.html#NULL"><CODE>NULL</CODE></A>
412 <A HREF="../../../org/apache/noggit/JSONParser.html#OBJECT_START"><CODE>OBJECT_START</CODE></A>
413 <A HREF="../../../org/apache/noggit/JSONParser.html#OBJECT_END"><CODE>OBJECT_END</CODE></A>
414 <A HREF="../../../org/apache/noggit/JSONParser.html#OBJECT_END"><CODE>OBJECT_END</CODE></A>
415 <A HREF="../../../org/apache/noggit/JSONParser.html#ARRAY_START"><CODE>ARRAY_START</CODE></A>
416 <A HREF="../../../org/apache/noggit/JSONParser.html#ARRAY_END"><CODE>ARRAY_END</CODE></A>
417 <A HREF="../../../org/apache/noggit/JSONParser.html#EOF"><CODE>EOF</CODE></A>
418 </TD>
419</TR>
420<TR BGCOLOR="white" CLASS="TableRowColor">
421<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
422<CODE>&nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
423<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#toString()">toString</A></B>()</CODE>
424
425<BR>
426&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
427</TR>
428<TR BGCOLOR="white" CLASS="TableRowColor">
429<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
430<CODE>&nbsp;boolean</CODE></FONT></TD>
431<TD><CODE><B><A HREF="../../../org/apache/noggit/JSONParser.html#wasKey()">wasKey</A></B>()</CODE>
432
433<BR>
434&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
435</TR>
436</TABLE>
437&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
438<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
439<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
440<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
441</TR>
442<TR BGCOLOR="white" CLASS="TableRowColor">
443<TD><CODE><A HREF="http://download.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://download.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://download.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://download.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://download.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://download.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://download.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://download.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://download.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://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
444</TR>
445</TABLE>
446&nbsp;
447<P>
448
449<!-- ============ FIELD DETAIL =========== -->
450
451<A NAME="field_detail"><!-- --></A>
452<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
453<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
454<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
455<B>Field Detail</B></FONT></TH>
456</TR>
457</TABLE>
458
459<A NAME="STRING"><!-- --></A><H3>
460STRING</H3>
461<PRE>
462public static final int <B>STRING</B></PRE>
463<DL>
464<DD>Event indicating a JSON string value, including member names of objects
465<P>
466<DL>
467<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.noggit.JSONParser.STRING">Constant Field Values</A></DL>
468</DL>
469<HR>
470
471<A NAME="LONG"><!-- --></A><H3>
472LONG</H3>
473<PRE>
474public static final int <B>LONG</B></PRE>
475<DL>
476<DD>Event indicating a JSON number value which fits into a signed 64 bit integer
477<P>
478<DL>
479<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.noggit.JSONParser.LONG">Constant Field Values</A></DL>
480</DL>
481<HR>
482
483<A NAME="NUMBER"><!-- --></A><H3>
484NUMBER</H3>
485<PRE>
486public static final int <B>NUMBER</B></PRE>
487<DL>
488<DD>Event indicating a JSON number value which has a fractional part or an exponent
489 and with string length <= 23 chars not including sign.  This covers
490 all representations of normal values for Double.toString().
491<P>
492<DL>
493<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.noggit.JSONParser.NUMBER">Constant Field Values</A></DL>
494</DL>
495<HR>
496
497<A NAME="BIGNUMBER"><!-- --></A><H3>
498BIGNUMBER</H3>
499<PRE>
500public static final int <B>BIGNUMBER</B></PRE>
501<DL>
502<DD>Event indicating a JSON number value that was not produced by toString of any
503 Java primitive numerics such as Double or Long.  It is either
504 an integer outside the range of a 64 bit signed integer, or a floating
505 point value with a string representation of more than 23 chars.
506<P>
507<DL>
508<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.noggit.JSONParser.BIGNUMBER">Constant Field Values</A></DL>
509</DL>
510<HR>
511
512<A NAME="BOOLEAN"><!-- --></A><H3>
513BOOLEAN</H3>
514<PRE>
515public static final int <B>BOOLEAN</B></PRE>
516<DL>
517<DD>Event indicating a JSON boolean
518<P>
519<DL>
520<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.noggit.JSONParser.BOOLEAN">Constant Field Values</A></DL>
521</DL>
522<HR>
523
524<A NAME="NULL"><!-- --></A><H3>
525NULL</H3>
526<PRE>
527public static final int <B>NULL</B></PRE>
528<DL>
529<DD>Event indicating a JSON null
530<P>
531<DL>
532<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.noggit.JSONParser.NULL">Constant Field Values</A></DL>
533</DL>
534<HR>
535
536<A NAME="OBJECT_START"><!-- --></A><H3>
537OBJECT_START</H3>
538<PRE>
539public static final int <B>OBJECT_START</B></PRE>
540<DL>
541<DD>Event indicating the start of a JSON object
542<P>
543<DL>
544<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.noggit.JSONParser.OBJECT_START">Constant Field Values</A></DL>
545</DL>
546<HR>
547
548<A NAME="OBJECT_END"><!-- --></A><H3>
549OBJECT_END</H3>
550<PRE>
551public static final int <B>OBJECT_END</B></PRE>
552<DL>
553<DD>Event indicating the end of a JSON object
554<P>
555<DL>
556<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.noggit.JSONParser.OBJECT_END">Constant Field Values</A></DL>
557</DL>
558<HR>
559
560<A NAME="ARRAY_START"><!-- --></A><H3>
561ARRAY_START</H3>
562<PRE>
563public static final int <B>ARRAY_START</B></PRE>
564<DL>
565<DD>Event indicating the start of a JSON array
566<P>
567<DL>
568<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.noggit.JSONParser.ARRAY_START">Constant Field Values</A></DL>
569</DL>
570<HR>
571
572<A NAME="ARRAY_END"><!-- --></A><H3>
573ARRAY_END</H3>
574<PRE>
575public static final int <B>ARRAY_END</B></PRE>
576<DL>
577<DD>Event indicating the end of a JSON array
578<P>
579<DL>
580<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.noggit.JSONParser.ARRAY_END">Constant Field Values</A></DL>
581</DL>
582<HR>
583
584<A NAME="EOF"><!-- --></A><H3>
585EOF</H3>
586<PRE>
587public static final int <B>EOF</B></PRE>
588<DL>
589<DD>Event indicating the end of input has been reached
590<P>
591<DL>
592<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.apache.noggit.JSONParser.EOF">Constant Field Values</A></DL>
593</DL>
594
595<!-- ========= CONSTRUCTOR DETAIL ======== -->
596
597<A NAME="constructor_detail"><!-- --></A>
598<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
599<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
600<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
601<B>Constructor Detail</B></FONT></TH>
602</TR>
603</TABLE>
604
605<A NAME="JSONParser(java.io.Reader)"><!-- --></A><H3>
606JSONParser</H3>
607<PRE>
608public <B>JSONParser</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;in)</PRE>
609<DL>
610</DL>
611<HR>
612
613<A NAME="JSONParser(java.io.Reader, char[])"><!-- --></A><H3>
614JSONParser</H3>
615<PRE>
616public <B>JSONParser</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A>&nbsp;in,
617                  char[]&nbsp;buffer)</PRE>
618<DL>
619</DL>
620<HR>
621
622<A NAME="JSONParser(char[], int, int)"><!-- --></A><H3>
623JSONParser</H3>
624<PRE>
625public <B>JSONParser</B>(char[]&nbsp;data,
626                  int&nbsp;start,
627                  int&nbsp;end)</PRE>
628<DL>
629</DL>
630<HR>
631
632<A NAME="JSONParser(java.lang.String)"><!-- --></A><H3>
633JSONParser</H3>
634<PRE>
635public <B>JSONParser</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;data)</PRE>
636<DL>
637</DL>
638<HR>
639
640<A NAME="JSONParser(java.lang.String, int, int)"><!-- --></A><H3>
641JSONParser</H3>
642<PRE>
643public <B>JSONParser</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;data,
644                  int&nbsp;start,
645                  int&nbsp;end)</PRE>
646<DL>
647</DL>
648
649<!-- ============ METHOD DETAIL ========== -->
650
651<A NAME="method_detail"><!-- --></A>
652<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
653<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
654<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
655<B>Method Detail</B></FONT></TH>
656</TR>
657</TABLE>
658
659<A NAME="getEventString(int)"><!-- --></A><H3>
660getEventString</H3>
661<PRE>
662public static <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getEventString</B>(int&nbsp;e)</PRE>
663<DL>
664<DD><DL>
665</DL>
666</DD>
667</DL>
668<HR>
669
670<A NAME="fill()"><!-- --></A><H3>
671fill</H3>
672<PRE>
673protected void <B>fill</B>()
674             throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
675<DL>
676<DD><DL>
677
678<DT><B>Throws:</B>
679<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
680</DD>
681</DL>
682<HR>
683
684<A NAME="getChar()"><!-- --></A><H3>
685getChar</H3>
686<PRE>
687protected int <B>getChar</B>()
688               throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
689<DL>
690<DD><DL>
691
692<DT><B>Throws:</B>
693<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
694</DD>
695</DL>
696<HR>
697
698<A NAME="toString()"><!-- --></A><H3>
699toString</H3>
700<PRE>
701public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
702<DL>
703<DD><DL>
704<DT><B>Overrides:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
705</DD>
706<DD><DL>
707</DL>
708</DD>
709</DL>
710<HR>
711
712<A NAME="nextEvent()"><!-- --></A><H3>
713nextEvent</H3>
714<PRE>
715public int <B>nextEvent</B>()
716              throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
717<DL>
718<DD>Returns the next event encountered in the JSON stream, one of
719 <ul>
720 <li><A HREF="../../../org/apache/noggit/JSONParser.html#STRING"><CODE>STRING</CODE></A></li>
721 <li><A HREF="../../../org/apache/noggit/JSONParser.html#LONG"><CODE>LONG</CODE></A></li>
722 <li><A HREF="../../../org/apache/noggit/JSONParser.html#NUMBER"><CODE>NUMBER</CODE></A></li>
723 <li><A HREF="../../../org/apache/noggit/JSONParser.html#BIGNUMBER"><CODE>BIGNUMBER</CODE></A></li>
724 <li><A HREF="../../../org/apache/noggit/JSONParser.html#BOOLEAN"><CODE>BOOLEAN</CODE></A></li>
725 <li><A HREF="../../../org/apache/noggit/JSONParser.html#NULL"><CODE>NULL</CODE></A></li>
726 <li><A HREF="../../../org/apache/noggit/JSONParser.html#OBJECT_START"><CODE>OBJECT_START</CODE></A></li>
727 <li><A HREF="../../../org/apache/noggit/JSONParser.html#OBJECT_END"><CODE>OBJECT_END</CODE></A></li>
728 <li><A HREF="../../../org/apache/noggit/JSONParser.html#OBJECT_END"><CODE>OBJECT_END</CODE></A></li>
729 <li><A HREF="../../../org/apache/noggit/JSONParser.html#ARRAY_START"><CODE>ARRAY_START</CODE></A></li>
730 <li><A HREF="../../../org/apache/noggit/JSONParser.html#ARRAY_END"><CODE>ARRAY_END</CODE></A></li>
731 <li><A HREF="../../../org/apache/noggit/JSONParser.html#EOF"><CODE>EOF</CODE></A></li>
732 </ul>
733<P>
734<DD><DL>
735
736<DT><B>Throws:</B>
737<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
738</DD>
739</DL>
740<HR>
741
742<A NAME="lastEvent()"><!-- --></A><H3>
743lastEvent</H3>
744<PRE>
745public int <B>lastEvent</B>()</PRE>
746<DL>
747<DD><DL>
748</DL>
749</DD>
750</DL>
751<HR>
752
753<A NAME="wasKey()"><!-- --></A><H3>
754wasKey</H3>
755<PRE>
756public boolean <B>wasKey</B>()</PRE>
757<DL>
758<DD><DL>
759</DL>
760</DD>
761</DL>
762<HR>
763
764<A NAME="getString()"><!-- --></A><H3>
765getString</H3>
766<PRE>
767public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getString</B>()
768                 throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
769<DL>
770<DD>Returns the JSON string value, decoding any escaped characters.
771<P>
772<DD><DL>
773
774<DT><B>Throws:</B>
775<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
776</DD>
777</DL>
778<HR>
779
780<A NAME="getStringChars()"><!-- --></A><H3>
781getStringChars</H3>
782<PRE>
783public <A HREF="../../../org/apache/noggit/CharArr.html" title="class in org.apache.noggit">CharArr</A> <B>getStringChars</B>()
784                       throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
785<DL>
786<DD>Returns the characters of a JSON string value, decoding any escaped characters.
787 <p/>The underlying buffer of the returned <code>CharArr</code> should *not* be
788 modified as it may be shared with the input buffer.
789 <p/>The returned <code>CharArr</code> will only be valid up until
790 the next JSONParser method is called.  Any required data should be
791 read before that point.
792<P>
793<DD><DL>
794
795<DT><B>Throws:</B>
796<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
797</DD>
798</DL>
799<HR>
800
801<A NAME="getString(org.apache.noggit.CharArr)"><!-- --></A><H3>
802getString</H3>
803<PRE>
804public void <B>getString</B>(<A HREF="../../../org/apache/noggit/CharArr.html" title="class in org.apache.noggit">CharArr</A>&nbsp;output)
805               throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
806<DL>
807<DD>Reads a JSON string into the output, decoding any escaped characters.
808<P>
809<DD><DL>
810
811<DT><B>Throws:</B>
812<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
813</DD>
814</DL>
815<HR>
816
817<A NAME="getLong()"><!-- --></A><H3>
818getLong</H3>
819<PRE>
820public long <B>getLong</B>()
821             throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
822<DL>
823<DD>Reads a number from the input stream and parses it as a long, only if
824 the value will in fact fit into a signed 64 bit integer.
825<P>
826<DD><DL>
827
828<DT><B>Throws:</B>
829<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
830</DD>
831</DL>
832<HR>
833
834<A NAME="getDouble()"><!-- --></A><H3>
835getDouble</H3>
836<PRE>
837public double <B>getDouble</B>()
838                 throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
839<DL>
840<DD>Reads a number from the input stream and parses it as a double
841<P>
842<DD><DL>
843
844<DT><B>Throws:</B>
845<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
846</DD>
847</DL>
848<HR>
849
850<A NAME="getNumberChars()"><!-- --></A><H3>
851getNumberChars</H3>
852<PRE>
853public <A HREF="../../../org/apache/noggit/CharArr.html" title="class in org.apache.noggit">CharArr</A> <B>getNumberChars</B>()
854                       throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
855<DL>
856<DD>Returns the characters of a JSON numeric value.
857 <p/>The underlying buffer of the returned <code>CharArr</code> should *not* be
858 modified as it may be shared with the input buffer.
859 <p/>The returned <code>CharArr</code> will only be valid up until
860 the next JSONParser method is called.  Any required data should be
861 read before that point.
862<P>
863<DD><DL>
864
865<DT><B>Throws:</B>
866<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
867</DD>
868</DL>
869<HR>
870
871<A NAME="getNumberChars(org.apache.noggit.CharArr)"><!-- --></A><H3>
872getNumberChars</H3>
873<PRE>
874public void <B>getNumberChars</B>(<A HREF="../../../org/apache/noggit/CharArr.html" title="class in org.apache.noggit">CharArr</A>&nbsp;output)
875                    throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
876<DL>
877<DD>Reads a JSON numeric value into the output.
878<P>
879<DD><DL>
880
881<DT><B>Throws:</B>
882<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
883</DD>
884</DL>
885<HR>
886
887<A NAME="getBoolean()"><!-- --></A><H3>
888getBoolean</H3>
889<PRE>
890public boolean <B>getBoolean</B>()
891                   throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
892<DL>
893<DD>Reads a boolean value
894<P>
895<DD><DL>
896
897<DT><B>Throws:</B>
898<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
899</DD>
900</DL>
901<HR>
902
903<A NAME="getNull()"><!-- --></A><H3>
904getNull</H3>
905<PRE>
906public void <B>getNull</B>()
907             throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
908<DL>
909<DD>Reads a null value
910<P>
911<DD><DL>
912
913<DT><B>Throws:</B>
914<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
915</DD>
916</DL>
917<HR>
918
919<A NAME="getLevel()"><!-- --></A><H3>
920getLevel</H3>
921<PRE>
922public int <B>getLevel</B>()</PRE>
923<DL>
924<DD><DL>
925
926<DT><B>Returns:</B><DD>the current nesting level, the number of parent objects or arrays.</DL>
927</DD>
928</DL>
929<HR>
930
931<A NAME="getPosition()"><!-- --></A><H3>
932getPosition</H3>
933<PRE>
934public long <B>getPosition</B>()</PRE>
935<DL>
936<DD><DL>
937</DL>
938</DD>
939</DL>
940<!-- ========= END OF CLASS DATA ========= -->
941<HR>
942
943
944<!-- ======= START OF BOTTOM NAVBAR ====== -->
945<A NAME="navbar_bottom"><!-- --></A>
946<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
947<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
948<TR>
949<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
950<A NAME="navbar_bottom_firstrow"><!-- --></A>
951<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
952  <TR ALIGN="center" VALIGN="top">
953  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
954  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
955  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
956  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/JSONParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
957  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
958  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
959  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
960  </TR>
961</TABLE>
962</TD>
963<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
964</EM>
965</TD>
966</TR>
967
968<TR>
969<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
970&nbsp;<A HREF="../../../org/apache/noggit/CharUtil.html" title="class in org.apache.noggit"><B>PREV CLASS</B></A>&nbsp;
971&nbsp;<A HREF="../../../org/apache/noggit/JSONParser.ParseException.html" title="class in org.apache.noggit"><B>NEXT CLASS</B></A></FONT></TD>
972<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
973  <A HREF="../../../index.html?org/apache/noggit/JSONParser.html" target="_top"><B>FRAMES</B></A>  &nbsp;
974&nbsp;<A HREF="JSONParser.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
975&nbsp;<SCRIPT type="text/javascript">
976  <!--
977  if(window==top) {
978    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
979  }
980  //-->
981</SCRIPT>
982<NOSCRIPT>
983  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
984</NOSCRIPT>
985
986
987</FONT></TD>
988</TR>
989<TR>
990<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
991  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
992<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
993DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
994</TR>
995</TABLE>
996<A NAME="skip-navbar_bottom"></A>
997<!-- ======== END OF BOTTOM NAVBAR ======= -->
998
999<HR>
1000
1001          <address>Copyright &copy; 2000-2012 Apache Software Foundation.  All Rights Reserved.</address>
1002          <script src='../../../prettify.js' type='text/javascript'></script>
1003          <script type='text/javascript'>
1004            (function(){
1005              var oldonload = window.onload;
1006              if (typeof oldonload != 'function') {
1007                window.onload = prettyPrint;
1008              } else {
1009                window.onload = function() {
1010                  oldonload();
1011                  prettyPrint();
1012                }
1013              }
1014            })();
1015          </script>
1016       
1017</BODY>
1018</HTML>
Note: See TracBrowser for help on using the repository browser.