File: classXercesDOMParser.html

package info (click to toggle)
xerces-c 3.1.1-3%2Bdeb7u2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 39,584 kB
  • sloc: cpp: 166,988; xml: 12,028; sh: 10,236; ansic: 3,984; makefile: 1,290; perl: 500
file content (1211 lines) | stat: -rw-r--r-- 72,141 bytes parent folder | download | duplicates (5)
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
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Xerces-C++: XercesDOMParser Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>XercesDOMParser Class Reference</h1><!-- doxytag: class="XercesDOMParser" --><!-- doxytag: inherits="AbstractDOMParser" -->This class implements the Document Object Model (DOM) interface.  
<a href="#_details">More...</a>
<p>
<div class="dynheader">
Inheritance diagram for XercesDOMParser:</div>
<div class="dynsection">

<p><center><img src="classXercesDOMParser.png" usemap="#XercesDOMParser_map" border="0" alt=""></center>
<map name="XercesDOMParser_map">
<area href="classAbstractDOMParser.html" alt="AbstractDOMParser" shape="rect" coords="300,56,440,80">
<area href="classXMemory.html" alt="XMemory" shape="rect" coords="0,0,140,24">
<area href="classXMLDocumentHandler.html" alt="XMLDocumentHandler" shape="rect" coords="150,0,290,24">
<area href="classXMLErrorReporter.html" alt="XMLErrorReporter" shape="rect" coords="300,0,440,24">
<area href="classXMLEntityHandler.html" alt="XMLEntityHandler" shape="rect" coords="450,0,590,24">
<area href="classPSVIHandler.html" alt="PSVIHandler" shape="rect" coords="600,0,740,24">
</map>
</div>

<p>
<a href="classXercesDOMParser-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Constructors and Destructor</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#6d8e3ff244736241ba2dbd9f0d83beb1">XercesDOMParser</a> (<a class="el" href="classXMLValidator.html">XMLValidator</a> *const valToAdopt=0, <a class="el" href="classMemoryManager.html">MemoryManager</a> *const manager=<a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a>, <a class="el" href="classXMLGrammarPool.html">XMLGrammarPool</a> *const gramPool=0)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construct a <a class="el" href="classXercesDOMParser.html" title="This class implements the Document Object Model (DOM) interface.">XercesDOMParser</a>, with an optional validator.  <a href="#6d8e3ff244736241ba2dbd9f0d83beb1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#947983b4149e8fdbcbd4c8872356b087">~XercesDOMParser</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#947983b4149e8fdbcbd4c8872356b087"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Getter methods</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classErrorHandler.html">ErrorHandler</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#c1bb89e72d35cd07fd571f573541f57c">getErrorHandler</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a pointer to the error handler.  <a href="#c1bb89e72d35cd07fd571f573541f57c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classErrorHandler.html">ErrorHandler</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#14ba803bd2c84bcdcc1bb2fb811468e2">getErrorHandler</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a const pointer to the error handler.  <a href="#14ba803bd2c84bcdcc1bb2fb811468e2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classEntityResolver.html">EntityResolver</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#ee65258bf91265109cae4af97c5727af">getEntityResolver</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a pointer to the entity resolver.  <a href="#ee65258bf91265109cae4af97c5727af"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classEntityResolver.html">EntityResolver</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#cdf37101dd006980e362b420efa25b9a">getEntityResolver</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a const pointer to the entity resolver.  <a href="#cdf37101dd006980e362b420efa25b9a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#31d8ae354d87e7d786f22457c7533e67">getXMLEntityResolver</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a pointer to the entity resolver.  <a href="#31d8ae354d87e7d786f22457c7533e67"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#3f2c65fc9bdf5224e3fc794f1c4cc83c">getXMLEntityResolver</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a const pointer to the entity resolver.  <a href="#3f2c65fc9bdf5224e3fc794f1c4cc83c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#5b155cbdaa9f170f0e1325a5dcce83ab">isCachingGrammarFromParse</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the 'Grammar caching' flag.  <a href="#5b155cbdaa9f170f0e1325a5dcce83ab"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#dd2d4543ca38330dae41c8a72cc42d04">isUsingCachedGrammarInParse</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the 'Use cached grammar' flag.  <a href="#dd2d4543ca38330dae41c8a72cc42d04"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Grammar *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#84fb7f2836b7de3724b623e8c96e5eaf">getGrammar</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const nameSpaceKey)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the grammar that is associated with the specified namespace key.  <a href="#84fb7f2836b7de3724b623e8c96e5eaf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Grammar *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#4e1aeb7bc63d4edf95ade1d168c60f62">getRootGrammar</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the grammar where the root element is declared.  <a href="#4e1aeb7bc63d4edf95ade1d168c60f62"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#6d72be5fe39822e7820c9fd4098b9b83">getURIText</a> (unsigned int uriId) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the string corresponding to a URI id from the URI string pool.  <a href="#6d72be5fe39822e7820c9fd4098b9b83"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#7647261a546ac47bda863a51d24ad898">XMLFilePos</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#c5e15b1e4f1f9396644b489f7d974d8a">getSrcOffset</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the current src offset within the input source.  <a href="#c5e15b1e4f1f9396644b489f7d974d8a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#f499ac78efa26c7db490094259f0b51a">getIgnoreCachedDTD</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the 'ignore cached DTD grammar' flag.  <a href="#f499ac78efa26c7db490094259f0b51a"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Setter methods</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#602f8c3498a6a2e152fc3059bc3f5b7d">setErrorHandler</a> (<a class="el" href="classErrorHandler.html">ErrorHandler</a> *const handler)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the error handler.  <a href="#602f8c3498a6a2e152fc3059bc3f5b7d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#7af25604845054aba1a4a59f928b4ef7">setEntityResolver</a> (<a class="el" href="classEntityResolver.html">EntityResolver</a> *const handler)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the entity resolver.  <a href="#7af25604845054aba1a4a59f928b4ef7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#bc6fa802b544e8f19b0d23002ad3cd18">setXMLEntityResolver</a> (<a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> *const handler)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the entity resolver.  <a href="#bc6fa802b544e8f19b0d23002ad3cd18"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#2713dbb15ae3c5a1780cf77201444426">cacheGrammarFromParse</a> (const bool newState)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the 'Grammar caching' flag.  <a href="#2713dbb15ae3c5a1780cf77201444426"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#da7f6ec380c62e3e5f88cc62134324d7">useCachedGrammarInParse</a> (const bool newState)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the 'Use cached grammar' flag.  <a href="#da7f6ec380c62e3e5f88cc62134324d7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#721af22100df468cdfd4720e3e279942">setIgnoreCachedDTD</a> (const bool newValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the 'ignore cached DTD grammar' flag.  <a href="#721af22100df468cdfd4720e3e279942"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Utility methods</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#75b1d7ea279d7428a88b9a92aedee18f">resetDocumentPool</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reset the documents vector pool and release all the associated memory back to the system.  <a href="#75b1d7ea279d7428a88b9a92aedee18f"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Implementation of the XMLErrorReporter interface.</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#eee45cd34349b4d11948e0f21f5e7d99">error</a> (const unsigned int errCode, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const msgDomain, const <a class="el" href="classXMLErrorReporter.html#db34298ba3609a10c52328e5050d4434">XMLErrorReporter::ErrTypes</a> errType, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const errorText, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const systemId, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const publicId, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#dd2d542a6583db767febf57446daa50d">XMLFileLoc</a> lineNum, const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#dd2d542a6583db767febf57446daa50d">XMLFileLoc</a> colNum)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Handle errors reported from the parser.  <a href="#eee45cd34349b4d11948e0f21f5e7d99"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#4f1c5100b71727fe4efef8f5c03341dc">resetErrors</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reset any error data before a new parse.  <a href="#4f1c5100b71727fe4efef8f5c03341dc"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Implementation of the XMLEntityHandler interface.</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#f0045b44b04f34436f4ccdf3ce6f2a0a">endInputSource</a> (const <a class="el" href="classInputSource.html">InputSource</a> &amp;inputSource)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Handle an end of input source event.  <a href="#f0045b44b04f34436f4ccdf3ce6f2a0a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#9cf136488f2f8f92ffa226bb2fc2d448">expandSystemId</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const systemId, XMLBuffer &amp;toFill)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expand a system id.  <a href="#9cf136488f2f8f92ffa226bb2fc2d448"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#8d5b35e277d05f1244a4285ae5c6710b">resetEntities</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reset any entity handler information.  <a href="#8d5b35e277d05f1244a4285ae5c6710b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classInputSource.html">InputSource</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#1195ddba213852b34683abbf6f56668a">resolveEntity</a> (<a class="el" href="classXMLResourceIdentifier.html">XMLResourceIdentifier</a> *resourceIdentifier)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resolve a public/system id.  <a href="#1195ddba213852b34683abbf6f56668a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#0123825ec7c9eaebe452578dcf751821">startInputSource</a> (const <a class="el" href="classInputSource.html">InputSource</a> &amp;inputSource)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Handle a 'start input source' event.  <a href="#0123825ec7c9eaebe452578dcf751821"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Implementation of Grammar preparsing interface's.</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Grammar *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#3925f7194043f51dda38b66c1f099d1e">loadGrammar</a> (const <a class="el" href="classInputSource.html">InputSource</a> &amp;source, const Grammar::GrammarType grammarType, const bool toCache=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Preparse schema grammar (XML Schema, DTD, etc.  <a href="#3925f7194043f51dda38b66c1f099d1e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Grammar *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#18641d4274b1c1541d28d090653ca918">loadGrammar</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const systemId, const Grammar::GrammarType grammarType, const bool toCache=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Preparse schema grammar (XML Schema, DTD, etc.  <a href="#18641d4274b1c1541d28d090653ca918"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Grammar *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#72cacbb7723228139b90cf8b00399e0c">loadGrammar</a> (const char *const systemId, const Grammar::GrammarType grammarType, const bool toCache=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Preparse schema grammar (XML Schema, DTD, etc.  <a href="#72cacbb7723228139b90cf8b00399e0c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXercesDOMParser.html#380e82a91a232eb1a9a90bd5928b2c35">resetCachedGrammarPool</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method allows the user to reset the pool of cached grammars.  <a href="#380e82a91a232eb1a9a90bd5928b2c35"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This class implements the Document Object Model (DOM) interface. 
<p>
It should be used by applications which choose to parse and process the XML document using the DOM api's. This implementation also allows the applications to install an error and an entity handler (useful extensions to the DOM specification).<p>
It can be used to instantiate a validating or non-validating parser, by setting a member flag. <hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="6d8e3ff244736241ba2dbd9f0d83beb1"></a><!-- doxytag: member="XercesDOMParser::XercesDOMParser" ref="6d8e3ff244736241ba2dbd9f0d83beb1" args="(XMLValidator *const valToAdopt=0, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager, XMLGrammarPool *const gramPool=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XercesDOMParser::XercesDOMParser           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classXMLValidator.html">XMLValidator</a> *const &nbsp;</td>
          <td class="paramname"> <em>valToAdopt</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classMemoryManager.html">MemoryManager</a> *const &nbsp;</td>
          <td class="paramname"> <em>manager</em> = <code><a class="el" href="classXMLPlatformUtils.html#97eff0d9fff3567bea3acd3ca4d95252">XMLPlatformUtils::fgMemoryManager</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classXMLGrammarPool.html">XMLGrammarPool</a> *const &nbsp;</td>
          <td class="paramname"> <em>gramPool</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Construct a <a class="el" href="classXercesDOMParser.html" title="This class implements the Document Object Model (DOM) interface.">XercesDOMParser</a>, with an optional validator. 
<p>
Constructor with an instance of validator class to use for validation. If you don't provide a validator, a default one will be created for you in the scanner.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>gramPool</em>&nbsp;</td><td>Pointer to the grammar pool instance from external application. The parser does NOT own it.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>valToAdopt</em>&nbsp;</td><td>Pointer to the validator instance to use. The parser is responsible for freeing the memory. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>manager</em>&nbsp;</td><td>Pointer to the memory manager to be used to allocate objects. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="947983b4149e8fdbcbd4c8872356b087"></a><!-- doxytag: member="XercesDOMParser::~XercesDOMParser" ref="947983b4149e8fdbcbd4c8872356b087" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual XercesDOMParser::~XercesDOMParser           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="c1bb89e72d35cd07fd571f573541f57c"></a><!-- doxytag: member="XercesDOMParser::getErrorHandler" ref="c1bb89e72d35cd07fd571f573541f57c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classErrorHandler.html">ErrorHandler</a> * XercesDOMParser::getErrorHandler           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a pointer to the error handler. 
<p>
This method returns the installed error handler. If no handler has been installed, then it will be a zero pointer.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The pointer to the installed error handler object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="14ba803bd2c84bcdcc1bb2fb811468e2"></a><!-- doxytag: member="XercesDOMParser::getErrorHandler" ref="14ba803bd2c84bcdcc1bb2fb811468e2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classErrorHandler.html">ErrorHandler</a> * XercesDOMParser::getErrorHandler           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a const pointer to the error handler. 
<p>
This method returns the installed error handler. If no handler has been installed, then it will be a zero pointer.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A const pointer to the installed error handler object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="ee65258bf91265109cae4af97c5727af"></a><!-- doxytag: member="XercesDOMParser::getEntityResolver" ref="ee65258bf91265109cae4af97c5727af" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classEntityResolver.html">EntityResolver</a> * XercesDOMParser::getEntityResolver           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a pointer to the entity resolver. 
<p>
This method returns the installed entity resolver. If no resolver has been installed, then it will be a zero pointer.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The pointer to the installed entity resolver object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="cdf37101dd006980e362b420efa25b9a"></a><!-- doxytag: member="XercesDOMParser::getEntityResolver" ref="cdf37101dd006980e362b420efa25b9a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classEntityResolver.html">EntityResolver</a> * XercesDOMParser::getEntityResolver           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a const pointer to the entity resolver. 
<p>
This method returns the installed entity resolver. If no resolver has been installed, then it will be a zero pointer.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A const pointer to the installed entity resolver object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="31d8ae354d87e7d786f22457c7533e67"></a><!-- doxytag: member="XercesDOMParser::getXMLEntityResolver" ref="31d8ae354d87e7d786f22457c7533e67" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> * XercesDOMParser::getXMLEntityResolver           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a pointer to the entity resolver. 
<p>
This method returns the installed entity resolver. If no resolver has been installed, then it will be a zero pointer.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The pointer to the installed entity resolver object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="3f2c65fc9bdf5224e3fc794f1c4cc83c"></a><!-- doxytag: member="XercesDOMParser::getXMLEntityResolver" ref="3f2c65fc9bdf5224e3fc794f1c4cc83c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> * XercesDOMParser::getXMLEntityResolver           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a const pointer to the entity resolver. 
<p>
This method returns the installed entity resolver. If no resolver has been installed, then it will be a zero pointer.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A const pointer to the installed entity resolver object. </dd></dl>

</div>
</div><p>
<a class="anchor" name="5b155cbdaa9f170f0e1325a5dcce83ab"></a><!-- doxytag: member="XercesDOMParser::isCachingGrammarFromParse" ref="5b155cbdaa9f170f0e1325a5dcce83ab" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XercesDOMParser::isCachingGrammarFromParse           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the 'Grammar caching' flag. 
<p>
This method returns the state of the parser's grammar caching when parsing an XML document.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true, if the parser is currently configured to cache grammars, false otherwise.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classXercesDOMParser.html#2713dbb15ae3c5a1780cf77201444426" title="Set the &#39;Grammar caching&#39; flag.">cacheGrammarFromParse</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="dd2d4543ca38330dae41c8a72cc42d04"></a><!-- doxytag: member="XercesDOMParser::isUsingCachedGrammarInParse" ref="dd2d4543ca38330dae41c8a72cc42d04" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XercesDOMParser::isUsingCachedGrammarInParse           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the 'Use cached grammar' flag. 
<p>
This method returns the state of the parser's use of cached grammar when parsing an XML document.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true, if the parser is currently configured to use cached grammars, false otherwise.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classXercesDOMParser.html#da7f6ec380c62e3e5f88cc62134324d7" title="Set the &#39;Use cached grammar&#39; flag.">useCachedGrammarInParse</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="84fb7f2836b7de3724b623e8c96e5eaf"></a><!-- doxytag: member="XercesDOMParser::getGrammar" ref="84fb7f2836b7de3724b623e8c96e5eaf" args="(const XMLCh *const nameSpaceKey)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Grammar* XercesDOMParser::getGrammar           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>nameSpaceKey</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve the grammar that is associated with the specified namespace key. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nameSpaceKey</em>&nbsp;</td><td>Namespace key </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Grammar associated with the Namespace key. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4e1aeb7bc63d4edf95ade1d168c60f62"></a><!-- doxytag: member="XercesDOMParser::getRootGrammar" ref="4e1aeb7bc63d4edf95ade1d168c60f62" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Grammar* XercesDOMParser::getRootGrammar           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve the grammar where the root element is declared. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Grammar where root element declared </dd></dl>

</div>
</div><p>
<a class="anchor" name="6d72be5fe39822e7820c9fd4098b9b83"></a><!-- doxytag: member="XercesDOMParser::getURIText" ref="6d72be5fe39822e7820c9fd4098b9b83" args="(unsigned int uriId) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a>* XercesDOMParser::getURIText           </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>uriId</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the string corresponding to a URI id from the URI string pool. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>uriId</em>&nbsp;</td><td>id of the string in the URI string pool. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>URI string corresponding to the URI id. </dd></dl>

</div>
</div><p>
<a class="anchor" name="c5e15b1e4f1f9396644b489f7d974d8a"></a><!-- doxytag: member="XercesDOMParser::getSrcOffset" ref="c5e15b1e4f1f9396644b489f7d974d8a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#7647261a546ac47bda863a51d24ad898">XMLFilePos</a> XercesDOMParser::getSrcOffset           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the current src offset within the input source. 
<p>
To be used only while parsing is in progress.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>offset within the input source </dd></dl>

</div>
</div><p>
<a class="anchor" name="f499ac78efa26c7db490094259f0b51a"></a><!-- doxytag: member="XercesDOMParser::getIgnoreCachedDTD" ref="f499ac78efa26c7db490094259f0b51a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XercesDOMParser::getIgnoreCachedDTD           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the 'ignore cached DTD grammar' flag. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true, if the parser is currently configured to ignore cached DTD, false otherwise.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classXercesDOMParser.html#721af22100df468cdfd4720e3e279942" title="Set the &#39;ignore cached DTD grammar&#39; flag.">setIgnoreCachedDTD</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="602f8c3498a6a2e152fc3059bc3f5b7d"></a><!-- doxytag: member="XercesDOMParser::setErrorHandler" ref="602f8c3498a6a2e152fc3059bc3f5b7d" args="(ErrorHandler *const handler)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XercesDOMParser::setErrorHandler           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classErrorHandler.html">ErrorHandler</a> *const &nbsp;</td>
          <td class="paramname"> <em>handler</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the error handler. 
<p>
This method allows applications to install their own error handler to trap error and warning messages.<p>
<em>Any previously set handler is merely dropped, since the parser does not own them.</em><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>handler</em>&nbsp;</td><td>A const pointer to the user supplied error handler.</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classXercesDOMParser.html#c1bb89e72d35cd07fd571f573541f57c" title="Get a pointer to the error handler.">getErrorHandler</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="7af25604845054aba1a4a59f928b4ef7"></a><!-- doxytag: member="XercesDOMParser::setEntityResolver" ref="7af25604845054aba1a4a59f928b4ef7" args="(EntityResolver *const handler)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XercesDOMParser::setEntityResolver           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classEntityResolver.html">EntityResolver</a> *const &nbsp;</td>
          <td class="paramname"> <em>handler</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the entity resolver. 
<p>
This method allows applications to install their own entity resolver. By installing an entity resolver, the applications can trap and potentially redirect references to external entities.<p>
<em>Any previously set entity resolver is merely dropped, since the parser does not own them. If both setEntityResolver and setXMLEntityResolver are called, then the last one is used.</em><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>handler</em>&nbsp;</td><td>A const pointer to the user supplied entity resolver.</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classXercesDOMParser.html#ee65258bf91265109cae4af97c5727af" title="Get a pointer to the entity resolver.">getEntityResolver</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="bc6fa802b544e8f19b0d23002ad3cd18"></a><!-- doxytag: member="XercesDOMParser::setXMLEntityResolver" ref="bc6fa802b544e8f19b0d23002ad3cd18" args="(XMLEntityResolver *const handler)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XercesDOMParser::setXMLEntityResolver           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classXMLEntityResolver.html">XMLEntityResolver</a> *const &nbsp;</td>
          <td class="paramname"> <em>handler</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the entity resolver. 
<p>
This method allows applications to install their own entity resolver. By installing an entity resolver, the applications can trap and potentially redirect references to external entities.<p>
<em>Any previously set entity resolver is merely dropped, since the parser does not own them. If both setEntityResolver and setXMLEntityResolver are called, then the last one set is used.</em><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>handler</em>&nbsp;</td><td>A const pointer to the user supplied entity resolver.</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classXercesDOMParser.html#31d8ae354d87e7d786f22457c7533e67" title="Get a pointer to the entity resolver.">getXMLEntityResolver</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="2713dbb15ae3c5a1780cf77201444426"></a><!-- doxytag: member="XercesDOMParser::cacheGrammarFromParse" ref="2713dbb15ae3c5a1780cf77201444426" args="(const bool newState)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XercesDOMParser::cacheGrammarFromParse           </td>
          <td>(</td>
          <td class="paramtype">const bool&nbsp;</td>
          <td class="paramname"> <em>newState</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the 'Grammar caching' flag. 
<p>
This method allows users to enable or disable caching of grammar when parsing XML documents. When set to true, the parser will cache the resulting grammar for use in subsequent parses.<p>
If the flag is set to true, the 'Use cached grammar' flag will also be set to true.<p>
The parser's default state is: false.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newState</em>&nbsp;</td><td>The value specifying whether we should cache grammars or not.</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classXercesDOMParser.html#5b155cbdaa9f170f0e1325a5dcce83ab" title="Get the &#39;Grammar caching&#39; flag.">isCachingGrammarFromParse</a> <p>
<a class="el" href="classXercesDOMParser.html#da7f6ec380c62e3e5f88cc62134324d7" title="Set the &#39;Use cached grammar&#39; flag.">useCachedGrammarInParse</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="da7f6ec380c62e3e5f88cc62134324d7"></a><!-- doxytag: member="XercesDOMParser::useCachedGrammarInParse" ref="da7f6ec380c62e3e5f88cc62134324d7" args="(const bool newState)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XercesDOMParser::useCachedGrammarInParse           </td>
          <td>(</td>
          <td class="paramtype">const bool&nbsp;</td>
          <td class="paramname"> <em>newState</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the 'Use cached grammar' flag. 
<p>
This method allows users to enable or disable the use of cached grammars. When set to true, the parser will use the cached grammar, instead of building the grammar from scratch, to validate XML documents.<p>
If the 'Grammar caching' flag is set to true, this method ignore the value passed in.<p>
The parser's default state is: false.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newState</em>&nbsp;</td><td>The value specifying whether we should use the cached grammar or not.</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classXercesDOMParser.html#dd2d4543ca38330dae41c8a72cc42d04" title="Get the &#39;Use cached grammar&#39; flag.">isUsingCachedGrammarInParse</a> <p>
<a class="el" href="classXercesDOMParser.html#2713dbb15ae3c5a1780cf77201444426" title="Set the &#39;Grammar caching&#39; flag.">cacheGrammarFromParse</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="721af22100df468cdfd4720e3e279942"></a><!-- doxytag: member="XercesDOMParser::setIgnoreCachedDTD" ref="721af22100df468cdfd4720e3e279942" args="(const bool newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XercesDOMParser::setIgnoreCachedDTD           </td>
          <td>(</td>
          <td class="paramtype">const bool&nbsp;</td>
          <td class="paramname"> <em>newValue</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the 'ignore cached DTD grammar' flag. 
<p>
This method gives users the option to ignore a cached DTD grammar, when an XML document contains both an internal and external DTD, and the use cached grammar from parse option is enabled. Currently, we do not allow using cached DTD grammar when an internal subset is present in the document. This option will only affect the behavior of the parser when an internal and external DTD both exist in a document (i.e. no effect if document has no internal subset).<p>
The parser's default state is false<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>newValue</em>&nbsp;</td><td>The state to set </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="75b1d7ea279d7428a88b9a92aedee18f"></a><!-- doxytag: member="XercesDOMParser::resetDocumentPool" ref="75b1d7ea279d7428a88b9a92aedee18f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XercesDOMParser::resetDocumentPool           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reset the documents vector pool and release all the associated memory back to the system. 
<p>
When parsing a document using a DOM parser, all memory allocated for a DOM tree is associated to the DOM document.<p>
If you do multiple parse using the same DOM parser instance, then multiple DOM documents will be generated and saved in a vector pool. All these documents (and thus all the allocated memory) won't be deleted until the parser instance is destroyed.<p>
If you don't need these DOM documents anymore and don't want to destroy the DOM parser instance at this moment, then you can call this method to reset the document vector pool and release all the allocated memory back to the system.<p>
It is an error to call this method if you are in the middle of a parse (e.g. in the mid of a progressive parse).<p>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>IOException</em>&nbsp;</td><td>An exception from the parser if this function is called when a parse is in progress. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="eee45cd34349b4d11948e0f21f5e7d99"></a><!-- doxytag: member="XercesDOMParser::error" ref="eee45cd34349b4d11948e0f21f5e7d99" args="(const unsigned int errCode, const XMLCh *const msgDomain, const XMLErrorReporter::ErrTypes errType, const XMLCh *const errorText, const XMLCh *const systemId, const XMLCh *const publicId, const XMLFileLoc lineNum, const XMLFileLoc colNum)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void XercesDOMParser::error           </td>
          <td>(</td>
          <td class="paramtype">const unsigned int&nbsp;</td>
          <td class="paramname"> <em>errCode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>msgDomain</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classXMLErrorReporter.html#db34298ba3609a10c52328e5050d4434">XMLErrorReporter::ErrTypes</a>&nbsp;</td>
          <td class="paramname"> <em>errType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>errorText</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>systemId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>publicId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#dd2d542a6583db767febf57446daa50d">XMLFileLoc</a>&nbsp;</td>
          <td class="paramname"> <em>lineNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#dd2d542a6583db767febf57446daa50d">XMLFileLoc</a>&nbsp;</td>
          <td class="paramname"> <em>colNum</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Handle errors reported from the parser. 
<p>
This method is used to report back errors found while parsing the XML file. This method is also borrowed from the SAX specification. It calls the corresponding user installed Error Handler method: 'fatal', 'error', 'warning' depending on the severity of the error. This classification is defined by the XML specification.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>errCode</em>&nbsp;</td><td>An integer code for the error. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>msgDomain</em>&nbsp;</td><td>A const pointer to an Unicode string representing the message domain to use. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>errType</em>&nbsp;</td><td>An enumeration classifying the severity of the error. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>errorText</em>&nbsp;</td><td>A const pointer to an Unicode string representing the text of the error message. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>systemId</em>&nbsp;</td><td>A const pointer to an Unicode string representing the system id of the XML file where this error was discovered. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>publicId</em>&nbsp;</td><td>A const pointer to an Unicode string representing the public id of the XML file where this error was discovered. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>lineNum</em>&nbsp;</td><td>The line number where the error occurred. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>colNum</em>&nbsp;</td><td>The column number where the error occurred. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classErrorHandler.html" title="Basic interface for SAX error handlers.">ErrorHandler</a> </dd></dl>

<p>Implements <a class="el" href="classXMLErrorReporter.html#6eca467a4753ce0dc6222aafe5c19ed0">XMLErrorReporter</a>.</p>

</div>
</div><p>
<a class="anchor" name="4f1c5100b71727fe4efef8f5c03341dc"></a><!-- doxytag: member="XercesDOMParser::resetErrors" ref="4f1c5100b71727fe4efef8f5c03341dc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void XercesDOMParser::resetErrors           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reset any error data before a new parse. 
<p>
This method allows the user installed Error Handler callback to 'reset' itself.<p>
<b>This method is a no-op for this DOM implementation.</b> 
<p>Implements <a class="el" href="classXMLErrorReporter.html#a8364a38a2ac6657448bad08ff6f0091">XMLErrorReporter</a>.</p>

</div>
</div><p>
<a class="anchor" name="f0045b44b04f34436f4ccdf3ce6f2a0a"></a><!-- doxytag: member="XercesDOMParser::endInputSource" ref="f0045b44b04f34436f4ccdf3ce6f2a0a" args="(const InputSource &amp;inputSource)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XercesDOMParser::endInputSource           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classInputSource.html">InputSource</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>inputSource</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Handle an end of input source event. 
<p>
This method is used to indicate the end of parsing of an external entity file.<p>
<b>This method is a no-op for this DOM implementation.</b><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>inputSource</em>&nbsp;</td><td>A const reference to the <a class="el" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a> object which points to the XML file being parsed. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a> </dd></dl>

<p>Implements <a class="el" href="classXMLEntityHandler.html#f1b5c220b47c05c188cbd88363e9a41d">XMLEntityHandler</a>.</p>

</div>
</div><p>
<a class="anchor" name="9cf136488f2f8f92ffa226bb2fc2d448"></a><!-- doxytag: member="XercesDOMParser::expandSystemId" ref="9cf136488f2f8f92ffa226bb2fc2d448" args="(const XMLCh *const systemId, XMLBuffer &amp;toFill)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool XercesDOMParser::expandSystemId           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const&nbsp;</td>
          <td class="paramname"> <em>systemId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">XMLBuffer &amp;&nbsp;</td>
          <td class="paramname"> <em>toFill</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Expand a system id. 
<p>
This method allows an installed <a class="el" href="classXMLEntityHandler.html" title="This abstract class is a callback mechanism for the scanner.">XMLEntityHandler</a> to further process any system id's of external entities encountered in the XML file being parsed, such as redirection etc.<p>
<b>This method always returns 'false' for this DOM implementation.</b><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>systemId</em>&nbsp;</td><td>A const pointer to an Unicode string representing the system id scanned by the parser. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>toFill</em>&nbsp;</td><td>A pointer to a buffer in which the application processed system id is stored. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>'true', if any processing is done, 'false' otherwise. </dd></dl>

<p>Implements <a class="el" href="classXMLEntityHandler.html#a64d97114fb1fa62502fba6d9ed5346c">XMLEntityHandler</a>.</p>

</div>
</div><p>
<a class="anchor" name="8d5b35e277d05f1244a4285ae5c6710b"></a><!-- doxytag: member="XercesDOMParser::resetEntities" ref="8d5b35e277d05f1244a4285ae5c6710b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XercesDOMParser::resetEntities           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reset any entity handler information. 
<p>
This method allows the installed <a class="el" href="classXMLEntityHandler.html" title="This abstract class is a callback mechanism for the scanner.">XMLEntityHandler</a> to reset itself.<p>
<b>This method is a no-op for this DOM implementation.</b> 
<p>Implements <a class="el" href="classXMLEntityHandler.html#f096953b99a5de9f039df902c7f3543d">XMLEntityHandler</a>.</p>

</div>
</div><p>
<a class="anchor" name="1195ddba213852b34683abbf6f56668a"></a><!-- doxytag: member="XercesDOMParser::resolveEntity" ref="1195ddba213852b34683abbf6f56668a" args="(XMLResourceIdentifier *resourceIdentifier)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classInputSource.html">InputSource</a>* XercesDOMParser::resolveEntity           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classXMLResourceIdentifier.html">XMLResourceIdentifier</a> *&nbsp;</td>
          <td class="paramname"> <em>resourceIdentifier</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Resolve a public/system id. 
<p>
This method allows a user installed entity handler to further process any pointers to external entities. The applications can implement 'redirection' via this callback.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>resourceIdentifier</em>&nbsp;</td><td>An object containing the type of resource to be resolved and the associated data members corresponding to this type. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value returned by the user installed resolveEntity method or NULL otherwise to indicate no processing was done. The returned <a class="el" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a> is owned by the parser which is responsible to clean up the memory. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classXMLEntityHandler.html" title="This abstract class is a callback mechanism for the scanner.">XMLEntityHandler</a> <p>
<a class="el" href="classXMLEntityResolver.html" title="Revised interface for resolving entities.">XMLEntityResolver</a> </dd></dl>

<p>Implements <a class="el" href="classXMLEntityHandler.html#8994f00cc9ba227fe8afa273605356d9">XMLEntityHandler</a>.</p>

</div>
</div><p>
<a class="anchor" name="0123825ec7c9eaebe452578dcf751821"></a><!-- doxytag: member="XercesDOMParser::startInputSource" ref="0123825ec7c9eaebe452578dcf751821" args="(const InputSource &amp;inputSource)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XercesDOMParser::startInputSource           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classInputSource.html">InputSource</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>inputSource</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Handle a 'start input source' event. 
<p>
This method is used to indicate the start of parsing an external entity file.<p>
<b>This method is a no-op for this DOM parse implementation.</b><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>inputSource</em>&nbsp;</td><td>A const reference to the <a class="el" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a> object which points to the external entity being parsed. </td></tr>
  </table>
</dl>

<p>Implements <a class="el" href="classXMLEntityHandler.html#a59b2da6316f575899b6a8a3fef7477c">XMLEntityHandler</a>.</p>

</div>
</div><p>
<a class="anchor" name="3925f7194043f51dda38b66c1f099d1e"></a><!-- doxytag: member="XercesDOMParser::loadGrammar" ref="3925f7194043f51dda38b66c1f099d1e" args="(const InputSource &amp;source, const Grammar::GrammarType grammarType, const bool toCache=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Grammar* XercesDOMParser::loadGrammar           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classInputSource.html">InputSource</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Grammar::GrammarType&nbsp;</td>
          <td class="paramname"> <em>grammarType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&nbsp;</td>
          <td class="paramname"> <em>toCache</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Preparse schema grammar (XML Schema, DTD, etc. 
<p>
) via an input source object.<p>
This method invokes the preparsing process on a schema grammar XML file specified by the SAX <a class="el" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a> parameter. If the 'toCache' flag is enabled, the parser will cache the grammars for re-use. If a grammar key is found in the pool, no caching of any grammar will take place.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>A const reference to the SAX <a class="el" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a> object which points to the schema grammar file to be preparsed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>grammarType</em>&nbsp;</td><td>The grammar type (Schema or DTD). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>toCache</em>&nbsp;</td><td>If <code>true</code>, we cache the preparsed grammar, otherwise, no caching. Default is <code>false</code>. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The preparsed schema grammar object (SchemaGrammar or DTDGrammar). That grammar object is owned by the parser.</dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSAXException.html" title="Encapsulate a general SAX error or warning.">SAXException</a></em>&nbsp;</td><td>Any SAX exception, possibly wrapping another exception. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classXMLException.html">XMLException</a></em>&nbsp;</td><td>An exception from the parser or client handler code. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classDOMException.html">DOMException</a></em>&nbsp;</td><td>A DOM exception as per DOM spec.</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classInputSource.html#601a7aa7124e2d8e9664eda9aea6b622" title="Default constructor.">InputSource::InputSource</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="18641d4274b1c1541d28d090653ca918"></a><!-- doxytag: member="XercesDOMParser::loadGrammar" ref="18641d4274b1c1541d28d090653ca918" args="(const XMLCh *const systemId, const Grammar::GrammarType grammarType, const bool toCache=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Grammar* XercesDOMParser::loadGrammar           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const &nbsp;</td>
          <td class="paramname"> <em>systemId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Grammar::GrammarType&nbsp;</td>
          <td class="paramname"> <em>grammarType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&nbsp;</td>
          <td class="paramname"> <em>toCache</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Preparse schema grammar (XML Schema, DTD, etc. 
<p>
) via a file path or URL<p>
This method invokes the preparsing process on a schema grammar XML file specified by the file path parameter. If the 'toCache' flag is enabled, the parser will cache the grammars for re-use. If a grammar key is found in the pool, no caching of any grammar will take place.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>systemId</em>&nbsp;</td><td>A const XMLCh pointer to the Unicode string which contains the path to the XML grammar file to be preparsed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>grammarType</em>&nbsp;</td><td>The grammar type (Schema or DTD). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>toCache</em>&nbsp;</td><td>If <code>true</code>, we cache the preparsed grammar, otherwise, no caching. Default is <code>false</code>. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The preparsed schema grammar object (SchemaGrammar or DTDGrammar). That grammar object is owned by the parser.</dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSAXException.html" title="Encapsulate a general SAX error or warning.">SAXException</a></em>&nbsp;</td><td>Any SAX exception, possibly wrapping another exception. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classXMLException.html">XMLException</a></em>&nbsp;</td><td>An exception from the parser or client handler code. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classDOMException.html">DOMException</a></em>&nbsp;</td><td>A DOM exception as per DOM spec. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="72cacbb7723228139b90cf8b00399e0c"></a><!-- doxytag: member="XercesDOMParser::loadGrammar" ref="72cacbb7723228139b90cf8b00399e0c" args="(const char *const systemId, const Grammar::GrammarType grammarType, const bool toCache=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Grammar* XercesDOMParser::loadGrammar           </td>
          <td>(</td>
          <td class="paramtype">const char *const &nbsp;</td>
          <td class="paramname"> <em>systemId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Grammar::GrammarType&nbsp;</td>
          <td class="paramname"> <em>grammarType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&nbsp;</td>
          <td class="paramname"> <em>toCache</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Preparse schema grammar (XML Schema, DTD, etc. 
<p>
) via a file path or URL<p>
This method invokes the preparsing process on a schema grammar XML file specified by the file path parameter. If the 'toCache' flag is enabled, the parser will cache the grammars for re-use. If a grammar key is found in the pool, no caching of any grammar will take place.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>systemId</em>&nbsp;</td><td>A const char pointer to a native string which contains the path to the XML grammar file to be preparsed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>grammarType</em>&nbsp;</td><td>The grammar type (Schema or DTD). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>toCache</em>&nbsp;</td><td>If <code>true</code>, we cache the preparsed grammar, otherwise, no caching. Default is <code>false</code>. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The preparsed schema grammar object (SchemaGrammar or DTDGrammar). That grammar object is owned by the parser.</dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSAXException.html" title="Encapsulate a general SAX error or warning.">SAXException</a></em>&nbsp;</td><td>Any SAX exception, possibly wrapping another exception. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classXMLException.html">XMLException</a></em>&nbsp;</td><td>An exception from the parser or client handler code. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classDOMException.html">DOMException</a></em>&nbsp;</td><td>A DOM exception as per DOM spec. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="380e82a91a232eb1a9a90bd5928b2c35"></a><!-- doxytag: member="XercesDOMParser::resetCachedGrammarPool" ref="380e82a91a232eb1a9a90bd5928b2c35" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XercesDOMParser::resetCachedGrammarPool           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
This method allows the user to reset the pool of cached grammars. 
<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="XercesDOMParser_8hpp-source.html">XercesDOMParser.hpp</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Apr 21 17:55:50 2010 for Xerces-C++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>