• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (version 1.7.0_10-ea) on Sun Jul 14 20:03:25 PDT 2013 -->
6<title>JsonParserDelegate (Jackson JSON Processor)</title>
7<meta name="date" content="2013-07-14">
8<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
9</head>
10<body>
11<script type="text/javascript"><!--
12    if (location.href.indexOf('is-external=true') == -1) {
13        parent.document.title="JsonParserDelegate (Jackson JSON Processor)";
14    }
15//-->
16</script>
17<noscript>
18<div>JavaScript is disabled on your browser.</div>
19</noscript>
20<!-- ========= START OF TOP NAVBAR ======= -->
21<div class="topNav"><a name="navbar_top">
22<!--   -->
23</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
24<!--   -->
25</a>
26<ul class="navList" title="Navigation">
27<li><a href="../../../../overview-summary.html">Overview</a></li>
28<li><a href="package-summary.html">Package</a></li>
29<li class="navBarCell1Rev">Class</li>
30<li><a href="class-use/JsonParserDelegate.html">Use</a></li>
31<li><a href="package-tree.html">Tree</a></li>
32<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
33<li><a href="../../../../index-all.html">Index</a></li>
34<li><a href="../../../../help-doc.html">Help</a></li>
35</ul>
36</div>
37<div class="subNav">
38<ul class="navList">
39<li><a href="../../../../org/codehaus/jackson/util/JsonGeneratorDelegate.html" title="class in org.codehaus.jackson.util"><span class="strong">Prev Class</span></a></li>
40<li><a href="../../../../org/codehaus/jackson/util/JsonParserSequence.html" title="class in org.codehaus.jackson.util"><span class="strong">Next Class</span></a></li>
41</ul>
42<ul class="navList">
43<li><a href="../../../../index.html?org/codehaus/jackson/util/JsonParserDelegate.html" target="_top">Frames</a></li>
44<li><a href="JsonParserDelegate.html" target="_top">No Frames</a></li>
45</ul>
46<ul class="navList" id="allclasses_navbar_top">
47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
48</ul>
49<div>
50<script type="text/javascript"><!--
51  allClassesLink = document.getElementById("allclasses_navbar_top");
52  if(window==top) {
53    allClassesLink.style.display = "block";
54  }
55  else {
56    allClassesLink.style.display = "none";
57  }
58  //-->
59</script>
60</div>
61<div>
62<ul class="subNavList">
63<li>Summary:&nbsp;</li>
64<li><a href="#nested_classes_inherited_from_class_org.codehaus.jackson.JsonParser">Nested</a>&nbsp;|&nbsp;</li>
65<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
66<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
67<li><a href="#method_summary">Method</a></li>
68</ul>
69<ul class="subNavList">
70<li>Detail:&nbsp;</li>
71<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
72<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
73<li><a href="#method_detail">Method</a></li>
74</ul>
75</div>
76<a name="skip-navbar_top">
77<!--   -->
78</a></div>
79<!-- ========= END OF TOP NAVBAR ========= -->
80<!-- ======== START OF CLASS DATA ======== -->
81<div class="header">
82<div class="subTitle">org.codehaus.jackson.util</div>
83<h2 title="Class JsonParserDelegate" class="title">Class JsonParserDelegate</h2>
84</div>
85<div class="contentContainer">
86<ul class="inheritance">
87<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
88<li>
89<ul class="inheritance">
90<li><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">org.codehaus.jackson.JsonParser</a></li>
91<li>
92<ul class="inheritance">
93<li>org.codehaus.jackson.util.JsonParserDelegate</li>
94</ul>
95</li>
96</ul>
97</li>
98</ul>
99<div class="description">
100<ul class="blockList">
101<li class="blockList">
102<dl>
103<dt>All Implemented Interfaces:</dt>
104<dd><a href="http://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a>, <a href="../../../../org/codehaus/jackson/Versioned.html" title="interface in org.codehaus.jackson">Versioned</a></dd>
105</dl>
106<dl>
107<dt>Direct Known Subclasses:</dt>
108<dd><a href="../../../../org/codehaus/jackson/util/JsonParserSequence.html" title="class in org.codehaus.jackson.util">JsonParserSequence</a></dd>
109</dl>
110<hr>
111<br>
112<pre>public class <span class="strong">JsonParserDelegate</span>
113extends <a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></pre>
114<div class="block">Helper class that implements
115 <a href="http://en.wikipedia.org/wiki/Delegation_pattern">delegation pattern</a> for <a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson"><code>JsonParser</code></a>,
116 to allow for simple overridability of basic parsing functionality.
117 The idea is that any functionality to be modified can be simply
118 overridden; and anything else will be delegated by default.</div>
119<dl><dt><span class="strong">Since:</span></dt>
120  <dd>1.4</dd></dl>
121</li>
122</ul>
123</div>
124<div class="summary">
125<ul class="blockList">
126<li class="blockList">
127<!-- ======== NESTED CLASS SUMMARY ======== -->
128<ul class="blockList">
129<li class="blockList"><a name="nested_class_summary">
130<!--   -->
131</a>
132<h3>Nested Class Summary</h3>
133<ul class="blockList">
134<li class="blockList"><a name="nested_classes_inherited_from_class_org.codehaus.jackson.JsonParser">
135<!--   -->
136</a>
137<h3>Nested classes/interfaces inherited from class&nbsp;org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></h3>
138<code><a href="../../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>, <a href="../../../../org/codehaus/jackson/JsonParser.NumberType.html" title="enum in org.codehaus.jackson">JsonParser.NumberType</a></code></li>
139</ul>
140</li>
141</ul>
142<!-- =========== FIELD SUMMARY =========== -->
143<ul class="blockList">
144<li class="blockList"><a name="field_summary">
145<!--   -->
146</a>
147<h3>Field Summary</h3>
148<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
149<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
150<tr>
151<th class="colFirst" scope="col">Modifier and Type</th>
152<th class="colLast" scope="col">Field and Description</th>
153</tr>
154<tr class="altColor">
155<td class="colFirst"><code>protected <a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></td>
156<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#delegate">delegate</a></strong></code>
157<div class="block">Delegate object that method calls are delegated to.</div>
158</td>
159</tr>
160</table>
161<ul class="blockList">
162<li class="blockList"><a name="fields_inherited_from_class_org.codehaus.jackson.JsonParser">
163<!--   -->
164</a>
165<h3>Fields inherited from class&nbsp;org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></h3>
166<code><a href="../../../../org/codehaus/jackson/JsonParser.html#_currToken">_currToken</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#_features">_features</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#_lastClearedToken">_lastClearedToken</a></code></li>
167</ul>
168</li>
169</ul>
170<!-- ======== CONSTRUCTOR SUMMARY ======== -->
171<ul class="blockList">
172<li class="blockList"><a name="constructor_summary">
173<!--   -->
174</a>
175<h3>Constructor Summary</h3>
176<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
177<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
178<tr>
179<th class="colOne" scope="col">Constructor and Description</th>
180</tr>
181<tr class="altColor">
182<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#JsonParserDelegate(org.codehaus.jackson.JsonParser)">JsonParserDelegate</a></strong>(<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;d)</code>&nbsp;</td>
183</tr>
184</table>
185</li>
186</ul>
187<!-- ========== METHOD SUMMARY =========== -->
188<ul class="blockList">
189<li class="blockList"><a name="method_summary">
190<!--   -->
191</a>
192<h3>Method Summary</h3>
193<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
194<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
195<tr>
196<th class="colFirst" scope="col">Modifier and Type</th>
197<th class="colLast" scope="col">Method and Description</th>
198</tr>
199<tr class="altColor">
200<td class="colFirst"><code>boolean</code></td>
201<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#canUseSchema(org.codehaus.jackson.FormatSchema)">canUseSchema</a></strong>(<a href="../../../../org/codehaus/jackson/FormatSchema.html" title="interface in org.codehaus.jackson">FormatSchema</a>&nbsp;schema)</code>
202<div class="block">Method that can be used to verify that given schema can be used with
203 this parser (using <a href="../../../../org/codehaus/jackson/JsonParser.html#setSchema(org.codehaus.jackson.FormatSchema)"><code>JsonParser.setSchema(org.codehaus.jackson.FormatSchema)</code></a>).</div>
204</td>
205</tr>
206<tr class="rowColor">
207<td class="colFirst"><code>void</code></td>
208<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#clearCurrentToken()">clearCurrentToken</a></strong>()</code>
209<div class="block">Method called to "consume" the current token by effectively
210 removing it so that <a href="../../../../org/codehaus/jackson/JsonParser.html#hasCurrentToken()"><code>JsonParser.hasCurrentToken()</code></a> returns false, and
211 <a href="../../../../org/codehaus/jackson/JsonParser.html#getCurrentToken()"><code>JsonParser.getCurrentToken()</code></a> null).</div>
212</td>
213</tr>
214<tr class="altColor">
215<td class="colFirst"><code>void</code></td>
216<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#close()">close</a></strong>()</code>
217<div class="block">Closes the parser so that no further iteration or data access
218 can be made; will also close the underlying input source
219 if parser either <b>owns</b> the input source, or feature
220 <a href="../../../../org/codehaus/jackson/JsonParser.Feature.html#AUTO_CLOSE_SOURCE"><code>JsonParser.Feature.AUTO_CLOSE_SOURCE</code></a> is enabled.</div>
221</td>
222</tr>
223<tr class="rowColor">
224<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></td>
225<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#disable(org.codehaus.jackson.JsonParser.Feature)">disable</a></strong>(<a href="../../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</code>
226<div class="block">Method for disabling specified  feature
227 (check <a href="../../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson"><code>JsonParser.Feature</code></a> for list of features)</div>
228</td>
229</tr>
230<tr class="altColor">
231<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></td>
232<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#enable(org.codehaus.jackson.JsonParser.Feature)">enable</a></strong>(<a href="../../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</code>
233<div class="block">Method for enabling specified parser feature
234 (check <a href="../../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson"><code>JsonParser.Feature</code></a> for list of features)</div>
235</td>
236</tr>
237<tr class="rowColor">
238<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a></code></td>
239<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getBigIntegerValue()">getBigIntegerValue</a></strong>()</code>
240<div class="block">Numeric accessor that can be called when the current
241 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and
242 it can not be used as a Java long primitive type due to its
243 magnitude.</div>
244</td>
245</tr>
246<tr class="altColor">
247<td class="colFirst"><code>byte[]</code></td>
248<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getBinaryValue(org.codehaus.jackson.Base64Variant)">getBinaryValue</a></strong>(<a href="../../../../org/codehaus/jackson/Base64Variant.html" title="class in org.codehaus.jackson">Base64Variant</a>&nbsp;b64variant)</code>
249<div class="block">Method that can be used to read (and consume -- results
250 may not be accessible using other methods after the call)
251 base64-encoded binary data
252 included in the current textual JSON value.</div>
253</td>
254</tr>
255<tr class="rowColor">
256<td class="colFirst"><code>boolean</code></td>
257<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getBooleanValue()">getBooleanValue</a></strong>()</code>
258<div class="block">Convenience accessor that can be called when the current
259 token is <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_TRUE"><code>JsonToken.VALUE_TRUE</code></a> or
260 <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_FALSE"><code>JsonToken.VALUE_FALSE</code></a>.</div>
261</td>
262</tr>
263<tr class="altColor">
264<td class="colFirst"><code>byte</code></td>
265<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getByteValue()">getByteValue</a></strong>()</code>
266<div class="block">Numeric accessor that can be called when the current
267 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and
268 it can be expressed as a value of Java byte primitive type.</div>
269</td>
270</tr>
271<tr class="rowColor">
272<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a></code></td>
273<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getCodec()">getCodec</a></strong>()</code>
274<div class="block">Accessor for <a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson"><code>ObjectCodec</code></a> associated with this
275 parser, if any.</div>
276</td>
277</tr>
278<tr class="altColor">
279<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a></code></td>
280<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getCurrentLocation()">getCurrentLocation</a></strong>()</code>
281<div class="block">Method that returns location of the last processed character;
282 usually for error reporting purposes.</div>
283</td>
284</tr>
285<tr class="rowColor">
286<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
287<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getCurrentName()">getCurrentName</a></strong>()</code>
288<div class="block">Method that can be called to get the name associated with
289 the current token: for <a href="../../../../org/codehaus/jackson/JsonToken.html#FIELD_NAME"><code>JsonToken.FIELD_NAME</code></a>s it will
290 be the same as what <a href="../../../../org/codehaus/jackson/JsonParser.html#getText()"><code>JsonParser.getText()</code></a> returns;
291 for field values it will be preceding field name;
292 and for others (array values, root-level values) null.</div>
293</td>
294</tr>
295<tr class="altColor">
296<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a></code></td>
297<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getCurrentToken()">getCurrentToken</a></strong>()</code>
298<div class="block">Accessor to find which token parser currently points to, if any;
299 null will be returned if none.</div>
300</td>
301</tr>
302<tr class="rowColor">
303<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a></code></td>
304<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getDecimalValue()">getDecimalValue</a></strong>()</code>
305<div class="block">Numeric accessor that can be called when the current
306 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a> or
307 <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a>.</div>
308</td>
309</tr>
310<tr class="altColor">
311<td class="colFirst"><code>double</code></td>
312<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getDoubleValue()">getDoubleValue</a></strong>()</code>
313<div class="block">Numeric accessor that can be called when the current
314 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a> and
315 it can be expressed as a Java double primitive type.</div>
316</td>
317</tr>
318<tr class="rowColor">
319<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
320<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getEmbeddedObject()">getEmbeddedObject</a></strong>()</code>
321<div class="block">Accessor that can be called if (and only if) the current token
322 is <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_EMBEDDED_OBJECT"><code>JsonToken.VALUE_EMBEDDED_OBJECT</code></a>.</div>
323</td>
324</tr>
325<tr class="altColor">
326<td class="colFirst"><code>float</code></td>
327<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getFloatValue()">getFloatValue</a></strong>()</code>
328<div class="block">Numeric accessor that can be called when the current
329 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a> and
330 it can be expressed as a Java float primitive type.</div>
331</td>
332</tr>
333<tr class="rowColor">
334<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
335<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getInputSource()">getInputSource</a></strong>()</code>
336<div class="block">Method that can be used to get access to object that is used
337 to access input being parsed; this is usually either
338 <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> or <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a>, depending on what
339 parser was constructed with.</div>
340</td>
341</tr>
342<tr class="altColor">
343<td class="colFirst"><code>int</code></td>
344<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getIntValue()">getIntValue</a></strong>()</code>
345<div class="block">Numeric accessor that can be called when the current
346 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and
347 it can be expressed as a value of Java int primitive type.</div>
348</td>
349</tr>
350<tr class="rowColor">
351<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a></code></td>
352<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getLastClearedToken()">getLastClearedToken</a></strong>()</code>
353<div class="block">Method that can be called to get the last token that was
354 cleared using <a href="../../../../org/codehaus/jackson/JsonParser.html#clearCurrentToken()"><code>JsonParser.clearCurrentToken()</code></a>.</div>
355</td>
356</tr>
357<tr class="altColor">
358<td class="colFirst"><code>long</code></td>
359<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getLongValue()">getLongValue</a></strong>()</code>
360<div class="block">Numeric accessor that can be called when the current
361 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and
362 it can be expressed as a Java long primitive type.</div>
363</td>
364</tr>
365<tr class="rowColor">
366<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonParser.NumberType.html" title="enum in org.codehaus.jackson">JsonParser.NumberType</a></code></td>
367<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getNumberType()">getNumberType</a></strong>()</code>
368<div class="block">If current token is of type
369 <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> or
370 <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a>, returns
371 one of <a href="../../../../org/codehaus/jackson/JsonParser.NumberType.html" title="enum in org.codehaus.jackson"><code>JsonParser.NumberType</code></a> constants; otherwise returns null.</div>
372</td>
373</tr>
374<tr class="altColor">
375<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a></code></td>
376<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getNumberValue()">getNumberValue</a></strong>()</code>
377<div class="block">Generic number value accessor method that will work for
378 all kinds of numeric values.</div>
379</td>
380</tr>
381<tr class="rowColor">
382<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonStreamContext.html" title="class in org.codehaus.jackson">JsonStreamContext</a></code></td>
383<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getParsingContext()">getParsingContext</a></strong>()</code>
384<div class="block">Method that can be used to access current parsing context reader
385 is in.</div>
386</td>
387</tr>
388<tr class="altColor">
389<td class="colFirst"><code>short</code></td>
390<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getShortValue()">getShortValue</a></strong>()</code>
391<div class="block">Numeric accessor that can be called when the current
392 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and
393 it can be expressed as a value of Java short primitive type.</div>
394</td>
395</tr>
396<tr class="rowColor">
397<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
398<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getText()">getText</a></strong>()</code>
399<div class="block">Method for accessing textual representation of the current token;
400 if no current token (before first call to <a href="../../../../org/codehaus/jackson/JsonParser.html#nextToken()"><code>JsonParser.nextToken()</code></a>, or
401 after encountering end-of-input), returns null.</div>
402</td>
403</tr>
404<tr class="altColor">
405<td class="colFirst"><code>char[]</code></td>
406<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getTextCharacters()">getTextCharacters</a></strong>()</code>
407<div class="block">Method similar to <a href="../../../../org/codehaus/jackson/JsonParser.html#getText()"><code>JsonParser.getText()</code></a>, but that will return
408 underlying (unmodifiable) character array that contains
409 textual value, instead of constructing a String object
410 to contain this information.</div>
411</td>
412</tr>
413<tr class="rowColor">
414<td class="colFirst"><code>int</code></td>
415<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getTextLength()">getTextLength</a></strong>()</code>
416<div class="block">Accessor used with <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()"><code>JsonParser.getTextCharacters()</code></a>, to know length
417 of String stored in returned buffer.</div>
418</td>
419</tr>
420<tr class="altColor">
421<td class="colFirst"><code>int</code></td>
422<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getTextOffset()">getTextOffset</a></strong>()</code>
423<div class="block">Accessor used with <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()"><code>JsonParser.getTextCharacters()</code></a>, to know offset
424 of the first text content character within buffer.</div>
425</td>
426</tr>
427<tr class="rowColor">
428<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a></code></td>
429<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#getTokenLocation()">getTokenLocation</a></strong>()</code>
430<div class="block">Method that return the <b>starting</b> location of the current
431 token; that is, position of the first character from input
432 that starts the current token.</div>
433</td>
434</tr>
435<tr class="altColor">
436<td class="colFirst"><code>boolean</code></td>
437<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#hasCurrentToken()">hasCurrentToken</a></strong>()</code>
438<div class="block">Method for checking whether parser currently points to
439 a token (and data for that token is available).</div>
440</td>
441</tr>
442<tr class="rowColor">
443<td class="colFirst"><code>boolean</code></td>
444<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#isClosed()">isClosed</a></strong>()</code>
445<div class="block">Method that can be called to determine whether this parser
446 is closed or not.</div>
447</td>
448</tr>
449<tr class="altColor">
450<td class="colFirst"><code>boolean</code></td>
451<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#isEnabled(org.codehaus.jackson.JsonParser.Feature)">isEnabled</a></strong>(<a href="../../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</code>
452<div class="block">Method for checking whether specified <a href="../../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson"><code>JsonParser.Feature</code></a>
453 is enabled.</div>
454</td>
455</tr>
456<tr class="rowColor">
457<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a></code></td>
458<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#nextToken()">nextToken</a></strong>()</code>
459<div class="block">Main iteration method, which will advance stream enough
460 to determine type of the next token, if any.</div>
461</td>
462</tr>
463<tr class="altColor">
464<td class="colFirst"><code>void</code></td>
465<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#setCodec(org.codehaus.jackson.ObjectCodec)">setCodec</a></strong>(<a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a>&nbsp;c)</code>
466<div class="block">Setter that allows defining <a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson"><code>ObjectCodec</code></a> associated with this
467 parser, if any.</div>
468</td>
469</tr>
470<tr class="rowColor">
471<td class="colFirst"><code>void</code></td>
472<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#setSchema(org.codehaus.jackson.FormatSchema)">setSchema</a></strong>(<a href="../../../../org/codehaus/jackson/FormatSchema.html" title="interface in org.codehaus.jackson">FormatSchema</a>&nbsp;schema)</code>
473<div class="block">Method to call to make this parser use specified schema.</div>
474</td>
475</tr>
476<tr class="altColor">
477<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></td>
478<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#skipChildren()">skipChildren</a></strong>()</code>
479<div class="block">Method that will skip all child tokens of an array or
480 object token that the parser currently points to,
481 iff stream points to
482 <a href="../../../../org/codehaus/jackson/JsonToken.html#START_OBJECT"><code>JsonToken.START_OBJECT</code></a> or <a href="../../../../org/codehaus/jackson/JsonToken.html#START_ARRAY"><code>JsonToken.START_ARRAY</code></a>.</div>
483</td>
484</tr>
485<tr class="rowColor">
486<td class="colFirst"><code><a href="../../../../org/codehaus/jackson/Version.html" title="class in org.codehaus.jackson">Version</a></code></td>
487<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/util/JsonParserDelegate.html#version()">version</a></strong>()</code>
488<div class="block">Method called to detect version of the component that implements this interface;
489 returned version should never be null, but may return specific "not available"
490 instance (see <a href="../../../../org/codehaus/jackson/Version.html" title="class in org.codehaus.jackson"><code>Version</code></a> for details).</div>
491</td>
492</tr>
493</table>
494<ul class="blockList">
495<li class="blockList"><a name="methods_inherited_from_class_org.codehaus.jackson.JsonParser">
496<!--   -->
497</a>
498<h3>Methods inherited from class&nbsp;org.codehaus.jackson.<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></h3>
499<code><a href="../../../../org/codehaus/jackson/JsonParser.html#_constructError(java.lang.String)">_constructError</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#configure(org.codehaus.jackson.JsonParser.Feature, boolean)">configure</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#disableFeature(org.codehaus.jackson.JsonParser.Feature)">disableFeature</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#enableFeature(org.codehaus.jackson.JsonParser.Feature)">enableFeature</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getBinaryValue()">getBinaryValue</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getValueAsBoolean()">getValueAsBoolean</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getValueAsBoolean(boolean)">getValueAsBoolean</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getValueAsDouble()">getValueAsDouble</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getValueAsDouble(double)">getValueAsDouble</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getValueAsInt()">getValueAsInt</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getValueAsInt(int)">getValueAsInt</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getValueAsLong()">getValueAsLong</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#getValueAsLong(long)">getValueAsLong</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#hasTextCharacters()">hasTextCharacters</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#isExpectedStartArrayToken()">isExpectedStartArrayToken</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#isFeatureEnabled(org.codehaus.jackson.JsonParser.Feature)">isFeatureEnabled</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#nextBooleanValue()">nextBooleanValue</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#nextFieldName(org.codehaus.jackson.SerializableString)">nextFieldName</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#nextIntValue(int)">nextIntValue</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#nextLongValue(long)">nextLongValue</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#nextTextValue()">nextTextValue</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#nextValue()">nextValue</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#readValueAs(java.lang.Class)">readValueAs</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#readValueAs(org.codehaus.jackson.type.TypeReference)">readValueAs</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#readValueAsTree()">readValueAsTree</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#readValuesAs(java.lang.Class)">readValuesAs</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#readValuesAs(org.codehaus.jackson.type.TypeReference)">readValuesAs</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#releaseBuffered(java.io.OutputStream)">releaseBuffered</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#releaseBuffered(java.io.Writer)">releaseBuffered</a>, <a href="../../../../org/codehaus/jackson/JsonParser.html#setFeature(org.codehaus.jackson.JsonParser.Feature, boolean)">setFeature</a></code></li>
500</ul>
501<ul class="blockList">
502<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
503<!--   -->
504</a>
505<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
506<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
507</ul>
508</li>
509</ul>
510</li>
511</ul>
512</div>
513<div class="details">
514<ul class="blockList">
515<li class="blockList">
516<!-- ============ FIELD DETAIL =========== -->
517<ul class="blockList">
518<li class="blockList"><a name="field_detail">
519<!--   -->
520</a>
521<h3>Field Detail</h3>
522<a name="delegate">
523<!--   -->
524</a>
525<ul class="blockListLast">
526<li class="blockList">
527<h4>delegate</h4>
528<pre>protected&nbsp;<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a> delegate</pre>
529<div class="block">Delegate object that method calls are delegated to.</div>
530</li>
531</ul>
532</li>
533</ul>
534<!-- ========= CONSTRUCTOR DETAIL ======== -->
535<ul class="blockList">
536<li class="blockList"><a name="constructor_detail">
537<!--   -->
538</a>
539<h3>Constructor Detail</h3>
540<a name="JsonParserDelegate(org.codehaus.jackson.JsonParser)">
541<!--   -->
542</a>
543<ul class="blockListLast">
544<li class="blockList">
545<h4>JsonParserDelegate</h4>
546<pre>public&nbsp;JsonParserDelegate(<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;d)</pre>
547</li>
548</ul>
549</li>
550</ul>
551<!-- ============ METHOD DETAIL ========== -->
552<ul class="blockList">
553<li class="blockList"><a name="method_detail">
554<!--   -->
555</a>
556<h3>Method Detail</h3>
557<a name="setCodec(org.codehaus.jackson.ObjectCodec)">
558<!--   -->
559</a>
560<ul class="blockList">
561<li class="blockList">
562<h4>setCodec</h4>
563<pre>public&nbsp;void&nbsp;setCodec(<a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a>&nbsp;c)</pre>
564<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#setCodec(org.codehaus.jackson.ObjectCodec)">JsonParser</a></code></strong></div>
565<div class="block">Setter that allows defining <a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson"><code>ObjectCodec</code></a> associated with this
566 parser, if any. Codec is used by <a href="../../../../org/codehaus/jackson/JsonParser.html#readValueAs(java.lang.Class)"><code>JsonParser.readValueAs(Class)</code></a>
567 method (and its variants).</div>
568<dl>
569<dt><strong>Specified by:</strong></dt>
570<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#setCodec(org.codehaus.jackson.ObjectCodec)">setCodec</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
571</dl>
572</li>
573</ul>
574<a name="getCodec()">
575<!--   -->
576</a>
577<ul class="blockList">
578<li class="blockList">
579<h4>getCodec</h4>
580<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson">ObjectCodec</a>&nbsp;getCodec()</pre>
581<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getCodec()">JsonParser</a></code></strong></div>
582<div class="block">Accessor for <a href="../../../../org/codehaus/jackson/ObjectCodec.html" title="class in org.codehaus.jackson"><code>ObjectCodec</code></a> associated with this
583 parser, if any. Codec is used by <a href="../../../../org/codehaus/jackson/JsonParser.html#readValueAs(java.lang.Class)"><code>JsonParser.readValueAs(Class)</code></a>
584 method (and its variants).</div>
585<dl>
586<dt><strong>Specified by:</strong></dt>
587<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getCodec()">getCodec</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
588</dl>
589</li>
590</ul>
591<a name="enable(org.codehaus.jackson.JsonParser.Feature)">
592<!--   -->
593</a>
594<ul class="blockList">
595<li class="blockList">
596<h4>enable</h4>
597<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;enable(<a href="../../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</pre>
598<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#enable(org.codehaus.jackson.JsonParser.Feature)">JsonParser</a></code></strong></div>
599<div class="block">Method for enabling specified parser feature
600 (check <a href="../../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson"><code>JsonParser.Feature</code></a> for list of features)</div>
601<dl>
602<dt><strong>Overrides:</strong></dt>
603<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#enable(org.codehaus.jackson.JsonParser.Feature)">enable</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
604</dl>
605</li>
606</ul>
607<a name="disable(org.codehaus.jackson.JsonParser.Feature)">
608<!--   -->
609</a>
610<ul class="blockList">
611<li class="blockList">
612<h4>disable</h4>
613<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;disable(<a href="../../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</pre>
614<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#disable(org.codehaus.jackson.JsonParser.Feature)">JsonParser</a></code></strong></div>
615<div class="block">Method for disabling specified  feature
616 (check <a href="../../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson"><code>JsonParser.Feature</code></a> for list of features)</div>
617<dl>
618<dt><strong>Overrides:</strong></dt>
619<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#disable(org.codehaus.jackson.JsonParser.Feature)">disable</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
620</dl>
621</li>
622</ul>
623<a name="isEnabled(org.codehaus.jackson.JsonParser.Feature)">
624<!--   -->
625</a>
626<ul class="blockList">
627<li class="blockList">
628<h4>isEnabled</h4>
629<pre>public&nbsp;boolean&nbsp;isEnabled(<a href="../../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson">JsonParser.Feature</a>&nbsp;f)</pre>
630<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#isEnabled(org.codehaus.jackson.JsonParser.Feature)">JsonParser</a></code></strong></div>
631<div class="block">Method for checking whether specified <a href="../../../../org/codehaus/jackson/JsonParser.Feature.html" title="enum in org.codehaus.jackson"><code>JsonParser.Feature</code></a>
632 is enabled.</div>
633<dl>
634<dt><strong>Overrides:</strong></dt>
635<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#isEnabled(org.codehaus.jackson.JsonParser.Feature)">isEnabled</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
636</dl>
637</li>
638</ul>
639<a name="setSchema(org.codehaus.jackson.FormatSchema)">
640<!--   -->
641</a>
642<ul class="blockList">
643<li class="blockList">
644<h4>setSchema</h4>
645<pre>public&nbsp;void&nbsp;setSchema(<a href="../../../../org/codehaus/jackson/FormatSchema.html" title="interface in org.codehaus.jackson">FormatSchema</a>&nbsp;schema)</pre>
646<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#setSchema(org.codehaus.jackson.FormatSchema)">JsonParser</a></code></strong></div>
647<div class="block">Method to call to make this parser use specified schema. Method must
648 be called before trying to parse any content, right after parser instance
649 has been created.
650 Note that not all parsers support schemas; and those that do usually only
651 accept specific types of schemas: ones defined for data format parser can read.
652<p>
653 If parser does not support specified schema, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><code>UnsupportedOperationException</code></a>
654 is thrown.</div>
655<dl>
656<dt><strong>Overrides:</strong></dt>
657<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#setSchema(org.codehaus.jackson.FormatSchema)">setSchema</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
658<dt><span class="strong">Parameters:</span></dt><dd><code>schema</code> - Schema to use</dd></dl>
659</li>
660</ul>
661<a name="canUseSchema(org.codehaus.jackson.FormatSchema)">
662<!--   -->
663</a>
664<ul class="blockList">
665<li class="blockList">
666<h4>canUseSchema</h4>
667<pre>public&nbsp;boolean&nbsp;canUseSchema(<a href="../../../../org/codehaus/jackson/FormatSchema.html" title="interface in org.codehaus.jackson">FormatSchema</a>&nbsp;schema)</pre>
668<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#canUseSchema(org.codehaus.jackson.FormatSchema)">JsonParser</a></code></strong></div>
669<div class="block">Method that can be used to verify that given schema can be used with
670 this parser (using <a href="../../../../org/codehaus/jackson/JsonParser.html#setSchema(org.codehaus.jackson.FormatSchema)"><code>JsonParser.setSchema(org.codehaus.jackson.FormatSchema)</code></a>).</div>
671<dl>
672<dt><strong>Overrides:</strong></dt>
673<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#canUseSchema(org.codehaus.jackson.FormatSchema)">canUseSchema</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
674<dt><span class="strong">Parameters:</span></dt><dd><code>schema</code> - Schema to check</dd>
675<dt><span class="strong">Returns:</span></dt><dd>True if this parser can use given schema; false if not</dd></dl>
676</li>
677</ul>
678<a name="version()">
679<!--   -->
680</a>
681<ul class="blockList">
682<li class="blockList">
683<h4>version</h4>
684<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/Version.html" title="class in org.codehaus.jackson">Version</a>&nbsp;version()</pre>
685<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/codehaus/jackson/Versioned.html#version()">Versioned</a></code></strong></div>
686<div class="block">Method called to detect version of the component that implements this interface;
687 returned version should never be null, but may return specific "not available"
688 instance (see <a href="../../../../org/codehaus/jackson/Version.html" title="class in org.codehaus.jackson"><code>Version</code></a> for details).</div>
689<dl>
690<dt><strong>Specified by:</strong></dt>
691<dd><code><a href="../../../../org/codehaus/jackson/Versioned.html#version()">version</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/Versioned.html" title="interface in org.codehaus.jackson">Versioned</a></code></dd>
692<dt><strong>Overrides:</strong></dt>
693<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#version()">version</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
694</dl>
695</li>
696</ul>
697<a name="getInputSource()">
698<!--   -->
699</a>
700<ul class="blockList">
701<li class="blockList">
702<h4>getInputSource</h4>
703<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getInputSource()</pre>
704<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getInputSource()">JsonParser</a></code></strong></div>
705<div class="block">Method that can be used to get access to object that is used
706 to access input being parsed; this is usually either
707 <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> or <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a>, depending on what
708 parser was constructed with.
709 Note that returned value may be null in some cases; including
710 case where parser implementation does not want to exposed raw
711 source to caller.
712 In cases where input has been decorated, object returned here
713 is the decorated version; this allows some level of interaction
714 between users of parser and decorator object.
715<p>
716 In general use of this accessor should be considered as
717 "last effort", i.e. only used if no other mechanism is applicable.</div>
718<dl>
719<dt><strong>Overrides:</strong></dt>
720<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getInputSource()">getInputSource</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
721</dl>
722</li>
723</ul>
724<a name="close()">
725<!--   -->
726</a>
727<ul class="blockList">
728<li class="blockList">
729<h4>close</h4>
730<pre>public&nbsp;void&nbsp;close()
731           throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
732<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#close()">JsonParser</a></code></strong></div>
733<div class="block">Closes the parser so that no further iteration or data access
734 can be made; will also close the underlying input source
735 if parser either <b>owns</b> the input source, or feature
736 <a href="../../../../org/codehaus/jackson/JsonParser.Feature.html#AUTO_CLOSE_SOURCE"><code>JsonParser.Feature.AUTO_CLOSE_SOURCE</code></a> is enabled.
737 Whether parser owns the input source depends on factory
738 method that was used to construct instance (so check
739 <a href="../../../../org/codehaus/jackson/JsonFactory.html" title="class in org.codehaus.jackson"><code>JsonFactory</code></a> for details,
740 but the general
741 idea is that if caller passes in closable resource (such
742 as <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> or <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io"><code>Reader</code></a>) parser does NOT
743 own the source; but if it passes a reference (such as
744 <a href="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io"><code>File</code></a> or <a href="http://docs.oracle.com/javase/6/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net"><code>URL</code></a> and creates
745 stream or reader it does own them.</div>
746<dl>
747<dt><strong>Specified by:</strong></dt>
748<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true#close()" title="class or interface in java.io">close</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd>
749<dt><strong>Specified by:</strong></dt>
750<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true#close()" title="class or interface in java.lang">close</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd>
751<dt><strong>Specified by:</strong></dt>
752<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#close()">close</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
753<dt><span class="strong">Throws:</span></dt>
754<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
755</li>
756</ul>
757<a name="isClosed()">
758<!--   -->
759</a>
760<ul class="blockList">
761<li class="blockList">
762<h4>isClosed</h4>
763<pre>public&nbsp;boolean&nbsp;isClosed()</pre>
764<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#isClosed()">JsonParser</a></code></strong></div>
765<div class="block">Method that can be called to determine whether this parser
766 is closed or not. If it is closed, no new tokens can be
767 retrieved by calling <a href="../../../../org/codehaus/jackson/JsonParser.html#nextToken()"><code>JsonParser.nextToken()</code></a> (and the underlying
768 stream may be closed). Closing may be due to an explicit
769 call to <a href="../../../../org/codehaus/jackson/JsonParser.html#close()"><code>JsonParser.close()</code></a> or because parser has encountered
770 end of input.</div>
771<dl>
772<dt><strong>Specified by:</strong></dt>
773<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#isClosed()">isClosed</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
774</dl>
775</li>
776</ul>
777<a name="getCurrentToken()">
778<!--   -->
779</a>
780<ul class="blockList">
781<li class="blockList">
782<h4>getCurrentToken</h4>
783<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a>&nbsp;getCurrentToken()</pre>
784<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getCurrentToken()">JsonParser</a></code></strong></div>
785<div class="block">Accessor to find which token parser currently points to, if any;
786 null will be returned if none.
787 If return value is non-null, data associated with the token
788 is available via other accessor methods.</div>
789<dl>
790<dt><strong>Overrides:</strong></dt>
791<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getCurrentToken()">getCurrentToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
792<dt><span class="strong">Returns:</span></dt><dd>Type of the token this parser currently points to,
793   if any: null before any tokens have been read, and
794   after end-of-input has been encountered, as well as
795   if the current token has been explicitly cleared.</dd></dl>
796</li>
797</ul>
798<a name="hasCurrentToken()">
799<!--   -->
800</a>
801<ul class="blockList">
802<li class="blockList">
803<h4>hasCurrentToken</h4>
804<pre>public&nbsp;boolean&nbsp;hasCurrentToken()</pre>
805<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#hasCurrentToken()">JsonParser</a></code></strong></div>
806<div class="block">Method for checking whether parser currently points to
807 a token (and data for that token is available).
808 Equivalent to check for <code>parser.getCurrentToken() != null</code>.</div>
809<dl>
810<dt><strong>Overrides:</strong></dt>
811<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#hasCurrentToken()">hasCurrentToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
812<dt><span class="strong">Returns:</span></dt><dd>True if the parser just returned a valid
813   token via <a href="../../../../org/codehaus/jackson/JsonParser.html#nextToken()"><code>JsonParser.nextToken()</code></a>; false otherwise (parser
814   was just constructed, encountered end-of-input
815   and returned null from <a href="../../../../org/codehaus/jackson/JsonParser.html#nextToken()"><code>JsonParser.nextToken()</code></a>, or the token
816   has been consumed)</dd></dl>
817</li>
818</ul>
819<a name="clearCurrentToken()">
820<!--   -->
821</a>
822<ul class="blockList">
823<li class="blockList">
824<h4>clearCurrentToken</h4>
825<pre>public&nbsp;void&nbsp;clearCurrentToken()</pre>
826<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#clearCurrentToken()">JsonParser</a></code></strong></div>
827<div class="block">Method called to "consume" the current token by effectively
828 removing it so that <a href="../../../../org/codehaus/jackson/JsonParser.html#hasCurrentToken()"><code>JsonParser.hasCurrentToken()</code></a> returns false, and
829 <a href="../../../../org/codehaus/jackson/JsonParser.html#getCurrentToken()"><code>JsonParser.getCurrentToken()</code></a> null).
830 Cleared token value can still be accessed by calling
831 <a href="../../../../org/codehaus/jackson/JsonParser.html#getLastClearedToken()"><code>JsonParser.getLastClearedToken()</code></a> (if absolutely needed), but
832 usually isn't.
833<p>
834 Method was added to be used by the optional data binder, since
835 it has to be able to consume last token used for binding (so that
836 it will not be used again).</div>
837<dl>
838<dt><strong>Overrides:</strong></dt>
839<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#clearCurrentToken()">clearCurrentToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
840</dl>
841</li>
842</ul>
843<a name="getCurrentName()">
844<!--   -->
845</a>
846<ul class="blockList">
847<li class="blockList">
848<h4>getCurrentName</h4>
849<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getCurrentName()
850                      throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
851                             <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
852<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getCurrentName()">JsonParser</a></code></strong></div>
853<div class="block">Method that can be called to get the name associated with
854 the current token: for <a href="../../../../org/codehaus/jackson/JsonToken.html#FIELD_NAME"><code>JsonToken.FIELD_NAME</code></a>s it will
855 be the same as what <a href="../../../../org/codehaus/jackson/JsonParser.html#getText()"><code>JsonParser.getText()</code></a> returns;
856 for field values it will be preceding field name;
857 and for others (array values, root-level values) null.</div>
858<dl>
859<dt><strong>Specified by:</strong></dt>
860<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getCurrentName()">getCurrentName</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
861<dt><span class="strong">Throws:</span></dt>
862<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
863<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
864</li>
865</ul>
866<a name="getCurrentLocation()">
867<!--   -->
868</a>
869<ul class="blockList">
870<li class="blockList">
871<h4>getCurrentLocation</h4>
872<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a>&nbsp;getCurrentLocation()</pre>
873<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getCurrentLocation()">JsonParser</a></code></strong></div>
874<div class="block">Method that returns location of the last processed character;
875 usually for error reporting purposes.</div>
876<dl>
877<dt><strong>Specified by:</strong></dt>
878<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getCurrentLocation()">getCurrentLocation</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
879</dl>
880</li>
881</ul>
882<a name="getLastClearedToken()">
883<!--   -->
884</a>
885<ul class="blockList">
886<li class="blockList">
887<h4>getLastClearedToken</h4>
888<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a>&nbsp;getLastClearedToken()</pre>
889<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getLastClearedToken()">JsonParser</a></code></strong></div>
890<div class="block">Method that can be called to get the last token that was
891 cleared using <a href="../../../../org/codehaus/jackson/JsonParser.html#clearCurrentToken()"><code>JsonParser.clearCurrentToken()</code></a>. This is not necessarily
892 the latest token read.
893 Will return null if no tokens have been cleared,
894 or if parser has been closed.</div>
895<dl>
896<dt><strong>Overrides:</strong></dt>
897<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getLastClearedToken()">getLastClearedToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
898</dl>
899</li>
900</ul>
901<a name="getParsingContext()">
902<!--   -->
903</a>
904<ul class="blockList">
905<li class="blockList">
906<h4>getParsingContext</h4>
907<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/JsonStreamContext.html" title="class in org.codehaus.jackson">JsonStreamContext</a>&nbsp;getParsingContext()</pre>
908<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getParsingContext()">JsonParser</a></code></strong></div>
909<div class="block">Method that can be used to access current parsing context reader
910 is in. There are 3 different types: root, array and object contexts,
911 with slightly different available information. Contexts are
912 hierarchically nested, and can be used for example for figuring
913 out part of the input document that correspond to specific
914 array or object (for highlighting purposes, or error reporting).
915 Contexts can also be used for simple xpath-like matching of
916 input, if so desired.</div>
917<dl>
918<dt><strong>Specified by:</strong></dt>
919<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getParsingContext()">getParsingContext</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
920</dl>
921</li>
922</ul>
923<a name="getText()">
924<!--   -->
925</a>
926<ul class="blockList">
927<li class="blockList">
928<h4>getText</h4>
929<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getText()
930               throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
931                      <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
932<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getText()">JsonParser</a></code></strong></div>
933<div class="block">Method for accessing textual representation of the current token;
934 if no current token (before first call to <a href="../../../../org/codehaus/jackson/JsonParser.html#nextToken()"><code>JsonParser.nextToken()</code></a>, or
935 after encountering end-of-input), returns null.
936 Method can be called for any token type.</div>
937<dl>
938<dt><strong>Specified by:</strong></dt>
939<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getText()">getText</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
940<dt><span class="strong">Throws:</span></dt>
941<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
942<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
943</li>
944</ul>
945<a name="getTextCharacters()">
946<!--   -->
947</a>
948<ul class="blockList">
949<li class="blockList">
950<h4>getTextCharacters</h4>
951<pre>public&nbsp;char[]&nbsp;getTextCharacters()
952                         throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
953                                <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
954<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()">JsonParser</a></code></strong></div>
955<div class="block">Method similar to <a href="../../../../org/codehaus/jackson/JsonParser.html#getText()"><code>JsonParser.getText()</code></a>, but that will return
956 underlying (unmodifiable) character array that contains
957 textual value, instead of constructing a String object
958 to contain this information.
959 Note, however, that:
960<ul>
961 <li>Textual contents are not guaranteed to start at
962   index 0 (rather, call <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextOffset()"><code>JsonParser.getTextOffset()</code></a>) to
963   know the actual offset
964  </li>
965 <li>Length of textual contents may be less than the
966  length of returned buffer: call <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextLength()"><code>JsonParser.getTextLength()</code></a>
967  for actual length of returned content.
968  </li>
969 </ul>
970<p>
971 Note that caller <b>MUST NOT</b> modify the returned
972 character array in any way -- doing so may corrupt
973 current parser state and render parser instance useless.
974<p>
975 The only reason to call this method (over <a href="../../../../org/codehaus/jackson/JsonParser.html#getText()"><code>JsonParser.getText()</code></a>)
976 is to avoid construction of a String object (which
977 will make a copy of contents).</div>
978<dl>
979<dt><strong>Specified by:</strong></dt>
980<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()">getTextCharacters</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
981<dt><span class="strong">Throws:</span></dt>
982<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
983<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
984</li>
985</ul>
986<a name="getTextLength()">
987<!--   -->
988</a>
989<ul class="blockList">
990<li class="blockList">
991<h4>getTextLength</h4>
992<pre>public&nbsp;int&nbsp;getTextLength()
993                  throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
994                         <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
995<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getTextLength()">JsonParser</a></code></strong></div>
996<div class="block">Accessor used with <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()"><code>JsonParser.getTextCharacters()</code></a>, to know length
997 of String stored in returned buffer.</div>
998<dl>
999<dt><strong>Specified by:</strong></dt>
1000<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getTextLength()">getTextLength</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1001<dt><span class="strong">Returns:</span></dt><dd>Number of characters within buffer returned
1002   by <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()"><code>JsonParser.getTextCharacters()</code></a> that are part of
1003   textual content of the current token.</dd>
1004<dt><span class="strong">Throws:</span></dt>
1005<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1006<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1007</li>
1008</ul>
1009<a name="getTextOffset()">
1010<!--   -->
1011</a>
1012<ul class="blockList">
1013<li class="blockList">
1014<h4>getTextOffset</h4>
1015<pre>public&nbsp;int&nbsp;getTextOffset()
1016                  throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1017                         <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1018<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getTextOffset()">JsonParser</a></code></strong></div>
1019<div class="block">Accessor used with <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()"><code>JsonParser.getTextCharacters()</code></a>, to know offset
1020 of the first text content character within buffer.</div>
1021<dl>
1022<dt><strong>Specified by:</strong></dt>
1023<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getTextOffset()">getTextOffset</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1024<dt><span class="strong">Returns:</span></dt><dd>Offset of the first character within buffer returned
1025   by <a href="../../../../org/codehaus/jackson/JsonParser.html#getTextCharacters()"><code>JsonParser.getTextCharacters()</code></a> that is part of
1026   textual content of the current token.</dd>
1027<dt><span class="strong">Throws:</span></dt>
1028<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1029<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1030</li>
1031</ul>
1032<a name="getBooleanValue()">
1033<!--   -->
1034</a>
1035<ul class="blockList">
1036<li class="blockList">
1037<h4>getBooleanValue</h4>
1038<pre>public&nbsp;boolean&nbsp;getBooleanValue()
1039                        throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1040                               <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1041<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getBooleanValue()">JsonParser</a></code></strong></div>
1042<div class="block">Convenience accessor that can be called when the current
1043 token is <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_TRUE"><code>JsonToken.VALUE_TRUE</code></a> or
1044 <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_FALSE"><code>JsonToken.VALUE_FALSE</code></a>.
1045<p>
1046 Note: if the token is not of above-mentioned boolean types,
1047 an integer, but its value falls
1048 outside of range of Java long, a <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson"><code>JsonParseException</code></a>
1049 may be thrown to indicate numeric overflow/underflow.</div>
1050<dl>
1051<dt><strong>Overrides:</strong></dt>
1052<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getBooleanValue()">getBooleanValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1053<dt><span class="strong">Throws:</span></dt>
1054<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1055<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1056</li>
1057</ul>
1058<a name="getBigIntegerValue()">
1059<!--   -->
1060</a>
1061<ul class="blockList">
1062<li class="blockList">
1063<h4>getBigIntegerValue</h4>
1064<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a>&nbsp;getBigIntegerValue()
1065                              throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1066                                     <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1067<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getBigIntegerValue()">JsonParser</a></code></strong></div>
1068<div class="block">Numeric accessor that can be called when the current
1069 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and
1070 it can not be used as a Java long primitive type due to its
1071 magnitude.
1072 It can also be called for <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a>;
1073 if so, it is equivalent to calling <a href="../../../../org/codehaus/jackson/JsonParser.html#getDecimalValue()"><code>JsonParser.getDecimalValue()</code></a>
1074 and then constructing a <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><code>BigInteger</code></a> from that value.</div>
1075<dl>
1076<dt><strong>Specified by:</strong></dt>
1077<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getBigIntegerValue()">getBigIntegerValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1078<dt><span class="strong">Throws:</span></dt>
1079<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1080<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1081</li>
1082</ul>
1083<a name="getByteValue()">
1084<!--   -->
1085</a>
1086<ul class="blockList">
1087<li class="blockList">
1088<h4>getByteValue</h4>
1089<pre>public&nbsp;byte&nbsp;getByteValue()
1090                  throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1091                         <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1092<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getByteValue()">JsonParser</a></code></strong></div>
1093<div class="block">Numeric accessor that can be called when the current
1094 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and
1095 it can be expressed as a value of Java byte primitive type.
1096 It can also be called for <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a>;
1097 if so, it is equivalent to calling <a href="../../../../org/codehaus/jackson/JsonParser.html#getDoubleValue()"><code>JsonParser.getDoubleValue()</code></a>
1098 and then casting; except for possible overflow/underflow
1099 exception.
1100<p>
1101 Note: if the resulting integer value falls outside range of
1102 Java byte, a <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson"><code>JsonParseException</code></a>
1103 will be thrown to indicate numeric overflow/underflow.</div>
1104<dl>
1105<dt><strong>Overrides:</strong></dt>
1106<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getByteValue()">getByteValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1107<dt><span class="strong">Throws:</span></dt>
1108<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1109<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1110</li>
1111</ul>
1112<a name="getShortValue()">
1113<!--   -->
1114</a>
1115<ul class="blockList">
1116<li class="blockList">
1117<h4>getShortValue</h4>
1118<pre>public&nbsp;short&nbsp;getShortValue()
1119                    throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1120                           <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1121<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getShortValue()">JsonParser</a></code></strong></div>
1122<div class="block">Numeric accessor that can be called when the current
1123 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and
1124 it can be expressed as a value of Java short primitive type.
1125 It can also be called for <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a>;
1126 if so, it is equivalent to calling <a href="../../../../org/codehaus/jackson/JsonParser.html#getDoubleValue()"><code>JsonParser.getDoubleValue()</code></a>
1127 and then casting; except for possible overflow/underflow
1128 exception.
1129<p>
1130 Note: if the resulting integer value falls outside range of
1131 Java short, a <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson"><code>JsonParseException</code></a>
1132 will be thrown to indicate numeric overflow/underflow.</div>
1133<dl>
1134<dt><strong>Overrides:</strong></dt>
1135<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getShortValue()">getShortValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1136<dt><span class="strong">Throws:</span></dt>
1137<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1138<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1139</li>
1140</ul>
1141<a name="getDecimalValue()">
1142<!--   -->
1143</a>
1144<ul class="blockList">
1145<li class="blockList">
1146<h4>getDecimalValue</h4>
1147<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a>&nbsp;getDecimalValue()
1148                           throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1149                                  <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1150<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getDecimalValue()">JsonParser</a></code></strong></div>
1151<div class="block">Numeric accessor that can be called when the current
1152 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a> or
1153 <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a>. No under/overflow exceptions
1154 are ever thrown.</div>
1155<dl>
1156<dt><strong>Specified by:</strong></dt>
1157<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getDecimalValue()">getDecimalValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1158<dt><span class="strong">Throws:</span></dt>
1159<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1160<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1161</li>
1162</ul>
1163<a name="getDoubleValue()">
1164<!--   -->
1165</a>
1166<ul class="blockList">
1167<li class="blockList">
1168<h4>getDoubleValue</h4>
1169<pre>public&nbsp;double&nbsp;getDoubleValue()
1170                      throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1171                             <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1172<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getDoubleValue()">JsonParser</a></code></strong></div>
1173<div class="block">Numeric accessor that can be called when the current
1174 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a> and
1175 it can be expressed as a Java double primitive type.
1176 It can also be called for <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a>;
1177 if so, it is equivalent to calling <a href="../../../../org/codehaus/jackson/JsonParser.html#getLongValue()"><code>JsonParser.getLongValue()</code></a>
1178 and then casting; except for possible overflow/underflow
1179 exception.
1180<p>
1181 Note: if the value falls
1182 outside of range of Java double, a <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson"><code>JsonParseException</code></a>
1183 will be thrown to indicate numeric overflow/underflow.</div>
1184<dl>
1185<dt><strong>Specified by:</strong></dt>
1186<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getDoubleValue()">getDoubleValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1187<dt><span class="strong">Throws:</span></dt>
1188<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1189<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1190</li>
1191</ul>
1192<a name="getFloatValue()">
1193<!--   -->
1194</a>
1195<ul class="blockList">
1196<li class="blockList">
1197<h4>getFloatValue</h4>
1198<pre>public&nbsp;float&nbsp;getFloatValue()
1199                    throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1200                           <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1201<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getFloatValue()">JsonParser</a></code></strong></div>
1202<div class="block">Numeric accessor that can be called when the current
1203 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a> and
1204 it can be expressed as a Java float primitive type.
1205 It can also be called for <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a>;
1206 if so, it is equivalent to calling <a href="../../../../org/codehaus/jackson/JsonParser.html#getLongValue()"><code>JsonParser.getLongValue()</code></a>
1207 and then casting; except for possible overflow/underflow
1208 exception.
1209<p>
1210 Note: if the value falls
1211 outside of range of Java float, a <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson"><code>JsonParseException</code></a>
1212 will be thrown to indicate numeric overflow/underflow.</div>
1213<dl>
1214<dt><strong>Specified by:</strong></dt>
1215<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getFloatValue()">getFloatValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1216<dt><span class="strong">Throws:</span></dt>
1217<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1218<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1219</li>
1220</ul>
1221<a name="getIntValue()">
1222<!--   -->
1223</a>
1224<ul class="blockList">
1225<li class="blockList">
1226<h4>getIntValue</h4>
1227<pre>public&nbsp;int&nbsp;getIntValue()
1228                throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1229                       <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1230<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getIntValue()">JsonParser</a></code></strong></div>
1231<div class="block">Numeric accessor that can be called when the current
1232 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and
1233 it can be expressed as a value of Java int primitive type.
1234 It can also be called for <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a>;
1235 if so, it is equivalent to calling <a href="../../../../org/codehaus/jackson/JsonParser.html#getDoubleValue()"><code>JsonParser.getDoubleValue()</code></a>
1236 and then casting; except for possible overflow/underflow
1237 exception.
1238<p>
1239 Note: if the resulting integer value falls outside range of
1240 Java int, a <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson"><code>JsonParseException</code></a>
1241 may be thrown to indicate numeric overflow/underflow.</div>
1242<dl>
1243<dt><strong>Specified by:</strong></dt>
1244<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getIntValue()">getIntValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1245<dt><span class="strong">Throws:</span></dt>
1246<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1247<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1248</li>
1249</ul>
1250<a name="getLongValue()">
1251<!--   -->
1252</a>
1253<ul class="blockList">
1254<li class="blockList">
1255<h4>getLongValue</h4>
1256<pre>public&nbsp;long&nbsp;getLongValue()
1257                  throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1258                         <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1259<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getLongValue()">JsonParser</a></code></strong></div>
1260<div class="block">Numeric accessor that can be called when the current
1261 token is of type <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> and
1262 it can be expressed as a Java long primitive type.
1263 It can also be called for <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a>;
1264 if so, it is equivalent to calling <a href="../../../../org/codehaus/jackson/JsonParser.html#getDoubleValue()"><code>JsonParser.getDoubleValue()</code></a>
1265 and then casting to int; except for possible overflow/underflow
1266 exception.
1267<p>
1268 Note: if the token is an integer, but its value falls
1269 outside of range of Java long, a <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson"><code>JsonParseException</code></a>
1270 may be thrown to indicate numeric overflow/underflow.</div>
1271<dl>
1272<dt><strong>Specified by:</strong></dt>
1273<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getLongValue()">getLongValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1274<dt><span class="strong">Throws:</span></dt>
1275<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1276<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1277</li>
1278</ul>
1279<a name="getNumberType()">
1280<!--   -->
1281</a>
1282<ul class="blockList">
1283<li class="blockList">
1284<h4>getNumberType</h4>
1285<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/JsonParser.NumberType.html" title="enum in org.codehaus.jackson">JsonParser.NumberType</a>&nbsp;getNumberType()
1286                                    throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1287                                           <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1288<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getNumberType()">JsonParser</a></code></strong></div>
1289<div class="block">If current token is of type
1290 <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_INT"><code>JsonToken.VALUE_NUMBER_INT</code></a> or
1291 <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_NUMBER_FLOAT"><code>JsonToken.VALUE_NUMBER_FLOAT</code></a>, returns
1292 one of <a href="../../../../org/codehaus/jackson/JsonParser.NumberType.html" title="enum in org.codehaus.jackson"><code>JsonParser.NumberType</code></a> constants; otherwise returns null.</div>
1293<dl>
1294<dt><strong>Specified by:</strong></dt>
1295<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getNumberType()">getNumberType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1296<dt><span class="strong">Throws:</span></dt>
1297<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1298<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1299</li>
1300</ul>
1301<a name="getNumberValue()">
1302<!--   -->
1303</a>
1304<ul class="blockList">
1305<li class="blockList">
1306<h4>getNumberValue</h4>
1307<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&nbsp;getNumberValue()
1308                      throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1309                             <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1310<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getNumberValue()">JsonParser</a></code></strong></div>
1311<div class="block">Generic number value accessor method that will work for
1312 all kinds of numeric values. It will return the optimal
1313 (simplest/smallest possible) wrapper object that can
1314 express the numeric value just parsed.</div>
1315<dl>
1316<dt><strong>Specified by:</strong></dt>
1317<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getNumberValue()">getNumberValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1318<dt><span class="strong">Throws:</span></dt>
1319<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1320<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1321</li>
1322</ul>
1323<a name="getBinaryValue(org.codehaus.jackson.Base64Variant)">
1324<!--   -->
1325</a>
1326<ul class="blockList">
1327<li class="blockList">
1328<h4>getBinaryValue</h4>
1329<pre>public&nbsp;byte[]&nbsp;getBinaryValue(<a href="../../../../org/codehaus/jackson/Base64Variant.html" title="class in org.codehaus.jackson">Base64Variant</a>&nbsp;b64variant)
1330                      throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1331                             <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1332<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getBinaryValue(org.codehaus.jackson.Base64Variant)">JsonParser</a></code></strong></div>
1333<div class="block">Method that can be used to read (and consume -- results
1334 may not be accessible using other methods after the call)
1335 base64-encoded binary data
1336 included in the current textual JSON value.
1337 It works similar to getting String value via <a href="../../../../org/codehaus/jackson/JsonParser.html#getText()"><code>JsonParser.getText()</code></a>
1338 and decoding result (except for decoding part),
1339 but should be significantly more performant.
1340<p>
1341 Note that non-decoded textual contents of the current token
1342 are not guaranteed to be accessible after this method
1343 is called. Current implementation, for example, clears up
1344 textual content during decoding.
1345 Decoded binary content, however, will be retained until
1346 parser is advanced to the next event.</div>
1347<dl>
1348<dt><strong>Specified by:</strong></dt>
1349<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getBinaryValue(org.codehaus.jackson.Base64Variant)">getBinaryValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1350<dt><span class="strong">Parameters:</span></dt><dd><code>b64variant</code> - Expected variant of base64 encoded
1351   content (see <a href="../../../../org/codehaus/jackson/Base64Variants.html" title="class in org.codehaus.jackson"><code>Base64Variants</code></a> for definitions
1352   of "standard" variants).</dd>
1353<dt><span class="strong">Returns:</span></dt><dd>Decoded binary data</dd>
1354<dt><span class="strong">Throws:</span></dt>
1355<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1356<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1357</li>
1358</ul>
1359<a name="getEmbeddedObject()">
1360<!--   -->
1361</a>
1362<ul class="blockList">
1363<li class="blockList">
1364<h4>getEmbeddedObject</h4>
1365<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getEmbeddedObject()
1366                         throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1367                                <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1368<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getEmbeddedObject()">JsonParser</a></code></strong></div>
1369<div class="block">Accessor that can be called if (and only if) the current token
1370 is <a href="../../../../org/codehaus/jackson/JsonToken.html#VALUE_EMBEDDED_OBJECT"><code>JsonToken.VALUE_EMBEDDED_OBJECT</code></a>. For other token types,
1371 null is returned.
1372<p>
1373 Note: only some specialized parser implementations support
1374 embedding of objects (usually ones that are facades on top
1375 of non-streaming sources, such as object trees).</div>
1376<dl>
1377<dt><strong>Overrides:</strong></dt>
1378<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getEmbeddedObject()">getEmbeddedObject</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1379<dt><span class="strong">Throws:</span></dt>
1380<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1381<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1382</li>
1383</ul>
1384<a name="getTokenLocation()">
1385<!--   -->
1386</a>
1387<ul class="blockList">
1388<li class="blockList">
1389<h4>getTokenLocation</h4>
1390<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/JsonLocation.html" title="class in org.codehaus.jackson">JsonLocation</a>&nbsp;getTokenLocation()</pre>
1391<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#getTokenLocation()">JsonParser</a></code></strong></div>
1392<div class="block">Method that return the <b>starting</b> location of the current
1393 token; that is, position of the first character from input
1394 that starts the current token.</div>
1395<dl>
1396<dt><strong>Specified by:</strong></dt>
1397<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#getTokenLocation()">getTokenLocation</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1398</dl>
1399</li>
1400</ul>
1401<a name="nextToken()">
1402<!--   -->
1403</a>
1404<ul class="blockList">
1405<li class="blockList">
1406<h4>nextToken</h4>
1407<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/JsonToken.html" title="enum in org.codehaus.jackson">JsonToken</a>&nbsp;nextToken()
1408                    throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1409                           <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1410<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#nextToken()">JsonParser</a></code></strong></div>
1411<div class="block">Main iteration method, which will advance stream enough
1412 to determine type of the next token, if any. If none
1413 remaining (stream has no content other than possible
1414 white space before ending), null will be returned.</div>
1415<dl>
1416<dt><strong>Specified by:</strong></dt>
1417<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#nextToken()">nextToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1418<dt><span class="strong">Returns:</span></dt><dd>Next token from the stream, if any found, or null
1419   to indicate end-of-input</dd>
1420<dt><span class="strong">Throws:</span></dt>
1421<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1422<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1423</li>
1424</ul>
1425<a name="skipChildren()">
1426<!--   -->
1427</a>
1428<ul class="blockListLast">
1429<li class="blockList">
1430<h4>skipChildren</h4>
1431<pre>public&nbsp;<a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a>&nbsp;skipChildren()
1432                        throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
1433                               <a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></pre>
1434<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html#skipChildren()">JsonParser</a></code></strong></div>
1435<div class="block">Method that will skip all child tokens of an array or
1436 object token that the parser currently points to,
1437 iff stream points to
1438 <a href="../../../../org/codehaus/jackson/JsonToken.html#START_OBJECT"><code>JsonToken.START_OBJECT</code></a> or <a href="../../../../org/codehaus/jackson/JsonToken.html#START_ARRAY"><code>JsonToken.START_ARRAY</code></a>.
1439 If not, it will do nothing.
1440 After skipping, stream will point to <b>matching</b>
1441 <a href="../../../../org/codehaus/jackson/JsonToken.html#END_OBJECT"><code>JsonToken.END_OBJECT</code></a> or <a href="../../../../org/codehaus/jackson/JsonToken.html#END_ARRAY"><code>JsonToken.END_ARRAY</code></a>
1442 (possibly skipping nested pairs of START/END OBJECT/ARRAY tokens
1443 as well as value tokens).
1444 The idea is that after calling this method, application
1445 will call <a href="../../../../org/codehaus/jackson/JsonParser.html#nextToken()"><code>JsonParser.nextToken()</code></a> to point to the next
1446 available token, if any.</div>
1447<dl>
1448<dt><strong>Specified by:</strong></dt>
1449<dd><code><a href="../../../../org/codehaus/jackson/JsonParser.html#skipChildren()">skipChildren</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/codehaus/jackson/JsonParser.html" title="class in org.codehaus.jackson">JsonParser</a></code></dd>
1450<dt><span class="strong">Throws:</span></dt>
1451<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1452<dd><code><a href="../../../../org/codehaus/jackson/JsonParseException.html" title="class in org.codehaus.jackson">JsonParseException</a></code></dd></dl>
1453</li>
1454</ul>
1455</li>
1456</ul>
1457</li>
1458</ul>
1459</div>
1460</div>
1461<!-- ========= END OF CLASS DATA ========= -->
1462<!-- ======= START OF BOTTOM NAVBAR ====== -->
1463<div class="bottomNav"><a name="navbar_bottom">
1464<!--   -->
1465</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
1466<!--   -->
1467</a>
1468<ul class="navList" title="Navigation">
1469<li><a href="../../../../overview-summary.html">Overview</a></li>
1470<li><a href="package-summary.html">Package</a></li>
1471<li class="navBarCell1Rev">Class</li>
1472<li><a href="class-use/JsonParserDelegate.html">Use</a></li>
1473<li><a href="package-tree.html">Tree</a></li>
1474<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
1475<li><a href="../../../../index-all.html">Index</a></li>
1476<li><a href="../../../../help-doc.html">Help</a></li>
1477</ul>
1478</div>
1479<div class="subNav">
1480<ul class="navList">
1481<li><a href="../../../../org/codehaus/jackson/util/JsonGeneratorDelegate.html" title="class in org.codehaus.jackson.util"><span class="strong">Prev Class</span></a></li>
1482<li><a href="../../../../org/codehaus/jackson/util/JsonParserSequence.html" title="class in org.codehaus.jackson.util"><span class="strong">Next Class</span></a></li>
1483</ul>
1484<ul class="navList">
1485<li><a href="../../../../index.html?org/codehaus/jackson/util/JsonParserDelegate.html" target="_top">Frames</a></li>
1486<li><a href="JsonParserDelegate.html" target="_top">No Frames</a></li>
1487</ul>
1488<ul class="navList" id="allclasses_navbar_bottom">
1489<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
1490</ul>
1491<div>
1492<script type="text/javascript"><!--
1493  allClassesLink = document.getElementById("allclasses_navbar_bottom");
1494  if(window==top) {
1495    allClassesLink.style.display = "block";
1496  }
1497  else {
1498    allClassesLink.style.display = "none";
1499  }
1500  //-->
1501</script>
1502</div>
1503<div>
1504<ul class="subNavList">
1505<li>Summary:&nbsp;</li>
1506<li><a href="#nested_classes_inherited_from_class_org.codehaus.jackson.JsonParser">Nested</a>&nbsp;|&nbsp;</li>
1507<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
1508<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
1509<li><a href="#method_summary">Method</a></li>
1510</ul>
1511<ul class="subNavList">
1512<li>Detail:&nbsp;</li>
1513<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
1514<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
1515<li><a href="#method_detail">Method</a></li>
1516</ul>
1517</div>
1518<a name="skip-navbar_bottom">
1519<!--   -->
1520</a></div>
1521<!-- ======== END OF BOTTOM NAVBAR ======= -->
1522</body>
1523</html>
1524