Press n or j to go to the next uncovered block, b, p or k for the previous block.
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 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 275x 275x 275x 275x 275x 275x 275x 275x 275x 275x 275x 275x 1x 1x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 13x 1x 1x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 2911x 5974x 5974x 5974x 5974x 5974x 5974x 2911x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 15x 15x 15x 15x 679x 679x 16x 16x 16x 16x 16x 16x 25x 25x 12x 12x 12x 25x 4x 16x 679x 679x 679x 32x 32x 32x 32x 32x 679x 1x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 641x 641x 641x 641x 641x 641x 679x 5x 5x 5x 5x 5x 5x 5x 5x 5x 5x 5x 679x 292x 292x 292x 292x 679x 2896x 2896x 2896x 2896x 679x 262x 262x 262x 262x 262x 262x 262x 262x 679x 679x 1x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 1x 1x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 4x 4x 4x 4x 679x 5x 5x 5x 5x 5x 679x 679x 679x 679x 679x 679x 679x 679x 630x 630x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 679x 2x 2x 2x 2x 679x 679x 679x 679x 679x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 679x 679x 679x 679x 679x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 2839x 2839x 2839x 2839x 2839x 2839x 5638x 5638x 5638x 2813x 2813x 5638x 26x 26x 26x 26x 2799x 2799x 2813x 2813x 29x 55x 679x 679x 679x 10x 10x 10x 10x 10x 10x 10x 10x 10x 6x 6x 10x 10x 679x 679x 679x 679x 679x 6x 6x 6x 6x 679x 2x 2x 2x 2x 679x 679x 679x 16x 16x 16x 16x 16x 16x 2x 2x 14x 16x 10x 10x 14x 16x 679x 15x 15x 15x 15x 15x 15x 15x 15x 15x 15x 15x 15x 15x 17x 17x 17x 15x 15x 2x 17x 2x 2x 15x 15x 15x 2x 2x 15x 15x 10x 10x 15x 10x 10x 8x 8x 10x 15x 3x 3x 15x 15x 15x 15x 15x 29x 29x 29x 15x 15x 14x 14x 15x 15x 15x 13x 13x 8x 3x 3x 8x 8x 15x 2x 2x 15x 10x 10x 15x 679x 679x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 679x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 679x 2x 2x 2x 2x 2x 2x 2x 679x 22x 22x 22x 22x 22x 679x 637x 637x 637x 637x 637x 637x 637x 637x 679x 46x 46x 46x 46x 679x 248x 248x 248x 248x 679x 2912x 2912x 2912x 2912x 679x 679x 679x 353x 353x 353x 353x 679x 679x 3081x 3081x 3081x 3081x 679x 679x 15x 15x 15x 15x 679x 679x 236x 236x 236x 236x 236x 236x 236x 236x 236x 679x 679x 679x 679x 679x 679x 679x 679x 5x 5x 5x 5x 5x 679x 309x 309x 309x 309x 309x 679x 1x 1x 1x 1x 1x 1x 1x 1x 1x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 1x 1x 1x 1x 1x 1x 1x 1x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 12x 1x 1x 1x 1x 12x 12x 1x 1x 1x 1x 12x 12x 1x 1x 1x 1x 1x 12x 12x 12x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 12x 3x 3x 3x 3x 3x 3x 3x 3x 12x 12x 12x 12x 12x 12x 12x 12x 12x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 2x 12x 32x 32x 32x 32x 32x 32x 32x 32x 32x 32x 32x 12x 12x 12x 12x 44x 44x 44x 44x 12x 1x 1x 1x 1x 12x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 69x 69x 69x 69x 69x 69x 69x 69x 69x 69x 69x 69x 1x 1x 1x 1x 1x 1x 1x 48x 48x 48x 48x 1x 30x 30x 30x 30x 30x 1x 43x 43x 43x 43x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 1x 10x 10x 10x 10x 10x 10x 1x 9x 9x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 10x 10x 10x 10x 10x 10x 1x 10x 10x 10x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 9x 9x 9x 9x 9x 9x 9x 1x 1x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 1x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 10x 993x 993x 993x 10x 10x 10x 993x 708x 708x 708x 708x 708x 708x 708x 708x 353x 708x 355x 355x 18x 18x 18x 355x 355x 353x 353x 355x 708x 708x 983x 275x 275x 275x 275x 275x 275x 993x 993x 993x 10x 10x 10x 10x 708x 708x 708x 708x 708x 708x 708x 708x 708x 708x 708x 708x 708x 708x 708x 708x 708x 708x 708x 708x 708x 708x 708x 738x 738x 738x 708x 708x 708x 30x 30x 30x 30x 30x 30x 30x 708x 10x 1x 1x 1x 1x 1x 10x 10x 9x 9x 10x 10x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | const {cx_root} = await import("./cx_root.clas.mjs"); // cl_ixml.clas.locals_imp.abap class lcl_escape { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'CLAS-CL_IXML-LCL_ESCAPE'; static IMPLEMENTED_INTERFACES = []; static ATTRIBUTES = {}; static METHODS = {"UNESCAPE_VALUE": {"visibility": "U", "parameters": {"RV_VALUE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}, "IV_VALUE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}, "ESCAPE_VALUE": {"visibility": "U", "parameters": {"RV_VALUE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}, "IV_VALUE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}}; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { }; } async constructor_(INPUT) { if (super.constructor_) { await super.constructor_(INPUT); } return this; } async unescape_value(INPUT) { return lcl_escape.unescape_value(INPUT); } static async unescape_value(INPUT) { let rv_value = new abap.types.String({qualifiedName: "STRING"}); let iv_value = INPUT?.iv_value; if (iv_value?.getQualifiedName === undefined || iv_value.getQualifiedName() !== "STRING") { iv_value = undefined; } if (iv_value === undefined) { iv_value = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_value); } rv_value.set(iv_value); abap.statements.replace({target: rv_value, all: true, with: abap.CharacterFactory.get(1, '&'), of: abap.CharacterFactory.get(5, '&')}); abap.statements.replace({target: rv_value, all: true, with: abap.CharacterFactory.get(1, '<'), of: abap.CharacterFactory.get(4, '<')}); abap.statements.replace({target: rv_value, all: true, with: abap.CharacterFactory.get(1, '>'), of: abap.CharacterFactory.get(4, '>')}); abap.statements.replace({target: rv_value, all: true, with: abap.CharacterFactory.get(1, '"'), of: abap.CharacterFactory.get(6, '"')}); abap.statements.replace({target: rv_value, all: true, with: new abap.types.String().set(`'`), of: abap.CharacterFactory.get(6, ''')}); return rv_value; } async escape_value(INPUT) { return lcl_escape.escape_value(INPUT); } static async escape_value(INPUT) { let rv_value = new abap.types.String({qualifiedName: "STRING"}); let iv_value = INPUT?.iv_value; if (iv_value?.getQualifiedName === undefined || iv_value.getQualifiedName() !== "STRING") { iv_value = undefined; } if (iv_value === undefined) { iv_value = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_value); } rv_value.set(iv_value); abap.statements.replace({target: rv_value, all: true, with: abap.CharacterFactory.get(5, '&'), of: abap.CharacterFactory.get(1, '&')}); abap.statements.replace({target: rv_value, all: true, with: abap.CharacterFactory.get(4, '<'), of: abap.CharacterFactory.get(1, '<')}); abap.statements.replace({target: rv_value, all: true, with: abap.CharacterFactory.get(4, '>'), of: abap.CharacterFactory.get(1, '>')}); abap.statements.replace({target: rv_value, all: true, with: abap.CharacterFactory.get(6, '"'), of: abap.CharacterFactory.get(1, '"')}); abap.statements.replace({target: rv_value, all: true, with: abap.CharacterFactory.get(6, '''), of: new abap.types.String().set(`'`)}); return rv_value; } } abap.Classes['CLAS-CL_IXML-LCL_ESCAPE'] = lcl_escape; class lcl_node_iterator { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'CLAS-CL_IXML-LCL_NODE_ITERATOR'; static IMPLEMENTED_INTERFACES = ["IF_IXML_NODE_ITERATOR"]; static ATTRIBUTES = {"MV_POINTER": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "MT_LIST": {"type": () => {return abap.types.TableFactory.construct(new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "lcl_node_iterator=>ty_list");}, "visibility": "I", "is_constant": " ", "is_class": " "}}; static METHODS = {"CONSTRUCTOR": {"visibility": "U", "parameters": {"IT_LIST": {"type": () => {return abap.types.TableFactory.construct(new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "lcl_node_iterator=>ty_list");}, "is_optional": " "}}}}; #mv_pointer; #mt_list; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { }; this.#mv_pointer = new abap.types.Integer({qualifiedName: "I"}); this.FRIENDS_ACCESS_INSTANCE["mv_pointer"] = this.#mv_pointer; this.#mt_list = abap.types.TableFactory.construct(new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "lcl_node_iterator=>ty_list"); this.FRIENDS_ACCESS_INSTANCE["mt_list"] = this.#mt_list; } async constructor_(INPUT) { let it_list = INPUT?.it_list; if (it_list?.getQualifiedName === undefined || it_list.getQualifiedName() !== "LCL_NODE_ITERATOR=>TY_LIST") { it_list = undefined; } if (it_list === undefined) { it_list = abap.types.TableFactory.construct(new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "lcl_node_iterator=>ty_list").set(INPUT.it_list); } this.#mt_list.set(it_list); this.#mv_pointer.set(abap.IntegerFactory.get(1)); return this; } async if_ixml_node_iterator$reset() { this.#mv_pointer.set(abap.IntegerFactory.get(1)); } async if_ixml_node_iterator$get_next() { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); abap.statements.readTable(this.#mt_list,{index: this.#mv_pointer, into: rval}); this.#mv_pointer.set(abap.operators.add(this.#mv_pointer,abap.IntegerFactory.get(1))); return rval; } } abap.Classes['CLAS-CL_IXML-LCL_NODE_ITERATOR'] = lcl_node_iterator; lcl_node_iterator.ty_list = abap.types.TableFactory.construct(new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "lcl_node_iterator=>ty_list"); class lcl_encoding { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'CLAS-CL_IXML-LCL_ENCODING'; static IMPLEMENTED_INTERFACES = ["IF_IXML_ENCODING"]; static ATTRIBUTES = {"IF_IXML_ENCODING~CO_NONE": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "IF_IXML_ENCODING~CO_BIG_ENDIAN": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "IF_IXML_ENCODING~CO_PLATFORM_ENDIAN": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}}; static METHODS = {}; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { }; this.if_ixml_encoding$co_none = abap.Classes['IF_IXML_ENCODING'].if_ixml_encoding$co_none; this.if_ixml_encoding$co_big_endian = abap.Classes['IF_IXML_ENCODING'].if_ixml_encoding$co_big_endian; this.if_ixml_encoding$co_platform_endian = abap.Classes['IF_IXML_ENCODING'].if_ixml_encoding$co_platform_endian; } async constructor_(INPUT) { if (super.constructor_) { await super.constructor_(INPUT); } return this; } async if_ixml_encoding$get_byte_order() { let rval = new abap.types.Integer({qualifiedName: "I"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_encoding$get_character_set() { let rval = new abap.types.String({qualifiedName: "STRING"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } } abap.Classes['CLAS-CL_IXML-LCL_ENCODING'] = lcl_encoding; lcl_encoding.if_ixml_encoding$co_none = new abap.types.Integer({qualifiedName: "I"}); lcl_encoding.if_ixml_encoding$co_none.set(0); lcl_encoding.if_ixml_encoding$co_big_endian = new abap.types.Integer({qualifiedName: "I"}); lcl_encoding.if_ixml_encoding$co_big_endian.set(1); lcl_encoding.if_ixml_encoding$co_platform_endian = new abap.types.Integer({qualifiedName: "I"}); lcl_encoding.if_ixml_encoding$co_platform_endian.set(4); class lcl_named_node_map { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'CLAS-CL_IXML-LCL_NAMED_NODE_MAP'; static IMPLEMENTED_INTERFACES = ["IF_IXML_NAMED_NODE_MAP"]; static ATTRIBUTES = {"MT_LIST": {"type": () => {return abap.types.TableFactory.construct(new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "");}, "visibility": "I", "is_constant": " ", "is_class": " "}}; static METHODS = {}; #mt_list; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { }; this.#mt_list = abap.types.TableFactory.construct(new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, ""); this.FRIENDS_ACCESS_INSTANCE["mt_list"] = this.#mt_list; } async constructor_(INPUT) { if (super.constructor_) { await super.constructor_(INPUT); } return this; } async if_ixml_named_node_map$get_item(INPUT) { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); let index = INPUT?.index; if (index?.getQualifiedName === undefined || index.getQualifiedName() !== "I") { index = undefined; } if (index === undefined) { index = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.index); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_named_node_map$create_iterator() { let iterator = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_ITERATOR", RTTIName: "\\INTERFACE=IF_IXML_NODE_ITERATOR"}); iterator.set(await (new abap.Classes['CLAS-CL_IXML-LCL_NODE_ITERATOR']()).constructor_({it_list: this.#mt_list})); return iterator; } async if_ixml_named_node_map$get_length() { let val = new abap.types.Integer({qualifiedName: "I"}); val.set(abap.builtin.lines({val: this.#mt_list})); return val; } async if_ixml_named_node_map$get_named_item_ns(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let li_node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); for await (const unique1147 of abap.statements.loop(this.#mt_list)) { li_node.set(unique1147); if (abap.compare.eq((await li_node.get().if_ixml_node$get_name()), name)) { val.set(li_node); return val; } } return val; } async if_ixml_named_node_map$get_named_item(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_named_node_map$remove_named_item(INPUT) { let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } async if_ixml_named_node_map$set_named_item_ns(INPUT) { let node = INPUT?.node; if (node?.getQualifiedName === undefined || node.getQualifiedName() !== "IF_IXML_NODE") { node = undefined; } if (node === undefined) { node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.node); } abap.statements.append({source: node, target: this.#mt_list}); } } abap.Classes['CLAS-CL_IXML-LCL_NAMED_NODE_MAP'] = lcl_named_node_map; class lcl_node_list { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'CLAS-CL_IXML-LCL_NODE_LIST'; static IMPLEMENTED_INTERFACES = ["IF_IXML_NODE_LIST"]; static ATTRIBUTES = {"MT_LIST": {"type": () => {return abap.types.TableFactory.construct(new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "");}, "visibility": "I", "is_constant": " ", "is_class": " "}}; static METHODS = {"APPEND": {"visibility": "U", "parameters": {"II_NODE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"});}, "is_optional": " "}}}, "REMOVE": {"visibility": "U", "parameters": {"II_NODE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"});}, "is_optional": " "}}}}; #mt_list; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { "append": this.append.bind(this), "remove": this.remove.bind(this), }; this.#mt_list = abap.types.TableFactory.construct(new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, ""); this.FRIENDS_ACCESS_INSTANCE["mt_list"] = this.#mt_list; } async constructor_(INPUT) { if (super.constructor_) { await super.constructor_(INPUT); } return this; } async append(INPUT) { let ii_node = INPUT?.ii_node; if (ii_node?.getQualifiedName === undefined || ii_node.getQualifiedName() !== "IF_IXML_NODE") { ii_node = undefined; } if (ii_node === undefined) { ii_node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.ii_node); } abap.statements.assert(abap.compare.initial(ii_node) === false); abap.statements.append({source: ii_node, target: this.#mt_list}); } async remove(INPUT) { let ii_node = INPUT?.ii_node; if (ii_node?.getQualifiedName === undefined || ii_node.getQualifiedName() !== "IF_IXML_NODE") { ii_node = undefined; } if (ii_node === undefined) { ii_node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.ii_node); } abap.statements.readTable(this.#mt_list,{withKey: (i) => {return abap.compare.eq(i.table_line, ii_node);}, withKeyValue: [{key: (i) => {return i.table_line}, value: ii_node}], usesTableLine: true, withKeySimple: {"table_line": ii_node}}); if (abap.compare.eq(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))) { await abap.statements.deleteInternal(this.#mt_list,{index: abap.builtin.sy.get().tabix}); } } async if_ixml_node_list$get_length() { let length = new abap.types.Integer({qualifiedName: "I"}); length.set(abap.builtin.lines({val: this.#mt_list})); return length; } async if_ixml_node_list$create_iterator() { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_ITERATOR", RTTIName: "\\INTERFACE=IF_IXML_NODE_ITERATOR"}); rval.set(await (new abap.Classes['CLAS-CL_IXML-LCL_NODE_ITERATOR']()).constructor_({it_list: this.#mt_list})); return rval; } async if_ixml_node_list$get_item(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); let index = INPUT?.index; if (index?.getQualifiedName === undefined || index.getQualifiedName() !== "I") { index = undefined; } if (index === undefined) { index = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.index); } abap.statements.readTable(this.#mt_list,{index: index, into: val}); return val; } async if_ixml_node_list$create_rev_iterator_filtered(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_ITERATOR", RTTIName: "\\INTERFACE=IF_IXML_NODE_ITERATOR"}); let filter = INPUT?.filter; abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } } abap.Classes['CLAS-CL_IXML-LCL_NODE_LIST'] = lcl_node_list; class lcl_node { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'CLAS-CL_IXML-LCL_NODE'; static IMPLEMENTED_INTERFACES = ["IF_IXML_ELEMENT","IF_IXML_NODE"]; static ATTRIBUTES = {"MV_NAME": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "MV_NAMESPACE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "MV_VALUE": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "MO_CHILDREN": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "LCL_NODE_LIST", RTTIName: "\\CLASS-POOL=CL_IXML\\CLASS=LCL_NODE_LIST"});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "MI_PARENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "MI_ATTRIBUTES": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_NAMED_NODE_MAP", RTTIName: "\\INTERFACE=IF_IXML_NAMED_NODE_MAP"});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "IF_IXML_NODE~CO_NODE_DOCUMENT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "IF_IXML_NODE~CO_NODE_ELEMENT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "IF_IXML_NODE~CO_NODE_TEXT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "IF_IXML_NODE~CO_NODE_CDATA_SECTION": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}}; static METHODS = {"HAS_DIRECT_TEXT": {"visibility": "I", "parameters": {"RV_HAS": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "is_optional": " "}}}, "CONSTRUCTOR": {"visibility": "U", "parameters": {"II_PARENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"});}, "is_optional": " "}}}, "SET_PARENT": {"visibility": "U", "parameters": {"II_PARENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"});}, "is_optional": " "}}}, "GET_PARENT": {"visibility": "U", "parameters": {"RI_PARENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"});}, "is_optional": " "}}}}; #mv_name; #mv_namespace; #mv_value; #mo_children; #mi_parent; #mi_attributes; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { "has_direct_text": this.#has_direct_text.bind(this), "set_parent": this.set_parent.bind(this), "get_parent": this.get_parent.bind(this), }; this.#mv_name = new abap.types.String({qualifiedName: "STRING"}); this.FRIENDS_ACCESS_INSTANCE["mv_name"] = this.#mv_name; this.#mv_namespace = new abap.types.String({qualifiedName: "STRING"}); this.FRIENDS_ACCESS_INSTANCE["mv_namespace"] = this.#mv_namespace; this.#mv_value = new abap.types.String({qualifiedName: "STRING"}); this.FRIENDS_ACCESS_INSTANCE["mv_value"] = this.#mv_value; this.#mo_children = new abap.types.ABAPObject({qualifiedName: "LCL_NODE_LIST", RTTIName: "\\CLASS-POOL=CL_IXML\\CLASS=LCL_NODE_LIST"}); this.FRIENDS_ACCESS_INSTANCE["mo_children"] = this.#mo_children; this.#mi_parent = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); this.FRIENDS_ACCESS_INSTANCE["mi_parent"] = this.#mi_parent; this.#mi_attributes = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NAMED_NODE_MAP", RTTIName: "\\INTERFACE=IF_IXML_NAMED_NODE_MAP"}); this.FRIENDS_ACCESS_INSTANCE["mi_attributes"] = this.#mi_attributes; this.if_ixml_node$co_node_document = abap.Classes['IF_IXML_NODE'].if_ixml_node$co_node_document; this.if_ixml_node$co_node_element = abap.Classes['IF_IXML_NODE'].if_ixml_node$co_node_element; this.if_ixml_node$co_node_text = abap.Classes['IF_IXML_NODE'].if_ixml_node$co_node_text; this.if_ixml_node$co_node_cdata_section = abap.Classes['IF_IXML_NODE'].if_ixml_node$co_node_cdata_section; } async get_parent() { let ri_parent = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); ri_parent.set(this.#mi_parent); return ri_parent; } async set_parent(INPUT) { let ii_parent = INPUT?.ii_parent; if (ii_parent?.getQualifiedName === undefined || ii_parent.getQualifiedName() !== "IF_IXML_NODE") { ii_parent = undefined; } if (ii_parent === undefined) { ii_parent = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.ii_parent); } this.#mi_parent.set(ii_parent); } async if_ixml_node$num_children() { let rval = new abap.types.Integer({qualifiedName: "I"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async constructor_(INPUT) { let ii_parent = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); if (INPUT && INPUT.ii_parent) {ii_parent.set(INPUT.ii_parent);} this.#mo_children.set(await (new abap.Classes['CLAS-CL_IXML-LCL_NODE_LIST']()).constructor_()); this.#mi_attributes.set(await (new abap.Classes['CLAS-CL_IXML-LCL_NAMED_NODE_MAP']()).constructor_()); this.#mi_parent.set(ii_parent); if (abap.compare.initial(this.#mi_parent) === false) { await ii_parent.get().if_ixml_node$append_child({new_child: this.me}); } return this; } async if_ixml_node$get_height() { let rval = new abap.types.Integer({qualifiedName: "I"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$get_gid() { let rval = new abap.types.Integer({qualifiedName: "I"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$insert_child(INPUT) { let rval = new abap.types.Integer({qualifiedName: "I"}); let new_child = INPUT?.new_child; if (new_child?.getQualifiedName === undefined || new_child.getQualifiedName() !== "IF_IXML_NODE") { new_child = undefined; } if (new_child === undefined) { new_child = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.new_child); } let ref_child = INPUT?.ref_child; if (ref_child?.getQualifiedName === undefined || ref_child.getQualifiedName() !== "IF_IXML_NODE") { ref_child = undefined; } if (ref_child === undefined) { ref_child = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.ref_child); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$clone() { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$create_iterator_filtered(INPUT) { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_ITERATOR", RTTIName: "\\INTERFACE=IF_IXML_NODE_ITERATOR"}); let filter = INPUT?.filter; if (filter?.getQualifiedName === undefined || filter.getQualifiedName() !== "IF_IXML_NODE_FILTER") { filter = undefined; } if (filter === undefined) { filter = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_FILTER", RTTIName: "\\INTERFACE=IF_IXML_NODE_FILTER"}).set(INPUT.filter); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$get_column() { let rval = new abap.types.Integer({qualifiedName: "I"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$create_filter_name_ns(INPUT) { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_FILTER", RTTIName: "\\INTERFACE=IF_IXML_NODE_FILTER"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let namespace = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.namespace) {namespace.set(INPUT.namespace);} abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_element$get_attribute_node_ns(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ATTRIBUTE", RTTIName: "\\INTERFACE=IF_IXML_ATTRIBUTE"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let uri = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.uri) {uri.set(INPUT.uri);} abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_node$get_next() { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$get_namespace_prefix() { let rv_prefix = new abap.types.String({qualifiedName: "STRING"}); rv_prefix.set(this.#mv_namespace); return rv_prefix; } async if_ixml_node$get_namespace_uri() { let rval = new abap.types.String({qualifiedName: "STRING"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_element$get_attributes() { let attr = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NAMED_NODE_MAP", RTTIName: "\\INTERFACE=IF_IXML_NAMED_NODE_MAP"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return attr; } async if_ixml_element$get_next() { let next = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ELEMENT", RTTIName: "\\INTERFACE=IF_IXML_ELEMENT"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return next; } async if_ixml_element$get_name() { let name = new abap.types.String({qualifiedName: "STRING"}); name.set(this.#mv_name); return name; } async if_ixml_element$append_child(INPUT) { let rc = new abap.types.Integer({qualifiedName: "I"}); let new_child = INPUT?.new_child; if (new_child?.getQualifiedName === undefined || new_child.getQualifiedName() !== "IF_IXML_NODE") { new_child = undefined; } if (new_child === undefined) { new_child = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.new_child); } let lo_node = new abap.types.ABAPObject({qualifiedName: "LCL_NODE", RTTIName: "\\CLASS-POOL=CL_IXML\\CLASS=LCL_NODE"}); let new_parent = new abap.types.ABAPObject({qualifiedName: "LCL_NODE", RTTIName: "\\CLASS-POOL=CL_IXML\\CLASS=LCL_NODE"}); await abap.statements.cast(lo_node, new_child); await abap.statements.cast(new_parent, (await lo_node.get().get_parent())); if (abap.compare.initial(new_parent) === false) { await new_parent.get().if_ixml_node$remove_child({child: lo_node}); } await lo_node.get().set_parent({ii_parent: this.me}); await this.#mo_children.get().append({ii_node: new_child}); return rc; } async if_ixml_element$clone() { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_element$create_filter_node_type(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_FILTER", RTTIName: "\\INTERFACE=IF_IXML_NODE_FILTER"}); let node_types = INPUT?.node_types; if (node_types?.getQualifiedName === undefined || node_types.getQualifiedName() !== "I") { node_types = undefined; } if (node_types === undefined) { node_types = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.node_types); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_element$remove_attribute_ns(INPUT) { let foo = INPUT?.foo; if (foo?.getQualifiedName === undefined || foo.getQualifiedName() !== "STRING") { foo = undefined; } if (foo === undefined) { foo = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.foo); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } async if_ixml_element$create_iterator() { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_ITERATOR", RTTIName: "\\INTERFACE=IF_IXML_NODE_ITERATOR"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_element$find_from_name_ns(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ELEMENT", RTTIName: "\\INTERFACE=IF_IXML_ELEMENT"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let namespace = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.namespace) {namespace.set(INPUT.namespace);} let uri = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.uri) {uri.set(INPUT.uri);} let depth = new abap.types.Integer({qualifiedName: "I"}); if (INPUT && INPUT.depth) {depth.set(INPUT.depth);} let li_iterator = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_ITERATOR", RTTIName: "\\INTERFACE=IF_IXML_NODE_ITERATOR"}); let li_node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); let li_children = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_LIST", RTTIName: "\\INTERFACE=IF_IXML_NODE_LIST"}); let lt_nodes = abap.types.TableFactory.construct(new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, ""); let li_top = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); abap.statements.append({source: this.me, target: lt_nodes}); for await (const unique1148 of abap.statements.loop(lt_nodes)) { li_top.set(unique1148); li_children.set((await li_top.get().if_ixml_node$get_children())); li_iterator.set((await li_children.get().if_ixml_node_list$create_iterator())); const indexBackup1 = abap.builtin.sy.get().index.get(); let unique1149 = 1; while (true) { abap.builtin.sy.get().index.set(unique1149++); li_node.set((await li_iterator.get().if_ixml_node_iterator$get_next())); if (abap.compare.initial(li_node)) { break; } if (abap.compare.eq((await li_node.get().if_ixml_node$get_name()), name)) { await abap.statements.cast(val, li_node); abap.builtin.sy.get().index.set(indexBackup1); return val; } abap.statements.append({source: li_node, target: lt_nodes}); } abap.builtin.sy.get().index.set(indexBackup1); } return val; } async if_ixml_element$find_from_name(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ELEMENT", RTTIName: "\\INTERFACE=IF_IXML_ELEMENT"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let namespace = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.namespace) {namespace.set(INPUT.namespace);} let depth = new abap.types.Integer({qualifiedName: "I"}); if (INPUT && INPUT.depth) {depth.set(INPUT.depth);} abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_element$get_attribute_node(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ATTRIBUTE", RTTIName: "\\INTERFACE=IF_IXML_ATTRIBUTE"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_element$get_attribute_ns(INPUT) { let val = new abap.types.String({qualifiedName: "STRING"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let uri = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.uri) {uri.set(INPUT.uri);} let li_node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); li_node.set((await (await this.if_ixml_node$get_attributes()).get().if_ixml_named_node_map$get_named_item_ns({name: name}))); if (abap.compare.initial(li_node) === false) { val.set((await li_node.get().if_ixml_node$get_value())); } return val; } async if_ixml_element$get_attribute(INPUT) { let val = new abap.types.String({qualifiedName: "STRING"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let namespace = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.namespace) {namespace.set(INPUT.namespace);} abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_element$get_children() { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_LIST", RTTIName: "\\INTERFACE=IF_IXML_NODE_LIST"}); val.set((await this.if_ixml_node$get_children())); return val; } async if_ixml_element$get_elements_by_tag_name(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_COLLECTION", RTTIName: "\\INTERFACE=IF_IXML_NODE_COLLECTION"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_element$get_elements_by_tag_name_ns(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_COLLECTION", RTTIName: "\\INTERFACE=IF_IXML_NODE_COLLECTION"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let uri = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.uri) {uri.set(INPUT.uri);} abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_element$get_first_child() { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); val.set((await this.if_ixml_node$get_first_child())); return val; } async if_ixml_element$get_value() { let val = new abap.types.String({qualifiedName: "STRING"}); val.set((await this.if_ixml_node$get_value())); return val; } async if_ixml_element$remove_attribute(INPUT) { let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } async if_ixml_element$remove_node() { abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } async #has_direct_text() { let rv_has = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); let li_children = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_LIST", RTTIName: "\\INTERFACE=IF_IXML_NODE_LIST"}); let li_child = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); li_children.set((await this.if_ixml_node$get_children())); rv_has.set(abap.builtin.abap_false); if (abap.compare.ne((await li_children.get().if_ixml_node_list$get_length()), abap.IntegerFactory.get(1))) { return rv_has; } li_child.set((await li_children.get().if_ixml_node_list$get_item({index: abap.IntegerFactory.get(1)}))); if (abap.compare.eq((await li_child.get().if_ixml_node$get_name()), abap.CharacterFactory.get(5, '#text'))) { rv_has.set(abap.builtin.abap_true); } return rv_has; } async if_ixml_element$render(INPUT) { let ostream = INPUT?.ostream; if (ostream?.getQualifiedName === undefined || ostream.getQualifiedName() !== "IF_IXML_OSTREAM") { ostream = undefined; } if (ostream === undefined) { ostream = new abap.types.ABAPObject({qualifiedName: "IF_IXML_OSTREAM", RTTIName: "\\INTERFACE=IF_IXML_OSTREAM"}).set(INPUT.ostream); } let li_iterator = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_ITERATOR", RTTIName: "\\INTERFACE=IF_IXML_NODE_ITERATOR"}); let li_node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); let li_element = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ELEMENT", RTTIName: "\\INTERFACE=IF_IXML_ELEMENT"}); let li_children = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_LIST", RTTIName: "\\INTERFACE=IF_IXML_NODE_LIST"}); let lv_attributes = new abap.types.String({qualifiedName: "STRING"}); let lv_ns = new abap.types.String({qualifiedName: "STRING"}); li_iterator.set((await this.#mi_attributes.get().if_ixml_named_node_map$create_iterator())); const indexBackup1 = abap.builtin.sy.get().index.get(); let unique1150 = 1; while (true) { abap.builtin.sy.get().index.set(unique1150++); li_node.set((await li_iterator.get().if_ixml_node_iterator$get_next())); if (abap.compare.initial(li_node)) { break; } lv_ns.set((await li_node.get().if_ixml_node$get_namespace_prefix())); if (abap.compare.initial(lv_ns) === false) { lv_ns.set(abap.operators.concat(lv_ns,abap.CharacterFactory.get(1, ':'))); } lv_attributes.set(abap.operators.concat(lv_attributes,abap.operators.concat(new abap.types.String().set(` `),abap.operators.concat(lv_ns,abap.operators.concat((await li_node.get().if_ixml_node$get_name()),abap.operators.concat(abap.CharacterFactory.get(2, '="'),abap.operators.concat((await li_node.get().if_ixml_node$get_value()),abap.CharacterFactory.get(1, '"')))))))); } abap.builtin.sy.get().index.set(indexBackup1); lv_ns.clear(); if (abap.compare.initial(this.#mv_namespace) === false) { lv_ns.set(abap.operators.concat(this.#mv_namespace,abap.CharacterFactory.get(1, ':'))); } li_children.set((await this.if_ixml_node$get_children())); if (abap.compare.ne(this.#mv_name, abap.CharacterFactory.get(5, '#text')) && abap.compare.eq((await ostream.get().if_ixml_ostream$get_pretty_print()), abap.builtin.abap_true)) { await ostream.get().if_ixml_ostream$write_string({string: (abap.builtin.repeat({val: new abap.types.String().set(` `), occ: (await ostream.get().if_ixml_ostream$get_indent())}))}); } if (abap.compare.ne(this.#mv_name, abap.CharacterFactory.get(5, '#text'))) { await ostream.get().if_ixml_ostream$write_string({string: abap.operators.concat(abap.CharacterFactory.get(1, '<'),abap.operators.concat(lv_ns,abap.operators.concat(this.#mv_name,lv_attributes)))}); if (abap.compare.gt((await li_children.get().if_ixml_node_list$get_length()), abap.IntegerFactory.get(0)) || abap.compare.initial(this.#mv_value) === false) { await ostream.get().if_ixml_ostream$write_string({string: abap.CharacterFactory.get(1, '>')}); } } if (abap.compare.eq((await ostream.get().if_ixml_ostream$get_pretty_print()), abap.builtin.abap_true) && abap.compare.eq((await this.if_ixml_node$is_leaf()), abap.builtin.abap_false) && abap.compare.eq((await this.#has_direct_text()), abap.builtin.abap_false)) { await ostream.get().if_ixml_ostream$write_string({string: new abap.types.String().set(`\n`)}); } await ostream.get().if_ixml_ostream$set_indent({indent: abap.operators.add((await ostream.get().if_ixml_ostream$get_indent()),abap.IntegerFactory.get(1))}); li_iterator.set((await li_children.get().if_ixml_node_list$create_iterator())); const indexBackup2 = abap.builtin.sy.get().index.get(); let unique1151 = 1; while (true) { abap.builtin.sy.get().index.set(unique1151++); await abap.statements.cast(li_element, (await li_iterator.get().if_ixml_node_iterator$get_next())); if (abap.compare.initial(li_element)) { break; } await li_element.get().if_ixml_element$render({ostream: ostream}); } abap.builtin.sy.get().index.set(indexBackup2); await ostream.get().if_ixml_ostream$set_indent({indent: abap.operators.minus((await ostream.get().if_ixml_ostream$get_indent()),abap.IntegerFactory.get(1))}); if (abap.compare.gt((await li_children.get().if_ixml_node_list$get_length()), abap.IntegerFactory.get(0)) || abap.compare.initial(this.#mv_value) === false) { await ostream.get().if_ixml_ostream$write_string({string: (await abap.Classes['CLAS-CL_IXML-LCL_ESCAPE'].escape_value({iv_value: this.#mv_value}))}); if (abap.compare.ne(this.#mv_name, abap.CharacterFactory.get(5, '#text'))) { if (abap.compare.eq((await ostream.get().if_ixml_ostream$get_pretty_print()), abap.builtin.abap_true) && abap.compare.eq((await this.#has_direct_text()), abap.builtin.abap_false)) { await ostream.get().if_ixml_ostream$write_string({string: (abap.builtin.repeat({val: new abap.types.String().set(` `), occ: (await ostream.get().if_ixml_ostream$get_indent())}))}); } await ostream.get().if_ixml_ostream$write_string({string: abap.operators.concat(abap.CharacterFactory.get(2, '</'),abap.operators.concat(lv_ns,abap.operators.concat(this.#mv_name,abap.CharacterFactory.get(1, '>'))))}); } } else { await ostream.get().if_ixml_ostream$write_string({string: abap.CharacterFactory.get(2, '/>')}); } if (abap.compare.eq((await ostream.get().if_ixml_ostream$get_pretty_print()), abap.builtin.abap_true) && abap.compare.ne(this.#mv_name, abap.CharacterFactory.get(5, '#text'))) { await ostream.get().if_ixml_ostream$write_string({string: new abap.types.String().set(`\n`)}); } } async if_ixml_element$set_attribute_node_ns(INPUT) { let attr = INPUT?.attr; abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } async if_ixml_element$set_attribute(INPUT) { let rval = new abap.types.Integer({qualifiedName: "I"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let namespace = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.namespace) {namespace.set(INPUT.namespace);} let value = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.value) {value.set(INPUT.value);} await this.if_ixml_element$set_attribute_ns({name: name, value: value}); return rval; } async if_ixml_element$set_attribute_ns(INPUT) { let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let prefix = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.prefix) {prefix.set(INPUT.prefix);} let value = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.value) {value.set(INPUT.value);} let lo_node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); lo_node.set(await (new abap.Classes['CLAS-CL_IXML-LCL_NODE']()).constructor_()); await lo_node.get().if_ixml_node$set_name({name: name}); await lo_node.get().if_ixml_node$set_value({value: value}); await lo_node.get().if_ixml_node$set_namespace_prefix({val: prefix}); await this.#mi_attributes.get().if_ixml_named_node_map$set_named_item_ns({node: lo_node}); } async if_ixml_element$set_value(INPUT) { let rc = new abap.types.Integer({qualifiedName: "I"}); let value = INPUT?.value; if (value?.getQualifiedName === undefined || value.getQualifiedName() !== "STRING") { value = undefined; } if (value === undefined) { value = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.value); } await this.if_ixml_node$set_value({value: value}); return rc; } async if_ixml_node$set_namespace_prefix(INPUT) { let val = INPUT?.val; if (val?.getQualifiedName === undefined || val.getQualifiedName() !== "STRING") { val = undefined; } if (val === undefined) { val = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.val); } this.#mv_namespace.set(val); } async if_ixml_node$append_child(INPUT) { let new_child = INPUT?.new_child; if (new_child?.getQualifiedName === undefined || new_child.getQualifiedName() !== "IF_IXML_NODE") { new_child = undefined; } if (new_child === undefined) { new_child = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.new_child); } let lo_node = new abap.types.ABAPObject({qualifiedName: "LCL_NODE", RTTIName: "\\CLASS-POOL=CL_IXML\\CLASS=LCL_NODE"}); await abap.statements.cast(lo_node, new_child); lo_node.get().#mi_parent.set(this.me); await this.#mo_children.get().append({ii_node: new_child}); } async if_ixml_node$get_attributes() { let map = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NAMED_NODE_MAP", RTTIName: "\\INTERFACE=IF_IXML_NAMED_NODE_MAP"}); map.set(this.#mi_attributes); return map; } async if_ixml_node$get_first_child() { let node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); node.set((await this.#mo_children.get().if_ixml_node_list$get_item({index: abap.IntegerFactory.get(1)}))); return node; } async if_ixml_node$get_children() { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_LIST", RTTIName: "\\INTERFACE=IF_IXML_NODE_LIST"}); val.set(this.#mo_children); return val; } async if_ixml_node$query_interface(INPUT) { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_UNKNOWN", RTTIName: "\\INTERFACE=IF_IXML_UNKNOWN"}); let iid = INPUT?.iid; if (iid?.getQualifiedName === undefined || iid.getQualifiedName() !== "I") { iid = undefined; } if (iid === undefined) { iid = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.iid); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$remove_node() { abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } async if_ixml_node$get_parent() { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); val.set(this.#mi_parent); return val; } async if_ixml_node$replace_child(INPUT) { let new_child = INPUT?.new_child; if (new_child?.getQualifiedName === undefined || new_child.getQualifiedName() !== "STRING") { new_child = undefined; } if (new_child === undefined) { new_child = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.new_child); } let old_child = INPUT?.old_child; if (old_child?.getQualifiedName === undefined || old_child.getQualifiedName() !== "STRING") { old_child = undefined; } if (old_child === undefined) { old_child = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.old_child); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } async if_ixml_node$get_name() { let val = new abap.types.String({qualifiedName: "STRING"}); val.set(this.#mv_name); return val; } async if_ixml_node$get_depth() { let val = new abap.types.Integer({qualifiedName: "I"}); let li_iterator = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_ITERATOR", RTTIName: "\\INTERFACE=IF_IXML_NODE_ITERATOR"}); let li_node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); let lv_max = new abap.types.Integer({qualifiedName: "I"}); if (abap.compare.eq((await this.#mo_children.get().if_ixml_node_list$get_length()), abap.IntegerFactory.get(0))) { val.set(abap.IntegerFactory.get(0)); } else { li_iterator.set((await this.#mo_children.get().if_ixml_node_list$create_iterator())); const indexBackup1 = abap.builtin.sy.get().index.get(); let unique1152 = 1; while (true) { abap.builtin.sy.get().index.set(unique1152++); li_node.set((await li_iterator.get().if_ixml_node_iterator$get_next())); if (abap.compare.initial(li_node)) { break; } if (abap.compare.gt((await li_node.get().if_ixml_node$get_depth()), lv_max)) { lv_max.set((await li_node.get().if_ixml_node$get_depth())); } } abap.builtin.sy.get().index.set(indexBackup1); val.set(abap.operators.add(lv_max,abap.IntegerFactory.get(1))); } return val; } async if_ixml_node$is_leaf() { let val = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); val.set(abap.builtin.boolc(abap.compare.eq((await this.#mo_children.get().if_ixml_node_list$get_length()), abap.IntegerFactory.get(0)))); return val; } async if_ixml_node$get_namespace() { let val = new abap.types.String({qualifiedName: "STRING"}); val.set(this.#mv_namespace); return val; } async if_ixml_node$get_value() { let val = new abap.types.String({qualifiedName: "STRING"}); let li_iterator = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_ITERATOR", RTTIName: "\\INTERFACE=IF_IXML_NODE_ITERATOR"}); let li_node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); let lv_max = new abap.types.Integer({qualifiedName: "I"}); if (abap.compare.eq((await this.#mo_children.get().if_ixml_node_list$get_length()), abap.IntegerFactory.get(0))) { val.set(this.#mv_value); } else { li_iterator.set((await this.#mo_children.get().if_ixml_node_list$create_iterator())); const indexBackup1 = abap.builtin.sy.get().index.get(); let unique1153 = 1; while (true) { abap.builtin.sy.get().index.set(unique1153++); li_node.set((await li_iterator.get().if_ixml_node_iterator$get_next())); if (abap.compare.initial(li_node)) { break; } val.set(abap.operators.concat(val,(await li_node.get().if_ixml_node$get_value()))); } abap.builtin.sy.get().index.set(indexBackup1); } return val; } async if_ixml_node$get_type() { let val = new abap.types.String({qualifiedName: "STRING"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_node$set_name(INPUT) { let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } this.#mv_name.set(name); } async if_ixml_node$remove_child(INPUT) { let child = INPUT?.child; if (child?.getQualifiedName === undefined || child.getQualifiedName() !== "IF_IXML_NODE") { child = undefined; } if (child === undefined) { child = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.child); } await this.#mo_children.get().remove({ii_node: child}); } async if_ixml_node$set_value(INPUT) { let value = INPUT?.value; if (value?.getQualifiedName === undefined || value.getQualifiedName() !== "STRING") { value = undefined; } if (value === undefined) { value = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.value); } this.#mv_value.set(value); } } abap.Classes['CLAS-CL_IXML-LCL_NODE'] = lcl_node; lcl_node.if_ixml_node$co_node_document = new abap.types.Integer({qualifiedName: "I"}); lcl_node.if_ixml_node$co_node_document.set(1); lcl_node.if_ixml_node$co_node_element = new abap.types.Integer({qualifiedName: "I"}); lcl_node.if_ixml_node$co_node_element.set(4); lcl_node.if_ixml_node$co_node_text = new abap.types.Integer({qualifiedName: "I"}); lcl_node.if_ixml_node$co_node_text.set(16); lcl_node.if_ixml_node$co_node_cdata_section = new abap.types.Integer({qualifiedName: "I"}); lcl_node.if_ixml_node$co_node_cdata_section.set(32); class lcl_document { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'CLAS-CL_IXML-LCL_DOCUMENT'; static IMPLEMENTED_INTERFACES = ["IF_IXML_DOCUMENT","IF_IXML_NODE"]; static ATTRIBUTES = {"MI_NODE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "LCL_NODE", RTTIName: "\\CLASS-POOL=CL_IXML\\CLASS=LCL_NODE"});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "MV_STANDALONE": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "IF_IXML_NODE~CO_NODE_DOCUMENT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "IF_IXML_NODE~CO_NODE_ELEMENT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "IF_IXML_NODE~CO_NODE_TEXT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "IF_IXML_NODE~CO_NODE_CDATA_SECTION": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}}; static METHODS = {"CONSTRUCTOR": {"visibility": "U", "parameters": {}}}; #mi_node; #mv_standalone; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { }; this.#mi_node = new abap.types.ABAPObject({qualifiedName: "LCL_NODE", RTTIName: "\\CLASS-POOL=CL_IXML\\CLASS=LCL_NODE"}); this.FRIENDS_ACCESS_INSTANCE["mi_node"] = this.#mi_node; this.#mv_standalone = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); this.FRIENDS_ACCESS_INSTANCE["mv_standalone"] = this.#mv_standalone; this.if_ixml_node$co_node_document = abap.Classes['IF_IXML_NODE'].if_ixml_node$co_node_document; this.if_ixml_node$co_node_element = abap.Classes['IF_IXML_NODE'].if_ixml_node$co_node_element; this.if_ixml_node$co_node_text = abap.Classes['IF_IXML_NODE'].if_ixml_node$co_node_text; this.if_ixml_node$co_node_cdata_section = abap.Classes['IF_IXML_NODE'].if_ixml_node$co_node_cdata_section; this.if_ixml_document$create_filter_name_ns = this.if_ixml_node$create_filter_name_ns; } async if_ixml_node$num_children() { let rval = new abap.types.Integer({qualifiedName: "I"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async constructor_(INPUT) { this.#mi_node.set(await (new abap.Classes['CLAS-CL_IXML-LCL_NODE']()).constructor_()); await this.#mi_node.get().if_ixml_node$set_name({name: abap.CharacterFactory.get(9, '#document')}); return this; } async if_ixml_node$get_height() { let rval = new abap.types.Integer({qualifiedName: "I"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$get_gid() { let rval = new abap.types.Integer({qualifiedName: "I"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$insert_child(INPUT) { let rval = new abap.types.Integer({qualifiedName: "I"}); let new_child = INPUT?.new_child; if (new_child?.getQualifiedName === undefined || new_child.getQualifiedName() !== "IF_IXML_NODE") { new_child = undefined; } if (new_child === undefined) { new_child = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.new_child); } let ref_child = INPUT?.ref_child; if (ref_child?.getQualifiedName === undefined || ref_child.getQualifiedName() !== "IF_IXML_NODE") { ref_child = undefined; } if (ref_child === undefined) { ref_child = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.ref_child); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$clone() { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$create_iterator_filtered(INPUT) { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_ITERATOR", RTTIName: "\\INTERFACE=IF_IXML_NODE_ITERATOR"}); let filter = INPUT?.filter; if (filter?.getQualifiedName === undefined || filter.getQualifiedName() !== "IF_IXML_NODE_FILTER") { filter = undefined; } if (filter === undefined) { filter = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_FILTER", RTTIName: "\\INTERFACE=IF_IXML_NODE_FILTER"}).set(INPUT.filter); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$get_column() { let rval = new abap.types.Integer({qualifiedName: "I"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$create_filter_name_ns(INPUT) { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_FILTER", RTTIName: "\\INTERFACE=IF_IXML_NODE_FILTER"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let namespace = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.namespace) {namespace.set(INPUT.namespace);} abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$get_namespace_prefix() { let rv_prefix = new abap.types.String({qualifiedName: "STRING"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rv_prefix; } async if_ixml_node$get_next() { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$get_namespace_uri() { let rval = new abap.types.String({qualifiedName: "STRING"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_node$append_child(INPUT) { let new_child = INPUT?.new_child; if (new_child?.getQualifiedName === undefined || new_child.getQualifiedName() !== "IF_IXML_NODE") { new_child = undefined; } if (new_child === undefined) { new_child = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.new_child); } let lo_node = new abap.types.ABAPObject({qualifiedName: "LCL_NODE", RTTIName: "\\CLASS-POOL=CL_IXML\\CLASS=LCL_NODE"}); await abap.statements.cast(lo_node, new_child); await lo_node.get().set_parent({ii_parent: this.me}); await this.#mi_node.get().if_ixml_node$append_child({new_child: new_child}); } async if_ixml_node$set_namespace_prefix(INPUT) { let val = INPUT?.val; if (val?.getQualifiedName === undefined || val.getQualifiedName() !== "STRING") { val = undefined; } if (val === undefined) { val = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.val); } await this.#mi_node.get().if_ixml_node$set_namespace_prefix({val: val}); } async if_ixml_node$get_attributes() { let map = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NAMED_NODE_MAP", RTTIName: "\\INTERFACE=IF_IXML_NAMED_NODE_MAP"}); map.set((await this.#mi_node.get().if_ixml_node$get_attributes())); return map; } async if_ixml_node$get_first_child() { let node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); node.set((await this.#mi_node.get().if_ixml_node$get_first_child())); return node; } async if_ixml_node$get_children() { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_LIST", RTTIName: "\\INTERFACE=IF_IXML_NODE_LIST"}); val.set((await this.#mi_node.get().if_ixml_node$get_children())); return val; } async if_ixml_node$query_interface(INPUT) { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_UNKNOWN", RTTIName: "\\INTERFACE=IF_IXML_UNKNOWN"}); let iid = INPUT?.iid; if (iid?.getQualifiedName === undefined || iid.getQualifiedName() !== "I") { iid = undefined; } if (iid === undefined) { iid = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.iid); } await this.#mi_node.get().if_ixml_node$query_interface({iid: iid}); return rval; } async if_ixml_node$remove_node() { await this.#mi_node.get().if_ixml_node$remove_node(); } async if_ixml_node$get_parent() { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); val.set((await this.#mi_node.get().if_ixml_node$get_parent())); return val; } async if_ixml_node$replace_child(INPUT) { let new_child = INPUT?.new_child; if (new_child?.getQualifiedName === undefined || new_child.getQualifiedName() !== "STRING") { new_child = undefined; } if (new_child === undefined) { new_child = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.new_child); } let old_child = INPUT?.old_child; if (old_child?.getQualifiedName === undefined || old_child.getQualifiedName() !== "STRING") { old_child = undefined; } if (old_child === undefined) { old_child = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.old_child); } await this.#mi_node.get().if_ixml_node$replace_child({new_child: new_child, old_child: old_child}); } async if_ixml_node$get_name() { let val = new abap.types.String({qualifiedName: "STRING"}); val.set((await this.#mi_node.get().if_ixml_node$get_name())); return val; } async if_ixml_node$get_depth() { let val = new abap.types.Integer({qualifiedName: "I"}); val.set((await this.#mi_node.get().if_ixml_node$get_depth())); return val; } async if_ixml_node$is_leaf() { let val = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); val.set((await this.#mi_node.get().if_ixml_node$is_leaf())); return val; } async if_ixml_node$get_namespace() { let val = new abap.types.String({qualifiedName: "STRING"}); val.set((await this.#mi_node.get().if_ixml_node$get_namespace())); return val; } async if_ixml_node$get_value() { let val = new abap.types.String({qualifiedName: "STRING"}); val.set((await this.#mi_node.get().if_ixml_node$get_value())); return val; } async if_ixml_node$get_type() { let val = new abap.types.String({qualifiedName: "STRING"}); val.set((await this.#mi_node.get().if_ixml_node$get_type())); return val; } async if_ixml_node$set_name(INPUT) { let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } await this.#mi_node.get().if_ixml_node$set_name({name: name}); } async if_ixml_node$remove_child(INPUT) { let child = INPUT?.child; if (child?.getQualifiedName === undefined || child.getQualifiedName() !== "IF_IXML_NODE") { child = undefined; } if (child === undefined) { child = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.child); } await this.#mi_node.get().if_ixml_node$remove_child({child: child}); } async if_ixml_node$set_value(INPUT) { let value = INPUT?.value; if (value?.getQualifiedName === undefined || value.getQualifiedName() !== "STRING") { value = undefined; } if (value === undefined) { value = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.value); } await this.#mi_node.get().if_ixml_node$set_value({value: value}); } async if_ixml_document$set_encoding(INPUT) { let encoding = INPUT?.encoding; if (encoding === undefined) { encoding = new abap.types.ABAPObject({qualifiedName: undefined, RTTIName: undefined}).set(INPUT.encoding); } return; } async if_ixml_document$set_standalone(INPUT) { let standalone = INPUT?.standalone; if (standalone?.getQualifiedName === undefined || standalone.getQualifiedName() !== "ABAP_BOOL") { standalone = undefined; } if (standalone === undefined) { standalone = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.standalone); } this.#mv_standalone.set(standalone); } async if_ixml_document$get_standalone() { let rval = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); rval.set(this.#mv_standalone); return rval; } async if_ixml_document$set_namespace_prefix(INPUT) { let prefix = INPUT?.prefix; if (prefix?.getQualifiedName === undefined || prefix.getQualifiedName() !== "STRING") { prefix = undefined; } if (prefix === undefined) { prefix = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.prefix); } return; } async if_ixml_document$append_child(INPUT) { let new_child = INPUT?.new_child; if (new_child?.getQualifiedName === undefined || new_child.getQualifiedName() !== "IF_IXML_NODE") { new_child = undefined; } if (new_child === undefined) { new_child = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.new_child); } await this.if_ixml_node$append_child({new_child: new_child}); } async if_ixml_document$get_first_child() { let child = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); child.set((await this.#mi_node.get().if_ixml_node$get_first_child())); return child; } async if_ixml_document$create_attribute_ns(INPUT) { let element = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ATTRIBUTE", RTTIName: "\\INTERFACE=IF_IXML_ATTRIBUTE"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let prefix = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.prefix) {prefix.set(INPUT.prefix);} abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return element; } async if_ixml_document$create_element_ns(INPUT) { let element = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ELEMENT", RTTIName: "\\INTERFACE=IF_IXML_ELEMENT"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let prefix = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.prefix) {prefix.set(INPUT.prefix);} let uri = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.uri) {uri.set(INPUT.uri);} element.set(await (new abap.Classes['CLAS-CL_IXML-LCL_NODE']()).constructor_()); await element.get().if_ixml_node$set_name({name: name}); await element.get().if_ixml_node$set_namespace_prefix({val: prefix}); return element; } async if_ixml_document$create_element(INPUT) { let element = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ELEMENT", RTTIName: "\\INTERFACE=IF_IXML_ELEMENT"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } element.set(await (new abap.Classes['CLAS-CL_IXML-LCL_NODE']()).constructor_()); await element.get().if_ixml_node$set_name({name: name}); return element; } async if_ixml_document$create_iterator_filtered(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_ITERATOR", RTTIName: "\\INTERFACE=IF_IXML_NODE_ITERATOR"}); let filter = INPUT?.filter; abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_document$set_declaration(INPUT) { let declaration = INPUT?.declaration; if (declaration?.getQualifiedName === undefined || declaration.getQualifiedName() !== "ABAP_BOOL") { declaration = undefined; } if (declaration === undefined) { declaration = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.declaration); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } async if_ixml_document$create_filter_and(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_FILTER", RTTIName: "\\INTERFACE=IF_IXML_NODE_FILTER"}); let filter1 = INPUT?.filter1; let filter2 = INPUT?.filter2; abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_document$create_iterator() { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_ITERATOR", RTTIName: "\\INTERFACE=IF_IXML_NODE_ITERATOR"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_document$create_filter_node_type(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_FILTER", RTTIName: "\\INTERFACE=IF_IXML_NODE_FILTER"}); let node_types = INPUT?.node_types; if (node_types?.getQualifiedName === undefined || node_types.getQualifiedName() !== "I") { node_types = undefined; } if (node_types === undefined) { node_types = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.node_types); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_document$create_simple_element_ns(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ELEMENT", RTTIName: "\\INTERFACE=IF_IXML_ELEMENT"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let parent = INPUT?.parent; if (parent?.getQualifiedName === undefined || parent.getQualifiedName() !== "IF_IXML_NODE") { parent = undefined; } if (parent === undefined) { parent = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.parent); } let prefix = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.prefix) {prefix.set(INPUT.prefix);} let li_node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); val.set((await this.if_ixml_document$create_simple_element({name: name, parent: parent}))); await abap.statements.cast(li_node, val); await li_node.get().if_ixml_node$set_namespace_prefix({val: prefix}); return val; } async if_ixml_document$create_filter_attribute(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_FILTER", RTTIName: "\\INTERFACE=IF_IXML_NODE_FILTER"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_document$create_simple_element(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ELEMENT", RTTIName: "\\INTERFACE=IF_IXML_ELEMENT"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let parent = INPUT?.parent; if (parent?.getQualifiedName === undefined || parent.getQualifiedName() !== "IF_IXML_NODE") { parent = undefined; } if (parent === undefined) { parent = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.parent); } let value = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.value) {value.set(INPUT.value);} val.set(await (new abap.Classes['CLAS-CL_IXML-LCL_NODE']()).constructor_({ii_parent: parent})); await val.get().if_ixml_node$set_name({name: name}); await val.get().if_ixml_node$set_value({value: value}); return val; } async if_ixml_document$find_from_name(INPUT) { let element = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ELEMENT", RTTIName: "\\INTERFACE=IF_IXML_ELEMENT"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let depth = new abap.types.Integer({qualifiedName: "I"}); if (INPUT && INPUT.depth) {depth.set(INPUT.depth);} let namespace = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.namespace) {namespace.set(INPUT.namespace);} element.set((await this.#mi_node.get().if_ixml_element$find_from_name_ns({name: name, depth: depth, namespace: namespace}))); return element; } async if_ixml_document$find_from_name_ns(INPUT) { let element = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ELEMENT", RTTIName: "\\INTERFACE=IF_IXML_ELEMENT"}); let depth = new abap.types.Integer({qualifiedName: "I"}); if (INPUT && INPUT.depth) {depth.set(INPUT.depth);} let uri = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.uri) {uri.set(INPUT.uri);} let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } element.set((await this.#mi_node.get().if_ixml_element$find_from_name_ns({name: name, depth: depth, namespace: abap.CharacterFactory.get(1, '')}))); return element; } async if_ixml_document$find_from_path(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ELEMENT", RTTIName: "\\INTERFACE=IF_IXML_ELEMENT"}); let path = INPUT?.path; if (path?.getQualifiedName === undefined || path.getQualifiedName() !== "STRING") { path = undefined; } if (path === undefined) { path = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.path); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_document$get_elements_by_tag_name_ns(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_COLLECTION", RTTIName: "\\INTERFACE=IF_IXML_NODE_COLLECTION"}); let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let namespace = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.namespace) {namespace.set(INPUT.namespace);} let uri = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.uri) {uri.set(INPUT.uri);} abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_document$get_elements_by_tag_name(INPUT) { let val = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE_COLLECTION", RTTIName: "\\INTERFACE=IF_IXML_NODE_COLLECTION"}); let depth = new abap.types.Integer({qualifiedName: "I"}); if (INPUT && INPUT.depth) {depth.set(INPUT.depth);} let name = INPUT?.name; if (name?.getQualifiedName === undefined || name.getQualifiedName() !== "STRING") { name = undefined; } if (name === undefined) { name = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.name); } let namespace = new abap.types.String({qualifiedName: "STRING"}); if (INPUT && INPUT.namespace) {namespace.set(INPUT.namespace);} abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return val; } async if_ixml_document$get_root() { let node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); node.set(this.#mi_node); return node; } async if_ixml_document$get_root_element() { let root = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ELEMENT", RTTIName: "\\INTERFACE=IF_IXML_ELEMENT"}); await abap.statements.cast(root, (await this.#mi_node.get().if_ixml_element$get_first_child())); return root; } } abap.Classes['CLAS-CL_IXML-LCL_DOCUMENT'] = lcl_document; lcl_document.if_ixml_node$co_node_document = new abap.types.Integer({qualifiedName: "I"}); lcl_document.if_ixml_node$co_node_document.set(1); lcl_document.if_ixml_node$co_node_element = new abap.types.Integer({qualifiedName: "I"}); lcl_document.if_ixml_node$co_node_element.set(4); lcl_document.if_ixml_node$co_node_text = new abap.types.Integer({qualifiedName: "I"}); lcl_document.if_ixml_node$co_node_text.set(16); lcl_document.if_ixml_node$co_node_cdata_section = new abap.types.Integer({qualifiedName: "I"}); lcl_document.if_ixml_node$co_node_cdata_section.set(32); class lcl_renderer { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'CLAS-CL_IXML-LCL_RENDERER'; static IMPLEMENTED_INTERFACES = ["IF_IXML_RENDERER"]; static ATTRIBUTES = {"MI_OSTREAM": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_OSTREAM", RTTIName: "\\INTERFACE=IF_IXML_OSTREAM"});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "MI_DOCUMENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_DOCUMENT", RTTIName: "\\INTERFACE=IF_IXML_DOCUMENT"});}, "visibility": "I", "is_constant": " ", "is_class": " "}}; static METHODS = {"CONSTRUCTOR": {"visibility": "U", "parameters": {"OSTREAM": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_OSTREAM", RTTIName: "\\INTERFACE=IF_IXML_OSTREAM"});}, "is_optional": " "}, "DOCUMENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_DOCUMENT", RTTIName: "\\INTERFACE=IF_IXML_DOCUMENT"});}, "is_optional": " "}}}}; #mi_ostream; #mi_document; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { }; this.#mi_ostream = new abap.types.ABAPObject({qualifiedName: "IF_IXML_OSTREAM", RTTIName: "\\INTERFACE=IF_IXML_OSTREAM"}); this.FRIENDS_ACCESS_INSTANCE["mi_ostream"] = this.#mi_ostream; this.#mi_document = new abap.types.ABAPObject({qualifiedName: "IF_IXML_DOCUMENT", RTTIName: "\\INTERFACE=IF_IXML_DOCUMENT"}); this.FRIENDS_ACCESS_INSTANCE["mi_document"] = this.#mi_document; } async constructor_(INPUT) { let ostream = INPUT?.ostream; if (ostream?.getQualifiedName === undefined || ostream.getQualifiedName() !== "IF_IXML_OSTREAM") { ostream = undefined; } if (ostream === undefined) { ostream = new abap.types.ABAPObject({qualifiedName: "IF_IXML_OSTREAM", RTTIName: "\\INTERFACE=IF_IXML_OSTREAM"}).set(INPUT.ostream); } let document = INPUT?.document; if (document?.getQualifiedName === undefined || document.getQualifiedName() !== "IF_IXML_DOCUMENT") { document = undefined; } if (document === undefined) { document = new abap.types.ABAPObject({qualifiedName: "IF_IXML_DOCUMENT", RTTIName: "\\INTERFACE=IF_IXML_DOCUMENT"}).set(INPUT.document); } this.#mi_ostream.set(ostream); this.#mi_document.set(document); return this; } async if_ixml_renderer$render() { let rval = new abap.types.Integer({qualifiedName: "I"}); let li_root = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ELEMENT", RTTIName: "\\INTERFACE=IF_IXML_ELEMENT"}); let lv_standalone = new abap.types.String({qualifiedName: "STRING"}); let lo_stream = new abap.types.ABAPObject({qualifiedName: "LCL_OSTREAM", RTTIName: "\\CLASS-POOL=CL_IXML\\CLASS=LCL_OSTREAM"}); if (abap.compare.eq((await this.#mi_document.get().if_ixml_document$get_standalone()), abap.builtin.abap_true)) { lv_standalone.set(new abap.types.String().set(` standalone="yes"`)); } await abap.statements.cast(lo_stream, this.#mi_ostream); if (abap.compare.eq(lo_stream.get().mv_hex, abap.builtin.abap_true)) { await this.#mi_ostream.get().if_ixml_ostream$write_string({string: new abap.types.String().set(`<?xml version="1.0" encoding="utf-8"${abap.templateFormatting(lv_standalone)}?>`)}); } else { await this.#mi_ostream.get().if_ixml_ostream$write_string({string: new abap.types.String().set(`<?xml version="1.0" encoding="utf-16"${abap.templateFormatting(lv_standalone)}?>`)}); } if (abap.compare.eq(lo_stream.get().mv_pretty_print, abap.builtin.abap_true)) { await this.#mi_ostream.get().if_ixml_ostream$write_string({string: new abap.types.String().set(`\n`)}); } li_root.set((await this.#mi_document.get().if_ixml_document$get_root_element())); if (abap.compare.initial(li_root)) { return rval; } await li_root.get().if_ixml_element$render({ostream: this.#mi_ostream}); return rval; } async if_ixml_renderer$set_normalizing(INPUT) { let normal = INPUT?.normal; if (normal?.getQualifiedName === undefined || normal.getQualifiedName() !== "ABAP_BOOL") { normal = undefined; } if (normal === undefined) { normal = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.normal); } await this.#mi_ostream.get().if_ixml_ostream$set_pretty_print({pretty_print: normal}); } } abap.Classes['CLAS-CL_IXML-LCL_RENDERER'] = lcl_renderer; class lcl_ostream { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'CLAS-CL_IXML-LCL_OSTREAM'; static IMPLEMENTED_INTERFACES = ["IF_IXML_OSTREAM"]; static ATTRIBUTES = {"MV_STRING": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "visibility": "U", "is_constant": " ", "is_class": " "}, "MV_HEX": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "visibility": "U", "is_constant": " ", "is_class": " "}, "MV_PRETTY_PRINT": {"type": () => {return new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});}, "visibility": "U", "is_constant": " ", "is_class": " "}, "MV_INDENT": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": " ", "is_class": " "}}; static METHODS = {}; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { }; this.mv_string = new abap.types.String({qualifiedName: "STRING"}); this.mv_hex = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); this.mv_pretty_print = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); this.mv_indent = new abap.types.Integer({qualifiedName: "I"}); } async constructor_(INPUT) { if (super.constructor_) { await super.constructor_(INPUT); } return this; } async if_ixml_ostream$write_string(INPUT) { let rval = new abap.types.Integer({qualifiedName: "I"}); let string = INPUT?.string; if (string?.getQualifiedName === undefined || string.getQualifiedName() !== "STRING") { string = undefined; } if (string === undefined) { string = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.string); } let lo_obj = new abap.types.ABAPObject({qualifiedName: "CL_ABAP_CONV_OUT_CE", RTTIName: "\\CLASS=CL_ABAP_CONV_OUT_CE"}); let lv_xstr = new abap.types.XString({qualifiedName: "XSTRING"}); if (abap.compare.eq(this.mv_hex, abap.builtin.abap_true)) { await (await abap.Classes['CL_ABAP_CONV_OUT_CE'].create()).get().convert({data: string, n: abap.builtin.strlen({val: string}), buffer: lv_xstr}); this.mv_string.set(abap.operators.concat(this.mv_string,lv_xstr)); } else { this.mv_string.set(abap.operators.concat(this.mv_string,string)); } return rval; } async if_ixml_ostream$set_pretty_print(INPUT) { let pretty_print = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); if (INPUT && INPUT.pretty_print) {pretty_print.set(INPUT.pretty_print);} if (INPUT === undefined || INPUT.pretty_print === undefined) {pretty_print = abap.builtin.abap_true;} this.mv_pretty_print.set(pretty_print); } async if_ixml_ostream$get_pretty_print() { let rval = new abap.types.Character(1, {"qualifiedName":"BOOLEAN","ddicName":"BOOLEAN","description":""}); rval.set(this.mv_pretty_print); return rval; } async if_ixml_ostream$set_indent(INPUT) { let indent = INPUT?.indent; if (indent?.getQualifiedName === undefined || indent.getQualifiedName() !== "I") { indent = undefined; } if (indent === undefined) { indent = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.indent); } this.mv_indent.set(indent); } async if_ixml_ostream$get_indent() { let rval = new abap.types.Integer({qualifiedName: "I"}); rval.set(this.mv_indent); return rval; } async if_ixml_ostream$set_encoding(INPUT) { let rval = new abap.types.Character(1, {"qualifiedName":"BOOLEAN","ddicName":"BOOLEAN","description":""}); let encoding = INPUT?.encoding; if (encoding?.getQualifiedName === undefined || encoding.getQualifiedName() !== "IF_IXML_ENCODING") { encoding = undefined; } if (encoding === undefined) { encoding = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ENCODING", RTTIName: "\\INTERFACE=IF_IXML_ENCODING"}).set(INPUT.encoding); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_ostream$get_num_written_raw() { let rval = new abap.types.Integer({qualifiedName: "I"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } } abap.Classes['CLAS-CL_IXML-LCL_OSTREAM'] = lcl_ostream; class lcl_istream { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'CLAS-CL_IXML-LCL_ISTREAM'; static IMPLEMENTED_INTERFACES = ["IF_IXML_ISTREAM"]; static ATTRIBUTES = {"MV_XML": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "visibility": "U", "is_constant": " ", "is_class": " "}, "IF_IXML_ISTREAM~DTD_ALLOWED": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "IF_IXML_ISTREAM~DTD_RESTRICTED": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "IF_IXML_ISTREAM~DTD_PROHIBITED": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}}; static METHODS = {"CONSTRUCTOR": {"visibility": "U", "parameters": {"IV_XML": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}}}}; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { }; this.mv_xml = new abap.types.String({qualifiedName: "STRING"}); this.if_ixml_istream$dtd_allowed = abap.Classes['IF_IXML_ISTREAM'].if_ixml_istream$dtd_allowed; this.if_ixml_istream$dtd_restricted = abap.Classes['IF_IXML_ISTREAM'].if_ixml_istream$dtd_restricted; this.if_ixml_istream$dtd_prohibited = abap.Classes['IF_IXML_ISTREAM'].if_ixml_istream$dtd_prohibited; } async constructor_(INPUT) { let iv_xml = INPUT?.iv_xml; if (iv_xml?.getQualifiedName === undefined || iv_xml.getQualifiedName() !== "STRING") { iv_xml = undefined; } if (iv_xml === undefined) { iv_xml = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_xml); } this.mv_xml.set(iv_xml); return this; } async if_ixml_istream$close() { return; } async if_ixml_istream$set_dtd_restriction(INPUT) { let level = new abap.types.Integer({qualifiedName: "I"}); if (INPUT && INPUT.level) {level.set(INPUT.level);} if (INPUT === undefined || INPUT.level === undefined) {level = abap.Classes['IF_IXML_ISTREAM'].if_ixml_istream$dtd_restricted;} abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); } async if_ixml_istream$get_dtd_restriction() { let rval = new abap.types.Integer({qualifiedName: "I"}); abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } } abap.Classes['CLAS-CL_IXML-LCL_ISTREAM'] = lcl_istream; lcl_istream.if_ixml_istream$dtd_allowed = new abap.types.Integer({qualifiedName: "I"}); lcl_istream.if_ixml_istream$dtd_allowed.set(0); lcl_istream.if_ixml_istream$dtd_restricted = new abap.types.Integer({qualifiedName: "I"}); lcl_istream.if_ixml_istream$dtd_restricted.set(1); lcl_istream.if_ixml_istream$dtd_prohibited = new abap.types.Integer({qualifiedName: "I"}); lcl_istream.if_ixml_istream$dtd_prohibited.set(2); class lcl_stream_factory { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'CLAS-CL_IXML-LCL_STREAM_FACTORY'; static IMPLEMENTED_INTERFACES = ["IF_IXML_STREAM_FACTORY"]; static ATTRIBUTES = {}; static METHODS = {}; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { }; } async constructor_(INPUT) { if (super.constructor_) { await super.constructor_(INPUT); } return this; } async if_ixml_stream_factory$create_ostream_itable(INPUT) { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_OSTREAM", RTTIName: "\\INTERFACE=IF_IXML_OSTREAM"}); let table = INPUT?.table; abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_stream_factory$create_istream_cstring(INPUT) { let rval = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ISTREAM", RTTIName: "\\INTERFACE=IF_IXML_ISTREAM"}); let string = INPUT?.string; if (string?.getQualifiedName === undefined || string.getQualifiedName() !== "STRING") { string = undefined; } if (string === undefined) { string = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.string); } abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_stream_factory$create_ostream_cstring(INPUT) { let stream = new abap.types.ABAPObject({qualifiedName: "IF_IXML_OSTREAM", RTTIName: "\\INTERFACE=IF_IXML_OSTREAM"}); let string = INPUT?.string; if (string?.getQualifiedName === undefined || string.getQualifiedName() !== "STRING") { string = undefined; } if (string === undefined) { string = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.string); } stream.set(await (new abap.Classes['CLAS-CL_IXML-LCL_OSTREAM']()).constructor_()); stream.get().mv_string = INPUT.string; return stream; } async if_ixml_stream_factory$create_ostream_xstring(INPUT) { let stream = new abap.types.ABAPObject({qualifiedName: "IF_IXML_OSTREAM", RTTIName: "\\INTERFACE=IF_IXML_OSTREAM"}); let string = INPUT?.string; if (string?.getQualifiedName === undefined || string.getQualifiedName() !== "XSTRING") { string = undefined; } if (string === undefined) { string = new abap.types.XString({qualifiedName: "XSTRING"}).set(INPUT.string); } let lo_stream = new abap.types.ABAPObject({qualifiedName: "LCL_OSTREAM", RTTIName: "\\CLASS-POOL=CL_IXML\\CLASS=LCL_OSTREAM"}); lo_stream.set(await (new abap.Classes['CLAS-CL_IXML-LCL_OSTREAM']()).constructor_()); stream.set(lo_stream); lo_stream.get().mv_hex.set(abap.builtin.abap_true); stream.get().mv_string = INPUT.string; return stream; } async if_ixml_stream_factory$create_istream_xstring(INPUT) { let stream = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ISTREAM", RTTIName: "\\INTERFACE=IF_IXML_ISTREAM"}); let string = INPUT?.string; if (string?.getQualifiedName === undefined || string.getQualifiedName() !== "XSTRING") { string = undefined; } if (string === undefined) { string = new abap.types.XString({qualifiedName: "XSTRING"}).set(INPUT.string); } stream.set(await (new abap.Classes['CLAS-CL_IXML-LCL_ISTREAM']()).constructor_({iv_xml: (await abap.Classes['CL_ABAP_CODEPAGE'].convert_from({source: string}))})); return stream; } async if_ixml_stream_factory$create_istream_string(INPUT) { let stream = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ISTREAM", RTTIName: "\\INTERFACE=IF_IXML_ISTREAM"}); let string = INPUT?.string; if (string?.getQualifiedName === undefined || string.getQualifiedName() !== "STRING") { string = undefined; } if (string === undefined) { string = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.string); } stream.set(await (new abap.Classes['CLAS-CL_IXML-LCL_ISTREAM']()).constructor_({iv_xml: string})); return stream; } } abap.Classes['CLAS-CL_IXML-LCL_STREAM_FACTORY'] = lcl_stream_factory; class lcl_parser { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'CLAS-CL_IXML-LCL_PARSER'; static IMPLEMENTED_INTERFACES = ["IF_IXML_PARSER"]; static ATTRIBUTES = {"MI_ISTREAM": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_ISTREAM", RTTIName: "\\INTERFACE=IF_IXML_ISTREAM"});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "MI_DOCUMENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_DOCUMENT", RTTIName: "\\INTERFACE=IF_IXML_DOCUMENT"});}, "visibility": "I", "is_constant": " ", "is_class": " "}, "LC_REGEX_TAG": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "visibility": "I", "is_constant": "X", "is_class": "X"}, "LC_REGEX_ATTR": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "visibility": "I", "is_constant": "X", "is_class": "X"}, "IF_IXML_PARSER~CO_NO_VALIDATION": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}, "IF_IXML_PARSER~CO_VALIDATE_IF_DTD": {"type": () => {return new abap.types.Integer({qualifiedName: "I"});}, "visibility": "U", "is_constant": "X", "is_class": "X"}}; static METHODS = {"PARSE_ATTRIBUTES": {"visibility": "I", "parameters": {"II_NODE": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"});}, "is_optional": " "}, "IV_XML": {"type": () => {return new abap.types.String({qualifiedName: "STRING"});}, "is_optional": " "}, "IS_MATCH": {"type": () => {return new abap.types.Structure({ "line": new abap.types.Integer({qualifiedName: "I"}), "offset": new abap.types.Integer({qualifiedName: "I"}), "length": new abap.types.Integer({qualifiedName: "I"}), "submatches": abap.types.TableFactory.construct(new abap.types.Structure({ "offset": new abap.types.Integer({qualifiedName: "I"}), "length": new abap.types.Integer({qualifiedName: "I"})}, "SUBMATCH_RESULT", "SUBMATCH_RESULT", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "SUBMATCH_RESULT_TAB")}, "MATCH_RESULT", "MATCH_RESULT", {}, {});}, "is_optional": " "}}}, "CONSTRUCTOR": {"visibility": "U", "parameters": {"ISTREAM": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_ISTREAM", RTTIName: "\\INTERFACE=IF_IXML_ISTREAM"});}, "is_optional": " "}, "DOCUMENT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "IF_IXML_DOCUMENT", RTTIName: "\\INTERFACE=IF_IXML_DOCUMENT"});}, "is_optional": " "}}}}; #mi_istream; #mi_document; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { "parse_attributes": this.#parse_attributes.bind(this), }; this.#mi_istream = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ISTREAM", RTTIName: "\\INTERFACE=IF_IXML_ISTREAM"}); this.FRIENDS_ACCESS_INSTANCE["mi_istream"] = this.#mi_istream; this.#mi_document = new abap.types.ABAPObject({qualifiedName: "IF_IXML_DOCUMENT", RTTIName: "\\INTERFACE=IF_IXML_DOCUMENT"}); this.FRIENDS_ACCESS_INSTANCE["mi_document"] = this.#mi_document; this.if_ixml_parser$co_no_validation = abap.Classes['IF_IXML_PARSER'].if_ixml_parser$co_no_validation; this.if_ixml_parser$co_validate_if_dtd = abap.Classes['IF_IXML_PARSER'].if_ixml_parser$co_validate_if_dtd; this.lc_regex_tag = lcl_parser.lc_regex_tag; this.lc_regex_attr = lcl_parser.lc_regex_attr; } async constructor_(INPUT) { let istream = INPUT?.istream; if (istream?.getQualifiedName === undefined || istream.getQualifiedName() !== "IF_IXML_ISTREAM") { istream = undefined; } if (istream === undefined) { istream = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ISTREAM", RTTIName: "\\INTERFACE=IF_IXML_ISTREAM"}).set(INPUT.istream); } let document = INPUT?.document; if (document?.getQualifiedName === undefined || document.getQualifiedName() !== "IF_IXML_DOCUMENT") { document = undefined; } if (document === undefined) { document = new abap.types.ABAPObject({qualifiedName: "IF_IXML_DOCUMENT", RTTIName: "\\INTERFACE=IF_IXML_DOCUMENT"}).set(INPUT.document); } this.#mi_istream.set(istream); this.#mi_document.set(document); return this; } async if_ixml_parser$set_validating(INPUT) { let rval = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}); let mode = new abap.types.Integer({qualifiedName: "I"}); if (INPUT && INPUT.mode) {mode.set(INPUT.mode);} abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(4, 'todo'))); return rval; } async if_ixml_parser$parse() { let subrc = new abap.types.Integer({qualifiedName: "I"}); let lv_xml = new abap.types.String({qualifiedName: "STRING"}); let lv_offset = new abap.types.Integer({qualifiedName: "I"}); let lv_value = new abap.types.String({qualifiedName: "STRING"}); let lv_name = new abap.types.String({qualifiedName: "STRING"}); let lv_namespace = new abap.types.String({qualifiedName: "STRING"}); let lv_tag = new abap.types.String({qualifiedName: "STRING"}); let ls_match = new abap.types.Structure({ "line": new abap.types.Integer({qualifiedName: "I"}), "offset": new abap.types.Integer({qualifiedName: "I"}), "length": new abap.types.Integer({qualifiedName: "I"}), "submatches": abap.types.TableFactory.construct(new abap.types.Structure({ "offset": new abap.types.Integer({qualifiedName: "I"}), "length": new abap.types.Integer({qualifiedName: "I"})}, "SUBMATCH_RESULT", "SUBMATCH_RESULT", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "SUBMATCH_RESULT_TAB")}, "MATCH_RESULT", "MATCH_RESULT", {}, {}); let ls_submatch = new abap.types.Structure({ "offset": new abap.types.Integer({qualifiedName: "I"}), "length": new abap.types.Integer({qualifiedName: "I"})}, "SUBMATCH_RESULT", "SUBMATCH_RESULT", {}, {}); let stream = new abap.types.ABAPObject({qualifiedName: "IF_IXML_ISTREAM", RTTIName: "\\INTERFACE=IF_IXML_ISTREAM"}); let lo_parent = new abap.types.ABAPObject({qualifiedName: "LCL_NODE", RTTIName: "\\CLASS-POOL=CL_IXML\\CLASS=LCL_NODE"}); let lo_node = new abap.types.ABAPObject({qualifiedName: "LCL_NODE", RTTIName: "\\CLASS-POOL=CL_IXML\\CLASS=LCL_NODE"}); await abap.statements.cast(lo_parent, (await this.#mi_document.get().if_ixml_document$get_root())); stream.set(this.#mi_istream); lv_xml.set(stream.get().mv_xml); abap.statements.replace({target: lv_xml, all: true, with: new abap.types.String().set(``), of: new abap.types.String().set(`\n`)}); const indexBackup1 = abap.builtin.sy.get().index.get(); let unique1154 = 1; while (abap.compare.initial(lv_xml) === false) { abap.builtin.sy.get().index.set(unique1154++); lo_node.clear(); if (abap.compare.cp(lv_xml, abap.CharacterFactory.get(7, '<?xml *'))) { abap.statements.find(lv_xml, {find: abap.CharacterFactory.get(2, '?>'), first: true, offset: lv_offset}); abap.statements.assert(abap.compare.gt(lv_offset, abap.IntegerFactory.get(0))); lv_offset.set(abap.operators.add(lv_offset,abap.IntegerFactory.get(2))); } else if (abap.compare.cp(lv_xml, abap.CharacterFactory.get(2, '<*'))) { abap.statements.find(lv_xml, {regex: lcl_parser.lc_regex_tag, first: true, results: ls_match}); abap.statements.assert(abap.compare.eq(ls_match.get().offset, abap.IntegerFactory.get(0))); lv_tag.set(lv_xml.getOffset({length: ls_match.get().length})); abap.statements.readTable(ls_match.get().submatches,{index: abap.IntegerFactory.get(1), into: ls_submatch}); abap.statements.assert(abap.compare.eq(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))); lv_name.set(lv_xml.getOffset({offset: ls_submatch.get().offset, length: ls_submatch.get().length})); if (abap.compare.cp(lv_xml, abap.CharacterFactory.get(3, '</*'))) { await abap.statements.cast(lo_parent, (await lo_parent.get().if_ixml_node$get_parent())); } else { lo_node.set(await (new abap.Classes['CLAS-CL_IXML-LCL_NODE']()).constructor_({ii_parent: lo_parent})); if (abap.compare.ca(lv_name, abap.CharacterFactory.get(1, ':'))) { abap.statements.split({source: lv_name, at: abap.CharacterFactory.get(1, ':'), targets: [lv_namespace,lv_name]}); await lo_node.get().if_ixml_node$set_namespace_prefix({val: lv_namespace}); } await lo_node.get().if_ixml_node$set_name({name: lv_name}); if (abap.compare.np(lv_tag, abap.CharacterFactory.get(3, '*/>'))) { lo_parent.set(lo_node); } } await this.#parse_attributes({ii_node: lo_node, iv_xml: lv_xml, is_match: ls_match}); lv_offset.set(ls_match.get().length); } else { abap.statements.find(lv_xml, {find: abap.CharacterFactory.get(1, '<'), first: true, offset: lv_offset}); lv_value.set(lv_xml.getOffset({length: lv_offset})); lo_node.set(await (new abap.Classes['CLAS-CL_IXML-LCL_NODE']()).constructor_({ii_parent: lo_parent})); await lo_node.get().if_ixml_node$set_name({name: abap.CharacterFactory.get(5, '#text')}); await lo_node.get().if_ixml_node$set_value({value: (await abap.Classes['CLAS-CL_IXML-LCL_ESCAPE'].unescape_value({iv_value: lv_value}))}); } lv_xml.set(lv_xml.getOffset({offset: lv_offset})); abap.statements.condense(lv_xml, {nogaps: false}); } abap.builtin.sy.get().index.set(indexBackup1); return subrc; } async #parse_attributes(INPUT) { let ii_node = INPUT?.ii_node; if (ii_node?.getQualifiedName === undefined || ii_node.getQualifiedName() !== "IF_IXML_NODE") { ii_node = undefined; } if (ii_node === undefined) { ii_node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}).set(INPUT.ii_node); } let iv_xml = INPUT?.iv_xml; if (iv_xml?.getQualifiedName === undefined || iv_xml.getQualifiedName() !== "STRING") { iv_xml = undefined; } if (iv_xml === undefined) { iv_xml = new abap.types.String({qualifiedName: "STRING"}).set(INPUT.iv_xml); } let is_match = INPUT?.is_match; if (is_match?.getQualifiedName === undefined || is_match.getQualifiedName() !== "MATCH_RESULT") { is_match = undefined; } if (is_match === undefined) { is_match = new abap.types.Structure({ "line": new abap.types.Integer({qualifiedName: "I"}), "offset": new abap.types.Integer({qualifiedName: "I"}), "length": new abap.types.Integer({qualifiedName: "I"}), "submatches": abap.types.TableFactory.construct(new abap.types.Structure({ "offset": new abap.types.Integer({qualifiedName: "I"}), "length": new abap.types.Integer({qualifiedName: "I"})}, "SUBMATCH_RESULT", "SUBMATCH_RESULT", {}, {}), {"withHeader":false,"keyType":"DEFAULT","primaryKey":{"isUnique":false,"type":"STANDARD","keyFields":[],"name":"primary_key"},"secondary":[]}, "SUBMATCH_RESULT_TAB")}, "MATCH_RESULT", "MATCH_RESULT", {}, {}).set(INPUT.is_match); } let ls_submatch = new abap.types.Structure({ "offset": new abap.types.Integer({qualifiedName: "I"}), "length": new abap.types.Integer({qualifiedName: "I"})}, "SUBMATCH_RESULT", "SUBMATCH_RESULT", {}, {}); let lv_name = new abap.types.String({qualifiedName: "STRING"}); let lv_value = new abap.types.String({qualifiedName: "STRING"}); let lv_xml = new abap.types.String({qualifiedName: "STRING"}); let li_node = new abap.types.ABAPObject({qualifiedName: "IF_IXML_NODE", RTTIName: "\\INTERFACE=IF_IXML_NODE"}); let lv_offset = new abap.types.Integer({qualifiedName: "I"}); let lv_length = new abap.types.Integer({qualifiedName: "I"}); if (abap.compare.eq(abap.builtin.lines({val: is_match.get().submatches}), abap.IntegerFactory.get(1))) { return; } lv_xml.set(iv_xml.getOffset({length: is_match.get().length})); const indexBackup1 = abap.builtin.sy.get().index.get(); let unique1155 = 1; while (true) { abap.builtin.sy.get().index.set(unique1155++); abap.statements.find(lv_xml, {regex: lcl_parser.lc_regex_attr, first: true, offset: lv_offset, length: lv_length, submatches: [lv_name,lv_value]}); if (abap.compare.ne(abap.builtin.sy.get().subrc, abap.IntegerFactory.get(0))) { abap.builtin.sy.get().index.set(indexBackup1); return; } li_node.set(await (new abap.Classes['CLAS-CL_IXML-LCL_NODE']()).constructor_()); await li_node.get().if_ixml_node$set_name({name: lv_name}); await li_node.get().if_ixml_node$set_value({value: lv_value}); await (await ii_node.get().if_ixml_node$get_attributes()).get().if_ixml_named_node_map$set_named_item_ns({node: li_node}); lv_offset.set(abap.operators.add(lv_offset,lv_length)); lv_xml.set(lv_xml.getOffset({offset: lv_offset})); } abap.builtin.sy.get().index.set(indexBackup1); } async if_ixml_parser$set_normalizing(INPUT) { let normal = INPUT?.normal; if (normal?.getQualifiedName === undefined || normal.getQualifiedName() !== "ABAP_BOOL") { normal = undefined; } if (normal === undefined) { normal = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"}).set(INPUT.normal); } return; } async if_ixml_parser$num_errors() { let errors = new abap.types.Integer({qualifiedName: "I"}); return errors; return errors; } async if_ixml_parser$add_strip_space_element() { return; } async if_ixml_parser$get_error(INPUT) { let error = new abap.types.ABAPObject({qualifiedName: "IF_IXML_PARSE_ERROR", RTTIName: "\\INTERFACE=IF_IXML_PARSE_ERROR"}); let index = INPUT?.index; if (index?.getQualifiedName === undefined || index.getQualifiedName() !== "I") { index = undefined; } if (index === undefined) { index = new abap.types.Integer({qualifiedName: "I"}).set(INPUT.index); } let min_severity = new abap.types.Integer({qualifiedName: "I"}); if (INPUT && INPUT.min_severity) {min_severity.set(INPUT.min_severity);} if (INPUT === undefined || INPUT.min_severity === undefined) {min_severity = abap.Classes['IF_IXML_PARSE_ERROR'].if_ixml_parse_error$co_error;} return error; return error; } } abap.Classes['CLAS-CL_IXML-LCL_PARSER'] = lcl_parser; lcl_parser.lc_regex_tag = new abap.types.String({qualifiedName: "STRING"}); lcl_parser.lc_regex_tag.set('<\\/?([\\w:\\.]+)( [\\w:]+="[\\w\\.,:\\-\\/#; %\\(\\){}&]+")* */?>'); lcl_parser.lc_regex_attr = new abap.types.String({qualifiedName: "STRING"}); lcl_parser.lc_regex_attr.set('([\\w:]+)="([\\w\\.,:\\-\\/#; %\\(\\){}&]+)"'); lcl_parser.if_ixml_parser$co_no_validation = new abap.types.Integer({qualifiedName: "I"}); lcl_parser.if_ixml_parser$co_no_validation.set(0); lcl_parser.if_ixml_parser$co_validate_if_dtd = new abap.types.Integer({qualifiedName: "I"}); lcl_parser.if_ixml_parser$co_validate_if_dtd.set(2); export {lcl_escape, lcl_node_iterator, lcl_encoding, lcl_named_node_map, lcl_node_list, lcl_node, lcl_document, lcl_ostream, lcl_renderer, lcl_istream, lcl_stream_factory, lcl_parser}; |