This file is indexed.

/usr/share/doc/libdecentxml-java/api/de/pdark/decentxml/XMLTokenizer.html is in libdecentxml-java-doc 1.4-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_85) on Sat Oct 24 00:45:13 UTC 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>XMLTokenizer (DecentXML 1.4 API)</title>
<meta name="date" content="2015-10-24">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="XMLTokenizer (DecentXML 1.4 API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XMLTokenizer.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../de/pdark/decentxml/XMLStringSource.html" title="class in de.pdark.decentxml"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../de/pdark/decentxml/XMLTokenizer.Type.html" title="enum in de.pdark.decentxml"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?de/pdark/decentxml/XMLTokenizer.html" target="_top">Frames</a></li>
<li><a href="XMLTokenizer.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">de.pdark.decentxml</div>
<h2 title="Class XMLTokenizer" class="title">Class XMLTokenizer</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>de.pdark.decentxml.XMLTokenizer</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../de/pdark/decentxml/dtd/DTDTokenizer.html" title="class in de.pdark.decentxml.dtd">DTDTokenizer</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">XMLTokenizer</span>
extends <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">This class allows to chop an XMLSource into tokens.
 
 <p>You can use it to parse XML yourself or use the XMLParser to
 let it parse XML into a Document.</div>
<dl><dt><span class="strong">Author:</span></dt>
  <dd>digulla</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../de/pdark/decentxml/XMLSource.html" title="interface in de.pdark.decentxml"><code>XMLSource</code></a>, 
<a href="../../../de/pdark/decentxml/XMLParser.html" title="class in de.pdark.decentxml"><code>XMLParser</code></a>, 
<a href="../../../de/pdark/decentxml/Document.html" title="class in de.pdark.decentxml"><code>Document</code></a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!--   -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.Type.html" title="enum in de.pdark.decentxml">XMLTokenizer.Type</a></strong></code>
<div class="block">Types of tokens the tokenizer can return</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#inStartElement">inStartElement</a></strong></code>
<div class="block">true if we're currently inside of a start tag</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#pos">pos</a></strong></code>
<div class="block">The current position in the source</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../de/pdark/decentxml/XMLSource.html" title="interface in de.pdark.decentxml">XMLSource</a></code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#source">source</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#XMLTokenizer(de.pdark.decentxml.XMLSource)">XMLTokenizer</a></strong>(<a href="../../../de/pdark/decentxml/XMLSource.html" title="interface in de.pdark.decentxml">XMLSource</a>&nbsp;source)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a></code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#createToken()">createToken</a></strong>()</code>
<div class="block">All tokens are created here.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#expect(char)">expect</a></strong>(char&nbsp;expected)</code>
<div class="block">Check that the next character is <code>expected</code> and skip it</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../de/pdark/decentxml/validation/CharValidator.html" title="class in de.pdark.decentxml.validation">CharValidator</a></code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#getCharValidator()">getCharValidator</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../de/pdark/decentxml/EntityResolver.html" title="class in de.pdark.decentxml">EntityResolver</a></code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#getEntityResolver()">getEntityResolver</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#getOffset()">getOffset</a></strong>()</code>
<div class="block">Get the current parsing position (for error handling, for example).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../de/pdark/decentxml/XMLSource.html" title="interface in de.pdark.decentxml">XMLSource</a></code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#getSource()">getSource</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#isTreatEntitiesAsText()">isTreatEntitiesAsText</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#lookAheadForErrorMessage(java.lang.String,%20int,%20int)">lookAheadForErrorMessage</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;conditionalPrefix,
                        int&nbsp;pos,
                        int&nbsp;len)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a></code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#next()">next</a></strong>()</code>
<div class="block">Fetch the next token from the source.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected char</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#nextChar(java.lang.String)">nextChar</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;errorMessage)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#nextChars(java.lang.String,%20int,%20java.lang.String)">nextChars</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;expected,
         int&nbsp;startPos,
         <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;errorMessage)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#parseAttribute(de.pdark.decentxml.Token)">parseAttribute</a></strong>(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</code>
<div class="block">Read the attribute of an element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#parseBeginElement(de.pdark.decentxml.Token)">parseBeginElement</a></strong>(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</code>
<div class="block">Read the name of an element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#parseBeginSomething(de.pdark.decentxml.Token)">parseBeginSomething</a></strong>(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</code>
<div class="block">Read one of "&lt;tag", "&lt;?pi", "&lt;!--", "&lt;![CDATA[" or a end tag.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#parseCData(de.pdark.decentxml.Token)">parseCData</a></strong>(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</code>
<div class="block">Parse a CDATA element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#parseComment(de.pdark.decentxml.Token)">parseComment</a></strong>(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</code>
<div class="block">Read a comment.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#parseDocType(de.pdark.decentxml.Token)">parseDocType</a></strong>(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</code>
<div class="block">Parse a doctype declaration</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#parseEndElement(de.pdark.decentxml.Token)">parseEndElement</a></strong>(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</code>
<div class="block">Read an end tag.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#parseEntity(de.pdark.decentxml.Token)">parseEntity</a></strong>(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#parseExcalamation(de.pdark.decentxml.Token)">parseExcalamation</a></strong>(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</code>
<div class="block">Parse "&lt;!--" or  "&lt;![CDATA["</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#parseName(java.lang.String)">parseName</a></strong>(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;objectName)</code>
<div class="block">Read an XML name</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#parseProcessingInstruction(de.pdark.decentxml.Token)">parseProcessingInstruction</a></strong>(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</code>
<div class="block">Read a processing instruction.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#parseText(de.pdark.decentxml.Token)">parseText</a></strong>(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</code>
<div class="block">Read a piece of text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../de/pdark/decentxml/XMLTokenizer.html" title="class in de.pdark.decentxml">XMLTokenizer</a></code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#setCharValidator(de.pdark.decentxml.validation.CharValidator)">setCharValidator</a></strong>(<a href="../../../de/pdark/decentxml/validation/CharValidator.html" title="class in de.pdark.decentxml.validation">CharValidator</a>&nbsp;charValidator)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../de/pdark/decentxml/XMLTokenizer.html" title="class in de.pdark.decentxml">XMLTokenizer</a></code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#setEntityResolver(de.pdark.decentxml.EntityResolver)">setEntityResolver</a></strong>(<a href="../../../de/pdark/decentxml/EntityResolver.html" title="class in de.pdark.decentxml">EntityResolver</a>&nbsp;resolver)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#setOffset(int)">setOffset</a></strong>(int&nbsp;offset)</code>
<div class="block">Set the current parsing position.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../de/pdark/decentxml/XMLTokenizer.html" title="class in de.pdark.decentxml">XMLTokenizer</a></code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#setTreatEntitiesAsText(boolean)">setTreatEntitiesAsText</a></strong>(boolean&nbsp;treatEntitiesAsText)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#skipChar(char)">skipChar</a></strong>(char&nbsp;c)</code>
<div class="block">Advance one or two positions, depending on whether the current character if
 the high part of a surrogate pair.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#skipWhiteSpace()">skipWhiteSpace</a></strong>()</code>
<div class="block">Advance the current position past any whitespace in the input</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../de/pdark/decentxml/XMLTokenizer.html#verifyEntity(int,%20int)">verifyEntity</a></strong>(int&nbsp;start,
            int&nbsp;end)</code>
<div class="block">Verify an entity.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="source">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>source</h4>
<pre>protected final&nbsp;<a href="../../../de/pdark/decentxml/XMLSource.html" title="interface in de.pdark.decentxml">XMLSource</a> source</pre>
</li>
</ul>
<a name="pos">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pos</h4>
<pre>protected&nbsp;int pos</pre>
<div class="block">The current position in the source</div>
</li>
</ul>
<a name="inStartElement">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>inStartElement</h4>
<pre>protected&nbsp;boolean inStartElement</pre>
<div class="block">true if we're currently inside of a start tag</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="XMLTokenizer(de.pdark.decentxml.XMLSource)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>XMLTokenizer</h4>
<pre>public&nbsp;XMLTokenizer(<a href="../../../de/pdark/decentxml/XMLSource.html" title="interface in de.pdark.decentxml">XMLSource</a>&nbsp;source)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="setTreatEntitiesAsText(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTreatEntitiesAsText</h4>
<pre>public&nbsp;<a href="../../../de/pdark/decentxml/XMLTokenizer.html" title="class in de.pdark.decentxml">XMLTokenizer</a>&nbsp;setTreatEntitiesAsText(boolean&nbsp;treatEntitiesAsText)</pre>
</li>
</ul>
<a name="isTreatEntitiesAsText()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isTreatEntitiesAsText</h4>
<pre>public&nbsp;boolean&nbsp;isTreatEntitiesAsText()</pre>
</li>
</ul>
<a name="getCharValidator()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCharValidator</h4>
<pre>public&nbsp;<a href="../../../de/pdark/decentxml/validation/CharValidator.html" title="class in de.pdark.decentxml.validation">CharValidator</a>&nbsp;getCharValidator()</pre>
</li>
</ul>
<a name="setCharValidator(de.pdark.decentxml.validation.CharValidator)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCharValidator</h4>
<pre>public&nbsp;<a href="../../../de/pdark/decentxml/XMLTokenizer.html" title="class in de.pdark.decentxml">XMLTokenizer</a>&nbsp;setCharValidator(<a href="../../../de/pdark/decentxml/validation/CharValidator.html" title="class in de.pdark.decentxml.validation">CharValidator</a>&nbsp;charValidator)</pre>
</li>
</ul>
<a name="getEntityResolver()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEntityResolver</h4>
<pre>public&nbsp;<a href="../../../de/pdark/decentxml/EntityResolver.html" title="class in de.pdark.decentxml">EntityResolver</a>&nbsp;getEntityResolver()</pre>
</li>
</ul>
<a name="setEntityResolver(de.pdark.decentxml.EntityResolver)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEntityResolver</h4>
<pre>public&nbsp;<a href="../../../de/pdark/decentxml/XMLTokenizer.html" title="class in de.pdark.decentxml">XMLTokenizer</a>&nbsp;setEntityResolver(<a href="../../../de/pdark/decentxml/EntityResolver.html" title="class in de.pdark.decentxml">EntityResolver</a>&nbsp;resolver)</pre>
</li>
</ul>
<a name="next()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>next</h4>
<pre>public&nbsp;<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;next()</pre>
<div class="block">Fetch the next token from the source. Returns <code>null</code> if
 there are no more tokens in the input.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The next token or <code>null</code> at EOF</dd></dl>
</li>
</ul>
<a name="createToken()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createToken</h4>
<pre>protected&nbsp;<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;createToken()</pre>
<div class="block">All tokens are created here.
 
 <p>Use this method to create custom tokens with
 additional information.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a new, pre-initialized token</dd></dl>
</li>
</ul>
<a name="getSource()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSource</h4>
<pre>public&nbsp;<a href="../../../de/pdark/decentxml/XMLSource.html" title="interface in de.pdark.decentxml">XMLSource</a>&nbsp;getSource()</pre>
</li>
</ul>
<a name="getOffset()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOffset</h4>
<pre>public&nbsp;int&nbsp;getOffset()</pre>
<div class="block">Get the current parsing position (for error handling, for example).
 
 <p>This value is not very accurate because the tokenizer might be
 anywhere in the stream.</div>
</li>
</ul>
<a name="setOffset(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOffset</h4>
<pre>public&nbsp;void&nbsp;setOffset(int&nbsp;offset)</pre>
<div class="block">Set the current parsing position. You can use this to restart
  parsing after an error or to jump around in the input.</div>
</li>
</ul>
<a name="parseBeginSomething(de.pdark.decentxml.Token)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseBeginSomething</h4>
<pre>protected&nbsp;void&nbsp;parseBeginSomething(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</pre>
<div class="block">Read one of "&lt;tag", "&lt;?pi", "&lt;!--", "&lt;![CDATA[" or a end tag.</div>
</li>
</ul>
<a name="parseBeginElement(de.pdark.decentxml.Token)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseBeginElement</h4>
<pre>protected&nbsp;void&nbsp;parseBeginElement(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</pre>
<div class="block">Read the name of an element.
 
  <p>The resulting token will contain the '&lt;' plus any whitespace between
  it and the name plus the name itself but no whitespace after the name.</div>
</li>
</ul>
<a name="parseEndElement(de.pdark.decentxml.Token)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseEndElement</h4>
<pre>protected&nbsp;void&nbsp;parseEndElement(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</pre>
<div class="block">Read an end tag.
 
 <p>The resulting token will contain the '&lt;/' and '&gt;' plus the
 name plus any whitespace between those three.</div>
</li>
</ul>
<a name="parseExcalamation(de.pdark.decentxml.Token)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseExcalamation</h4>
<pre>protected&nbsp;void&nbsp;parseExcalamation(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</pre>
<div class="block">Parse "&lt;!--" or  "&lt;![CDATA["</div>
</li>
</ul>
<a name="parseDocType(de.pdark.decentxml.Token)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseDocType</h4>
<pre>protected&nbsp;void&nbsp;parseDocType(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</pre>
<div class="block">Parse a doctype declaration

  <p>The resulting token will contain "<!DOCTYPE"</div>
</li>
</ul>
<a name="parseCData(de.pdark.decentxml.Token)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseCData</h4>
<pre>protected&nbsp;void&nbsp;parseCData(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</pre>
<div class="block">Parse a CDATA element.
 
  <p>The resulting token will contain the "&lt;![CDATA[" plus the
  terminating "]]&gt;".</div>
</li>
</ul>
<a name="parseComment(de.pdark.decentxml.Token)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseComment</h4>
<pre>protected&nbsp;void&nbsp;parseComment(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</pre>
<div class="block">Read a comment.
 
  <p>The resulting token will contain the "&lt;!--" plus the
  terminating "--&gt;".</div>
</li>
</ul>
<a name="parseProcessingInstruction(de.pdark.decentxml.Token)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseProcessingInstruction</h4>
<pre>protected&nbsp;void&nbsp;parseProcessingInstruction(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</pre>
<div class="block">Read a processing instruction.
 
  <p>The resulting token will contain the "&lt;?" plus the
  terminating "?&gt;".</div>
</li>
</ul>
<a name="parseAttribute(de.pdark.decentxml.Token)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseAttribute</h4>
<pre>protected&nbsp;void&nbsp;parseAttribute(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</pre>
<div class="block">Read the attribute of an element.
 
  <p>The resulting token will contain the name, "=" plus the
  quotes and the value.</div>
</li>
</ul>
<a name="parseName(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseName</h4>
<pre>protected&nbsp;void&nbsp;parseName(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;objectName)</pre>
<div class="block">Read an XML name</div>
</li>
</ul>
<a name="parseText(de.pdark.decentxml.Token)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseText</h4>
<pre>protected&nbsp;void&nbsp;parseText(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</pre>
<div class="block">Read a piece of text.
 
  <p>The resulting token will contain the text as is with all
  the entity and numeric character references.</div>
</li>
</ul>
<a name="skipChar(char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skipChar</h4>
<pre>protected&nbsp;void&nbsp;skipChar(char&nbsp;c)</pre>
<div class="block">Advance one or two positions, depending on whether the current character if
 the high part of a surrogate pair.</div>
</li>
</ul>
<a name="verifyEntity(int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>verifyEntity</h4>
<pre>protected&nbsp;void&nbsp;verifyEntity(int&nbsp;start,
                int&nbsp;end)</pre>
<div class="block">Verify an entity. If no entityResolver is installed, this does nothing.</div>
</li>
</ul>
<a name="parseEntity(de.pdark.decentxml.Token)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseEntity</h4>
<pre>protected&nbsp;void&nbsp;parseEntity(<a href="../../../de/pdark/decentxml/Token.html" title="class in de.pdark.decentxml">Token</a>&nbsp;token)</pre>
</li>
</ul>
<a name="nextChars(java.lang.String, int, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nextChars</h4>
<pre>protected&nbsp;void&nbsp;nextChars(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;expected,
             int&nbsp;startPos,
             <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;errorMessage)</pre>
</li>
</ul>
<a name="nextChar(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nextChar</h4>
<pre>protected&nbsp;char&nbsp;nextChar(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;errorMessage)</pre>
</li>
</ul>
<a name="expect(char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expect</h4>
<pre>protected&nbsp;void&nbsp;expect(char&nbsp;expected)</pre>
<div class="block">Check that the next character is <code>expected</code> and skip it</div>
</li>
</ul>
<a name="lookAheadForErrorMessage(java.lang.String, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lookAheadForErrorMessage</h4>
<pre>protected&nbsp;<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;lookAheadForErrorMessage(<a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;conditionalPrefix,
                              int&nbsp;pos,
                              int&nbsp;len)</pre>
</li>
</ul>
<a name="skipWhiteSpace()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>skipWhiteSpace</h4>
<pre>protected&nbsp;void&nbsp;skipWhiteSpace()</pre>
<div class="block">Advance the current position past any whitespace in the input</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/XMLTokenizer.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../de/pdark/decentxml/XMLStringSource.html" title="class in de.pdark.decentxml"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../de/pdark/decentxml/XMLTokenizer.Type.html" title="enum in de.pdark.decentxml"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?de/pdark/decentxml/XMLTokenizer.html" target="_top">Frames</a></li>
<li><a href="XMLTokenizer.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2015. All rights reserved.</small></p>
</body>
</html>