This file is indexed.

/usr/share/doc/libstaxutils-java/api/javanet/staxutils/XMLStreamUtils.html is in libstaxutils-java-doc 20110309+svn238-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
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_18) on Tue Mar 22 22:29:33 PDT 2011 -->
<TITLE>
XMLStreamUtils (StAX Utils API)
</TITLE>

<META NAME="date" CONTENT="2011-03-22">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="XMLStreamUtils (StAX Utils API)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/XMLStreamUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../javanet/staxutils/XMLStreamReaderToContentHandler.html" title="class in javanet.staxutils"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html?javanet/staxutils/XMLStreamUtils.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="XMLStreamUtils.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
javanet.staxutils</FONT>
<BR>
Class XMLStreamUtils</H2>
<PRE>
<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
  <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>javanet.staxutils.XMLStreamUtils</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>XMLStreamUtils</B><DT>extends <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
</PRE>

<P>
Static utility methods useful when handling XML Streams.
<P>

<P>
<DL>
<DT><B>Version:</B></DT>
  <DD>$Revision: 1.8 $</DD>
<DT><B>Author:</B></DT>
  <DD>Christian Niles</DD>
</DL>
<HR>

<P>

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#XMLStreamUtils()">XMLStreamUtils</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#attributeValue(javax.xml.stream.XMLStreamReader, javax.xml.namespace.QName)">attributeValue</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader,
               <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of the attribute with the given name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#attributeValue(javax.xml.stream.XMLStreamReader, java.lang.String)">attributeValue</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader,
               <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of the attribute with the given non-qualified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#copy(javax.xml.transform.Source, javax.xml.stream.XMLEventWriter)">copy</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform">Source</A>&nbsp;source,
     <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventWriter.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventWriter</A>&nbsp;writer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the content read from a TrAX <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform"><CODE>Source</CODE></A> to a StAX
 <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventWriter.html?is-external=true" title="class or interface in javax.xml.stream"><CODE>XMLEventWriter</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#copy(javax.xml.transform.Source, javax.xml.stream.XMLStreamWriter)">copy</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform">Source</A>&nbsp;source,
     <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamWriter.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamWriter</A>&nbsp;writer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the content read from a TrAX <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform"><CODE>Source</CODE></A> to a StAX
 <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamWriter.html?is-external=true" title="class or interface in javax.xml.stream"><CODE>XMLStreamWriter</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#copy(javax.xml.stream.XMLEventReader, javax.xml.transform.Result)">copy</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
     <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Result.html?is-external=true" title="class or interface in javax.xml.transform">Result</A>&nbsp;result)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the content read from a StAX <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream"><CODE>XMLEventReader</CODE></A> to a TrAX
 <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Result.html?is-external=true" title="class or interface in javax.xml.transform"><CODE>Result</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#copy(javax.xml.stream.XMLEventReader, javax.xml.stream.util.XMLEventConsumer)">copy</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
     <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/util/XMLEventConsumer.html?is-external=true" title="class or interface in javax.xml.stream.util">XMLEventConsumer</A>&nbsp;consumer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the content read from the specified source stream to the provided
 result stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#copy(javax.xml.stream.XMLEventReader, javax.xml.stream.XMLEventWriter)">copy</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
     <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventWriter.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventWriter</A>&nbsp;writer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the content read from the specified source stream to the provided
 result stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#copy(javax.xml.stream.XMLStreamReader, javax.xml.transform.Result)">copy</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader,
     <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Result.html?is-external=true" title="class or interface in javax.xml.transform">Result</A>&nbsp;result)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the content read from a StAX <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream"><CODE>XMLStreamReader</CODE></A> to a TrAX
 <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Result.html?is-external=true" title="class or interface in javax.xml.transform"><CODE>Result</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#copy(javax.xml.stream.XMLStreamReader, javax.xml.stream.XMLStreamWriter)">copy</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader,
     <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamWriter.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamWriter</A>&nbsp;writer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the content read from the specified source stream to the provided
 result stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#copy(javax.xml.stream.XMLStreamReader, javax.xml.stream.XMLStreamWriter, javax.xml.stream.XMLInputFactory)">copy</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader,
     <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamWriter.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamWriter</A>&nbsp;writer,
     <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLInputFactory.html?is-external=true" title="class or interface in javax.xml.stream">XMLInputFactory</A>&nbsp;factory)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies the content read from the specified source stream to the provided
 result stream.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#copyElement(javax.xml.stream.XMLEventReader, javax.xml.stream.util.XMLEventConsumer)">copyElement</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
            <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/util/XMLEventConsumer.html?is-external=true" title="class or interface in javax.xml.stream.util">XMLEventConsumer</A>&nbsp;consumer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies an element and all its content from the provided event reader, to
 the provided event consumer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#copyElementContent(javax.xml.stream.XMLEventReader, javax.xml.stream.util.XMLEventConsumer)">copyElementContent</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
                   <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/util/XMLEventConsumer.html?is-external=true" title="class or interface in javax.xml.stream.util">XMLEventConsumer</A>&nbsp;consumer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copies all events within a <code>StartElement</code> until the matching
 <code>EndElement</code> is reached.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#getEventTypeName(int)">getEventTypeName</A></B>(int&nbsp;eventType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the specified stream event constant.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/events/StartElement.html?is-external=true" title="class or interface in javax.xml.stream.events">StartElement</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#mergeAttributes(javax.xml.stream.events.StartElement, java.util.Iterator, javax.xml.stream.XMLEventFactory)">mergeAttributes</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/events/StartElement.html?is-external=true" title="class or interface in javax.xml.stream.events">StartElement</A>&nbsp;tag,
                <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&nbsp;attrs,
                <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventFactory.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventFactory</A>&nbsp;factory)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new StartElement that merges the attributes and namespaces
 found in the specified StartElement, with the provided attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/events/StartElement.html?is-external=true" title="class or interface in javax.xml.stream.events">StartElement</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#nextElement(javax.xml.stream.XMLEventReader)">nextElement</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads the events from the provided event stream until either a start or
 end tag is encountered.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/events/StartElement.html?is-external=true" title="class or interface in javax.xml.stream.events">StartElement</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#nextElement(javax.xml.stream.XMLEventReader, javax.xml.namespace.QName)">nextElement</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
            <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads the events from the provided event stream until either a start or
 end tag is encountered.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/events/XMLEvent.html?is-external=true" title="class or interface in javax.xml.stream.events">XMLEvent</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#nextTag(javax.xml.stream.XMLEventReader)">nextTag</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Advances the event stream until it encounters a start or end tag, but
 does not actaully read the event.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#readTextElement(javax.xml.stream.XMLEventReader, javax.xml.namespace.QName)">readTextElement</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
                <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&nbsp;elemName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads the text content of an element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#requireElement(javax.xml.stream.XMLStreamReader, javax.xml.namespace.QName)">requireElement</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader,
               <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Static utility method that throws an exception if the supplied reader's
 cursor doesn't point to a START_ELEMENT with the given name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#requireStartElement(javax.xml.stream.XMLEventReader, javax.xml.namespace.QName)">requireStartElement</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
                    <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&nbsp;qname)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Utility method that throws an exception if the provided reader is not
 positioned before a StartElement event with the specified tag name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#skipElement(javax.xml.stream.XMLEventReader)">skipElement</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Skips all events within a single element, including its start and end
 tags.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#skipElement(javax.xml.stream.XMLStreamReader)">skipElement</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Skips the complete content of the element at the specified reader's
 cursor.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#skipElementContent(javax.xml.stream.XMLEventReader)">skipElementContent</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Skips all events within a <code>StartElement</code> until the matching
 <code>EndElement</code> is reached.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javanet/staxutils/XMLStreamUtils.html#skipElementContent(javax.xml.stream.XMLStreamReader)">skipElementContent</A></B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Skips an element's complete content.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="XMLStreamUtils()"><!-- --></A><H3>
XMLStreamUtils</H3>
<PRE>
public <B>XMLStreamUtils</B>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="getEventTypeName(int)"><!-- --></A><H3>
getEventTypeName</H3>
<PRE>
public static final <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getEventTypeName</B>(int&nbsp;eventType)</PRE>
<DL>
<DD>Returns the name of the specified stream event constant.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>eventType</CODE> - The event constant, such as
     <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamConstants.html?is-external=true#START_DOCUMENT" title="class or interface in javax.xml.stream"><CODE>XMLStreamConstants.START_DOCUMENT</CODE></A>.
<DT><B>Returns:</B><DD>The name of the specified event, or <code>"UNKNOWN"</code> if the
     constant isn't valid.</DL>
</DD>
</DL>
<HR>

<A NAME="attributeValue(javax.xml.stream.XMLStreamReader, java.lang.String)"><!-- --></A><H3>
attributeValue</H3>
<PRE>
public static final <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>attributeValue</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader,
                                          <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
<DL>
<DD>Returns the value of the attribute with the given non-qualified name.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The xml stream reader<DD><CODE>name</CODE> - The name of the attribute.
<DT><B>Returns:</B><DD>The value of the unqualified attribute, or <code>null</code>
         if the attribute wasn't present.</DL>
</DD>
</DL>
<HR>

<A NAME="attributeValue(javax.xml.stream.XMLStreamReader, javax.xml.namespace.QName)"><!-- --></A><H3>
attributeValue</H3>
<PRE>
public static final <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>attributeValue</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader,
                                          <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&nbsp;name)</PRE>
<DL>
<DD>Returns the value of the attribute with the given name.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The xml stream reader<DD><CODE>name</CODE> - The name of the attribute.
<DT><B>Returns:</B><DD>The value of the attribute, or <code>null</code> if the
         attribute wasn't present.</DL>
</DD>
</DL>
<HR>

<A NAME="skipElement(javax.xml.stream.XMLEventReader)"><!-- --></A><H3>
skipElement</H3>
<PRE>
public static final void <B>skipElement</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader)
                              throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Skips all events within a single element, including its start and end
 tags. The provided reader must be positioned directly in front of a
 <code>StartElement</code> event or it will have no effect. After this
 method completes, the reader will be positioned before the event
 following the end tag (the end tag will have been read).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The event stream to read.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs reading events.</DL>
</DD>
</DL>
<HR>

<A NAME="copyElement(javax.xml.stream.XMLEventReader, javax.xml.stream.util.XMLEventConsumer)"><!-- --></A><H3>
copyElement</H3>
<PRE>
public static final void <B>copyElement</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
                                     <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/util/XMLEventConsumer.html?is-external=true" title="class or interface in javax.xml.stream.util">XMLEventConsumer</A>&nbsp;consumer)
                              throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Copies an element and all its content from the provided event reader, to
 the provided event consumer. The event reader must be positioned before a
 start element event, or this method has no effect.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The reader from which to read the events.<DD><CODE>consumer</CODE> - The destination for read events, or <code>null</code> to
                ignore all events.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs reading or writing the
             events.</DL>
</DD>
</DL>
<HR>

<A NAME="skipElementContent(javax.xml.stream.XMLEventReader)"><!-- --></A><H3>
skipElementContent</H3>
<PRE>
public static final void <B>skipElementContent</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader)
                                     throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Skips all events within a <code>StartElement</code> until the matching
 <code>EndElement</code> is reached. This method assumes that the reader
 is positioned after the <code>StartElement</code> event, and when the
 method completes, the stream will be positioned before the
 <code>EndElement</code> event, but it will not consume the end tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The event stream to read, positioned after the
                <code>StartElement</code>
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs reading events.</DL>
</DD>
</DL>
<HR>

<A NAME="copyElementContent(javax.xml.stream.XMLEventReader, javax.xml.stream.util.XMLEventConsumer)"><!-- --></A><H3>
copyElementContent</H3>
<PRE>
public static final void <B>copyElementContent</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
                                            <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/util/XMLEventConsumer.html?is-external=true" title="class or interface in javax.xml.stream.util">XMLEventConsumer</A>&nbsp;consumer)
                                     throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Copies all events within a <code>StartElement</code> until the matching
 <code>EndElement</code> is reached. This method assumes that the reader
 is positioned after the <code>StartElement</code> event, and when the
 method completes, the stream will be positioned before the 
 <code>EndElement</code> event, but it will not consume the end tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The event stream to read, positioned after the
                <code>StartElement</code><DD><CODE>consumer</CODE> - The destination for events read from teh stream, or
                <code>null</code> to ignore the events completely.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs reading events.</DL>
</DD>
</DL>
<HR>

<A NAME="skipElement(javax.xml.stream.XMLStreamReader)"><!-- --></A><H3>
skipElement</H3>
<PRE>
public static final void <B>skipElement</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader)
                              throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Skips the complete content of the element at the specified reader's
 cursor. The reader's current event type must be START_ELEMENT, otherwise
 this method will have no effect. Upon completion, the reader's cursor
 will be at the END_ELEMENT event for the skipped element.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - An XML stream reader currently in the START_ELEMENT event.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="skipElementContent(javax.xml.stream.XMLStreamReader)"><!-- --></A><H3>
skipElementContent</H3>
<PRE>
public static final void <B>skipElementContent</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader)
                                     throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Skips an element's complete content. This method assumes that the
 <code>START_ELEMENT</code> has already be passed, and when it terminates,
 the stream will be positioned at the <code>END_ELEMENT</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The stream reader to read.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs reading the stream.</DL>
</DD>
</DL>
<HR>

<A NAME="requireElement(javax.xml.stream.XMLStreamReader, javax.xml.namespace.QName)"><!-- --></A><H3>
requireElement</H3>
<PRE>
public static final void <B>requireElement</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader,
                                        <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&nbsp;name)
                                 throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Static utility method that throws an exception if the supplied reader's
 cursor doesn't point to a START_ELEMENT with the given name.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The reader to test.<DD><CODE>name</CODE> - The name of the element to require.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If the reader state is an element with the
             specified name.</DL>
</DD>
</DL>
<HR>

<A NAME="copy(javax.xml.stream.XMLEventReader, javax.xml.stream.util.XMLEventConsumer)"><!-- --></A><H3>
copy</H3>
<PRE>
public static final void <B>copy</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
                              <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/util/XMLEventConsumer.html?is-external=true" title="class or interface in javax.xml.stream.util">XMLEventConsumer</A>&nbsp;consumer)
                       throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Copies the content read from the specified source stream to the provided
 result stream. This method is exactly the same as calling
 <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventWriter.html?is-external=true#add(javax.xml.stream.XMLEventReader)" title="class or interface in javax.xml.stream"><CODE>XMLEventWriter.add(XMLEventReader)</CODE></A>, and is provided only for
 completeness.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The source stream.<DD><CODE>consumer</CODE> - The destination stream.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs copying the stream
             contents.</DL>
</DD>
</DL>
<HR>

<A NAME="copy(javax.xml.stream.XMLEventReader, javax.xml.stream.XMLEventWriter)"><!-- --></A><H3>
copy</H3>
<PRE>
public static final void <B>copy</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
                              <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventWriter.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventWriter</A>&nbsp;writer)
                       throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Copies the content read from the specified source stream to the provided
 result stream. This method is exactly the same as calling
 <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventWriter.html?is-external=true#add(javax.xml.stream.XMLEventReader)" title="class or interface in javax.xml.stream"><CODE>XMLEventWriter.add(XMLEventReader)</CODE></A>, and is provided only for
 completeness.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The source stream.<DD><CODE>writer</CODE> - The destination stream.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs copying the stream
             contents.</DL>
</DD>
</DL>
<HR>

<A NAME="copy(javax.xml.stream.XMLStreamReader, javax.xml.stream.XMLStreamWriter)"><!-- --></A><H3>
copy</H3>
<PRE>
public static final void <B>copy</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader,
                              <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamWriter.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamWriter</A>&nbsp;writer)
                       throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Copies the content read from the specified source stream to the provided
 result stream.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The source stream.<DD><CODE>writer</CODE> - The destination stream.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs copying the stream
             contents.</DL>
</DD>
</DL>
<HR>

<A NAME="copy(javax.xml.stream.XMLStreamReader, javax.xml.stream.XMLStreamWriter, javax.xml.stream.XMLInputFactory)"><!-- --></A><H3>
copy</H3>
<PRE>
public static final void <B>copy</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader,
                              <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamWriter.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamWriter</A>&nbsp;writer,
                              <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLInputFactory.html?is-external=true" title="class or interface in javax.xml.stream">XMLInputFactory</A>&nbsp;factory)
                       throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Copies the content read from the specified source stream to the provided
 result stream.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The source stream.<DD><CODE>writer</CODE> - The destination stream.<DD><CODE>factory</CODE> - An optional input factory used to create any intermediate
            streams.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs copying the stream
             contents.</DL>
</DD>
</DL>
<HR>

<A NAME="copy(javax.xml.transform.Source, javax.xml.stream.XMLStreamWriter)"><!-- --></A><H3>
copy</H3>
<PRE>
public static final void <B>copy</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform">Source</A>&nbsp;source,
                              <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamWriter.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamWriter</A>&nbsp;writer)
                       throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Copies the content read from a TrAX <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform"><CODE>Source</CODE></A> to a StAX
 <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamWriter.html?is-external=true" title="class or interface in javax.xml.stream"><CODE>XMLStreamWriter</CODE></A>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - The content source.<DD><CODE>writer</CODE> - The destination stream.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs copying the content to the
                stream.</DL>
</DD>
</DL>
<HR>

<A NAME="copy(javax.xml.transform.Source, javax.xml.stream.XMLEventWriter)"><!-- --></A><H3>
copy</H3>
<PRE>
public static final void <B>copy</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform">Source</A>&nbsp;source,
                              <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventWriter.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventWriter</A>&nbsp;writer)
                       throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Copies the content read from a TrAX <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Source.html?is-external=true" title="class or interface in javax.xml.transform"><CODE>Source</CODE></A> to a StAX
 <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventWriter.html?is-external=true" title="class or interface in javax.xml.stream"><CODE>XMLEventWriter</CODE></A>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>source</CODE> - The content source.<DD><CODE>writer</CODE> - The destination event stream.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs copying the content to the
                event stream.</DL>
</DD>
</DL>
<HR>

<A NAME="copy(javax.xml.stream.XMLEventReader, javax.xml.transform.Result)"><!-- --></A><H3>
copy</H3>
<PRE>
public static final void <B>copy</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
                              <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Result.html?is-external=true" title="class or interface in javax.xml.transform">Result</A>&nbsp;result)
                       throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Copies the content read from a StAX <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream"><CODE>XMLEventReader</CODE></A> to a TrAX
 <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Result.html?is-external=true" title="class or interface in javax.xml.transform"><CODE>Result</CODE></A>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The source event stream.<DD><CODE>result</CODE> - The destination <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Result.html?is-external=true" title="class or interface in javax.xml.transform"><CODE>Result</CODE></A>.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs copying the content to the
                result.</DL>
</DD>
</DL>
<HR>

<A NAME="copy(javax.xml.stream.XMLStreamReader, javax.xml.transform.Result)"><!-- --></A><H3>
copy</H3>
<PRE>
public static final void <B>copy</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamReader</A>&nbsp;reader,
                              <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Result.html?is-external=true" title="class or interface in javax.xml.transform">Result</A>&nbsp;result)
                       throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Copies the content read from a StAX <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamReader.html?is-external=true" title="class or interface in javax.xml.stream"><CODE>XMLStreamReader</CODE></A> to a TrAX
 <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Result.html?is-external=true" title="class or interface in javax.xml.transform"><CODE>Result</CODE></A>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The source stream.<DD><CODE>result</CODE> - The destination <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/transform/Result.html?is-external=true" title="class or interface in javax.xml.transform"><CODE>Result</CODE></A>.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs copying the content to the
                result.</DL>
</DD>
</DL>
<HR>

<A NAME="requireStartElement(javax.xml.stream.XMLEventReader, javax.xml.namespace.QName)"><!-- --></A><H3>
requireStartElement</H3>
<PRE>
public static final void <B>requireStartElement</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
                                             <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&nbsp;qname)
                                      throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Utility method that throws an exception if the provided reader is not
 positioned before a StartElement event with the specified tag name.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The reader to test.<DD><CODE>qname</CODE> - The required name of the start-tag. If <code>null</code>,
            any start tag is accepted.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs reading from the stream.</DL>
</DD>
</DL>
<HR>

<A NAME="mergeAttributes(javax.xml.stream.events.StartElement, java.util.Iterator, javax.xml.stream.XMLEventFactory)"><!-- --></A><H3>
mergeAttributes</H3>
<PRE>
public static <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/events/StartElement.html?is-external=true" title="class or interface in javax.xml.stream.events">StartElement</A> <B>mergeAttributes</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/events/StartElement.html?is-external=true" title="class or interface in javax.xml.stream.events">StartElement</A>&nbsp;tag,
                                           <A HREF="/usr/share/doc/default-jdk-doc/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A>&nbsp;attrs,
                                           <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventFactory.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventFactory</A>&nbsp;factory)</PRE>
<DL>
<DD>Constructs a new StartElement that merges the attributes and namespaces
 found in the specified StartElement, with the provided attributes. The
 returned StartElement will contain all the attributes and namespaces of
 the original, plus those defined in the map.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tag</CODE> - The original StartElement<DD><CODE>attrs</CODE> - An iterator of Atributes to add to the element.
<DT><B>Returns:</B><DD>A new StartElement that contains all the original attributes and
         namespaces, plus the provided attributes.</DL>
</DD>
</DL>
<HR>

<A NAME="readTextElement(javax.xml.stream.XMLEventReader, javax.xml.namespace.QName)"><!-- --></A><H3>
readTextElement</H3>
<PRE>
public static final <A HREF="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>readTextElement</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
                                           <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&nbsp;elemName)
                                    throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Reads the text content of an element. The reader should be positioned in
 front of a StartElement event, and will be read up to and including the
 end element tag.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The event stream from which to read the element text.<DD><CODE>elemName</CODE> - The optional name of the element being read. If this
            paramter is non- <code>null</code> then an exception will
            be thrown if the element read doesn't have the same name.
<DT><B>Returns:</B><DD>The text read from the element.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs reading the stream, or if
             the read element doesn't match the provided QName.</DL>
</DD>
</DL>
<HR>

<A NAME="nextTag(javax.xml.stream.XMLEventReader)"><!-- --></A><H3>
nextTag</H3>
<PRE>
public static final <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/events/XMLEvent.html?is-external=true" title="class or interface in javax.xml.stream.events">XMLEvent</A> <B>nextTag</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader)
                              throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Advances the event stream until it encounters a start or end tag, but
 does not actaully read the event.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The reader to peek.
<DT><B>Returns:</B><DD>The next StartElement or EndElement event, retrieved using
         <code>peek()</code>, or <code>null</code> if the end of the
         stream was encountered before any tag event.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs reading the stream.</DL>
</DD>
</DL>
<HR>

<A NAME="nextElement(javax.xml.stream.XMLEventReader)"><!-- --></A><H3>
nextElement</H3>
<PRE>
public static final <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/events/StartElement.html?is-external=true" title="class or interface in javax.xml.stream.events">StartElement</A> <B>nextElement</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader)
                                      throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Reads the events from the provided event stream until either a start or
 end tag is encountered. In the former case, the start tag will be
 returned, but if an end tag is encountered, <code>null</code> will be
 returned. After returning, the stream will be positioned just before the
 returned start element. The start element will not be consumed by this
 method.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The event stream from which to read.
<DT><B>Returns:</B><DD>The StartElement read from the stream, or <code>null</code> if
         an end tag was found first, or the stream ended before a start
         element was found.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs reading the stream.</DL>
</DD>
</DL>
<HR>

<A NAME="nextElement(javax.xml.stream.XMLEventReader, javax.xml.namespace.QName)"><!-- --></A><H3>
nextElement</H3>
<PRE>
public static final <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/events/StartElement.html?is-external=true" title="class or interface in javax.xml.stream.events">StartElement</A> <B>nextElement</B>(<A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLEventReader.html?is-external=true" title="class or interface in javax.xml.stream">XMLEventReader</A>&nbsp;reader,
                                             <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A>&nbsp;name)
                                      throws <A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></PRE>
<DL>
<DD>Reads the events from the provided event stream until either a start or
 end tag is encountered. In the former case, the start tag will be
 returned if it matches the specified QName, but if it doesn't match, an
 end tag is encountered, or the stream ends, <code>null</code> will be
 returned. After returning, the stream will be positioned just before the
 start element. The start element will not be consumed by this method.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>reader</CODE> - The event stream from which to read.<DD><CODE>name</CODE> - The name of the element to read, or <code>null</code> to
            read any start tag.
<DT><B>Returns:</B><DD>The StartElement read from the stream, or <code>null</code> if
         the encountered start tag didn't match the specified QName, an
         end tag was found first, or the stream ended before a start
         element was found.
<DT><B>Throws:</B>
<DD><CODE><A HREF="/usr/share/doc/default-jdk-doc/api/javax/xml/stream/XMLStreamException.html?is-external=true" title="class or interface in javax.xml.stream">XMLStreamException</A></CODE> - If an error occurs reading the stream.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/XMLStreamUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../javanet/staxutils/XMLStreamReaderToContentHandler.html" title="class in javanet.staxutils"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html?javanet/staxutils/XMLStreamUtils.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="XMLStreamUtils.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>