/usr/share/doc/libnanoxml2-java/api/nanoxml/XMLElement.html is in libnanoxml2-java-doc 2.2.3.dfsg-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 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 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html>
<head>
<title>XMLElement</title>
<meta name="date" content="2015-12-23">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="XMLElement";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../nanoxml/XMLParseException.html" title="class in nanoxml"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?nanoxml/XMLElement.html" target="_top">Frames</a></li>
<li><a href="XMLElement.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">nanoxml</div>
<h2 title="Class XMLElement" class="title">Class XMLElement</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>nanoxml.XMLElement</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">XMLElement</span>
extends <a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">XMLElement is a representation of an XML object. The object is able to parse
XML code.
<P><DL>
<DT><B>Parsing XML Data</B></DT>
<DD>
You can parse XML data using the following code:
<UL><CODE>
XMLElement xml = new XMLElement();<BR>
FileReader reader = new FileReader("filename.xml");<BR>
xml.parseFromReader(reader);
</CODE></UL></DD></DL>
<DL><DT><B>Retrieving Attributes</B></DT>
<DD>
You can enumerate the attributes of an element using the method
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames</code></a>.
The attribute values can be retrieved using the method
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String)"><code>getStringAttribute</code></a>.
The following example shows how to list the attributes of an element:
<UL><CODE>
XMLElement element = ...;<BR>
Enumeration enum = element.getAttributeNames();<BR>
while (enum.hasMoreElements()) {<BR>
String key = (String) enum.nextElement();<BR>
String value = element.getStringAttribute(key);<BR>
System.out.println(key + " = " + value);<BR>
}
</CODE></UL></DD></DL>
<DL><DT><B>Retrieving Child Elements</B></DT>
<DD>
You can enumerate the children of an element using
<a href="../nanoxml/XMLElement.html#enumerateChildren()"><code>enumerateChildren</code></a>.
The number of child elements can be retrieved using
<a href="../nanoxml/XMLElement.html#countChildren()"><code>countChildren</code></a>.
</DD></DL>
<DL><DT><B>Elements Containing Character Data</B></DT>
<DD>
If an elements contains character data, like in the following example:
<UL><CODE>
<title>The Title</title>
</CODE></UL>
you can retrieve that data using the method
<a href="../nanoxml/XMLElement.html#getContent()"><code>getContent</code></a>.
</DD></DL>
<DL><DT><B>Subclassing XMLElement</B></DT>
<DD>
When subclassing XMLElement, you need to override the method
<a href="../nanoxml/XMLElement.html#createAnotherElement()"><code>createAnotherElement</code></a>
which has to return a new copy of the receiver.
</DD></DL>
<P></div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>Marc De Scheemaecker
<<A href="mailto:cyberelf@mac.com">cyberelf@mac.com</A>></dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLParseException.html" title="class in nanoxml"><code>XMLParseException</code></a></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#NANOXML_MAJOR_VERSION">NANOXML_MAJOR_VERSION</a></strong></code>
<div class="block">Major version of NanoXML.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#NANOXML_MINOR_VERSION">NANOXML_MINOR_VERSION</a></strong></code>
<div class="block">Minor version of NanoXML.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code> </code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#XMLElement()">XMLElement</a></strong>()</code>
<div class="block">Creates and initializes a new XML element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code> </code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#XMLElement(boolean)">XMLElement</a></strong>(boolean skipLeadingWhitespace)</code>
<div class="block">Creates and initializes a new XML element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code> </code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#XMLElement(java.util.Hashtable)">XMLElement</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> entities)</code>
<div class="block">Creates and initializes a new XML element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code> </code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#XMLElement(java.util.Hashtable,%20boolean)">XMLElement</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> entities,
boolean skipLeadingWhitespace)</code>
<div class="block">Creates and initializes a new XML element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code> </code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#XMLElement(java.util.Hashtable,%20boolean,%20boolean)">XMLElement</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> entities,
boolean skipLeadingWhitespace,
boolean ignoreCase)</code>
<div class="block">Creates and initializes a new XML element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#XMLElement(java.util.Hashtable,%20boolean,%20boolean,%20boolean)">XMLElement</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> entities,
boolean skipLeadingWhitespace,
boolean fillBasicConversionTable,
boolean ignoreCase)</code>
<div class="block">Creates and initializes a new XML element.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#addChild(nanoxml.XMLElement)">addChild</a></strong>(<a href="../nanoxml/XMLElement.html" title="class in nanoxml">XMLElement</a> child)</code>
<div class="block">Adds a child element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#addProperty(java.lang.String,%20double)">addProperty</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
double value)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#setDoubleAttribute(java.lang.String,%20double)"><code>setDoubleAttribute</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#addProperty(java.lang.String,%20int)">addProperty</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
int value)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#setIntAttribute(java.lang.String,%20int)"><code>setIntAttribute</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#addProperty(java.lang.String,%20java.lang.Object)">addProperty</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#setAttribute(java.lang.String,%20java.lang.Object)"><code>setAttribute</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#checkCDATA(java.lang.StringBuffer)">checkCDATA</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a> buf)</code>
<div class="block">Scans a special tag and if the tag is a CDATA section, append its
content to <code>buf</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#checkLiteral(java.lang.String)">checkLiteral</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> literal)</code>
<div class="block">Scans the data for literal text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#countChildren()">countChildren</a></strong>()</code>
<div class="block">Returns the number of child elements of the element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../nanoxml/XMLElement.html" title="class in nanoxml">XMLElement</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#createAnotherElement()">createAnotherElement</a></strong>()</code>
<div class="block">Creates a new similar XML element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#enumerateAttributeNames()">enumerateAttributeNames</a></strong>()</code>
<div class="block">Enumerates the attribute names.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#enumerateChildren()">enumerateChildren</a></strong>()</code>
<div class="block">Enumerates the child elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#enumeratePropertyNames()">enumeratePropertyNames</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#expectedInput(java.lang.String)">expectedInput</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> charSet)</code>
<div class="block">Creates a parse exception for when the next character read is not
the character that was expected.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String)">getAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block">Returns an attribute of the element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)">getAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey,
boolean allowLiterals)</code>
<div class="block">Returns an attribute by looking up a key in a hashtable.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String,%20java.lang.Object)">getAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> defaultValue)</code>
<div class="block">Returns an attribute of the element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getBooleanAttribute(java.lang.String,%20java.lang.String,%20java.lang.String,%20boolean)">getBooleanAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trueValue,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> falseValue,
boolean defaultValue)</code>
<div class="block">Returns an attribute of the element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getChildren()">getChildren</a></strong>()</code>
<div class="block">Returns the child elements as a Vector.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getContent()">getContent</a></strong>()</code>
<div class="block">Returns the PCDATA content of the object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getContents()">getContents</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#getContent()"><code>getContent</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String)">getDoubleAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block">Returns an attribute of the element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20double)">getDoubleAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
double defaultValue)</code>
<div class="block">Returns an attribute of the element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)">getDoubleAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey,
boolean allowLiteralNumbers)</code>
<div class="block">Returns an attribute by looking up a key in a hashtable.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String)">getIntAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block">Returns an attribute of the element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)">getIntAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey,
boolean allowLiteralNumbers)</code>
<div class="block">Returns an attribute by looking up a key in a hashtable.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20int)">getIntAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
int defaultValue)</code>
<div class="block">Returns an attribute of the element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getIntProperty(java.lang.String,%20java.util.Hashtable,%20java.lang.String)">getIntProperty</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getIntAttribute</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getLineNr()">getLineNr</a></strong>()</code>
<div class="block">Returns the line nr in the source data on which the element is found.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getName()">getName</a></strong>()</code>
<div class="block">Returns the name of the element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getProperty(java.lang.String)">getProperty</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String)"><code>getStringAttribute</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getProperty(java.lang.String,%20double)">getProperty</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
double defaultValue)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20double)"><code>getDoubleAttribute</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getProperty(java.lang.String,%20java.util.Hashtable,%20java.lang.String)">getProperty</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getAttribute</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getProperty(java.lang.String,%20int)">getProperty</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
int defaultValue)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20int)"><code>getIntAttribute</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getProperty(java.lang.String,%20java.lang.String)">getProperty</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultValue)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.lang.String)"><code>getStringAttribute</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getProperty(java.lang.String,%20java.lang.String,%20java.lang.String,%20boolean)">getProperty</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trueValue,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> falseValue,
boolean defaultValue)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#getBooleanAttribute(java.lang.String,%20java.lang.String,%20java.lang.String,%20boolean)"><code>getBooleanAttribute</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>double</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getSpecialDoubleProperty(java.lang.String,%20java.util.Hashtable,%20java.lang.String)">getSpecialDoubleProperty</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getDoubleAttribute</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getSpecialIntProperty(java.lang.String,%20java.util.Hashtable,%20java.lang.String)">getSpecialIntProperty</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getIntAttribute</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String)">getStringAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block">Returns an attribute of the element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)">getStringAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey,
boolean allowLiterals)</code>
<div class="block">Returns an attribute by looking up a key in a hashtable.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.lang.String)">getStringAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultValue)</code>
<div class="block">Returns an attribute of the element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getStringProperty(java.lang.String,%20java.util.Hashtable,%20java.lang.String)">getStringProperty</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getStringAttribute</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#getTagName()">getTagName</a></strong>()</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#getName()"><code>getName</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#invalidValue(java.lang.String,%20java.lang.String)">invalidValue</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</code>
<div class="block">Creates a parse exception for when an invalid value is given to a
method.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#invalidValueSet(java.lang.String)">invalidValueSet</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block">Creates a parse exception for when an invalid valueset is given to
a method.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#parseCharArray(char[],%20int,%20int)">parseCharArray</a></strong>(char[] input,
int offset,
int end)</code>
<div class="block">Reads one XML element from a char array and parses it.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#parseCharArray(char[],%20int,%20int,%20int)">parseCharArray</a></strong>(char[] input,
int offset,
int end,
int startingLineNr)</code>
<div class="block">Reads one XML element from a char array and parses it.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#parseFromReader(java.io.Reader)">parseFromReader</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> reader)</code>
<div class="block">Reads one XML element from a java.io.Reader and parses it.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#parseFromReader(java.io.Reader,%20int)">parseFromReader</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> reader,
int startingLineNr)</code>
<div class="block">Reads one XML element from a java.io.Reader and parses it.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#parseString(java.lang.String)">parseString</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string)</code>
<div class="block">Reads one XML element from a String and parses it.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#parseString(java.lang.String,%20int)">parseString</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string,
int offset)</code>
<div class="block">Reads one XML element from a String and parses it.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#parseString(java.lang.String,%20int,%20int)">parseString</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string,
int offset,
int end)</code>
<div class="block">Reads one XML element from a String and parses it.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#parseString(java.lang.String,%20int,%20int,%20int)">parseString</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string,
int offset,
int end,
int startingLineNr)</code>
<div class="block">Reads one XML element from a String and parses it.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected char</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#readChar()">readChar</a></strong>()</code>
<div class="block">Reads a character from a reader.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#removeAttribute(java.lang.String)">removeAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block">Removes an attribute.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#removeChild(java.lang.String)">removeChild</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#removeAttribute(java.lang.String)"><code>removeAttribute</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#removeChild(nanoxml.XMLElement)">removeChild</a></strong>(<a href="../nanoxml/XMLElement.html" title="class in nanoxml">XMLElement</a> child)</code>
<div class="block">Removes a child element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#removeProperty(java.lang.String)">removeProperty</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#removeAttribute(java.lang.String)"><code>removeAttribute</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#resolveEntity(java.lang.StringBuffer)">resolveEntity</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a> buf)</code>
<div class="block">Resolves an entity.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#scanElement(nanoxml.XMLElement)">scanElement</a></strong>(<a href="../nanoxml/XMLElement.html" title="class in nanoxml">XMLElement</a> elt)</code>
<div class="block">Scans an XML element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#scanIdentifier(java.lang.StringBuffer)">scanIdentifier</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a> result)</code>
<div class="block">Scans an identifier from the current reader.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#scanPCData(java.lang.StringBuffer)">scanPCData</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a> data)</code>
<div class="block">Scans a #PCDATA element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#scanString(java.lang.StringBuffer)">scanString</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a> string)</code>
<div class="block">This method scans a delimited string from the current reader.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected char</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#scanWhitespace()">scanWhitespace</a></strong>()</code>
<div class="block">This method scans an identifier from the current reader.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected char</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#scanWhitespace(java.lang.StringBuffer)">scanWhitespace</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a> result)</code>
<div class="block">This method scans an identifier from the current reader.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#setAttribute(java.lang.String,%20java.lang.Object)">setAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code>
<div class="block">Adds or modifies an attribute.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#setContent(java.lang.String)">setContent</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> content)</code>
<div class="block">Changes the content string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#setDoubleAttribute(java.lang.String,%20double)">setDoubleAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
double value)</code>
<div class="block">Adds or modifies an attribute.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#setIntAttribute(java.lang.String,%20int)">setIntAttribute</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
int value)</code>
<div class="block">Adds or modifies an attribute.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#setName(java.lang.String)">setName</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block">Changes the name of the element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#setTagName(java.lang.String)">setTagName</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block"><strong>Deprecated.</strong>
<div class="block"><i>Use <a href="../nanoxml/XMLElement.html#setName(java.lang.String)"><code>setName</code></a> instead.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#skipComment()">skipComment</a></strong>()</code>
<div class="block">Skips a comment.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#skipSpecialTag(int)">skipSpecialTag</a></strong>(int bracketLevel)</code>
<div class="block">Skips a special tag or comment.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#syntaxError(java.lang.String)">syntaxError</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> context)</code>
<div class="block">Creates a parse exception for when a syntax error occured.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#toString()">toString</a></strong>()</code>
<div class="block">Writes the XML element to a string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#unexpectedEndOfData()">unexpectedEndOfData</a></strong>()</code>
<div class="block">Creates a parse exception for when the end of the data input has been
reached.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#unknownEntity(java.lang.String)">unknownEntity</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
<div class="block">Creates a parse exception for when an entity could not be resolved.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#unreadChar(char)">unreadChar</a></strong>(char ch)</code>
<div class="block">Pushes a character back to the read-back buffer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#write(java.io.Writer)">write</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)</code>
<div class="block">Writes the XML element to a writer.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../nanoxml/XMLElement.html#writeEncoded(java.io.Writer,%20java.lang.String)">writeEncoded</a></strong>(<a href="/usr/share/doc/default-jdk-doc/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> str)</code>
<div class="block">Writes a string encoded to a writer.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.<a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="NANOXML_MAJOR_VERSION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NANOXML_MAJOR_VERSION</h4>
<pre>public static final int NANOXML_MAJOR_VERSION</pre>
<div class="block">Major version of NanoXML. Classes with the same major and minor
version are binary compatible. Classes with the same major version
are source compatible. If the major version is different, you may
need to modify the client source code.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#NANOXML_MINOR_VERSION"><code>NANOXML_MINOR_VERSION</code></a>,
<a href="../constant-values.html#nanoxml.XMLElement.NANOXML_MAJOR_VERSION">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="NANOXML_MINOR_VERSION">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>NANOXML_MINOR_VERSION</h4>
<pre>public static final int NANOXML_MINOR_VERSION</pre>
<div class="block">Minor version of NanoXML. Classes with the same major and minor
version are binary compatible. Classes with the same major version
are source compatible. If the major version is different, you may
need to modify the client source code.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#NANOXML_MAJOR_VERSION"><code>NANOXML_MAJOR_VERSION</code></a>,
<a href="../constant-values.html#nanoxml.XMLElement.NANOXML_MINOR_VERSION">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="XMLElement()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XMLElement</h4>
<pre>public XMLElement()</pre>
<div class="block">Creates and initializes a new XML element.
Calling the construction is equivalent to:
<ul><code>new XMLElement(new Hashtable(), false, true)
</code></ul>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>countChildren() => 0
<li>enumerateChildren() => empty enumeration
<li>enumeratePropertyNames() => empty enumeration
<li>getChildren() => empty vector
<li>getContent() => ""
<li>getLineNr() => 0
<li>getName() => null
</ul></dd></dl></div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#XMLElement(java.util.Hashtable)"><code>XMLElement(Hashtable)</code></a>,
<a href="../nanoxml/XMLElement.html#XMLElement(boolean)"><code>XMLElement(boolean)</code></a>,
<a href="../nanoxml/XMLElement.html#XMLElement(java.util.Hashtable,%20boolean)"><code>XMLElement(Hashtable, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="XMLElement(java.util.Hashtable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XMLElement</h4>
<pre>public XMLElement(<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> entities)</pre>
<div class="block">Creates and initializes a new XML element.
Calling the construction is equivalent to:
<ul><code>new XMLElement(entities, false, true)
</code></ul></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entities</code> - The entity conversion table.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>entities != null</code>
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>countChildren() => 0
<li>enumerateChildren() => empty enumeration
<li>enumeratePropertyNames() => empty enumeration
<li>getChildren() => empty vector
<li>getContent() => ""
<li>getLineNr() => 0
<li>getName() => null
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#XMLElement()"><code>XMLElement()</code></a>,
<a href="../nanoxml/XMLElement.html#XMLElement(boolean)"><code>XMLElement(boolean)</code></a>,
<a href="../nanoxml/XMLElement.html#XMLElement(java.util.Hashtable,%20boolean)"><code>XMLElement(Hashtable, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="XMLElement(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XMLElement</h4>
<pre>public XMLElement(boolean skipLeadingWhitespace)</pre>
<div class="block">Creates and initializes a new XML element.
Calling the construction is equivalent to:
<ul><code>new XMLElement(new Hashtable(), skipLeadingWhitespace, true)
</code></ul></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>skipLeadingWhitespace</code> - <code>true</code> if leading and trailing whitespace in PCDATA
content has to be removed.
</dl><dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>countChildren() => 0
<li>enumerateChildren() => empty enumeration
<li>enumeratePropertyNames() => empty enumeration
<li>getChildren() => empty vector
<li>getContent() => ""
<li>getLineNr() => 0
<li>getName() => null
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#XMLElement()"><code>XMLElement()</code></a>,
<a href="../nanoxml/XMLElement.html#XMLElement(java.util.Hashtable)"><code>XMLElement(Hashtable)</code></a>,
<a href="../nanoxml/XMLElement.html#XMLElement(java.util.Hashtable,%20boolean)"><code>XMLElement(Hashtable, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="XMLElement(java.util.Hashtable, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XMLElement</h4>
<pre>public XMLElement(<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> entities,
boolean skipLeadingWhitespace)</pre>
<div class="block">Creates and initializes a new XML element.
Calling the construction is equivalent to:
<ul><code>new XMLElement(entities, skipLeadingWhitespace, true)
</code></ul></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entities</code> - The entity conversion table.</dd><dd><code>skipLeadingWhitespace</code> - <code>true</code> if leading and trailing whitespace in PCDATA
content has to be removed.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>entities != null</code>
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>countChildren() => 0
<li>enumerateChildren() => empty enumeration
<li>enumeratePropertyNames() => empty enumeration
<li>getChildren() => empty vector
<li>getContent() => ""
<li>getLineNr() => 0
<li>getName() => null
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#XMLElement()"><code>XMLElement()</code></a>,
<a href="../nanoxml/XMLElement.html#XMLElement(boolean)"><code>XMLElement(boolean)</code></a>,
<a href="../nanoxml/XMLElement.html#XMLElement(java.util.Hashtable)"><code>XMLElement(Hashtable)</code></a></dd></dl>
</li>
</ul>
<a name="XMLElement(java.util.Hashtable, boolean, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>XMLElement</h4>
<pre>public XMLElement(<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> entities,
boolean skipLeadingWhitespace,
boolean ignoreCase)</pre>
<div class="block">Creates and initializes a new XML element.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entities</code> - The entity conversion table.</dd><dd><code>skipLeadingWhitespace</code> - <code>true</code> if leading and trailing whitespace in PCDATA
content has to be removed.</dd><dd><code>ignoreCase</code> - <code>true</code> if the case of element and attribute names have
to be ignored.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>entities != null</code>
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>countChildren() => 0
<li>enumerateChildren() => empty enumeration
<li>enumeratePropertyNames() => empty enumeration
<li>getChildren() => empty vector
<li>getContent() => ""
<li>getLineNr() => 0
<li>getName() => null
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#XMLElement()"><code>XMLElement()</code></a>,
<a href="../nanoxml/XMLElement.html#XMLElement(boolean)"><code>XMLElement(boolean)</code></a>,
<a href="../nanoxml/XMLElement.html#XMLElement(java.util.Hashtable)"><code>XMLElement(Hashtable)</code></a>,
<a href="../nanoxml/XMLElement.html#XMLElement(java.util.Hashtable,%20boolean)"><code>XMLElement(Hashtable, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="XMLElement(java.util.Hashtable, boolean, boolean, boolean)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>XMLElement</h4>
<pre>protected XMLElement(<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> entities,
boolean skipLeadingWhitespace,
boolean fillBasicConversionTable,
boolean ignoreCase)</pre>
<div class="block">Creates and initializes a new XML element.
<P>
This constructor should <I>only</I> be called from
<a href="../nanoxml/XMLElement.html#createAnotherElement()"><code>createAnotherElement</code></a>
to create child elements.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entities</code> - The entity conversion table.</dd><dd><code>skipLeadingWhitespace</code> - <code>true</code> if leading and trailing whitespace in PCDATA
content has to be removed.</dd><dd><code>fillBasicConversionTable</code> - <code>true</code> if the basic entities need to be added to
the entity list.</dd><dd><code>ignoreCase</code> - <code>true</code> if the case of element and attribute names have
to be ignored.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>entities != null</code>
<li>if <code>fillBasicConversionTable == false</code>
then <code>entities</code> contains at least the following
entries: <code>amp</code>, <code>lt</code>, <code>gt</code>,
<code>apos</code> and <code>quot</code>
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>countChildren() => 0
<li>enumerateChildren() => empty enumeration
<li>enumeratePropertyNames() => empty enumeration
<li>getChildren() => empty vector
<li>getContent() => ""
<li>getLineNr() => 0
<li>getName() => null
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#createAnotherElement()"><code>createAnotherElement()</code></a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="addChild(nanoxml.XMLElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addChild</h4>
<pre>public void addChild(<a href="../nanoxml/XMLElement.html" title="class in nanoxml">XMLElement</a> child)</pre>
<div class="block">Adds a child element.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>child</code> - The child element to add.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>child != null</code>
<li><code>child.getName() != null</code>
<li><code>child</code> does not have a parent element
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>countChildren() => old.countChildren() + 1
<li>enumerateChildren() => old.enumerateChildren() + child
<li>getChildren() => old.enumerateChildren() + child
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#countChildren()"><code>countChildren()</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateChildren()"><code>enumerateChildren()</code></a>,
<a href="../nanoxml/XMLElement.html#getChildren()"><code>getChildren()</code></a>,
<a href="../nanoxml/XMLElement.html#removeChild(nanoxml.XMLElement)"><code>removeChild(XMLElement)</code></a></dd></dl>
</li>
</ul>
<a name="setAttribute(java.lang.String, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAttribute</h4>
<pre>public void setAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre>
<div class="block">Adds or modifies an attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd><dd><code>value</code> - The value of the attribute.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
<li><code>value != null</code>
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>enumerateAttributeNames()
=> old.enumerateAttributeNames() + name
<li>getAttribute(name) => value
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setDoubleAttribute(java.lang.String,%20double)"><code>setDoubleAttribute(String, double)</code></a>,
<a href="../nanoxml/XMLElement.html#setIntAttribute(java.lang.String,%20int)"><code>setIntAttribute(String, int)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String)"><code>getAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String,%20java.lang.Object)"><code>getAttribute(String, Object)</code></a>,
<a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getAttribute(String, Hashtable, String, boolean)</code></a>,
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String)"><code>getStringAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.lang.String)"><code>getStringAttribute(String, String)</code></a>,
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getStringAttribute(String, Hashtable, String, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="addProperty(java.lang.String, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addProperty</h4>
<pre>public void addProperty(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#setAttribute(java.lang.String,%20java.lang.Object)"><code>setAttribute</code></a> instead.</i></div>
<div class="block">Adds or modifies an attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd><dd><code>value</code> - The value of the attribute.</dd></dl>
</li>
</ul>
<a name="setIntAttribute(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIntAttribute</h4>
<pre>public void setIntAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
int value)</pre>
<div class="block">Adds or modifies an attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd><dd><code>value</code> - The value of the attribute.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>enumerateAttributeNames()
=> old.enumerateAttributeNames() + name
<li>getIntAttribute(name) => value
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setDoubleAttribute(java.lang.String,%20double)"><code>setDoubleAttribute(String, double)</code></a>,
<a href="../nanoxml/XMLElement.html#setAttribute(java.lang.String,%20java.lang.Object)"><code>setAttribute(String, Object)</code></a>,
<a href="../nanoxml/XMLElement.html#removeAttribute(java.lang.String)"><code>removeAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String)"><code>getIntAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20int)"><code>getIntAttribute(String, int)</code></a>,
<a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getIntAttribute(String, Hashtable, String, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="addProperty(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addProperty</h4>
<pre>public void addProperty(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
int value)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#setIntAttribute(java.lang.String,%20int)"><code>setIntAttribute</code></a> instead.</i></div>
<div class="block">Adds or modifies an attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd><dd><code>value</code> - The value of the attribute.</dd></dl>
</li>
</ul>
<a name="setDoubleAttribute(java.lang.String, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDoubleAttribute</h4>
<pre>public void setDoubleAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
double value)</pre>
<div class="block">Adds or modifies an attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd><dd><code>value</code> - The value of the attribute.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>enumerateAttributeNames()
=> old.enumerateAttributeNames() + name
<li>getDoubleAttribute(name) => value
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setIntAttribute(java.lang.String,%20int)"><code>setIntAttribute(String, int)</code></a>,
<a href="../nanoxml/XMLElement.html#setAttribute(java.lang.String,%20java.lang.Object)"><code>setAttribute(String, Object)</code></a>,
<a href="../nanoxml/XMLElement.html#removeAttribute(java.lang.String)"><code>removeAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String)"><code>getDoubleAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20double)"><code>getDoubleAttribute(String, double)</code></a>,
<a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getDoubleAttribute(String, Hashtable, String, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="addProperty(java.lang.String, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addProperty</h4>
<pre>public void addProperty(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
double value)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#setDoubleAttribute(java.lang.String,%20double)"><code>setDoubleAttribute</code></a> instead.</i></div>
<div class="block">Adds or modifies an attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd><dd><code>value</code> - The value of the attribute.</dd></dl>
</li>
</ul>
<a name="countChildren()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>countChildren</h4>
<pre>public int countChildren()</pre>
<div class="block">Returns the number of child elements of the element.
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li><code>result >= 0</code>
</ul></dd></dl></div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#addChild(nanoxml.XMLElement)"><code>addChild(XMLElement)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateChildren()"><code>enumerateChildren()</code></a>,
<a href="../nanoxml/XMLElement.html#getChildren()"><code>getChildren()</code></a>,
<a href="../nanoxml/XMLElement.html#removeChild(nanoxml.XMLElement)"><code>removeChild(XMLElement)</code></a></dd></dl>
</li>
</ul>
<a name="enumerateAttributeNames()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enumerateAttributeNames</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a> enumerateAttributeNames()</pre>
<div class="block">Enumerates the attribute names.
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li><code>result != null</code>
</ul></dd></dl></div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setDoubleAttribute(java.lang.String,%20double)"><code>setDoubleAttribute(String, double)</code></a>,
<a href="../nanoxml/XMLElement.html#setIntAttribute(java.lang.String,%20int)"><code>setIntAttribute(String, int)</code></a>,
<a href="../nanoxml/XMLElement.html#setAttribute(java.lang.String,%20java.lang.Object)"><code>setAttribute(String, Object)</code></a>,
<a href="../nanoxml/XMLElement.html#removeAttribute(java.lang.String)"><code>removeAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String)"><code>getAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String,%20java.lang.Object)"><code>getAttribute(String, String)</code></a>,
<a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getAttribute(String, Hashtable, String, boolean)</code></a>,
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String)"><code>getStringAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.lang.String)"><code>getStringAttribute(String, String)</code></a>,
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getStringAttribute(String, Hashtable, String, boolean)</code></a>,
<a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String)"><code>getIntAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20int)"><code>getIntAttribute(String, int)</code></a>,
<a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getIntAttribute(String, Hashtable, String, boolean)</code></a>,
<a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String)"><code>getDoubleAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20double)"><code>getDoubleAttribute(String, double)</code></a>,
<a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getDoubleAttribute(String, Hashtable, String, boolean)</code></a>,
<a href="../nanoxml/XMLElement.html#getBooleanAttribute(java.lang.String,%20java.lang.String,%20java.lang.String,%20boolean)"><code>getBooleanAttribute(String, String, String, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="enumeratePropertyNames()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enumeratePropertyNames</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a> enumeratePropertyNames()</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames</code></a> instead.</i></div>
<div class="block">Enumerates the attribute names.</div>
</li>
</ul>
<a name="enumerateChildren()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enumerateChildren</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/util/Enumeration.html?is-external=true" title="class or interface in java.util">Enumeration</a> enumerateChildren()</pre>
<div class="block">Enumerates the child elements.
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li><code>result != null</code>
</ul></dd></dl></div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#addChild(nanoxml.XMLElement)"><code>addChild(XMLElement)</code></a>,
<a href="../nanoxml/XMLElement.html#countChildren()"><code>countChildren()</code></a>,
<a href="../nanoxml/XMLElement.html#getChildren()"><code>getChildren()</code></a>,
<a href="../nanoxml/XMLElement.html#removeChild(nanoxml.XMLElement)"><code>removeChild(XMLElement)</code></a></dd></dl>
</li>
</ul>
<a name="getChildren()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildren</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/util/Vector.html?is-external=true" title="class or interface in java.util">Vector</a> getChildren()</pre>
<div class="block">Returns the child elements as a Vector. It is safe to modify this
Vector.
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li><code>result != null</code>
</ul></dd></dl></div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#addChild(nanoxml.XMLElement)"><code>addChild(XMLElement)</code></a>,
<a href="../nanoxml/XMLElement.html#countChildren()"><code>countChildren()</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateChildren()"><code>enumerateChildren()</code></a>,
<a href="../nanoxml/XMLElement.html#removeChild(nanoxml.XMLElement)"><code>removeChild(XMLElement)</code></a></dd></dl>
</li>
</ul>
<a name="getContents()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContents</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getContents()</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#getContent()"><code>getContent</code></a> instead.</i></div>
<div class="block">Returns the PCDATA content of the object. If there is no such content,
<CODE>null</CODE> is returned.</div>
</li>
</ul>
<a name="getContent()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContent</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getContent()</pre>
<div class="block">Returns the PCDATA content of the object. If there is no such content,
<CODE>null</CODE> is returned.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setContent(java.lang.String)"><code>setContent(String)</code></a></dd></dl>
</li>
</ul>
<a name="getLineNr()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLineNr</h4>
<pre>public int getLineNr()</pre>
<div class="block">Returns the line nr in the source data on which the element is found.
This method returns <code>0</code> there is no associated source data.
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li><code>result >= 0</code>
</ul></dd></dl></div>
</li>
</ul>
<a name="getAttribute(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttribute</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
<div class="block">Returns an attribute of the element.
If the attribute doesn't exist, <code>null</code> is returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setAttribute(java.lang.String,%20java.lang.Object)"><code>setAttribute(String, Object)</code></a>,
<a href="../nanoxml/XMLElement.html#removeAttribute(java.lang.String)"><code>removeAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String,%20java.lang.Object)"><code>getAttribute(String, Object)</code></a>,
<a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getAttribute(String, Hashtable, String, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="getAttribute(java.lang.String, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttribute</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> defaultValue)</pre>
<div class="block">Returns an attribute of the element.
If the attribute doesn't exist, <code>defaultValue</code> is returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd><dd><code>defaultValue</code> - Key to use if the attribute is missing.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setAttribute(java.lang.String,%20java.lang.Object)"><code>setAttribute(String, Object)</code></a>,
<a href="../nanoxml/XMLElement.html#removeAttribute(java.lang.String)"><code>removeAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String)"><code>getAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getAttribute(String, Hashtable, String, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="getAttribute(java.lang.String, java.util.Hashtable, java.lang.String, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAttribute</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey,
boolean allowLiterals)</pre>
<div class="block">Returns an attribute by looking up a key in a hashtable.
If the attribute doesn't exist, the value corresponding to defaultKey
is returned.
<P>
As an example, if valueSet contains the mapping <code>"one" =>
"1"</code>
and the element contains the attribute <code>attr="one"</code>, then
<code>getAttribute("attr", mapping, defaultKey, false)</code> returns
<code>"1"</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd><dd><code>valueSet</code> - Hashtable mapping keys to values.</dd><dd><code>defaultKey</code> - Key to use if the attribute is missing.</dd><dd><code>allowLiterals</code> - <code>true</code> if literals are valid.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
<li><code>valueSet</code> != null
<li>the keys of <code>valueSet</code> are strings
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setAttribute(java.lang.String,%20java.lang.Object)"><code>setAttribute(String, Object)</code></a>,
<a href="../nanoxml/XMLElement.html#removeAttribute(java.lang.String)"><code>removeAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String)"><code>getAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String,%20java.lang.Object)"><code>getAttribute(String, Object)</code></a></dd></dl>
</li>
</ul>
<a name="getStringAttribute(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStringAttribute</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getStringAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
<div class="block">Returns an attribute of the element.
If the attribute doesn't exist, <code>null</code> is returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setAttribute(java.lang.String,%20java.lang.Object)"><code>setAttribute(String, Object)</code></a>,
<a href="../nanoxml/XMLElement.html#removeAttribute(java.lang.String)"><code>removeAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.lang.String)"><code>getStringAttribute(String, String)</code></a>,
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getStringAttribute(String, Hashtable, String, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="getStringAttribute(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStringAttribute</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getStringAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultValue)</pre>
<div class="block">Returns an attribute of the element.
If the attribute doesn't exist, <code>defaultValue</code> is returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd><dd><code>defaultValue</code> - Key to use if the attribute is missing.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setAttribute(java.lang.String,%20java.lang.Object)"><code>setAttribute(String, Object)</code></a>,
<a href="../nanoxml/XMLElement.html#removeAttribute(java.lang.String)"><code>removeAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String)"><code>getStringAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getStringAttribute(String, Hashtable, String, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="getStringAttribute(java.lang.String, java.util.Hashtable, java.lang.String, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStringAttribute</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getStringAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey,
boolean allowLiterals)</pre>
<div class="block">Returns an attribute by looking up a key in a hashtable.
If the attribute doesn't exist, the value corresponding to defaultKey
is returned.
<P>
As an example, if valueSet contains the mapping <code>"one" =>
"1"</code>
and the element contains the attribute <code>attr="one"</code>, then
<code>getAttribute("attr", mapping, defaultKey, false)</code> returns
<code>"1"</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd><dd><code>valueSet</code> - Hashtable mapping keys to values.</dd><dd><code>defaultKey</code> - Key to use if the attribute is missing.</dd><dd><code>allowLiterals</code> - <code>true</code> if literals are valid.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
<li><code>valueSet</code> != null
<li>the keys of <code>valueSet</code> are strings
<li>the values of <code>valueSet</code> are strings
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setAttribute(java.lang.String,%20java.lang.Object)"><code>setAttribute(String, Object)</code></a>,
<a href="../nanoxml/XMLElement.html#removeAttribute(java.lang.String)"><code>removeAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String)"><code>getStringAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.lang.String)"><code>getStringAttribute(String, String)</code></a></dd></dl>
</li>
</ul>
<a name="getIntAttribute(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIntAttribute</h4>
<pre>public int getIntAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
<div class="block">Returns an attribute of the element.
If the attribute doesn't exist, <code>0</code> is returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setIntAttribute(java.lang.String,%20int)"><code>setIntAttribute(String, int)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20int)"><code>getIntAttribute(String, int)</code></a>,
<a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getIntAttribute(String, Hashtable, String, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="getIntAttribute(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIntAttribute</h4>
<pre>public int getIntAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
int defaultValue)</pre>
<div class="block">Returns an attribute of the element.
If the attribute doesn't exist, <code>defaultValue</code> is returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd><dd><code>defaultValue</code> - Key to use if the attribute is missing.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setIntAttribute(java.lang.String,%20int)"><code>setIntAttribute(String, int)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String)"><code>getIntAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getIntAttribute(String, Hashtable, String, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="getIntAttribute(java.lang.String, java.util.Hashtable, java.lang.String, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIntAttribute</h4>
<pre>public int getIntAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey,
boolean allowLiteralNumbers)</pre>
<div class="block">Returns an attribute by looking up a key in a hashtable.
If the attribute doesn't exist, the value corresponding to defaultKey
is returned.
<P>
As an example, if valueSet contains the mapping <code>"one" => 1</code>
and the element contains the attribute <code>attr="one"</code>, then
<code>getIntAttribute("attr", mapping, defaultKey, false)</code> returns
<code>1</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd><dd><code>valueSet</code> - Hashtable mapping keys to values.</dd><dd><code>defaultKey</code> - Key to use if the attribute is missing.</dd><dd><code>allowLiteralNumbers</code> - <code>true</code> if literal numbers are valid.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
<li><code>valueSet</code> != null
<li>the keys of <code>valueSet</code> are strings
<li>the values of <code>valueSet</code> are Integer objects
<li><code>defaultKey</code> is either <code>null</code>, a
key in <code>valueSet</code> or an integer.
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setIntAttribute(java.lang.String,%20int)"><code>setIntAttribute(String, int)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String)"><code>getIntAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20int)"><code>getIntAttribute(String, int)</code></a></dd></dl>
</li>
</ul>
<a name="getDoubleAttribute(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDoubleAttribute</h4>
<pre>public double getDoubleAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
<div class="block">Returns an attribute of the element.
If the attribute doesn't exist, <code>0.0</code> is returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setDoubleAttribute(java.lang.String,%20double)"><code>setDoubleAttribute(String, double)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20double)"><code>getDoubleAttribute(String, double)</code></a>,
<a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getDoubleAttribute(String, Hashtable, String, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="getDoubleAttribute(java.lang.String, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDoubleAttribute</h4>
<pre>public double getDoubleAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
double defaultValue)</pre>
<div class="block">Returns an attribute of the element.
If the attribute doesn't exist, <code>defaultValue</code> is returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd><dd><code>defaultValue</code> - Key to use if the attribute is missing.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setDoubleAttribute(java.lang.String,%20double)"><code>setDoubleAttribute(String, double)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String)"><code>getDoubleAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getDoubleAttribute(String, Hashtable, String, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="getDoubleAttribute(java.lang.String, java.util.Hashtable, java.lang.String, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDoubleAttribute</h4>
<pre>public double getDoubleAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey,
boolean allowLiteralNumbers)</pre>
<div class="block">Returns an attribute by looking up a key in a hashtable.
If the attribute doesn't exist, the value corresponding to defaultKey
is returned.
<P>
As an example, if valueSet contains the mapping <code>"one" =>
1.0</code>
and the element contains the attribute <code>attr="one"</code>, then
<code>getDoubleAttribute("attr", mapping, defaultKey, false)</code>
returns <code>1.0</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd><dd><code>valueSet</code> - Hashtable mapping keys to values.</dd><dd><code>defaultKey</code> - Key to use if the attribute is missing.</dd><dd><code>allowLiteralNumbers</code> - <code>true</code> if literal numbers are valid.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
<li><code>valueSet != null</code>
<li>the keys of <code>valueSet</code> are strings
<li>the values of <code>valueSet</code> are Double objects
<li><code>defaultKey</code> is either <code>null</code>, a
key in <code>valueSet</code> or a double.
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setDoubleAttribute(java.lang.String,%20double)"><code>setDoubleAttribute(String, double)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String)"><code>getDoubleAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20double)"><code>getDoubleAttribute(String, double)</code></a></dd></dl>
</li>
</ul>
<a name="getBooleanAttribute(java.lang.String, java.lang.String, java.lang.String, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBooleanAttribute</h4>
<pre>public boolean getBooleanAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trueValue,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> falseValue,
boolean defaultValue)</pre>
<div class="block">Returns an attribute of the element.
If the attribute doesn't exist, <code>defaultValue</code> is returned.
If the value of the attribute is equal to <code>trueValue</code>,
<code>true</code> is returned.
If the value of the attribute is equal to <code>falseValue</code>,
<code>false</code> is returned.
If the value doesn't match <code>trueValue</code> or
<code>falseValue</code>, an exception is thrown.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd><dd><code>trueValue</code> - The value associated with <code>true</code>.</dd><dd><code>falseValue</code> - The value associated with <code>true</code>.</dd><dd><code>defaultValue</code> - Value to use if the attribute is missing.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
<li><code>trueValue</code> and <code>falseValue</code>
are different strings.
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setAttribute(java.lang.String,%20java.lang.Object)"><code>setAttribute(String, Object)</code></a>,
<a href="../nanoxml/XMLElement.html#removeAttribute(java.lang.String)"><code>removeAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a></dd></dl>
</li>
</ul>
<a name="getIntProperty(java.lang.String, java.util.Hashtable, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIntProperty</h4>
<pre>public int getIntProperty(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getIntAttribute</code></a> instead.</i></div>
<div class="block">Returns an attribute by looking up a key in a hashtable.</div>
</li>
</ul>
<a name="getProperty(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProperty</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getProperty(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String)"><code>getStringAttribute</code></a> instead.</i></div>
<div class="block">Returns an attribute.</div>
</li>
</ul>
<a name="getProperty(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProperty</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getProperty(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultValue)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.lang.String)"><code>getStringAttribute</code></a> instead.</i></div>
<div class="block">Returns an attribute.</div>
</li>
</ul>
<a name="getProperty(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProperty</h4>
<pre>public int getProperty(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
int defaultValue)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20int)"><code>getIntAttribute</code></a> instead.</i></div>
<div class="block">Returns an attribute.</div>
</li>
</ul>
<a name="getProperty(java.lang.String, double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProperty</h4>
<pre>public double getProperty(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
double defaultValue)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20double)"><code>getDoubleAttribute</code></a> instead.</i></div>
<div class="block">Returns an attribute.</div>
</li>
</ul>
<a name="getProperty(java.lang.String, java.lang.String, java.lang.String, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProperty</h4>
<pre>public boolean getProperty(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> trueValue,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> falseValue,
boolean defaultValue)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#getBooleanAttribute(java.lang.String,%20java.lang.String,%20java.lang.String,%20boolean)"><code>getBooleanAttribute</code></a> instead.</i></div>
<div class="block">Returns an attribute.</div>
</li>
</ul>
<a name="getProperty(java.lang.String, java.util.Hashtable, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProperty</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getProperty(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getAttribute</code></a> instead.</i></div>
<div class="block">Returns an attribute by looking up a key in a hashtable.</div>
</li>
</ul>
<a name="getStringProperty(java.lang.String, java.util.Hashtable, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStringProperty</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getStringProperty(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getStringAttribute</code></a> instead.</i></div>
<div class="block">Returns an attribute by looking up a key in a hashtable.</div>
</li>
</ul>
<a name="getSpecialIntProperty(java.lang.String, java.util.Hashtable, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpecialIntProperty</h4>
<pre>public int getSpecialIntProperty(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getIntAttribute</code></a> instead.</i></div>
<div class="block">Returns an attribute by looking up a key in a hashtable.</div>
</li>
</ul>
<a name="getSpecialDoubleProperty(java.lang.String, java.util.Hashtable, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSpecialDoubleProperty</h4>
<pre>public double getSpecialDoubleProperty(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util">Hashtable</a> valueSet,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> defaultKey)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getDoubleAttribute</code></a> instead.</i></div>
<div class="block">Returns an attribute by looking up a key in a hashtable.</div>
</li>
</ul>
<a name="getName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getName()</pre>
<div class="block">Returns the name of the element.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#setName(java.lang.String)"><code>setName(String)</code></a></dd></dl>
</li>
</ul>
<a name="getTagName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTagName</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getTagName()</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#getName()"><code>getName</code></a> instead.</i></div>
<div class="block">Returns the name of the element.</div>
</li>
</ul>
<a name="parseFromReader(java.io.Reader)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFromReader</h4>
<pre>public void parseFromReader(<a href="/usr/share/doc/default-jdk-doc/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> reader)
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
<a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></pre>
<div class="block">Reads one XML element from a java.io.Reader and parses it.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>reader</code> - The reader from which to retrieve the XML data.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>reader != null</code>
<li><code>reader</code> is not closed
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>the state of the receiver is updated to reflect the XML element
parsed from the reader
<li>the reader points to the first character following the last
'>' character of the XML element
</ul></dd></dl><dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If an error occured while reading the input.</dd>
<dd><code><a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></code> - If an error occured while parsing the read data.</dd></dl>
</li>
</ul>
<a name="parseFromReader(java.io.Reader, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFromReader</h4>
<pre>public void parseFromReader(<a href="/usr/share/doc/default-jdk-doc/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> reader,
int startingLineNr)
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
<a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></pre>
<div class="block">Reads one XML element from a java.io.Reader and parses it.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>reader</code> - The reader from which to retrieve the XML data.</dd><dd><code>startingLineNr</code> - The line number of the first line in the data.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>reader != null</code>
<li><code>reader</code> is not closed
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>the state of the receiver is updated to reflect the XML element
parsed from the reader
<li>the reader points to the first character following the last
'>' character of the XML element
</ul></dd></dl><dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If an error occured while reading the input.</dd>
<dd><code><a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></code> - If an error occured while parsing the read data.</dd></dl>
</li>
</ul>
<a name="parseString(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseString</h4>
<pre>public void parseString(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string)
throws <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></pre>
<div class="block">Reads one XML element from a String and parses it.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>reader</code> - The reader from which to retrieve the XML data.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>string != null</code>
<li><code>string.length() > 0</code>
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>the state of the receiver is updated to reflect the XML element
parsed from the reader
</ul></dd></dl><dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></code> - If an error occured while parsing the string.</dd></dl>
</li>
</ul>
<a name="parseString(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseString</h4>
<pre>public void parseString(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string,
int offset)
throws <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></pre>
<div class="block">Reads one XML element from a String and parses it.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>reader</code> - The reader from which to retrieve the XML data.</dd><dd><code>offset</code> - The first character in <code>string</code> to scan.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>string != null</code>
<li><code>offset < string.length()</code>
<li><code>offset >= 0</code>
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>the state of the receiver is updated to reflect the XML element
parsed from the reader
</ul></dd></dl><dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></code> - If an error occured while parsing the string.</dd></dl>
</li>
</ul>
<a name="parseString(java.lang.String, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseString</h4>
<pre>public void parseString(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string,
int offset,
int end)
throws <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></pre>
<div class="block">Reads one XML element from a String and parses it.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>reader</code> - The reader from which to retrieve the XML data.</dd><dd><code>offset</code> - The first character in <code>string</code> to scan.</dd><dd><code>end</code> - The character where to stop scanning.
This character is not scanned.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>string != null</code>
<li><code>end <= string.length()</code>
<li><code>offset < end</code>
<li><code>offset >= 0</code>
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>the state of the receiver is updated to reflect the XML element
parsed from the reader
</ul></dd></dl><dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></code> - If an error occured while parsing the string.</dd></dl>
</li>
</ul>
<a name="parseString(java.lang.String, int, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseString</h4>
<pre>public void parseString(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> string,
int offset,
int end,
int startingLineNr)
throws <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></pre>
<div class="block">Reads one XML element from a String and parses it.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>reader</code> - The reader from which to retrieve the XML data.</dd><dd><code>offset</code> - The first character in <code>string</code> to scan.</dd><dd><code>end</code> - The character where to stop scanning.
This character is not scanned.</dd><dd><code>startingLineNr</code> - The line number of the first line in the data.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>string != null</code>
<li><code>end <= string.length()</code>
<li><code>offset < end</code>
<li><code>offset >= 0</code>
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>the state of the receiver is updated to reflect the XML element
parsed from the reader
</ul></dd></dl><dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></code> - If an error occured while parsing the string.</dd></dl>
</li>
</ul>
<a name="parseCharArray(char[], int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseCharArray</h4>
<pre>public void parseCharArray(char[] input,
int offset,
int end)
throws <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></pre>
<div class="block">Reads one XML element from a char array and parses it.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>reader</code> - The reader from which to retrieve the XML data.</dd><dd><code>offset</code> - The first character in <code>string</code> to scan.</dd><dd><code>end</code> - The character where to stop scanning.
This character is not scanned.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>input != null</code>
<li><code>end <= input.length</code>
<li><code>offset < end</code>
<li><code>offset >= 0</code>
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>the state of the receiver is updated to reflect the XML element
parsed from the reader
</ul></dd></dl><dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></code> - If an error occured while parsing the string.</dd></dl>
</li>
</ul>
<a name="parseCharArray(char[], int, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseCharArray</h4>
<pre>public void parseCharArray(char[] input,
int offset,
int end,
int startingLineNr)
throws <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></pre>
<div class="block">Reads one XML element from a char array and parses it.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>reader</code> - The reader from which to retrieve the XML data.</dd><dd><code>offset</code> - The first character in <code>string</code> to scan.</dd><dd><code>end</code> - The character where to stop scanning.
This character is not scanned.</dd><dd><code>startingLineNr</code> - The line number of the first line in the data.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>input != null</code>
<li><code>end <= input.length</code>
<li><code>offset < end</code>
<li><code>offset >= 0</code>
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>the state of the receiver is updated to reflect the XML element
parsed from the reader
</ul></dd></dl><dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a></code> - If an error occured while parsing the string.</dd></dl>
</li>
</ul>
<a name="removeChild(nanoxml.XMLElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeChild</h4>
<pre>public void removeChild(<a href="../nanoxml/XMLElement.html" title="class in nanoxml">XMLElement</a> child)</pre>
<div class="block">Removes a child element.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>child</code> - The child element to remove.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>child != null</code>
<li><code>child</code> is a child element of the receiver
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>countChildren() => old.countChildren() - 1
<li>enumerateChildren() => old.enumerateChildren() - child
<li>getChildren() => old.enumerateChildren() - child
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#addChild(nanoxml.XMLElement)"><code>addChild(XMLElement)</code></a>,
<a href="../nanoxml/XMLElement.html#countChildren()"><code>countChildren()</code></a>,
<a href="../nanoxml/XMLElement.html#enumerateChildren()"><code>enumerateChildren()</code></a>,
<a href="../nanoxml/XMLElement.html#getChildren()"><code>getChildren()</code></a></dd></dl>
</li>
</ul>
<a name="removeAttribute(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeAttribute</h4>
<pre>public void removeAttribute(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
<div class="block">Removes an attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>enumerateAttributeNames()
=> old.enumerateAttributeNames() - name
<li>getAttribute(name) => <code>null</code>
</ul></dd></dl><dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#enumerateAttributeNames()"><code>enumerateAttributeNames()</code></a>,
<a href="../nanoxml/XMLElement.html#setDoubleAttribute(java.lang.String,%20double)"><code>setDoubleAttribute(String, double)</code></a>,
<a href="../nanoxml/XMLElement.html#setIntAttribute(java.lang.String,%20int)"><code>setIntAttribute(String, int)</code></a>,
<a href="../nanoxml/XMLElement.html#setAttribute(java.lang.String,%20java.lang.Object)"><code>setAttribute(String, Object)</code></a>,
<a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String)"><code>getAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String,%20java.lang.Object)"><code>getAttribute(String, Object)</code></a>,
<a href="../nanoxml/XMLElement.html#getAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getAttribute(String, Hashtable, String, boolean)</code></a>,
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String)"><code>getStringAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.lang.String)"><code>getStringAttribute(String, String)</code></a>,
<a href="../nanoxml/XMLElement.html#getStringAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getStringAttribute(String, Hashtable, String, boolean)</code></a>,
<a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String)"><code>getIntAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20int)"><code>getIntAttribute(String, int)</code></a>,
<a href="../nanoxml/XMLElement.html#getIntAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getIntAttribute(String, Hashtable, String, boolean)</code></a>,
<a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String)"><code>getDoubleAttribute(String)</code></a>,
<a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20double)"><code>getDoubleAttribute(String, double)</code></a>,
<a href="../nanoxml/XMLElement.html#getDoubleAttribute(java.lang.String,%20java.util.Hashtable,%20java.lang.String,%20boolean)"><code>getDoubleAttribute(String, Hashtable, String, boolean)</code></a>,
<a href="../nanoxml/XMLElement.html#getBooleanAttribute(java.lang.String,%20java.lang.String,%20java.lang.String,%20boolean)"><code>getBooleanAttribute(String, String, String, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="removeProperty(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeProperty</h4>
<pre>public void removeProperty(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#removeAttribute(java.lang.String)"><code>removeAttribute</code></a> instead.</i></div>
<div class="block">Removes an attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd></dl>
</li>
</ul>
<a name="removeChild(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeChild</h4>
<pre>public void removeChild(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#removeAttribute(java.lang.String)"><code>removeAttribute</code></a> instead.</i></div>
<div class="block">Removes an attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the attribute.</dd></dl>
</li>
</ul>
<a name="createAnotherElement()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createAnotherElement</h4>
<pre>protected <a href="../nanoxml/XMLElement.html" title="class in nanoxml">XMLElement</a> createAnotherElement()</pre>
<div class="block">Creates a new similar XML element.
<P>
You should override this method when subclassing XMLElement.</div>
</li>
</ul>
<a name="setContent(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setContent</h4>
<pre>public void setContent(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> content)</pre>
<div class="block">Changes the content string.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>content</code> - The new content string.</dd></dl>
</li>
</ul>
<a name="setTagName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTagName</h4>
<pre>public void setTagName(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../nanoxml/XMLElement.html#setName(java.lang.String)"><code>setName</code></a> instead.</i></div>
<div class="block">Changes the name of the element.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The new name.</dd></dl>
</li>
</ul>
<a name="setName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setName</h4>
<pre>public void setName(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
<div class="block">Changes the name of the element.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The new name.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name</code> is a valid XML identifier
</ul></dd></dl></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#getName()"><code>getName()</code></a></dd></dl>
</li>
</ul>
<a name="toString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public <a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre>
<div class="block">Writes the XML element to a string.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code> in class <code><a href="/usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#write(java.io.Writer)"><code>write(Writer)</code></a></dd></dl>
</li>
</ul>
<a name="write(java.io.Writer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>write</h4>
<pre>public void write(<a href="/usr/share/doc/default-jdk-doc/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer)
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Writes the XML element to a writer.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>writer</code> - The writer to write the XML data to.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>writer != null</code>
<li><code>writer</code> is not closed
</ul></dd></dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If the data could not be written to the writer.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../nanoxml/XMLElement.html#toString()"><code>toString()</code></a></dd></dl>
</li>
</ul>
<a name="writeEncoded(java.io.Writer, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeEncoded</h4>
<pre>protected void writeEncoded(<a href="/usr/share/doc/default-jdk-doc/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> writer,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> str)
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Writes a string encoded to a writer.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>writer</code> - The writer to write the XML data to.</dd><dd><code>str</code> - The string to write encoded.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>writer != null</code>
<li><code>writer</code> is not closed
<li><code>str != null</code>
</ul></dd></dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="scanIdentifier(java.lang.StringBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scanIdentifier</h4>
<pre>protected void scanIdentifier(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a> result)
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Scans an identifier from the current reader.
The scanned identifier is appended to <code>result</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>result</code> - The buffer in which the scanned identifier will be put.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>result != null</code>
<li>The next character read from the reader is a valid first
character of an XML identifier.
</ul></dd></dl>
<dl><dt><b>Postconditions:</b></dt><dd>
<ul><li>The next character read from the reader won't be an identifier
character.
</ul></dd></dl><dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="scanWhitespace()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scanWhitespace</h4>
<pre>protected char scanWhitespace()
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">This method scans an identifier from the current reader.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the next character following the whitespace.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="scanWhitespace(java.lang.StringBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scanWhitespace</h4>
<pre>protected char scanWhitespace(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a> result)
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">This method scans an identifier from the current reader.
The scanned whitespace is appended to <code>result</code>.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the next character following the whitespace.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>result != null</code>
</ul></dd></dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="scanString(java.lang.StringBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scanString</h4>
<pre>protected void scanString(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a> string)
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">This method scans a delimited string from the current reader.
The scanned string without delimiters is appended to
<code>string</code>.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>string != null</code>
<li>the next char read is the string delimiter
</ul></dd></dl></div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="scanPCData(java.lang.StringBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scanPCData</h4>
<pre>protected void scanPCData(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a> data)
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Scans a #PCDATA element. CDATA sections and entities are resolved.
The next < char is skipped.
The scanned data is appended to <code>data</code>.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>data != null</code>
</ul></dd></dl></div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="checkCDATA(java.lang.StringBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkCDATA</h4>
<pre>protected boolean checkCDATA(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a> buf)
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Scans a special tag and if the tag is a CDATA section, append its
content to <code>buf</code>.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>buf != null</code>
<li>The first < has already been read.
</ul></dd></dl></div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="skipComment()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skipComment</h4>
<pre>protected void skipComment()
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Skips a comment.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li>The first <!-- has already been read.
</ul></dd></dl></div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="skipSpecialTag(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>skipSpecialTag</h4>
<pre>protected void skipSpecialTag(int bracketLevel)
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Skips a special tag or comment.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>bracketLevel</code> - The number of open square brackets ([) that have
already been read.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li>The first <! has already been read.
<li><code>bracketLevel >= 0</code>
</ul></dd></dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="checkLiteral(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkLiteral</h4>
<pre>protected boolean checkLiteral(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> literal)
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Scans the data for literal text.
Scanning stops when a character does not match or after the complete
text has been checked, whichever comes first.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>literal</code> - the literal to check.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>literal != null</code>
</ul></dd></dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="readChar()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readChar</h4>
<pre>protected char readChar()
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Reads a character from a reader.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="scanElement(nanoxml.XMLElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scanElement</h4>
<pre>protected void scanElement(<a href="../nanoxml/XMLElement.html" title="class in nanoxml">XMLElement</a> elt)
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Scans an XML element.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>elt</code> - The element that will contain the result.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li>The first < has already been read.
<li><code>elt != null</code>
</ul></dd></dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="resolveEntity(java.lang.StringBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resolveEntity</h4>
<pre>protected void resolveEntity(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</a> buf)
throws <a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Resolves an entity. The name of the entity is read from the reader.
The value of the entity is appended to <code>buf</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>buf</code> - Where to put the entity value.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li>The first & has already been read.
<li><code>buf != null</code>
</ul></dd></dl></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="/usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="unreadChar(char)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unreadChar</h4>
<pre>protected void unreadChar(char ch)</pre>
<div class="block">Pushes a character back to the read-back buffer.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ch</code> - The character to push back.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li>The read-back buffer is empty.
<li><code>ch != '\0'</code>
</ul></dd></dl></dd></dl>
</li>
</ul>
<a name="invalidValueSet(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>invalidValueSet</h4>
<pre>protected <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a> invalidValueSet(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
<div class="block">Creates a parse exception for when an invalid valueset is given to
a method.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the entity.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
</ul></dd></dl></dd></dl>
</li>
</ul>
<a name="invalidValue(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>invalidValue</h4>
<pre>protected <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a> invalidValue(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> value)</pre>
<div class="block">Creates a parse exception for when an invalid value is given to a
method.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the entity.</dd><dd><code>value</code> - The value of the entity.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>value != null</code>
</ul></dd></dl></dd></dl>
</li>
</ul>
<a name="unexpectedEndOfData()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unexpectedEndOfData</h4>
<pre>protected <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a> unexpectedEndOfData()</pre>
<div class="block">Creates a parse exception for when the end of the data input has been
reached.</div>
</li>
</ul>
<a name="syntaxError(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>syntaxError</h4>
<pre>protected <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a> syntaxError(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> context)</pre>
<div class="block">Creates a parse exception for when a syntax error occured.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>context</code> - The context in which the error occured.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>context != null</code>
<li><code>context.length() > 0</code>
</ul></dd></dl></dd></dl>
</li>
</ul>
<a name="expectedInput(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expectedInput</h4>
<pre>protected <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a> expectedInput(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> charSet)</pre>
<div class="block">Creates a parse exception for when the next character read is not
the character that was expected.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>charSet</code> - The set of characters (in human readable form) that was
expected.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>charSet != null</code>
<li><code>charSet.length() > 0</code>
</ul></dd></dl></dd></dl>
</li>
</ul>
<a name="unknownEntity(java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>unknownEntity</h4>
<pre>protected <a href="../nanoxml/XMLParseException.html" title="class in nanoxml">XMLParseException</a> unknownEntity(<a href="/usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
<div class="block">Creates a parse exception for when an entity could not be resolved.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - The name of the entity.
</dl><dl><dt><b>Preconditions:</b></dt><dd>
<ul><li><code>name != null</code>
<li><code>name.length() > 0</code>
</ul></dd></dl></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../deprecated-list.html">Deprecated</a></li>
<li><a href="../index-all.html">Index</a></li>
<li><a href="../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev Class</li>
<li><a href="../nanoxml/XMLParseException.html" title="class in nanoxml"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../index.html?nanoxml/XMLElement.html" target="_top">Frames</a></li>
<li><a href="XMLElement.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
|