This file is indexed.

/usr/share/doc/librelaxngcc-java-doc/api/relaxngcc/parser/state/AttributesImpl.html is in librelaxngcc-java-doc 1.12-1.

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
<!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_51) on Mon Apr 28 23:17:14 UTC 2014 -->
<title>AttributesImpl (RelaxNGCC)</title>
<meta name="date" content="2014-04-28">
<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="AttributesImpl (RelaxNGCC)";
    }
//-->
</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="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>Prev Class</li>
<li><a href="../../../relaxngcc/parser/state/IncludedGrammarState.html" title="class in relaxngcc.parser.state"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?relaxngcc/parser/state/AttributesImpl.html" target="_top">Frames</a></li>
<li><a href="AttributesImpl.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>Nested&nbsp;|&nbsp;</li>
<li>Field&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>Field&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">relaxngcc.parser.state</div>
<h2 title="Class AttributesImpl" class="title">Class AttributesImpl</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>relaxngcc.parser.state.AttributesImpl</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>org.xml.sax.Attributes</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">AttributesImpl</span>
extends java.lang.Object
implements org.xml.sax.Attributes</pre>
<div class="block">Default implementation of the Attributes interface.

 <blockquote>
 <em>This module, both source code and documentation, is in the
 Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
 </blockquote>

 <p>This class provides a default implementation of the SAX2
 <code>Attributes</code> interface, with the 
 addition of manipulators so that the list can be modified or 
 reused.</p>

 <p>There are two typical uses of this class:</p>

 <ol>
 <li>to take a persistent snapshot of an Attributes object
  in a <code>startElement</code> event; or</li>
 <li>to construct or modify an Attributes object in a SAX2 driver or filter.</li>
 </ol>

 <p>This class replaces the now-deprecated SAX1 <code>AttributeListImpl</code>
 class; in addition to supporting the updated Attributes
 interface rather than the deprecated <code>AttributeList</code> interface, it also includes a much more efficient 
 implementation using a single array rather than a set of Vectors.</p></div>
<dl><dt><span class="strong">Since:</span></dt>
  <dd>SAX 2.0</dd>
<dt><span class="strong">Version:</span></dt>
  <dd>2.0</dd>
<dt><span class="strong">Author:</span></dt>
  <dd>David Megginson, 
         <a href="mailto:sax@megginson.com">sax@megginson.com</a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== 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="../../../relaxngcc/parser/state/AttributesImpl.html#AttributesImpl()">AttributesImpl</a></strong>()</code>
<div class="block">Construct a new, empty AttributesImpl object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#AttributesImpl(org.xml.sax.Attributes)">AttributesImpl</a></strong>(org.xml.sax.Attributes&nbsp;atts)</code>
<div class="block">Copy an existing Attributes object.</div>
</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>void</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">addAttribute</a></strong>(java.lang.String&nbsp;uri,
            java.lang.String&nbsp;localName,
            java.lang.String&nbsp;qName,
            java.lang.String&nbsp;type,
            java.lang.String&nbsp;value)</code>
<div class="block">Add an attribute to the end of the list.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#clear()">clear</a></strong>()</code>
<div class="block">Clear the attribute list for reuse.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#getIndex(java.lang.String)">getIndex</a></strong>(java.lang.String&nbsp;qName)</code>
<div class="block">Look up an attribute's index by qualified (prefixed) name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#getIndex(java.lang.String, java.lang.String)">getIndex</a></strong>(java.lang.String&nbsp;uri,
        java.lang.String&nbsp;localName)</code>
<div class="block">Look up an attribute's index by Namespace name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#getLength()">getLength</a></strong>()</code>
<div class="block">Return the number of attributes in the list.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#getLocalName(int)">getLocalName</a></strong>(int&nbsp;index)</code>
<div class="block">Return an attribute's local name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#getQName(int)">getQName</a></strong>(int&nbsp;index)</code>
<div class="block">Return an attribute's qualified (prefixed) name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#getType(int)">getType</a></strong>(int&nbsp;index)</code>
<div class="block">Return an attribute's type by index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#getType(java.lang.String)">getType</a></strong>(java.lang.String&nbsp;qName)</code>
<div class="block">Look up an attribute's type by qualified (prefixed) name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#getType(java.lang.String, java.lang.String)">getType</a></strong>(java.lang.String&nbsp;uri,
       java.lang.String&nbsp;localName)</code>
<div class="block">Look up an attribute's type by Namespace-qualified name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#getURI(int)">getURI</a></strong>(int&nbsp;index)</code>
<div class="block">Return an attribute's Namespace URI.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#getValue(int)">getValue</a></strong>(int&nbsp;index)</code>
<div class="block">Return an attribute's value by index.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#getValue(java.lang.String)">getValue</a></strong>(java.lang.String&nbsp;qName)</code>
<div class="block">Look up an attribute's value by qualified (prefixed) name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#getValue(java.lang.String, java.lang.String)">getValue</a></strong>(java.lang.String&nbsp;uri,
        java.lang.String&nbsp;localName)</code>
<div class="block">Look up an attribute's value by Namespace-qualified name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#removeAttribute(int)">removeAttribute</a></strong>(int&nbsp;index)</code>
<div class="block">Remove an attribute from the list.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#setAttribute(int, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">setAttribute</a></strong>(int&nbsp;index,
            java.lang.String&nbsp;uri,
            java.lang.String&nbsp;localName,
            java.lang.String&nbsp;qName,
            java.lang.String&nbsp;type,
            java.lang.String&nbsp;value)</code>
<div class="block">Set an attribute in the list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#setAttributes(org.xml.sax.Attributes)">setAttributes</a></strong>(org.xml.sax.Attributes&nbsp;atts)</code>
<div class="block">Copy an entire Attributes object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#setLocalName(int, java.lang.String)">setLocalName</a></strong>(int&nbsp;index,
            java.lang.String&nbsp;localName)</code>
<div class="block">Set the local name of a specific attribute.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#setQName(int, java.lang.String)">setQName</a></strong>(int&nbsp;index,
        java.lang.String&nbsp;qName)</code>
<div class="block">Set the qualified name of a specific attribute.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#setType(int, java.lang.String)">setType</a></strong>(int&nbsp;index,
       java.lang.String&nbsp;type)</code>
<div class="block">Set the type of a specific attribute.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#setURI(int, java.lang.String)">setURI</a></strong>(int&nbsp;index,
      java.lang.String&nbsp;uri)</code>
<div class="block">Set the Namespace URI of a specific attribute.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../relaxngcc/parser/state/AttributesImpl.html#setValue(int, java.lang.String)">setValue</a></strong>(int&nbsp;index,
        java.lang.String&nbsp;value)</code>
<div class="block">Set the value of a specific attribute.</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.Object</h3>
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="AttributesImpl()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>AttributesImpl</h4>
<pre>public&nbsp;AttributesImpl()</pre>
<div class="block">Construct a new, empty AttributesImpl object.</div>
</li>
</ul>
<a name="AttributesImpl(org.xml.sax.Attributes)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AttributesImpl</h4>
<pre>public&nbsp;AttributesImpl(org.xml.sax.Attributes&nbsp;atts)</pre>
<div class="block">Copy an existing Attributes object.

 <p>This constructor is especially useful inside a
 <code>startElement</code> event.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>atts</code> - The existing Attributes object.</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getLength()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLength</h4>
<pre>public&nbsp;int&nbsp;getLength()</pre>
<div class="block">Return the number of attributes in the list.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getLength</code>&nbsp;in interface&nbsp;<code>org.xml.sax.Attributes</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>The number of attributes in the list.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Attributes.getLength()</code></dd></dl>
</li>
</ul>
<a name="getURI(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getURI</h4>
<pre>public&nbsp;java.lang.String&nbsp;getURI(int&nbsp;index)</pre>
<div class="block">Return an attribute's Namespace URI.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getURI</code>&nbsp;in interface&nbsp;<code>org.xml.sax.Attributes</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The attribute's index (zero-based).</dd>
<dt><span class="strong">Returns:</span></dt><dd>The Namespace URI, the empty string if none is
         available, or null if the index is out of range.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Attributes.getURI(int)</code></dd></dl>
</li>
</ul>
<a name="getLocalName(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLocalName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getLocalName(int&nbsp;index)</pre>
<div class="block">Return an attribute's local name.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getLocalName</code>&nbsp;in interface&nbsp;<code>org.xml.sax.Attributes</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The attribute's index (zero-based).</dd>
<dt><span class="strong">Returns:</span></dt><dd>The attribute's local name, the empty string if 
         none is available, or null if the index if out of range.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Attributes.getLocalName(int)</code></dd></dl>
</li>
</ul>
<a name="getQName(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getQName(int&nbsp;index)</pre>
<div class="block">Return an attribute's qualified (prefixed) name.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getQName</code>&nbsp;in interface&nbsp;<code>org.xml.sax.Attributes</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The attribute's index (zero-based).</dd>
<dt><span class="strong">Returns:</span></dt><dd>The attribute's qualified name, the empty string if 
         none is available, or null if the index is out of bounds.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Attributes.getQName(int)</code></dd></dl>
</li>
</ul>
<a name="getType(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre>public&nbsp;java.lang.String&nbsp;getType(int&nbsp;index)</pre>
<div class="block">Return an attribute's type by index.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getType</code>&nbsp;in interface&nbsp;<code>org.xml.sax.Attributes</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The attribute's index (zero-based).</dd>
<dt><span class="strong">Returns:</span></dt><dd>The attribute's type, "CDATA" if the type is unknown, or null
         if the index is out of bounds.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Attributes.getType(int)</code></dd></dl>
</li>
</ul>
<a name="getValue(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;java.lang.String&nbsp;getValue(int&nbsp;index)</pre>
<div class="block">Return an attribute's value by index.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getValue</code>&nbsp;in interface&nbsp;<code>org.xml.sax.Attributes</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The attribute's index (zero-based).</dd>
<dt><span class="strong">Returns:</span></dt><dd>The attribute's value or null if the index is out of bounds.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Attributes.getValue(int)</code></dd></dl>
</li>
</ul>
<a name="getIndex(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIndex</h4>
<pre>public&nbsp;int&nbsp;getIndex(java.lang.String&nbsp;uri,
           java.lang.String&nbsp;localName)</pre>
<div class="block">Look up an attribute's index by Namespace name.

 <p>In many cases, it will be more efficient to look up the name once and
 use the index query methods rather than using the name query methods
 repeatedly.</p></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getIndex</code>&nbsp;in interface&nbsp;<code>org.xml.sax.Attributes</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>uri</code> - The attribute's Namespace URI, or the empty
        string if none is available.</dd><dd><code>localName</code> - The attribute's local name.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The attribute's index, or -1 if none matches.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Attributes.getIndex(java.lang.String,java.lang.String)</code></dd></dl>
</li>
</ul>
<a name="getIndex(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIndex</h4>
<pre>public&nbsp;int&nbsp;getIndex(java.lang.String&nbsp;qName)</pre>
<div class="block">Look up an attribute's index by qualified (prefixed) name.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getIndex</code>&nbsp;in interface&nbsp;<code>org.xml.sax.Attributes</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>qName</code> - The qualified name.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The attribute's index, or -1 if none matches.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Attributes.getIndex(java.lang.String)</code></dd></dl>
</li>
</ul>
<a name="getType(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre>public&nbsp;java.lang.String&nbsp;getType(java.lang.String&nbsp;uri,
                       java.lang.String&nbsp;localName)</pre>
<div class="block">Look up an attribute's type by Namespace-qualified name.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getType</code>&nbsp;in interface&nbsp;<code>org.xml.sax.Attributes</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>uri</code> - The Namespace URI, or the empty string for a name
        with no explicit Namespace URI.</dd><dd><code>localName</code> - The local name.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The attribute's type, or null if there is no
         matching attribute.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Attributes.getType(java.lang.String,java.lang.String)</code></dd></dl>
</li>
</ul>
<a name="getType(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre>public&nbsp;java.lang.String&nbsp;getType(java.lang.String&nbsp;qName)</pre>
<div class="block">Look up an attribute's type by qualified (prefixed) name.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getType</code>&nbsp;in interface&nbsp;<code>org.xml.sax.Attributes</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>qName</code> - The qualified name.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The attribute's type, or null if there is no
         matching attribute.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Attributes.getType(java.lang.String)</code></dd></dl>
</li>
</ul>
<a name="getValue(java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;java.lang.String&nbsp;getValue(java.lang.String&nbsp;uri,
                        java.lang.String&nbsp;localName)</pre>
<div class="block">Look up an attribute's value by Namespace-qualified name.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getValue</code>&nbsp;in interface&nbsp;<code>org.xml.sax.Attributes</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>uri</code> - The Namespace URI, or the empty string for a name
        with no explicit Namespace URI.</dd><dd><code>localName</code> - The local name.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The attribute's value, or null if there is no
         matching attribute.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Attributes.getValue(java.lang.String,java.lang.String)</code></dd></dl>
</li>
</ul>
<a name="getValue(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;java.lang.String&nbsp;getValue(java.lang.String&nbsp;qName)</pre>
<div class="block">Look up an attribute's value by qualified (prefixed) name.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getValue</code>&nbsp;in interface&nbsp;<code>org.xml.sax.Attributes</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>qName</code> - The qualified name.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The attribute's value, or null if there is no
         matching attribute.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Attributes.getValue(java.lang.String)</code></dd></dl>
</li>
</ul>
<a name="clear()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clear</h4>
<pre>public&nbsp;void&nbsp;clear()</pre>
<div class="block">Clear the attribute list for reuse.

 <p>Note that no memory is actually freed by this call:
 the current arrays are kept so that they can be 
 reused.</p></div>
</li>
</ul>
<a name="setAttributes(org.xml.sax.Attributes)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAttributes</h4>
<pre>public&nbsp;void&nbsp;setAttributes(org.xml.sax.Attributes&nbsp;atts)</pre>
<div class="block">Copy an entire Attributes object.

 <p>It may be more efficient to reuse an existing object
 rather than constantly allocating new ones.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>atts</code> - The attributes to copy.</dd></dl>
</li>
</ul>
<a name="addAttribute(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAttribute</h4>
<pre>public&nbsp;void&nbsp;addAttribute(java.lang.String&nbsp;uri,
                java.lang.String&nbsp;localName,
                java.lang.String&nbsp;qName,
                java.lang.String&nbsp;type,
                java.lang.String&nbsp;value)</pre>
<div class="block">Add an attribute to the end of the list.

 <p>For the sake of speed, this method does no checking
 to see if the attribute is already in the list: that is
 the responsibility of the application.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>uri</code> - The Namespace URI, or the empty string if
        none is available or Namespace processing is not
        being performed.</dd><dd><code>localName</code> - The local name, or the empty string if
        Namespace processing is not being performed.</dd><dd><code>qName</code> - The qualified (prefixed) name, or the empty string
        if qualified names are not available.</dd><dd><code>type</code> - The attribute type as a string.</dd><dd><code>value</code> - The attribute value.</dd></dl>
</li>
</ul>
<a name="setAttribute(int, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAttribute</h4>
<pre>public&nbsp;void&nbsp;setAttribute(int&nbsp;index,
                java.lang.String&nbsp;uri,
                java.lang.String&nbsp;localName,
                java.lang.String&nbsp;qName,
                java.lang.String&nbsp;type,
                java.lang.String&nbsp;value)</pre>
<div class="block">Set an attribute in the list.

 <p>For the sake of speed, this method does no checking
 for name conflicts or well-formedness: such checks are the
 responsibility of the application.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The index of the attribute (zero-based).</dd><dd><code>uri</code> - The Namespace URI, or the empty string if
        none is available or Namespace processing is not
        being performed.</dd><dd><code>localName</code> - The local name, or the empty string if
        Namespace processing is not being performed.</dd><dd><code>qName</code> - The qualified name, or the empty string
        if qualified names are not available.</dd><dd><code>type</code> - The attribute type as a string.</dd><dd><code>value</code> - The attribute value.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - When the
            supplied index does not point to an attribute
            in the list.</dd></dl>
</li>
</ul>
<a name="removeAttribute(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAttribute</h4>
<pre>public&nbsp;void&nbsp;removeAttribute(int&nbsp;index)</pre>
<div class="block">Remove an attribute from the list.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The index of the attribute (zero-based).</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - When the
            supplied index does not point to an attribute
            in the list.</dd></dl>
</li>
</ul>
<a name="setURI(int, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setURI</h4>
<pre>public&nbsp;void&nbsp;setURI(int&nbsp;index,
          java.lang.String&nbsp;uri)</pre>
<div class="block">Set the Namespace URI of a specific attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The index of the attribute (zero-based).</dd><dd><code>uri</code> - The attribute's Namespace URI, or the empty
        string for none.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - When the
            supplied index does not point to an attribute
            in the list.</dd></dl>
</li>
</ul>
<a name="setLocalName(int, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLocalName</h4>
<pre>public&nbsp;void&nbsp;setLocalName(int&nbsp;index,
                java.lang.String&nbsp;localName)</pre>
<div class="block">Set the local name of a specific attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The index of the attribute (zero-based).</dd><dd><code>localName</code> - The attribute's local name, or the empty
        string for none.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - When the
            supplied index does not point to an attribute
            in the list.</dd></dl>
</li>
</ul>
<a name="setQName(int, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setQName</h4>
<pre>public&nbsp;void&nbsp;setQName(int&nbsp;index,
            java.lang.String&nbsp;qName)</pre>
<div class="block">Set the qualified name of a specific attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The index of the attribute (zero-based).</dd><dd><code>qName</code> - The attribute's qualified name, or the empty
        string for none.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - When the
            supplied index does not point to an attribute
            in the list.</dd></dl>
</li>
</ul>
<a name="setType(int, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setType</h4>
<pre>public&nbsp;void&nbsp;setType(int&nbsp;index,
           java.lang.String&nbsp;type)</pre>
<div class="block">Set the type of a specific attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The index of the attribute (zero-based).</dd><dd><code>type</code> - The attribute's type.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - When the
            supplied index does not point to an attribute
            in the list.</dd></dl>
</li>
</ul>
<a name="setValue(int, java.lang.String)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setValue</h4>
<pre>public&nbsp;void&nbsp;setValue(int&nbsp;index,
            java.lang.String&nbsp;value)</pre>
<div class="block">Set the value of a specific attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The index of the attribute (zero-based).</dd><dd><code>value</code> - The attribute's value.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.ArrayIndexOutOfBoundsException</code> - When the
            supplied index does not point to an attribute
            in the list.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="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>Prev Class</li>
<li><a href="../../../relaxngcc/parser/state/IncludedGrammarState.html" title="class in relaxngcc.parser.state"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?relaxngcc/parser/state/AttributesImpl.html" target="_top">Frames</a></li>
<li><a href="AttributesImpl.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>Nested&nbsp;|&nbsp;</li>
<li>Field&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>Field&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 ======= -->
</body>
</html>