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 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639
|
<!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++: SAX2XMLReader 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 Page</span></a></li>
<li><a href="pages.html"><span>Related 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 List</span></a></li>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>SAX2XMLReader Class Reference</h1><!-- doxytag: class="SAX2XMLReader" --><div class="dynheader">
Inheritance diagram for SAX2XMLReader:</div>
<div class="dynsection">
<p><center><img src="classSAX2XMLReader.png" usemap="#SAX2XMLReader_map" border="0" alt=""></center>
<map name="SAX2XMLReader_map">
<area href="classSAX2XMLFilter.html" alt="SAX2XMLFilter" shape="rect" coords="0,56,113,80">
</map>
</div>
<p>
<a href="classSAX2XMLReader-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 Types</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Public constants</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#d6be26566ce8e2f65b95849247d10853">ValSchemes</a> { <a class="el" href="classSAX2XMLReader.html#d6be26566ce8e2f65b95849247d108537b5317560a7f1130511148b7750d6244">Val_Never</a>,
<a class="el" href="classSAX2XMLReader.html#d6be26566ce8e2f65b95849247d1085395ad9c6bc78a2ce7fa2a8db410b1dc39">Val_Always</a>,
<a class="el" href="classSAX2XMLReader.html#d6be26566ce8e2f65b95849247d1085357143e99019f8302ea26965e26ce7cb0">Val_Auto</a>
}</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">ValScheme enum used in setValidationScheme Val_Never: Do not report validation errors. <a href="classSAX2XMLReader.html#d6be26566ce8e2f65b95849247d10853">More...</a><br></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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#faad9a21efa3e2626e80a7045c3a39b1">SAX2XMLReader</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The default constructor. <a href="#faad9a21efa3e2626e80a7045c3a39b1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#65eac731ad3537122d86bf5826fe8047">~SAX2XMLReader</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The destructor. <a href="#65eac731ad3537122d86bf5826fe8047"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Implementation of SAX 2.0 XMLReader interface's.</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classContentHandler.html">ContentHandler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#9fda35bb540194c1a8a5a4a95c0bcdb7">getContentHandler</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns the installed content handler. <a href="#9fda35bb540194c1a8a5a4a95c0bcdb7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classDTDHandler.html">DTDHandler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#89f6ad6b94dce1d82f86d88084cafeaf">getDTDHandler</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns the installed DTD handler. <a href="#89f6ad6b94dce1d82f86d88084cafeaf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classEntityResolver.html">EntityResolver</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#ef939a6a68ded3d000f8ecbd80cc5089">getEntityResolver</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns the installed entity resolver. <a href="#ef939a6a68ded3d000f8ecbd80cc5089"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classErrorHandler.html">ErrorHandler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#96bb93cd1b62dd75068325cbcdfbb581">getErrorHandler</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns the installed error handler. <a href="#96bb93cd1b62dd75068325cbcdfbb581"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#6a704107fbb8c3552589236e959238be">getFeature</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const name) const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Query the current state of any feature in a SAX2 XMLReader. <a href="#6a704107fbb8c3552589236e959238be"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#909627968ffa64bb14e673d5e2caf6f7">getProperty</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const name) const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Query the current value of a property in a SAX2 XMLReader. <a href="#909627968ffa64bb14e673d5e2caf6f7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a1885becac34443e9648ccaeeed733f5">setContentHandler</a> (<a class="el" href="classContentHandler.html">ContentHandler</a> *const handler)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Allow an application to register a document event handler. <a href="#a1885becac34443e9648ccaeeed733f5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#b862874149da5e744a04f1bc6de60ff4">setDTDHandler</a> (<a class="el" href="classDTDHandler.html">DTDHandler</a> *const handler)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Allow an application to register a DTD event handler. <a href="#b862874149da5e744a04f1bc6de60ff4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#b4621486a9776d480ec10e596a4d66a6">setEntityResolver</a> (<a class="el" href="classEntityResolver.html">EntityResolver</a> *const resolver)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Allow an application to register a custom entity resolver. <a href="#b4621486a9776d480ec10e596a4d66a6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#910e9acbec9c8bbd4ff3fdb92c76cf0e">setErrorHandler</a> (<a class="el" href="classErrorHandler.html">ErrorHandler</a> *const handler)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Allow an application to register an error event handler. <a href="#910e9acbec9c8bbd4ff3fdb92c76cf0e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a597ea87071e1a0aa1288567e4bfd6d7">setFeature</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const name, const bool value)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the state of any feature in a SAX2 XMLReader. <a href="#a597ea87071e1a0aa1288567e4bfd6d7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#02a51d39bbb1241cef2f6dab1ec56947">setProperty</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const name, void *value)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the value of any property in a SAX2 XMLReader. <a href="#02a51d39bbb1241cef2f6dab1ec56947"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#284811d3b9785e0898093638ab17662d">parse</a> (const <a class="el" href="classInputSource.html">InputSource</a> &source)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parse an XML document. <a href="#284811d3b9785e0898093638ab17662d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#faa08affc814631f5a6059e9611b84e3">parse</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const systemId)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parse an XML document from a system identifier (URI). <a href="#faa08affc814631f5a6059e9611b84e3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#b063964b062ebbb98a74347354877f45">parse</a> (const char *const systemId)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parse an XML document from a system identifier (URI). <a href="#b063964b062ebbb98a74347354877f45"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">SAX 2.0-ext</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classDeclHandler.html">DeclHandler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#8f814c6f2a2b1750ea6672de7c2392cd">getDeclarationHandler</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns the installed declaration handler. <a href="#8f814c6f2a2b1750ea6672de7c2392cd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classLexicalHandler.html">LexicalHandler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#2279a6a050eef26c67ba11620044a0ec">getLexicalHandler</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns the installed lexical handler. <a href="#2279a6a050eef26c67ba11620044a0ec"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#60b5233e334c78920a8361cec2a81429">setDeclarationHandler</a> (<a class="el" href="classDeclHandler.html">DeclHandler</a> *const handler)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Allow an application to register a declaration event handler. <a href="#60b5233e334c78920a8361cec2a81429"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#397fd37a21987186c6e4e63211f5d118">setLexicalHandler</a> (<a class="el" href="classLexicalHandler.html">LexicalHandler</a> *const handler)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Allow an application to register a lexical event handler. <a href="#397fd37a21987186c6e4e63211f5d118"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Getter Methods (Xerces-C specific)</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classXMLValidator.html">XMLValidator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a9fd92dd2a348d0884c2ec8156c755db">getValidator</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method is used to get the current validator. <a href="#a9fd92dd2a348d0884c2ec8156c755db"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#ac3468fe6688375acbf104b04324b7d1">getErrorCount</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get error count from the last parse operation. <a href="#ac3468fe6688375acbf104b04324b7d1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#693dae9983a6d951c1fb36f0a9eab111">getExitOnFirstFatalError</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns the state of the parser's exit-on-First-Fatal-Error flag. <a href="#693dae9983a6d951c1fb36f0a9eab111"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#f2d257d62e2b044095409d84181c6424">getValidationConstraintFatal</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns the state of the parser's validation-constraint-fatal flag. <a href="#f2d257d62e2b044095409d84181c6424"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual Grammar * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#edc75b118c38b2beb51cb074f25c04b5">getGrammar</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const nameSpaceKey)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the grammar that is associated with the specified namespace key. <a href="#edc75b118c38b2beb51cb074f25c04b5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual Grammar * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#a294a6a334a9bfd2b5ec048419875f5f">getRootGrammar</a> ()=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the grammar where the root element is declared. <a href="#a294a6a334a9bfd2b5ec048419875f5f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#f20b4b419f902f2fc46bb2d7043077da">getURIText</a> (unsigned int uriId) const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the string corresponding to a URI id from the URI string pool. <a href="#f20b4b419f902f2fc46bb2d7043077da"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#7647261a546ac47bda863a51d24ad898">XMLFilePos</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#41aaef48a24fe4d1fcca07c98cd9acc2">getSrcOffset</a> () const =0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the current src offset within the input source. <a href="#41aaef48a24fe4d1fcca07c98cd9acc2"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Setter Methods (Xerces-C specific)</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#2ee07410cc0f6488eeada730471990ae">setValidator</a> (<a class="el" href="classXMLValidator.html">XMLValidator</a> *valueToAdopt)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method is used to set a validator. <a href="#2ee07410cc0f6488eeada730471990ae"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#ceaca940ae26cc40234074f338632872">setExitOnFirstFatalError</a> (const bool newState)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method allows users to set the parser's behaviour when it encounters the first fatal error. <a href="#ceaca940ae26cc40234074f338632872"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#1e582e31531c645181c220c9ccbbe904">setValidationConstraintFatal</a> (const bool newState)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method allows users to set the parser's behaviour when it encounters a validation constraint error. <a href="#1e582e31531c645181c220c9ccbbe904"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Progressive scan methods</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#e3be1a347fa03c6f6c08d6298702905c">parseFirst</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const systemId, XMLPScanToken &toFill)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Begin a progressive parse operation. <a href="#e3be1a347fa03c6f6c08d6298702905c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#ad62c959271689d53d14fc772350ba41">parseFirst</a> (const char *const systemId, XMLPScanToken &toFill)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Begin a progressive parse operation. <a href="#ad62c959271689d53d14fc772350ba41"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#b3bd9b161c22c87564697edc56560c38">parseFirst</a> (const <a class="el" href="classInputSource.html">InputSource</a> &source, XMLPScanToken &toFill)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Begin a progressive parse operation. <a href="#b3bd9b161c22c87564697edc56560c38"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#f5369c76d498e87fdb24c36fc4100fb0">parseNext</a> (XMLPScanToken &token)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Continue a progressive parse operation. <a href="#f5369c76d498e87fdb24c36fc4100fb0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#58e67a11484763eb0eb705d4cfc3cbf5">parseReset</a> (XMLPScanToken &token)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Reset the parser after a progressive parse. <a href="#58e67a11484763eb0eb705d4cfc3cbf5"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Grammar preparsing interface's.</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual Grammar * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#3c8fab9b934a8d13e970244c6e1392be">loadGrammar</a> (const <a class="el" href="classInputSource.html">InputSource</a> &source, const Grammar::GrammarType grammarType, const bool toCache=false)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Preparse schema grammar (XML Schema, DTD, etc. <a href="#3c8fab9b934a8d13e970244c6e1392be"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual Grammar * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#d3afe06b9aea85b62b205f63c3ff2a29">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)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Preparse schema grammar (XML Schema, DTD, etc. <a href="#d3afe06b9aea85b62b205f63c3ff2a29"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual Grammar * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#026f2f7f663f705f6bf56e6934d70416">loadGrammar</a> (const char *const systemId, const Grammar::GrammarType grammarType, const bool toCache=false)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Preparse schema grammar (XML Schema, DTD, etc. <a href="#026f2f7f663f705f6bf56e6934d70416"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#8ade5e379ef8233584695786d5851714">resetCachedGrammarPool</a> ()=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Clear the cached grammar pool. <a href="#8ade5e379ef8233584695786d5851714"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#84fd7af67ec7e2c593f6244c89eba39c">setInputBufferSize</a> (const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> bufferSize)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set maximum input buffer size. <a href="#84fd7af67ec7e2c593f6244c89eba39c"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Advanced document handler list maintenance methods</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#5235f668aea5d4a799258338d01d7636">installAdvDocHandler</a> (<a class="el" href="classXMLDocumentHandler.html">XMLDocumentHandler</a> *const toInstall)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method installs the specified 'advanced' document callback handler, thereby allowing the user to customize the processing, if they choose to do so. <a href="#5235f668aea5d4a799258338d01d7636"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classSAX2XMLReader.html#46885254749d80ef2dfb19ad8d48e1e0">removeAdvDocHandler</a> (<a class="el" href="classXMLDocumentHandler.html">XMLDocumentHandler</a> *const toRemove)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method removes the 'advanced' document handler callback from the underlying parser scanner. <a href="#46885254749d80ef2dfb19ad8d48e1e0"></a><br></td></tr>
</table>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="d6be26566ce8e2f65b95849247d10853"></a><!-- doxytag: member="SAX2XMLReader::ValSchemes" ref="d6be26566ce8e2f65b95849247d10853" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classSAX2XMLReader.html#d6be26566ce8e2f65b95849247d10853">SAX2XMLReader::ValSchemes</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
ValScheme enum used in setValidationScheme Val_Never: Do not report validation errors.
<p>
Val_Always: The parser will always report validation errors. Val_Auto: The parser will report validation errors only if a grammar is specified.<p>
The schemes map to these feature values: Val_Never: parser->setFeature(XMLUni::fgSAX2CoreValidation, false);<p>
Val_Always: parser->setFeature(XMLUni::fgSAX2CoreValidation, true); parser->setFeature(XMLUni::fgXercesDynamic, false);<p>
Val_Auto: parser->setFeature(XMLUni::fgSAX2CoreValidation, true); parser->setFeature(XMLUni::fgXercesDynamic, true);<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classSAX2XMLReader.html#a597ea87071e1a0aa1288567e4bfd6d7" title="Set the state of any feature in a SAX2 XMLReader.">setFeature</a> </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="d6be26566ce8e2f65b95849247d108537b5317560a7f1130511148b7750d6244"></a><!-- doxytag: member="Val_Never" ref="d6be26566ce8e2f65b95849247d108537b5317560a7f1130511148b7750d6244" args="" -->Val_Never</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d6be26566ce8e2f65b95849247d1085395ad9c6bc78a2ce7fa2a8db410b1dc39"></a><!-- doxytag: member="Val_Always" ref="d6be26566ce8e2f65b95849247d1085395ad9c6bc78a2ce7fa2a8db410b1dc39" args="" -->Val_Always</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="d6be26566ce8e2f65b95849247d1085357143e99019f8302ea26965e26ce7cb0"></a><!-- doxytag: member="Val_Auto" ref="d6be26566ce8e2f65b95849247d1085357143e99019f8302ea26965e26ce7cb0" args="" -->Val_Auto</em> </td><td>
</td></tr>
</table>
</dl>
</div>
</div><p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="faad9a21efa3e2626e80a7045c3a39b1"></a><!-- doxytag: member="SAX2XMLReader::SAX2XMLReader" ref="faad9a21efa3e2626e80a7045c3a39b1" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">SAX2XMLReader::SAX2XMLReader </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The default constructor.
<p>
</div>
</div><p>
<a class="anchor" name="65eac731ad3537122d86bf5826fe8047"></a><!-- doxytag: member="SAX2XMLReader::~SAX2XMLReader" ref="65eac731ad3537122d86bf5826fe8047" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual SAX2XMLReader::~SAX2XMLReader </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The destructor.
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="9fda35bb540194c1a8a5a4a95c0bcdb7"></a><!-- doxytag: member="SAX2XMLReader::getContentHandler" ref="9fda35bb540194c1a8a5a4a95c0bcdb7" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classContentHandler.html">ContentHandler</a>* SAX2XMLReader::getContentHandler </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method returns the installed content handler.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the installed content handler object. </dd></dl>
</div>
</div><p>
<a class="anchor" name="89f6ad6b94dce1d82f86d88084cafeaf"></a><!-- doxytag: member="SAX2XMLReader::getDTDHandler" ref="89f6ad6b94dce1d82f86d88084cafeaf" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classDTDHandler.html">DTDHandler</a>* SAX2XMLReader::getDTDHandler </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method returns the installed DTD handler.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the installed DTD handler object. </dd></dl>
</div>
</div><p>
<a class="anchor" name="ef939a6a68ded3d000f8ecbd80cc5089"></a><!-- doxytag: member="SAX2XMLReader::getEntityResolver" ref="ef939a6a68ded3d000f8ecbd80cc5089" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classEntityResolver.html">EntityResolver</a>* SAX2XMLReader::getEntityResolver </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method returns the installed entity resolver.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the installed entity resolver object. </dd></dl>
</div>
</div><p>
<a class="anchor" name="96bb93cd1b62dd75068325cbcdfbb581"></a><!-- doxytag: member="SAX2XMLReader::getErrorHandler" ref="96bb93cd1b62dd75068325cbcdfbb581" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classErrorHandler.html">ErrorHandler</a>* SAX2XMLReader::getErrorHandler </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method returns the installed error handler.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the installed error handler object. </dd></dl>
</div>
</div><p>
<a class="anchor" name="6a704107fbb8c3552589236e959238be"></a><!-- doxytag: member="SAX2XMLReader::getFeature" ref="6a704107fbb8c3552589236e959238be" args="(const XMLCh *const name) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool SAX2XMLReader::getFeature </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>name</em> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Query the current state of any feature in a SAX2 XMLReader.
<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>name</em> </td><td>The unique identifier (URI) of the feature being set. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The current state of the feature. </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="classSAXNotRecognizedException.html">SAXNotRecognizedException</a></em> </td><td>If the requested feature is not known. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="909627968ffa64bb14e673d5e2caf6f7"></a><!-- doxytag: member="SAX2XMLReader::getProperty" ref="909627968ffa64bb14e673d5e2caf6f7" args="(const XMLCh *const name) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void* SAX2XMLReader::getProperty </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>name</em> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Query the current value of a property in a SAX2 XMLReader.
<p>
The parser owns the returned pointer. The memory allocated for the returned pointer will be destroyed when the parser is deleted.<p>
To ensure accessibility of the returned information after the parser is deleted, callers need to copy and store the returned information somewhere else; otherwise you may get unexpected result. Since the returned pointer is a generic void pointer, see the SAX2 Programming Guide to learn exactly what type of property value each property returns for replication.<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>name</em> </td><td>The unique identifier (URI) of the property being set. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The current value of the property. The pointer spans the same life-time as the parser. A null pointer is returned if nothing was specified externally. </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="classSAXNotRecognizedException.html">SAXNotRecognizedException</a></em> </td><td>If the requested property is not known. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="a1885becac34443e9648ccaeeed733f5"></a><!-- doxytag: member="SAX2XMLReader::setContentHandler" ref="a1885becac34443e9648ccaeeed733f5" args="(ContentHandler *const handler)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::setContentHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classContentHandler.html">ContentHandler</a> *const </td>
<td class="paramname"> <em>handler</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Allow an application to register a document event handler.
<p>
If the application does not register a document handler, all document events reported by the SAX parser will be silently ignored (this is the default behaviour implemented by <a class="el" href="classHandlerBase.html" title="Default base class for handlers.">HandlerBase</a>).<p>
Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.<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> </td><td>The document handler. </td></tr>
</table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classContentHandler.html#5e5673f802f184ce29cd2ffdd8f827e8" title="Default constructor.">ContentHandler::ContentHandler</a> <p>
<a class="el" href="classHandlerBase.html#a9bbcdb7958bace9296940ab702ef367">HandlerBase::HandlerBase</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="b862874149da5e744a04f1bc6de60ff4"></a><!-- doxytag: member="SAX2XMLReader::setDTDHandler" ref="b862874149da5e744a04f1bc6de60ff4" args="(DTDHandler *const handler)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::setDTDHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classDTDHandler.html">DTDHandler</a> *const </td>
<td class="paramname"> <em>handler</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Allow an application to register a DTD event handler.
<p>
If the application does not register a DTD handler, all DTD events reported by the SAX parser will be silently ignored (this is the default behaviour implemented by <a class="el" href="classHandlerBase.html" title="Default base class for handlers.">HandlerBase</a>).<p>
Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.<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> </td><td>The DTD handler. </td></tr>
</table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDTDHandler.html#1d17e15d976164f6d55f542759eea182" title="Default Constructor.">DTDHandler::DTDHandler</a> <p>
<a class="el" href="classHandlerBase.html#a9bbcdb7958bace9296940ab702ef367">HandlerBase::HandlerBase</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="b4621486a9776d480ec10e596a4d66a6"></a><!-- doxytag: member="SAX2XMLReader::setEntityResolver" ref="b4621486a9776d480ec10e596a4d66a6" args="(EntityResolver *const resolver)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::setEntityResolver </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classEntityResolver.html">EntityResolver</a> *const </td>
<td class="paramname"> <em>resolver</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Allow an application to register a custom entity resolver.
<p>
If the application does not register an entity resolver, the SAX parser will resolve system identifiers and open connections to entities itself (this is the default behaviour implemented in <a class="el" href="classDefaultHandler.html" title="Default base class for SAX2 handlers.">DefaultHandler</a>).<p>
Applications may register a new or different entity resolver in the middle of a parse, and the SAX parser must begin using the new resolver immediately.<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>resolver</em> </td><td>The object for resolving entities. </td></tr>
</table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classEntityResolver.html#14e534eb2170015056ccd71458e1058c" title="Default Constructor.">EntityResolver::EntityResolver</a> <p>
<a class="el" href="classDefaultHandler.html#b3aff728663a1c0aa9a1c0ed517f6806">DefaultHandler::DefaultHandler</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="910e9acbec9c8bbd4ff3fdb92c76cf0e"></a><!-- doxytag: member="SAX2XMLReader::setErrorHandler" ref="910e9acbec9c8bbd4ff3fdb92c76cf0e" args="(ErrorHandler *const handler)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::setErrorHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classErrorHandler.html">ErrorHandler</a> *const </td>
<td class="paramname"> <em>handler</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Allow an application to register an error event handler.
<p>
If the application does not register an error event handler, all error events reported by the SAX parser will be silently ignored, except for fatalError, which will throw a <a class="el" href="classSAXException.html" title="Encapsulate a general SAX error or warning.">SAXException</a> (this is the default behaviour implemented by <a class="el" href="classHandlerBase.html" title="Default base class for handlers.">HandlerBase</a>).<p>
Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.<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> </td><td>The error handler. </td></tr>
</table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classErrorHandler.html#7e5f379bd231442b898cef94556b2107" title="Default constructor.">ErrorHandler::ErrorHandler</a> <p>
<a class="el" href="classSAXException.html#e1c8ab9b99e3c43572c1567e72c652e4" title="Default constructor.">SAXException::SAXException</a> <p>
<a class="el" href="classHandlerBase.html#a9bbcdb7958bace9296940ab702ef367">HandlerBase::HandlerBase</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="a597ea87071e1a0aa1288567e4bfd6d7"></a><!-- doxytag: member="SAX2XMLReader::setFeature" ref="a597ea87071e1a0aa1288567e4bfd6d7" args="(const XMLCh *const name, const bool value)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::setFeature </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool </td>
<td class="paramname"> <em>value</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set the state of any feature in a SAX2 XMLReader.
<p>
Supported features in SAX2 for xerces-c are: <br>
(See the SAX2 Programming Guide for detail description).<p>
<br>
<a href="http://xml.org/sax/features/validation">http://xml.org/sax/features/validation</a> (default: true) <br>
<a href="http://xml.org/sax/features/namespaces">http://xml.org/sax/features/namespaces</a> (default: true) <br>
<a href="http://xml.org/sax/features/namespace-prefixes">http://xml.org/sax/features/namespace-prefixes</a> (default: false) <br>
<a href="http://apache.org/xml/features/validation/dynamic">http://apache.org/xml/features/validation/dynamic</a> (default: false) <br>
<a href="http://apache.org/xml/features/validation/reuse-grammar">http://apache.org/xml/features/validation/reuse-grammar</a> (default: false) <br>
<a href="http://apache.org/xml/features/validation/schema">http://apache.org/xml/features/validation/schema</a> (default: true) <br>
<a href="http://apache.org/xml/features/validation/schema-full-checking">http://apache.org/xml/features/validation/schema-full-checking</a> (default: false) <br>
<a href="http://apache.org/xml/features/validating/load-schema">http://apache.org/xml/features/validating/load-schema</a> (default: true) <br>
<a href="http://apache.org/xml/features/nonvalidating/load-external-dtd">http://apache.org/xml/features/nonvalidating/load-external-dtd</a> (default: true) <br>
<a href="http://apache.org/xml/features/continue-after-fatal-error">http://apache.org/xml/features/continue-after-fatal-error</a> (default: false) <br>
<a href="http://apache.org/xml/features/validation-error-as-fatal">http://apache.org/xml/features/validation-error-as-fatal</a> (default: 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>name</em> </td><td>The unique identifier (URI) of the feature. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>The requested state of the feature (true or false). </td></tr>
</table>
</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="classSAXNotRecognizedException.html">SAXNotRecognizedException</a></em> </td><td>If the requested feature is not known. </td></tr>
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSAXNotSupportedException.html">SAXNotSupportedException</a></em> </td><td>Feature modification is not supported during parse </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="02a51d39bbb1241cef2f6dab1ec56947"></a><!-- doxytag: member="SAX2XMLReader::setProperty" ref="02a51d39bbb1241cef2f6dab1ec56947" args="(const XMLCh *const name, void *value)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::setProperty </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">void * </td>
<td class="paramname"> <em>value</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set the value of any property in a SAX2 XMLReader.
<p>
Supported properties in SAX2 for xerces-c are: <br>
(See the SAX2 Programming Guide for detail description).<p>
<br>
<a href="http://apache.org/xml/properties/schema/external-schemaLocation">http://apache.org/xml/properties/schema/external-schemaLocation</a> <br>
<a href="http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation.">http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation.</a><p>
It takes a void pointer as the property value. Application is required to initialize this void pointer to a correct type. See the SAX2 Programming Guide to learn exactly what type of property value each property expects for processing. Passing a void pointer that was initialized with a wrong type will lead to unexpected result. If the same property is set more than once, the last one takes effect.<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>name</em> </td><td>The unique identifier (URI) of the property being set. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>The requested value for the property. See the SAX2 Programming Guide to learn exactly what type of property value each property expects for processing. Passing a void pointer that was initialized with a wrong type will lead to unexpected result. </td></tr>
</table>
</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="classSAXNotRecognizedException.html">SAXNotRecognizedException</a></em> </td><td>If the requested property is not known. </td></tr>
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classSAXNotSupportedException.html">SAXNotSupportedException</a></em> </td><td>Property modification is not supported during parse </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="284811d3b9785e0898093638ab17662d"></a><!-- doxytag: member="SAX2XMLReader::parse" ref="284811d3b9785e0898093638ab17662d" args="(const InputSource &source)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::parse </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classInputSource.html">InputSource</a> & </td>
<td class="paramname"> <em>source</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Parse an XML document.
<p>
The application can use this method to instruct the SAX parser to begin parsing an XML document from any valid input source (a character stream, a byte stream, or a URI).<p>
Applications may not invoke this method while a parse is in progress (they should create a new <a class="el" href="classParser.html" title="Basic interface for SAX (Simple API for XML) parsers.">Parser</a> instead for each additional XML document). Once a parse is complete, an application may reuse the same <a class="el" href="classParser.html" title="Basic interface for SAX (Simple API for XML) parsers.">Parser</a> object, possibly with a different input source.<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> </td><td>The input source for the top-level of the XML document. </td></tr>
</table>
</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> </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> </td><td>An exception from the parser or client handler code. </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> <p>
<a class="el" href="classSAX2XMLReader.html#b4621486a9776d480ec10e596a4d66a6" title="Allow an application to register a custom entity resolver.">setEntityResolver</a> <p>
<a class="el" href="classSAX2XMLReader.html#b862874149da5e744a04f1bc6de60ff4" title="Allow an application to register a DTD event handler.">setDTDHandler</a> <p>
<a class="el" href="classSAX2XMLReader.html#a1885becac34443e9648ccaeeed733f5" title="Allow an application to register a document event handler.">setContentHandler</a> <p>
<a class="el" href="classSAX2XMLReader.html#910e9acbec9c8bbd4ff3fdb92c76cf0e" title="Allow an application to register an error event handler.">setErrorHandler</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="faa08affc814631f5a6059e9611b84e3"></a><!-- doxytag: member="SAX2XMLReader::parse" ref="faa08affc814631f5a6059e9611b84e3" args="(const XMLCh *const systemId)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::parse </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>systemId</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Parse an XML document from a system identifier (URI).
<p>
This method is a shortcut for the common case of reading a document from a system identifier. It is the exact equivalent of the following:<p>
parse(new URLInputSource(systemId));<p>
If the system identifier is a URL, it must be fully resolved by the application before it is passed to the parser.<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> </td><td>The system identifier (URI). </td></tr>
</table>
</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> </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> </td><td>An exception from the parser or client handler code. </td></tr>
</table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classSAX2XMLReader.html#284811d3b9785e0898093638ab17662d" title="Parse an XML document.">parse(const InputSource&)</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="b063964b062ebbb98a74347354877f45"></a><!-- doxytag: member="SAX2XMLReader::parse" ref="b063964b062ebbb98a74347354877f45" args="(const char *const systemId)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::parse </td>
<td>(</td>
<td class="paramtype">const char *const </td>
<td class="paramname"> <em>systemId</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Parse an XML document from a system identifier (URI).
<p>
This method is a shortcut for the common case of reading a document from a system identifier. It is the exact equivalent of the following:<p>
parse(new URLInputSource(systemId));<p>
If the system identifier is a URL, it must be fully resolved by the application before it is passed to the parser.<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> </td><td>The system identifier (URI). </td></tr>
</table>
</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> </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> </td><td>An exception from the parser or client handler code. </td></tr>
</table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classSAX2XMLReader.html#284811d3b9785e0898093638ab17662d" title="Parse an XML document.">parse(const InputSource&)</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="8f814c6f2a2b1750ea6672de7c2392cd"></a><!-- doxytag: member="SAX2XMLReader::getDeclarationHandler" ref="8f814c6f2a2b1750ea6672de7c2392cd" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classDeclHandler.html">DeclHandler</a>* SAX2XMLReader::getDeclarationHandler </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method returns the installed declaration handler.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the installed declaration handler object. </dd></dl>
</div>
</div><p>
<a class="anchor" name="2279a6a050eef26c67ba11620044a0ec"></a><!-- doxytag: member="SAX2XMLReader::getLexicalHandler" ref="2279a6a050eef26c67ba11620044a0ec" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classLexicalHandler.html">LexicalHandler</a>* SAX2XMLReader::getLexicalHandler </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method returns the installed lexical handler.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the installed lexical handler object. </dd></dl>
</div>
</div><p>
<a class="anchor" name="60b5233e334c78920a8361cec2a81429"></a><!-- doxytag: member="SAX2XMLReader::setDeclarationHandler" ref="60b5233e334c78920a8361cec2a81429" args="(DeclHandler *const handler)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::setDeclarationHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classDeclHandler.html">DeclHandler</a> *const </td>
<td class="paramname"> <em>handler</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Allow an application to register a declaration event handler.
<p>
If the application does not register a declaration handler, all events reported by the SAX parser will be silently ignored. (this is the default behaviour implemented by <a class="el" href="classDefaultHandler.html" title="Default base class for SAX2 handlers.">DefaultHandler</a>).<p>
Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.<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> </td><td>The DTD declaration handler. </td></tr>
</table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDeclHandler.html#3155ea1a3555f906321735d78e330f05" title="Default constructor.">DeclHandler::DeclHandler</a> <p>
<a class="el" href="classSAXException.html#e1c8ab9b99e3c43572c1567e72c652e4" title="Default constructor.">SAXException::SAXException</a> <p>
<a class="el" href="classDefaultHandler.html#b3aff728663a1c0aa9a1c0ed517f6806">DefaultHandler::DefaultHandler</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="397fd37a21987186c6e4e63211f5d118"></a><!-- doxytag: member="SAX2XMLReader::setLexicalHandler" ref="397fd37a21987186c6e4e63211f5d118" args="(LexicalHandler *const handler)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::setLexicalHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classLexicalHandler.html">LexicalHandler</a> *const </td>
<td class="paramname"> <em>handler</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Allow an application to register a lexical event handler.
<p>
If the application does not register a lexical handler, all events reported by the SAX parser will be silently ignored. (this is the default behaviour implemented by <a class="el" href="classHandlerBase.html" title="Default base class for handlers.">HandlerBase</a>).<p>
Applications may register a new or different handler in the middle of a parse, and the SAX parser must begin using the new handler immediately.<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> </td><td>The error handler. </td></tr>
</table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classLexicalHandler.html#355f99e04837f54f0041a29c86530fa0" title="Default constructor.">LexicalHandler::LexicalHandler</a> <p>
<a class="el" href="classSAXException.html#e1c8ab9b99e3c43572c1567e72c652e4" title="Default constructor.">SAXException::SAXException</a> <p>
<a class="el" href="classHandlerBase.html#a9bbcdb7958bace9296940ab702ef367">HandlerBase::HandlerBase</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="a9fd92dd2a348d0884c2ec8156c755db"></a><!-- doxytag: member="SAX2XMLReader::getValidator" ref="a9fd92dd2a348d0884c2ec8156c755db" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classXMLValidator.html">XMLValidator</a>* SAX2XMLReader::getValidator </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is used to get the current validator.
<p>
<b><a class="el" href="classSAX2XMLReader.html">SAX2XMLReader</a> assumes responsibility for the validator. It will be deleted when the XMLReader is destroyed.</b><p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the validator. An application should not deleted the object returned. </dd></dl>
</div>
</div><p>
<a class="anchor" name="ac3468fe6688375acbf104b04324b7d1"></a><!-- doxytag: member="SAX2XMLReader::getErrorCount" ref="ac3468fe6688375acbf104b04324b7d1" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> SAX2XMLReader::getErrorCount </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get error count from the last parse operation.
<p>
This method returns the error count from the last parse operation. Note that this count is actually stored in the scanner, so this method simply returns what the scanner reports.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>number of errors encountered during the latest parse operation. </dd></dl>
</div>
</div><p>
<a class="anchor" name="693dae9983a6d951c1fb36f0a9eab111"></a><!-- doxytag: member="SAX2XMLReader::getExitOnFirstFatalError" ref="693dae9983a6d951c1fb36f0a9eab111" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool SAX2XMLReader::getExitOnFirstFatalError </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method returns the state of the parser's exit-on-First-Fatal-Error flag.
<p>
Or you can query the feature "http://apache.org/xml/features/continue-after-fatal-error" which indicates the opposite state.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true, if the parser is currently configured to exit on the first fatal error, false otherwise.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classSAX2XMLReader.html#ceaca940ae26cc40234074f338632872" title="This method allows users to set the parser's behaviour when it encounters the...">setExitOnFirstFatalError</a> <p>
<a class="el" href="classSAX2XMLReader.html#6a704107fbb8c3552589236e959238be" title="Query the current state of any feature in a SAX2 XMLReader.">getFeature</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="f2d257d62e2b044095409d84181c6424"></a><!-- doxytag: member="SAX2XMLReader::getValidationConstraintFatal" ref="f2d257d62e2b044095409d84181c6424" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool SAX2XMLReader::getValidationConstraintFatal </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method returns the state of the parser's validation-constraint-fatal flag.
<p>
Or you can query the feature "http://apache.org/xml/features/validation-error-as-fatal" which means the same thing.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true, if the parser is currently configured to set validation constraint errors as fatal, false otherwise.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classSAX2XMLReader.html#1e582e31531c645181c220c9ccbbe904" title="This method allows users to set the parser's behaviour when it encounters a validation...">setValidationConstraintFatal</a> <p>
<a class="el" href="classSAX2XMLReader.html#6a704107fbb8c3552589236e959238be" title="Query the current state of any feature in a SAX2 XMLReader.">getFeature</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="edc75b118c38b2beb51cb074f25c04b5"></a><!-- doxytag: member="SAX2XMLReader::getGrammar" ref="edc75b118c38b2beb51cb074f25c04b5" args="(const XMLCh *const nameSpaceKey)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Grammar* SAX2XMLReader::getGrammar </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>nameSpaceKey</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></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> </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="a294a6a334a9bfd2b5ec048419875f5f"></a><!-- doxytag: member="SAX2XMLReader::getRootGrammar" ref="a294a6a334a9bfd2b5ec048419875f5f" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Grammar* SAX2XMLReader::getRootGrammar </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [pure virtual]</code></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="f20b4b419f902f2fc46bb2d7043077da"></a><!-- doxytag: member="SAX2XMLReader::getURIText" ref="f20b4b419f902f2fc46bb2d7043077da" args="(unsigned int uriId) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a>* SAX2XMLReader::getURIText </td>
<td>(</td>
<td class="paramtype">unsigned int </td>
<td class="paramname"> <em>uriId</em> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></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> </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="41aaef48a24fe4d1fcca07c98cd9acc2"></a><!-- doxytag: member="SAX2XMLReader::getSrcOffset" ref="41aaef48a24fe4d1fcca07c98cd9acc2" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#7647261a546ac47bda863a51d24ad898">XMLFilePos</a> SAX2XMLReader::getSrcOffset </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td> const<code> [pure virtual]</code></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="2ee07410cc0f6488eeada730471990ae"></a><!-- doxytag: member="SAX2XMLReader::setValidator" ref="2ee07410cc0f6488eeada730471990ae" args="(XMLValidator *valueToAdopt)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::setValidator </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXMLValidator.html">XMLValidator</a> * </td>
<td class="paramname"> <em>valueToAdopt</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method is used to set a validator.
<p>
<b><a class="el" href="classSAX2XMLReader.html">SAX2XMLReader</a> assumes responsibility for the validator. It will be deleted when the XMLReader is destroyed.</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>valueToAdopt</em> </td><td>A pointer to the validator that the reader should use. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="ceaca940ae26cc40234074f338632872"></a><!-- doxytag: member="SAX2XMLReader::setExitOnFirstFatalError" ref="ceaca940ae26cc40234074f338632872" args="(const bool newState)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::setExitOnFirstFatalError </td>
<td>(</td>
<td class="paramtype">const bool </td>
<td class="paramname"> <em>newState</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method allows users to set the parser's behaviour when it encounters the first fatal error.
<p>
If set to true, the parser will exit at the first fatal error. If false, then it will report the error and continue processing.<p>
The default value is 'true' and the parser exits on the first fatal error.<p>
Or you can set the feature "http://apache.org/xml/features/continue-after-fatal-error" which has the opposite behaviour.<p>
If both the feature above and this function are used, the latter takes effect.<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> </td><td>The value specifying whether the parser should continue or exit when it encounters the first fatal error.</td></tr>
</table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classSAX2XMLReader.html#693dae9983a6d951c1fb36f0a9eab111" title="This method returns the state of the parser's exit-on-First-Fatal-Error flag...">getExitOnFirstFatalError</a> <p>
<a class="el" href="classSAX2XMLReader.html#a597ea87071e1a0aa1288567e4bfd6d7" title="Set the state of any feature in a SAX2 XMLReader.">setFeature</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="1e582e31531c645181c220c9ccbbe904"></a><!-- doxytag: member="SAX2XMLReader::setValidationConstraintFatal" ref="1e582e31531c645181c220c9ccbbe904" args="(const bool newState)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::setValidationConstraintFatal </td>
<td>(</td>
<td class="paramtype">const bool </td>
<td class="paramname"> <em>newState</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method allows users to set the parser's behaviour when it encounters a validation constraint error.
<p>
If set to true, and the the parser will treat validation error as fatal and will exit depends on the state of "getExitOnFirstFatalError". If false, then it will report the error and continue processing.<p>
Note: setting this true does not mean the validation error will be printed with the word "Fatal Error". It is still printed as "Error", but the parser will exit if "setExitOnFirstFatalError" is set to true.<p>
The default value is 'false'.<p>
Or you can set the feature "http://apache.org/xml/features/validation-error-as-fatal" which means the same thing.<p>
If both the feature above and this function are used, the latter takes effect.<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> </td><td>If true, the parser will exit if "setExitOnFirstFatalError" is set to true.</td></tr>
</table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classSAX2XMLReader.html#f2d257d62e2b044095409d84181c6424" title="This method returns the state of the parser's validation-constraint-fatal flag...">getValidationConstraintFatal</a> <p>
<a class="el" href="classSAX2XMLReader.html#ceaca940ae26cc40234074f338632872" title="This method allows users to set the parser's behaviour when it encounters the...">setExitOnFirstFatalError</a> <p>
<a class="el" href="classSAX2XMLReader.html#a597ea87071e1a0aa1288567e4bfd6d7" title="Set the state of any feature in a SAX2 XMLReader.">setFeature</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="e3be1a347fa03c6f6c08d6298702905c"></a><!-- doxytag: member="SAX2XMLReader::parseFirst" ref="e3be1a347fa03c6f6c08d6298702905c" args="(const XMLCh *const systemId, XMLPScanToken &toFill)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool SAX2XMLReader::parseFirst </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>systemId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XMLPScanToken & </td>
<td class="paramname"> <em>toFill</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Begin a progressive parse operation.
<p>
This method is used to start a progressive parse on a XML file. To continue parsing, subsequent calls must be to the parseNext method.<p>
It scans through the prolog and returns a token to be used on subsequent scanNext() calls. If the return value is true, then the token is legal and ready for further use. If it returns false, then the scan of the prolog failed and the token is not going to work on subsequent scanNext() calls.<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> </td><td>A pointer to a Unicode string representing the path to the XML file to be parsed. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>toFill</em> </td><td>A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls.</td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>'true', if successful in parsing the prolog. It indicates the user can go ahead with parsing the rest of the file. It returns 'false' to indicate that the parser could parse the prolog (which means the token will not be valid.)</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classSAX2XMLReader.html#f5369c76d498e87fdb24c36fc4100fb0" title="Continue a progressive parse operation.">parseNext</a> <p>
<a class="el" href="classSAX2XMLReader.html#e3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation.">parseFirst</a>(char*,...) <p>
<a class="el" href="classSAX2XMLReader.html#e3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation.">parseFirst</a>(<a class="el" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a>&,...) </dd></dl>
</div>
</div><p>
<a class="anchor" name="ad62c959271689d53d14fc772350ba41"></a><!-- doxytag: member="SAX2XMLReader::parseFirst" ref="ad62c959271689d53d14fc772350ba41" args="(const char *const systemId, XMLPScanToken &toFill)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool SAX2XMLReader::parseFirst </td>
<td>(</td>
<td class="paramtype">const char *const </td>
<td class="paramname"> <em>systemId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XMLPScanToken & </td>
<td class="paramname"> <em>toFill</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Begin a progressive parse operation.
<p>
This method is used to start a progressive parse on a XML file. To continue parsing, subsequent calls must be to the parseNext method.<p>
It scans through the prolog and returns a token to be used on subsequent scanNext() calls. If the return value is true, then the token is legal and ready for further use. If it returns false, then the scan of the prolog failed and the token is not going to work on subsequent scanNext() calls.<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> </td><td>A pointer to a regular native string representing the path to the XML file to be parsed. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>toFill</em> </td><td>A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls.</td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>'true', if successful in parsing the prolog. It indicates the user can go ahead with parsing the rest of the file. It returns 'false' to indicate that the parser could not parse the prolog.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classSAX2XMLReader.html#f5369c76d498e87fdb24c36fc4100fb0" title="Continue a progressive parse operation.">parseNext</a> <p>
<a class="el" href="classSAX2XMLReader.html#e3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation.">parseFirst</a>(XMLCh*,...) <p>
<a class="el" href="classSAX2XMLReader.html#e3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation.">parseFirst</a>(<a class="el" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a>&,...) </dd></dl>
</div>
</div><p>
<a class="anchor" name="b3bd9b161c22c87564697edc56560c38"></a><!-- doxytag: member="SAX2XMLReader::parseFirst" ref="b3bd9b161c22c87564697edc56560c38" args="(const InputSource &source, XMLPScanToken &toFill)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool SAX2XMLReader::parseFirst </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classInputSource.html">InputSource</a> & </td>
<td class="paramname"> <em>source</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XMLPScanToken & </td>
<td class="paramname"> <em>toFill</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Begin a progressive parse operation.
<p>
This method is used to start a progressive parse on a XML file. To continue parsing, subsequent calls must be to the parseNext method.<p>
It scans through the prolog and returns a token to be used on subsequent scanNext() calls. If the return value is true, then the token is legal and ready for further use. If it returns false, then the scan of the prolog failed and the token is not going to work on subsequent scanNext() calls.<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> </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 to be parsed. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>toFill</em> </td><td>A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls.</td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>'true', if successful in parsing the prolog. It indicates the user can go ahead with parsing the rest of the file. It returns 'false' to indicate that the parser could not parse the prolog.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classSAX2XMLReader.html#f5369c76d498e87fdb24c36fc4100fb0" title="Continue a progressive parse operation.">parseNext</a> <p>
<a class="el" href="classSAX2XMLReader.html#e3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation.">parseFirst</a>(XMLCh*,...) <p>
<a class="el" href="classSAX2XMLReader.html#e3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation.">parseFirst</a>(char*,...) </dd></dl>
</div>
</div><p>
<a class="anchor" name="f5369c76d498e87fdb24c36fc4100fb0"></a><!-- doxytag: member="SAX2XMLReader::parseNext" ref="f5369c76d498e87fdb24c36fc4100fb0" args="(XMLPScanToken &token)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool SAX2XMLReader::parseNext </td>
<td>(</td>
<td class="paramtype">XMLPScanToken & </td>
<td class="paramname"> <em>token</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Continue a progressive parse operation.
<p>
This method is used to continue with progressive parsing of XML files started by a call to 'parseFirst' method.<p>
It parses the XML file and stops as soon as it comes across a XML token (as defined in the XML specification). Relevant callback handlers are invoked as required by the SAX 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>token</em> </td><td>A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls.</td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>'true', if successful in parsing the next XML token. It indicates the user can go ahead with parsing the rest of the file. It returns 'false' to indicate that the parser could not find next token as per the XML specification production rule.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classSAX2XMLReader.html#e3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation.">parseFirst</a>(XMLCh*,...) <p>
<a class="el" href="classSAX2XMLReader.html#e3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation.">parseFirst</a>(char*,...) <p>
<a class="el" href="classSAX2XMLReader.html#e3be1a347fa03c6f6c08d6298702905c" title="Begin a progressive parse operation.">parseFirst</a>(<a class="el" href="classInputSource.html" title="A single input source for an XML entity.">InputSource</a>&,...) </dd></dl>
</div>
</div><p>
<a class="anchor" name="58e67a11484763eb0eb705d4cfc3cbf5"></a><!-- doxytag: member="SAX2XMLReader::parseReset" ref="58e67a11484763eb0eb705d4cfc3cbf5" args="(XMLPScanToken &token)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::parseReset </td>
<td>(</td>
<td class="paramtype">XMLPScanToken & </td>
<td class="paramname"> <em>token</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Reset the parser after a progressive parse.
<p>
If a progressive parse loop exits before the end of the document is reached, the parser has no way of knowing this. So it will leave open any files or sockets or memory buffers that were in use at the time that the parse loop exited.<p>
The next parse operation will cause these open files and such to be closed, but the next parse operation might occur at some unknown future point. To avoid this problem, you should reset the parser if you exit the loop early.<p>
If you exited because of an error, then this cleanup will be done for you. Its only when you exit the file prematurely of your own accord, because you've found what you wanted in the file most likely.<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>token</em> </td><td>A token maintaing state information to maintain internal consistency between invocation of 'parseNext' calls. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="3c8fab9b934a8d13e970244c6e1392be"></a><!-- doxytag: member="SAX2XMLReader::loadGrammar" ref="3c8fab9b934a8d13e970244c6e1392be" args="(const InputSource &source, const Grammar::GrammarType grammarType, const bool toCache=false)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Grammar* SAX2XMLReader::loadGrammar </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classInputSource.html">InputSource</a> & </td>
<td class="paramname"> <em>source</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Grammar::GrammarType </td>
<td class="paramname"> <em>grammarType</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool </td>
<td class="paramname"> <em>toCache</em> = <code>false</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></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> </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> </td><td>The grammar type (Schema or DTD). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>toCache</em> </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> </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> </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> </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="d3afe06b9aea85b62b205f63c3ff2a29"></a><!-- doxytag: member="SAX2XMLReader::loadGrammar" ref="d3afe06b9aea85b62b205f63c3ff2a29" args="(const XMLCh *const systemId, const Grammar::GrammarType grammarType, const bool toCache=false)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Grammar* SAX2XMLReader::loadGrammar </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#fae8f92d83170d97f757f704eca7f52a">XMLCh</a> *const </td>
<td class="paramname"> <em>systemId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Grammar::GrammarType </td>
<td class="paramname"> <em>grammarType</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool </td>
<td class="paramname"> <em>toCache</em> = <code>false</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></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> </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> </td><td>The grammar type (Schema or DTD). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>toCache</em> </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> </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> </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> </td><td>A DOM exception as per DOM spec. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="026f2f7f663f705f6bf56e6934d70416"></a><!-- doxytag: member="SAX2XMLReader::loadGrammar" ref="026f2f7f663f705f6bf56e6934d70416" args="(const char *const systemId, const Grammar::GrammarType grammarType, const bool toCache=false)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Grammar* SAX2XMLReader::loadGrammar </td>
<td>(</td>
<td class="paramtype">const char *const </td>
<td class="paramname"> <em>systemId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const Grammar::GrammarType </td>
<td class="paramname"> <em>grammarType</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const bool </td>
<td class="paramname"> <em>toCache</em> = <code>false</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [pure virtual]</code></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> </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> </td><td>The grammar type (Schema or DTD). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>toCache</em> </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> </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> </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> </td><td>A DOM exception as per DOM spec. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="8ade5e379ef8233584695786d5851714"></a><!-- doxytag: member="SAX2XMLReader::resetCachedGrammarPool" ref="8ade5e379ef8233584695786d5851714" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::resetCachedGrammarPool </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Clear the cached grammar pool.
<p>
</div>
</div><p>
<a class="anchor" name="84fd7af67ec7e2c593f6244c89eba39c"></a><!-- doxytag: member="SAX2XMLReader::setInputBufferSize" ref="84fd7af67ec7e2c593f6244c89eba39c" args="(const XMLSize_t bufferSize)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SAX2XMLReader::setInputBufferSize </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="Xerces__autoconf__config_8msvc_8hpp.html#c0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> </td>
<td class="paramname"> <em>bufferSize</em> </td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set maximum input buffer size.
<p>
This method allows users to limit the size of buffers used in parsing XML character data. The effect of setting this size is to limit the size of a <a class="el" href="classContentHandler.html#ed552fab959bfa7e9135691e1d21ab5a" title="Receive notification of character data.">ContentHandler::characters()</a> call.<p>
The parser's default input buffer size is 1 megabyte.<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>bufferSize</em> </td><td>The maximum input buffer size </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="5235f668aea5d4a799258338d01d7636"></a><!-- doxytag: member="SAX2XMLReader::installAdvDocHandler" ref="5235f668aea5d4a799258338d01d7636" args="(XMLDocumentHandler *const toInstall)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void SAX2XMLReader::installAdvDocHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXMLDocumentHandler.html">XMLDocumentHandler</a> *const </td>
<td class="paramname"> <em>toInstall</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method installs the specified 'advanced' document callback handler, thereby allowing the user to customize the processing, if they choose to do so.
<p>
Any number of advanced callback handlers maybe installed.<p>
The methods in the advanced callback interface represent Xerces-C extensions. There is no specification for this interface.<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>toInstall</em> </td><td>A pointer to the users advanced callback handler.</td></tr>
</table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classSAX2XMLReader.html#46885254749d80ef2dfb19ad8d48e1e0" title="This method removes the 'advanced' document handler callback from the underlying...">removeAdvDocHandler</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="46885254749d80ef2dfb19ad8d48e1e0"></a><!-- doxytag: member="SAX2XMLReader::removeAdvDocHandler" ref="46885254749d80ef2dfb19ad8d48e1e0" args="(XMLDocumentHandler *const toRemove)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool SAX2XMLReader::removeAdvDocHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classXMLDocumentHandler.html">XMLDocumentHandler</a> *const </td>
<td class="paramname"> <em>toRemove</em> </td>
<td> ) </td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This method removes the 'advanced' document handler callback from the underlying parser scanner.
<p>
If no handler is installed, advanced callbacks are not invoked by the scanner. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>toRemove</em> </td><td>A pointer to the advanced callback handler which should be removed.</td></tr>
</table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classSAX2XMLReader.html#5235f668aea5d4a799258338d01d7636" title="This method installs the specified 'advanced' document callback handler,...">installAdvDocHandler</a> </dd></dl>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="SAX2XMLReader_8hpp-source.html">SAX2XMLReader.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
<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>
|