1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_67) on Tue Dec 30 21:45:32 PST 2014 -->
<title>Utility (JiBX Java data binding to XML - Version 1.2.6)</title>
<meta name="date" content="2014-12-30">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Utility (JiBX Java data binding to XML - Version 1.2.6)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/jibx/runtime/UnrecoverableException.html" title="class in org.jibx.runtime"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/jibx/runtime/ValidationException.html" title="class in org.jibx.runtime"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/jibx/runtime/Utility.html" target="_top">Frames</a></li>
<li><a href="Utility.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.jibx.runtime</div>
<h2 title="Class Utility" class="title">Class Utility</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.jibx.runtime.Utility</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public abstract class <span class="strong">Utility</span>
extends java.lang.Object</pre>
<div class="block">Utility class supplying static methods. Date serialization is based on the
algorithms published by Peter Baum (http://www.capecod.net/~pbaum). All date
handling is done according to the W3C Schema specification, which uses a
proleptic Gregorian calendar with no year 0. Note that this differs from the
Java date handling, which uses a discontinuous Gregorian calendar.</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>Dennis M. Sosnoski</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#EMPTY_STRING_ARRAY">EMPTY_STRING_ARRAY</a></strong></code>
<div class="block">Empty array of strings.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#MINIMUM_GROWN_ARRAY_SIZE">MINIMUM_GROWN_ARRAY_SIZE</a></strong></code>
<div class="block">Minimum size for array returned by <a href="../../../org/jibx/runtime/Utility.html#growArray(java.lang.Object)"><code>growArray(java.lang.Object)</code></a>.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/jibx/runtime/Utility.html#Utility()">Utility</a></strong>()</code> </td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.List</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#arrayListFactory()">arrayListFactory</a></strong>()</code>
<div class="block">Factory method to create a <code>java.util.ArrayList</code> as the
implementation of a <code>java.util.List</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#deserializeBase64(java.lang.String)">deserializeBase64</a></strong>(java.lang.String text)</code>
<div class="block">Parse base64 data from text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.Boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#deserializeBoolean(java.lang.String)">deserializeBoolean</a></strong>(java.lang.String text)</code>
<div class="block">Deserialize boolean value from text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static char</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#deserializeCharString(java.lang.String)">deserializeCharString</a></strong>(java.lang.String text)</code>
<div class="block">Deserialize char value from text as character value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.Date</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#deserializeDate(java.lang.String)">deserializeDate</a></strong>(java.lang.String text)</code>
<div class="block">Deserialize date from text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.util.Date</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#deserializeDateTime(java.lang.String)">deserializeDateTime</a></strong>(java.lang.String text)</code>
<div class="block">Deserialize date from general dateTime text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.util.ArrayList</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#deserializeList(java.lang.String,%20org.jibx.runtime.IListItemDeserializer)">deserializeList</a></strong>(java.lang.String text,
<a href="../../../org/jibx/runtime/IListItemDeserializer.html" title="interface in org.jibx.runtime">IListItemDeserializer</a> ideser)</code>
<div class="block">Convert whitespace-separated list of values.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.sql.Date</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#deserializeSqlDate(java.lang.String)">deserializeSqlDate</a></strong>(java.lang.String text)</code>
<div class="block">Deserialize SQL date from text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.sql.Time</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#deserializeSqlTime(java.lang.String)">deserializeSqlTime</a></strong>(java.lang.String text)</code>
<div class="block">Deserialize time from text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.sql.Timestamp</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#deserializeTimestamp(java.lang.String)">deserializeTimestamp</a></strong>(java.lang.String text)</code>
<div class="block">Deserialize timestamp from general dateTime text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String[]</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#deserializeTokenList(java.lang.String)">deserializeTokenList</a></strong>(java.lang.String text)</code>
<div class="block">Deserialize a list of whitespace-separated tokens into an array of
strings.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#encodeChunk(int,%20byte[],%20java.lang.StringBuffer)">encodeChunk</a></strong>(int base,
byte[] byts,
java.lang.StringBuffer buff)</code>
<div class="block">Encode a chunk of data to base64 encoding.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#enumValue(java.lang.String,%20java.lang.String[],%20int[])">enumValue</a></strong>(java.lang.String target,
java.lang.String[] enums,
int[] vals)</code>
<div class="block">Find text value in enumeration.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#growArray(java.lang.Object)">growArray</a></strong>(java.lang.Object base)</code>
<div class="block">Grow array of arbitrary type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifBoolean(java.lang.String)">ifBoolean</a></strong>(java.lang.String text)</code>
<div class="block">Check if a text string is a valid boolean representation.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifByte(java.lang.String)">ifByte</a></strong>(java.lang.String text)</code>
<div class="block">Check if a text string is a valid byte representation.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifDate(java.lang.String)">ifDate</a></strong>(java.lang.String text)</code>
<div class="block">Check if a text string follows the schema date format.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifDateTime(java.lang.String)">ifDateTime</a></strong>(java.lang.String text)</code>
<div class="block">Check if a text string follows the schema dateTime format.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifDecimal(java.lang.String)">ifDecimal</a></strong>(java.lang.String text)</code>
<div class="block">Check if a text string is a valid decimal representation.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifDigits(java.lang.String,%20int,%20int)">ifDigits</a></strong>(java.lang.String text,
int offset,
int limit)</code>
<div class="block">Check if a portion of a text string consists of decimal digits.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifEqualSubstring(java.lang.String,%20java.lang.String,%20int)">ifEqualSubstring</a></strong>(java.lang.String match,
java.lang.String text,
int offset)</code>
<div class="block">Check if a substring matches a supplied value.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifFixedDigits(java.lang.String,%20int,%20java.lang.String)">ifFixedDigits</a></strong>(java.lang.String text,
int offset,
java.lang.String bound)</code>
<div class="block">Check if a portion of a text string is a bounded string of decimal
digits.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifInIntegerRange(java.lang.String,%20int,%20java.lang.String)">ifInIntegerRange</a></strong>(java.lang.String text,
int digitmax,
java.lang.String abslimit)</code>
<div class="block">Check if a text string is a valid integer subtype representation.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifInt(java.lang.String)">ifInt</a></strong>(java.lang.String text)</code>
<div class="block">Check if a text string is a valid int representation.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifInteger(java.lang.String)">ifInteger</a></strong>(java.lang.String text)</code>
<div class="block">Check if a text string is a valid integer representation.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifLong(java.lang.String)">ifLong</a></strong>(java.lang.String text)</code>
<div class="block">Check if a text string is a valid long representation.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifShort(java.lang.String)">ifShort</a></strong>(java.lang.String text)</code>
<div class="block">Check if a text string is a valid short representation.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifTime(java.lang.String)">ifTime</a></strong>(java.lang.String text)</code>
<div class="block">Check if a text string follows the schema dateTime format.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifTimeSuffix(java.lang.String,%20int)">ifTimeSuffix</a></strong>(java.lang.String text,
int offset)</code>
<div class="block">Check if a text string ends with a valid time suffix.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#ifZoneSuffix(java.lang.String,%20int)">ifZoneSuffix</a></strong>(java.lang.String text,
int offset)</code>
<div class="block">Check if a text string ends with a valid zone suffix.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#isEqual(java.lang.Object,%20java.lang.Object)">isEqual</a></strong>(java.lang.Object a,
java.lang.Object b)</code>
<div class="block">General object comparison method.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseBase64(java.lang.String)">parseBase64</a></strong>(java.lang.String text)</code>
<div class="block">Parse base64 data from text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseBoolean(java.lang.String)">parseBoolean</a></strong>(java.lang.String text)</code>
<div class="block">Parse boolean value from text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static byte</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseByte(java.lang.String)">parseByte</a></strong>(java.lang.String text)</code>
<div class="block">Parse byte value from text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static char</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseChar(java.lang.String)">parseChar</a></strong>(java.lang.String text)</code>
<div class="block">Parse char value from text as unsigned 16-bit integer.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static char</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseCharString(java.lang.String)">parseCharString</a></strong>(java.lang.String text)</code>
<div class="block">Parse char value from text as character value.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseDate(java.lang.String)">parseDate</a></strong>(java.lang.String text)</code>
<div class="block">Convert date text to Java date.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseDateTime(java.lang.String)">parseDateTime</a></strong>(java.lang.String text)</code>
<div class="block">Parse general dateTime value from text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseDouble(java.lang.String)">parseDouble</a></strong>(java.lang.String text)</code>
<div class="block">Parse double value from text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static float</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseFloat(java.lang.String)">parseFloat</a></strong>(java.lang.String text)</code>
<div class="block">Parse float value from text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseInt(java.lang.String)">parseInt</a></strong>(java.lang.String text)</code>
<div class="block">Parse integer value from text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseLong(java.lang.String)">parseLong</a></strong>(java.lang.String text)</code>
<div class="block">Parse long value from text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static short</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseShort(java.lang.String)">parseShort</a></strong>(java.lang.String text)</code>
<div class="block">Parse short value from text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseTime(java.lang.String,%20int,%20int)">parseTime</a></strong>(java.lang.String text,
int start,
int length)</code>
<div class="block">Parse general time value from text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseTimeNoOffset(java.lang.String,%20int,%20int)">parseTimeNoOffset</a></strong>(java.lang.String text,
int start,
int length)</code>
<div class="block">Parse general time value from text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseYear(java.lang.String)">parseYear</a></strong>(java.lang.String text)</code>
<div class="block">Convert gYear text to Java date.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#parseYearMonth(java.lang.String)">parseYearMonth</a></strong>(java.lang.String text)</code>
<div class="block">Convert gYearMonth text to Java date.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#resizeArray(int,%20java.lang.Object)">resizeArray</a></strong>(int size,
java.lang.Object base)</code>
<div class="block">Resize array of arbitrary type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#safeEquals(java.lang.Object,%20java.lang.Object)">safeEquals</a></strong>(java.lang.Object a,
java.lang.Object b)</code>
<div class="block">Safe equals test.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeBase64(byte[])">serializeBase64</a></strong>(byte[] byts)</code>
<div class="block">Serialize byte array to base64 text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeBoolean(boolean)">serializeBoolean</a></strong>(boolean value)</code>
<div class="block">Serialize boolean value to text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeBoolean(java.lang.Boolean)">serializeBoolean</a></strong>(java.lang.Boolean value)</code>
<div class="block">Serialize boolean value to text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeByte(byte)">serializeByte</a></strong>(byte value)</code>
<div class="block">Serialize byte value to text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeChar(char)">serializeChar</a></strong>(char value)</code>
<div class="block">Serialize char value to text as unsigned 16-bit integer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeCharString(char)">serializeCharString</a></strong>(char value)</code>
<div class="block">Serialize char value to text as string of length one.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeDate(java.util.Date)">serializeDate</a></strong>(java.util.Date date)</code>
<div class="block">Serialize date to general date text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeDate(long)">serializeDate</a></strong>(long time)</code>
<div class="block">Serialize time to general date text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeDateTime(java.util.Date)">serializeDateTime</a></strong>(java.util.Date date)</code>
<div class="block">Serialize date to general dateTime text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeDateTime(long)">serializeDateTime</a></strong>(long time)</code>
<div class="block">Serialize time to general dateTime text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeDateTime(long,%20boolean)">serializeDateTime</a></strong>(long time,
boolean zone)</code>
<div class="block">Serialize time to general dateTime text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeDouble(double)">serializeDouble</a></strong>(double value)</code>
<div class="block">Serialize double value to text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeExplicitOffset(int,%20java.lang.StringBuffer)">serializeExplicitOffset</a></strong>(int offset,
java.lang.StringBuffer buff)</code>
<div class="block">Serialize time zone offset to buffer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeFloat(float)">serializeFloat</a></strong>(float value)</code>
<div class="block">Serialize float value to text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeInt(int)">serializeInt</a></strong>(int value)</code>
<div class="block">Serialize int value to text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeLong(long)">serializeLong</a></strong>(long value)</code>
<div class="block">Serialize long value to text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeOffset(int,%20java.lang.StringBuffer)">serializeOffset</a></strong>(int offset,
java.lang.StringBuffer buff)</code>
<div class="block">Serialize time zone offset to buffer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeShort(short)">serializeShort</a></strong>(short value)</code>
<div class="block">Serialize short value to text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeSqlDate(java.sql.Date)">serializeSqlDate</a></strong>(java.sql.Date date)</code>
<div class="block">Serialize SQL date to general date text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeSqlTime(java.sql.Time)">serializeSqlTime</a></strong>(java.sql.Time time)</code>
<div class="block">Serialize time to standard text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeTime(int,%20java.lang.StringBuffer)">serializeTime</a></strong>(int time,
java.lang.StringBuffer buff)</code>
<div class="block">Serialize time to general time text in buffer.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeTimestamp(java.sql.Timestamp)">serializeTimestamp</a></strong>(java.sql.Timestamp stamp)</code>
<div class="block">Serialize timestamp to general dateTime text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeTokenList(java.lang.String[])">serializeTokenList</a></strong>(java.lang.String[] tokens)</code>
<div class="block">Serialize an array of strings into a whitespace-separated token list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeYear(java.util.Date)">serializeYear</a></strong>(java.util.Date date)</code>
<div class="block">Serialize date to general gYear text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeYear(long)">serializeYear</a></strong>(long time)</code>
<div class="block">Serialize time to general gYear text.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeYearMonth(java.util.Date)">serializeYearMonth</a></strong>(java.util.Date date)</code>
<div class="block">Serialize date to general gYearMonth text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/jibx/runtime/Utility.html#serializeYearMonth(long)">serializeYearMonth</a></strong>(long time)</code>
<div class="block">Serialize time to general gYearMonth text.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="EMPTY_STRING_ARRAY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EMPTY_STRING_ARRAY</h4>
<pre>public static final java.lang.String[] EMPTY_STRING_ARRAY</pre>
<div class="block">Empty array of strings.</div>
</li>
</ul>
<a name="MINIMUM_GROWN_ARRAY_SIZE">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>MINIMUM_GROWN_ARRAY_SIZE</h4>
<pre>public static final int MINIMUM_GROWN_ARRAY_SIZE</pre>
<div class="block">Minimum size for array returned by <a href="../../../org/jibx/runtime/Utility.html#growArray(java.lang.Object)"><code>growArray(java.lang.Object)</code></a>.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.jibx.runtime.Utility.MINIMUM_GROWN_ARRAY_SIZE">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Utility()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Utility</h4>
<pre>public Utility()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="parseInt(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseInt</h4>
<pre>public static int parseInt(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Parse integer value from text. Integer values are parsed with optional
leading sign flag, followed by any number of digits.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted integer value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="serializeInt(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeInt</h4>
<pre>public static java.lang.String serializeInt(int value)</pre>
<div class="block">Serialize int value to text.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - int value to be serialized</dd>
<dt><span class="strong">Returns:</span></dt><dd>text representation of value</dd></dl>
</li>
</ul>
<a name="ifBoolean(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ifBoolean</h4>
<pre>public static boolean ifBoolean(java.lang.String text)</pre>
<div class="block">Check if a text string is a valid boolean representation.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if valid boolean, <code>false</code> if not</dd></dl>
</li>
</ul>
<a name="parseLong(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseLong</h4>
<pre>public static long parseLong(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Parse long value from text. Long values are parsed with optional
leading sign flag, followed by any number of digits.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted long value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="serializeLong(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeLong</h4>
<pre>public static java.lang.String serializeLong(long value)</pre>
<div class="block">Serialize long value to text.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - long value to be serialized</dd>
<dt><span class="strong">Returns:</span></dt><dd>text representation of value</dd></dl>
</li>
</ul>
<a name="parseYear(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseYear</h4>
<pre>public static long parseYear(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Convert gYear text to Java date. Date values are expected to be in
W3C XML Schema standard format as CCYY, with optional leading sign.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed</dd>
<dt><span class="strong">Returns:</span></dt><dd>start of year date as millisecond value from 1 C.E.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="parseShort(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseShort</h4>
<pre>public static short parseShort(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Parse short value from text. Short values are parsed with optional
leading sign flag, followed by any number of digits.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted short value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="serializeShort(short)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeShort</h4>
<pre>public static java.lang.String serializeShort(short value)</pre>
<div class="block">Serialize short value to text.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - short value to be serialized</dd>
<dt><span class="strong">Returns:</span></dt><dd>text representation of value</dd></dl>
</li>
</ul>
<a name="parseByte(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseByte</h4>
<pre>public static byte parseByte(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Parse byte value from text. Byte values are parsed with optional
leading sign flag, followed by any number of digits.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted byte value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="serializeByte(byte)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeByte</h4>
<pre>public static java.lang.String serializeByte(byte value)</pre>
<div class="block">Serialize byte value to text.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - byte value to be serialized</dd>
<dt><span class="strong">Returns:</span></dt><dd>text representation of value</dd></dl>
</li>
</ul>
<a name="parseBoolean(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseBoolean</h4>
<pre>public static boolean parseBoolean(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Parse boolean value from text. Boolean values are parsed as either text
"true" and "false", or "1" and "0" numeric equivalents.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted boolean value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="deserializeBoolean(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deserializeBoolean</h4>
<pre>public static java.lang.Boolean deserializeBoolean(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Deserialize boolean value from text. If the text is <code>null</code>
this just returns <code>null</code>; otherwise it returns the wrapped
parsed value.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed (may be <code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted Boolean value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="serializeBoolean(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeBoolean</h4>
<pre>public static java.lang.String serializeBoolean(boolean value)</pre>
<div class="block">Serialize boolean value to text. This serializes the value using the
text representation as "true" or "false".</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - boolean value to be serialized</dd>
<dt><span class="strong">Returns:</span></dt><dd>text representation of value</dd></dl>
</li>
</ul>
<a name="serializeBoolean(java.lang.Boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeBoolean</h4>
<pre>public static java.lang.String serializeBoolean(java.lang.Boolean value)</pre>
<div class="block">Serialize boolean value to text. If the value is <code>null</code> this
just returns <code>null</code>; otherwise it serializes the value using
<a href="../../../org/jibx/runtime/Utility.html#serializeBoolean(boolean)"><code>serializeBoolean(boolean)</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - value to be serialized</dd>
<dt><span class="strong">Returns:</span></dt><dd>text representation of value</dd></dl>
</li>
</ul>
<a name="parseChar(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseChar</h4>
<pre>public static char parseChar(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Parse char value from text as unsigned 16-bit integer. Char values are
parsed with optional leading sign flag, followed by any number of digits.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted char value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="serializeChar(char)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeChar</h4>
<pre>public static java.lang.String serializeChar(char value)</pre>
<div class="block">Serialize char value to text as unsigned 16-bit integer.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - char value to be serialized</dd>
<dt><span class="strong">Returns:</span></dt><dd>text representation of value</dd></dl>
</li>
</ul>
<a name="parseCharString(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseCharString</h4>
<pre>public static char parseCharString(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Parse char value from text as character value. This requires that the
string must be of length one.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted char value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="deserializeCharString(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deserializeCharString</h4>
<pre>public static char deserializeCharString(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Deserialize char value from text as character value. This requires that
the string must be null or of length one.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed (may be <code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted char value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="serializeCharString(char)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeCharString</h4>
<pre>public static java.lang.String serializeCharString(char value)</pre>
<div class="block">Serialize char value to text as string of length one.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - char value to be serialized</dd>
<dt><span class="strong">Returns:</span></dt><dd>text representation of value</dd></dl>
</li>
</ul>
<a name="parseFloat(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFloat</h4>
<pre>public static float parseFloat(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Parse float value from text. This uses the W3C XML Schema format for
floats, with the exception that it will accept "+NaN" and "-NaN" as
valid formats. This is not in strict compliance with the specification,
but is included for interoperability with other Java XML processing.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted float value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="serializeFloat(float)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeFloat</h4>
<pre>public static java.lang.String serializeFloat(float value)</pre>
<div class="block">Serialize float value to text.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - float value to be serialized</dd>
<dt><span class="strong">Returns:</span></dt><dd>text representation of value</dd></dl>
</li>
</ul>
<a name="parseDouble(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseDouble</h4>
<pre>public static double parseDouble(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Parse double value from text. This uses the W3C XML Schema format for
doubles, with the exception that it will accept "+NaN" and "-NaN" as
valid formats. This is not in strict compliance with the specification,
but is included for interoperability with other Java XML processing.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted double value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="serializeDouble(double)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeDouble</h4>
<pre>public static java.lang.String serializeDouble(double value)</pre>
<div class="block">Serialize double value to text.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - double value to be serialized</dd>
<dt><span class="strong">Returns:</span></dt><dd>text representation of value</dd></dl>
</li>
</ul>
<a name="parseYearMonth(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseYearMonth</h4>
<pre>public static long parseYearMonth(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Convert gYearMonth text to Java date. Date values are expected to be in
W3C XML Schema standard format as CCYY-MM, with optional
leading sign.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed</dd>
<dt><span class="strong">Returns:</span></dt><dd>start of month in year date as millisecond value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="parseDate(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseDate</h4>
<pre>public static long parseDate(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Convert date text to Java date. Date values are expected to be in
W3C XML Schema standard format as CCYY-MM-DD, with optional
leading sign and trailing time zone (though the time zone is ignored
in this case).
Note that the returned value is based on UTC, which matches the
definition of <code>java.util.Date</code> but will typically not be the
expected value if you're using a <code>java.util.Calendar</code> on the
result. In this case you probably want to instead use <a href="../../../org/jibx/runtime/Utility.html#deserializeSqlDate(java.lang.String)"><code>deserializeSqlDate(String)</code></a>, which <i>does</i> adjust the value to match
the local time zone.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed</dd>
<dt><span class="strong">Returns:</span></dt><dd>start of day in month and year date as millisecond value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="deserializeDate(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deserializeDate</h4>
<pre>public static java.util.Date deserializeDate(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Deserialize date from text. Date values are expected to match W3C XML
Schema standard format as CCYY-MM-DD, with optional leading sign and
trailing time zone (though the time zone is ignored in this case). This
method follows standard JiBX deserializer usage requirements by accepting
a <code>null</code> input.
Note that the returned value is based on UTC, which matches the
definition of <code>java.util.Date</code> but will typically not be the
expected value if you're using a <code>java.util.Calendar</code> on the
result. In this case you probably want to instead use <a href="../../../org/jibx/runtime/Utility.html#deserializeSqlDate(java.lang.String)"><code>deserializeSqlDate(String)</code></a>, which <i>does</i> adjust the value to match
the local time zone.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed (may be <code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted date, or <code>null</code> if passed <code>null</code>
input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="deserializeSqlDate(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deserializeSqlDate</h4>
<pre>public static java.sql.Date deserializeSqlDate(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Deserialize SQL date from text. Date values are expected to match W3C XML
Schema standard format as CCYY-MM-DD, with optional leading sign and
trailing time zone (though the time zone is ignored in this case). This
method follows standard JiBX deserializer usage requirements by accepting
a <code>null</code> input.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed (may be <code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted date, or <code>null</code> if passed <code>null</code>
input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="parseTimeNoOffset(java.lang.String, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseTimeNoOffset</h4>
<pre>public static long parseTimeNoOffset(java.lang.String text,
int start,
int length)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Parse general time value from text. Time values are expected to be in W3C
XML Schema standard format as hh:mm:ss.fff, with optional leading sign
and trailing time zone. This method ignores any time zone offset, just
converting the value as supplied.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed</dd><dd><code>start</code> - offset of first character of time value</dd><dd><code>length</code> - number of characters in time value</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted time as millisecond value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="parseTime(java.lang.String, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseTime</h4>
<pre>public static long parseTime(java.lang.String text,
int start,
int length)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Parse general time value from text. Time values are expected to be in W3C
XML Schema standard format as hh:mm:ss.fff, with optional leading sign
and trailing time zone. This method always adjusts the returned value to
UTC if a time zone offset is supplied.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed</dd><dd><code>start</code> - offset of first character of time value</dd><dd><code>length</code> - number of characters in time value</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted time as millisecond value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="parseDateTime(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseDateTime</h4>
<pre>public static long parseDateTime(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Parse general dateTime value from text. Date values are expected to be in
W3C XML Schema standard format as CCYY-MM-DDThh:mm:ss.fff, with optional
leading sign and trailing time zone. This method always adjusts the
returned value to UTC if a time zone offset is supplied.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted date as millisecond value</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="deserializeDateTime(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deserializeDateTime</h4>
<pre>public static java.util.Date deserializeDateTime(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Deserialize date from general dateTime text. Date values are expected to
match W3C XML Schema standard format as CCYY-MM-DDThh:mm:ss, with
optional leading minus sign and trailing seconds decimal, as necessary.
This method follows standard JiBX deserializer usage requirements by
accepting a <code>null</code> input.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed (may be <code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted date, or <code>null</code> if passed <code>null</code>
input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="deserializeTimestamp(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deserializeTimestamp</h4>
<pre>public static java.sql.Timestamp deserializeTimestamp(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Deserialize timestamp from general dateTime text. Timestamp values are
represented in the same way as regular dates, but allow more precision in
the fractional second value (down to nanoseconds). This method follows
standard JiBX deserializer usage requirements by accepting a
<code>null</code> input.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed (may be <code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted timestamp, or <code>null</code> if passed
<code>null</code> input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="deserializeSqlTime(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deserializeSqlTime</h4>
<pre>public static java.sql.Time deserializeSqlTime(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Deserialize time from text. Time values obey the rules of the time
portion of a dataTime value. This method follows standard JiBX
deserializer usage requirements by accepting a <code>null</code> input.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed (may be <code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted time, or <code>null</code> if passed <code>null</code>
input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on parse error</dd></dl>
</li>
</ul>
<a name="serializeYear(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeYear</h4>
<pre>public static java.lang.String serializeYear(long time)</pre>
<div class="block">Serialize time to general gYear text. Date values are formatted in
W3C XML Schema standard format as CCYY, with optional
leading sign included if necessary.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>time</code> - time to be converted, as milliseconds from January 1, 1970</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted gYear text</dd></dl>
</li>
</ul>
<a name="serializeYear(java.util.Date)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeYear</h4>
<pre>public static java.lang.String serializeYear(java.util.Date date)</pre>
<div class="block">Serialize date to general gYear text. Date values are formatted in
W3C XML Schema standard format as CCYY, with optional
leading sign included if necessary.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>date</code> - date to be converted</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted gYear text</dd></dl>
</li>
</ul>
<a name="serializeYearMonth(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeYearMonth</h4>
<pre>public static java.lang.String serializeYearMonth(long time)</pre>
<div class="block">Serialize time to general gYearMonth text. Date values are formatted in
W3C XML Schema standard format as CCYY-MM, with optional
leading sign included if necessary.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>time</code> - time to be converted, as milliseconds from January 1, 1970</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted gYearMonth text</dd></dl>
</li>
</ul>
<a name="serializeYearMonth(java.util.Date)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeYearMonth</h4>
<pre>public static java.lang.String serializeYearMonth(java.util.Date date)</pre>
<div class="block">Serialize date to general gYearMonth text. Date values are formatted in
W3C XML Schema standard format as CCYY-MM, with optional
leading sign included if necessary.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>date</code> - date to be converted</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted gYearMonth text</dd></dl>
</li>
</ul>
<a name="serializeDate(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeDate</h4>
<pre>public static java.lang.String serializeDate(long time)</pre>
<div class="block">Serialize time to general date text. Date values are formatted in
W3C XML Schema standard format as CCYY-MM-DD, with optional
leading sign included if necessary.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>time</code> - time to be converted, as milliseconds from January 1, 1970</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted date text</dd></dl>
</li>
</ul>
<a name="serializeDate(java.util.Date)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeDate</h4>
<pre>public static java.lang.String serializeDate(java.util.Date date)</pre>
<div class="block">Serialize date to general date text. Date values are formatted in
W3C XML Schema standard format as CCYY-MM-DD, with optional
leading sign included if necessary.
Note that the conversion is based on UTC, which matches the
definition of <code>java.util.Date</code> but may not match the value as
serialized using <code>java.util.Calendar</code> (which assumes values
are in the local time zone). To work with values in the local time zone
you want to instead use <a href="../../../org/jibx/runtime/Utility.html#serializeSqlDate(java.sql.Date)"><code>serializeSqlDate(java.sql.Date)</code></a>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>date</code> - date to be converted</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted date text</dd></dl>
</li>
</ul>
<a name="serializeSqlDate(java.sql.Date)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeSqlDate</h4>
<pre>public static java.lang.String serializeSqlDate(java.sql.Date date)</pre>
<div class="block">Serialize SQL date to general date text. Date values are formatted in
W3C XML Schema standard format as CCYY-MM-DD, with optional
leading sign included if necessary. This interprets the date value with
respect to the local time zone, as fits the definition of the
<code>java.sql.Date</code> type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>date</code> - date to be converted</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted date text</dd></dl>
</li>
</ul>
<a name="serializeExplicitOffset(int, java.lang.StringBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeExplicitOffset</h4>
<pre>public static void serializeExplicitOffset(int offset,
java.lang.StringBuffer buff)</pre>
<div class="block">Serialize time zone offset to buffer. Time zone offset values are always
formatted in W3C XML Schema standard format as +/-hh:mm (even if the
offset is zero).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>offset</code> - milliseconds to be subtracted to get UTC from local time</dd><dd><code>buff</code> - buffer for appending time text</dd></dl>
</li>
</ul>
<a name="serializeOffset(int, java.lang.StringBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeOffset</h4>
<pre>public static void serializeOffset(int offset,
java.lang.StringBuffer buff)</pre>
<div class="block">Serialize time zone offset to buffer. Time zone offset values are
formatted in W3C XML Schema standard format as +/-hh:mm, with 'Z' used if
the offset is zero.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>offset</code> - milliseconds to be subtracted to get UTC from local time</dd><dd><code>buff</code> - buffer for appending time text</dd></dl>
</li>
</ul>
<a name="serializeTime(int, java.lang.StringBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeTime</h4>
<pre>public static void serializeTime(int time,
java.lang.StringBuffer buff)</pre>
<div class="block">Serialize time to general time text in buffer. Time values are formatted
in W3C XML Schema standard format as hh:mm:ss, with optional trailing
seconds decimal, as necessary. This form uses a supplied buffer to
support flexible use, including with dateTime combination values.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>time</code> - time to be converted, as milliseconds in day</dd><dd><code>buff</code> - buffer for appending time text</dd></dl>
</li>
</ul>
<a name="serializeDateTime(long, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeDateTime</h4>
<pre>public static java.lang.String serializeDateTime(long time,
boolean zone)</pre>
<div class="block">Serialize time to general dateTime text. Date values are formatted in
W3C XML Schema standard format as CCYY-MM-DDThh:mm:ss, with optional
leading sign and trailing seconds decimal, as necessary.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>time</code> - time to be converted, as milliseconds from January 1, 1970</dd><dd><code>zone</code> - flag for trailing 'Z' to be appended to indicate UTC</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted dateTime text</dd></dl>
</li>
</ul>
<a name="serializeDateTime(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeDateTime</h4>
<pre>public static java.lang.String serializeDateTime(long time)</pre>
<div class="block">Serialize time to general dateTime text. This method is provided for
backward compatibility. It generates the dateTime text without the
trailing 'Z' to indicate UTC.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>time</code> - time to be converted, as milliseconds from January 1, 1970</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted dateTime text</dd></dl>
</li>
</ul>
<a name="serializeDateTime(java.util.Date)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeDateTime</h4>
<pre>public static java.lang.String serializeDateTime(java.util.Date date)</pre>
<div class="block">Serialize date to general dateTime text. Date values are formatted in
W3C XML Schema standard format as CCYY-MM-DDThh:mm:ssZ, with optional
leading sign and trailing seconds decimal, as necessary.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>date</code> - date to be converted</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted dateTime text</dd></dl>
</li>
</ul>
<a name="serializeTimestamp(java.sql.Timestamp)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeTimestamp</h4>
<pre>public static java.lang.String serializeTimestamp(java.sql.Timestamp stamp)</pre>
<div class="block">Serialize timestamp to general dateTime text. Timestamp values are
represented in the same way as regular dates, but allow more precision in
the fractional second value (down to nanoseconds).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stamp</code> - timestamp to be converted</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted dateTime text</dd></dl>
</li>
</ul>
<a name="serializeSqlTime(java.sql.Time)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeSqlTime</h4>
<pre>public static java.lang.String serializeSqlTime(java.sql.Time time)</pre>
<div class="block">Serialize time to standard text. Time values are formatted in W3C XML
Schema standard format as hh:mm:ss, with optional trailing seconds
decimal, as necessary. The standard conversion does not append a time
zone indication.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>time</code> - time to be converted</dd>
<dt><span class="strong">Returns:</span></dt><dd>converted time text</dd></dl>
</li>
</ul>
<a name="isEqual(java.lang.Object, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isEqual</h4>
<pre>public static boolean isEqual(java.lang.Object a,
java.lang.Object b)</pre>
<div class="block">General object comparison method. Don't know why Sun hasn't seen fit to
include this somewhere, but at least it's easy to write (over and over
again).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>a</code> - first object to be compared</dd><dd><code>b</code> - second object to be compared</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if both objects are <code>null</code>, or if
<code>a.equals(b)</code>; <code>false</code> otherwise</dd></dl>
</li>
</ul>
<a name="enumValue(java.lang.String, java.lang.String[], int[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enumValue</h4>
<pre>public static int enumValue(java.lang.String target,
java.lang.String[] enums,
int[] vals)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Find text value in enumeration. This first does a binary search through
an array of allowed text matches. If a separate array of corresponding
values is supplied, the value at the matched position is returned;
otherwise the match index is returned directly.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>target</code> - text to be found in enumeration</dd><dd><code>enums</code> - ordered array of texts included in enumeration</dd><dd><code>vals</code> - array of values to be returned for corresponding text match
positions (position returned directly if this is <code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd>enumeration value for target text</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - if target text not found in enumeration</dd></dl>
</li>
</ul>
<a name="parseBase64(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseBase64</h4>
<pre>public static byte[] parseBase64(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Parse base64 data from text. This converts the base64 data into a byte
array of the appopriate length. In keeping with the recommendations,</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed (may include extra characters)</dd>
<dt><span class="strong">Returns:</span></dt><dd>byte array of data</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - if invalid character in base64 representation</dd></dl>
</li>
</ul>
<a name="deserializeBase64(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deserializeBase64</h4>
<pre>public static byte[] deserializeBase64(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Parse base64 data from text. This converts the base64 data into a byte
array of the appopriate length. In keeping with the recommendations,</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - text to be parsed (may be null, or include extra characters)</dd>
<dt><span class="strong">Returns:</span></dt><dd>byte array of data</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - if invalid character in base64 representation</dd></dl>
</li>
</ul>
<a name="encodeChunk(int, byte[], java.lang.StringBuffer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>encodeChunk</h4>
<pre>public static void encodeChunk(int base,
byte[] byts,
java.lang.StringBuffer buff)</pre>
<div class="block">Encode a chunk of data to base64 encoding. Converts the next three bytes
of data into four characters of text representation, using padding at the
end of less than three bytes of data remain.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>base</code> - starting offset within byte array</dd><dd><code>byts</code> - byte data array</dd><dd><code>buff</code> - buffer for encoded text</dd></dl>
</li>
</ul>
<a name="serializeBase64(byte[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeBase64</h4>
<pre>public static java.lang.String serializeBase64(byte[] byts)</pre>
<div class="block">Serialize byte array to base64 text. In keeping with the specification,
this adds a line break every 76 characters in the encoded representation.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>byts</code> - byte data array</dd>
<dt><span class="strong">Returns:</span></dt><dd>base64 encoded text</dd></dl>
</li>
</ul>
<a name="resizeArray(int, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resizeArray</h4>
<pre>public static java.lang.Object resizeArray(int size,
java.lang.Object base)</pre>
<div class="block">Resize array of arbitrary type.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>size</code> - new aray size</dd><dd><code>base</code> - array to be resized</dd>
<dt><span class="strong">Returns:</span></dt><dd>resized array, with all data to minimum of the two sizes copied</dd></dl>
</li>
</ul>
<a name="growArray(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>growArray</h4>
<pre>public static java.lang.Object growArray(java.lang.Object base)</pre>
<div class="block">Grow array of arbitrary type. The returned array is double the size of
the original array, providing this is at least the defined minimum size.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>base</code> - array to be grown</dd>
<dt><span class="strong">Returns:</span></dt><dd>array of twice the size as original array, with all data copied</dd></dl>
</li>
</ul>
<a name="arrayListFactory()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>arrayListFactory</h4>
<pre>public static java.util.List arrayListFactory()</pre>
<div class="block">Factory method to create a <code>java.util.ArrayList</code> as the
implementation of a <code>java.util.List</code>.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>new <code>java.util.ArrayList</code></dd></dl>
</li>
</ul>
<a name="deserializeList(java.lang.String, org.jibx.runtime.IListItemDeserializer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deserializeList</h4>
<pre>public static java.util.ArrayList deserializeList(java.lang.String text,
<a href="../../../org/jibx/runtime/IListItemDeserializer.html" title="interface in org.jibx.runtime">IListItemDeserializer</a> ideser)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Convert whitespace-separated list of values. This implements the
whitespace skipping, calling the supplied item deserializer for handling
each individual value.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - value to be converted</dd><dd><code>ideser</code> - list item deserializer</dd>
<dt><span class="strong">Returns:</span></dt><dd>list of deserialized items (<code>null</code> if input
<code>null</code>, or if nonrecoverable error)</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - if error in deserializing text</dd></dl>
</li>
</ul>
<a name="deserializeTokenList(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deserializeTokenList</h4>
<pre>public static java.lang.String[] deserializeTokenList(java.lang.String text)
throws <a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></pre>
<div class="block">Deserialize a list of whitespace-separated tokens into an array of
strings.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - value text</dd>
<dt><span class="strong">Returns:</span></dt><dd>created class instance</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</a></code> - on error in marshalling</dd></dl>
</li>
</ul>
<a name="serializeTokenList(java.lang.String[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serializeTokenList</h4>
<pre>public static java.lang.String serializeTokenList(java.lang.String[] tokens)</pre>
<div class="block">Serialize an array of strings into a whitespace-separated token list.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tokens</code> - array of strings to be serialized</dd>
<dt><span class="strong">Returns:</span></dt><dd>list text</dd></dl>
</li>
</ul>
<a name="safeEquals(java.lang.Object, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>safeEquals</h4>
<pre>public static boolean safeEquals(java.lang.Object a,
java.lang.Object b)</pre>
<div class="block">Safe equals test. This does an equals comparison for objects which may be
<code>null</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>a</code> - </dd><dd><code>b</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if both <code>null</code> or a.equals(b),
<code>false</code> otherwise</dd></dl>
</li>
</ul>
<a name="ifEqualSubstring(java.lang.String, java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ifEqualSubstring</h4>
<pre>public static boolean ifEqualSubstring(java.lang.String match,
java.lang.String text,
int offset)</pre>
<div class="block">Check if a substring matches a supplied value.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>match</code> - comparison text</dd><dd><code>text</code> - string to be compared</dd><dd><code>offset</code> - starting offset for comparison</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if substring match, <code>false</code> if not</dd></dl>
</li>
</ul>
<a name="ifInIntegerRange(java.lang.String, int, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ifInIntegerRange</h4>
<pre>public static boolean ifInIntegerRange(java.lang.String text,
int digitmax,
java.lang.String abslimit)</pre>
<div class="block">Check if a text string is a valid integer subtype representation.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - (non-<code>null</code>)</dd><dd><code>digitmax</code> - maximum number of digits allowed</dd><dd><code>abslimit</code> - largest absolute value allowed (<code>null</code> if no
limit)</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if valid representation, <code>false</code> if
not</dd></dl>
</li>
</ul>
<a name="ifByte(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ifByte</h4>
<pre>public static boolean ifByte(java.lang.String text)</pre>
<div class="block">Check if a text string is a valid byte representation.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - (non-<code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if valid byte, <code>false</code> if not</dd></dl>
</li>
</ul>
<a name="ifShort(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ifShort</h4>
<pre>public static boolean ifShort(java.lang.String text)</pre>
<div class="block">Check if a text string is a valid short representation.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - (non-<code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if valid short, <code>false</code> if not</dd></dl>
</li>
</ul>
<a name="ifInt(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ifInt</h4>
<pre>public static boolean ifInt(java.lang.String text)</pre>
<div class="block">Check if a text string is a valid int representation.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - (non-<code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if valid int, <code>false</code> if not</dd></dl>
</li>
</ul>
<a name="ifLong(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ifLong</h4>
<pre>public static boolean ifLong(java.lang.String text)</pre>
<div class="block">Check if a text string is a valid long representation.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - (non-<code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if valid long, <code>false</code> if not</dd></dl>
</li>
</ul>
<a name="ifInteger(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ifInteger</h4>
<pre>public static boolean ifInteger(java.lang.String text)</pre>
<div class="block">Check if a text string is a valid integer representation.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - (non-<code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if valid integer, <code>false</code> if not</dd></dl>
</li>
</ul>
<a name="ifDigits(java.lang.String, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ifDigits</h4>
<pre>public static boolean ifDigits(java.lang.String text,
int offset,
int limit)</pre>
<div class="block">Check if a portion of a text string consists of decimal digits.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - </dd><dd><code>offset</code> - starting offset</dd><dd><code>limit</code> - ending offset plus one (<code>false</code> return if the
text length is less than this value)</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if digits, <code>false</code> if not</dd></dl>
</li>
</ul>
<a name="ifDecimal(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ifDecimal</h4>
<pre>public static boolean ifDecimal(java.lang.String text)</pre>
<div class="block">Check if a text string is a valid decimal representation.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - (non-<code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if valid decimal, <code>false</code> if not</dd></dl>
</li>
</ul>
<a name="ifFixedDigits(java.lang.String, int, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ifFixedDigits</h4>
<pre>public static boolean ifFixedDigits(java.lang.String text,
int offset,
java.lang.String bound)</pre>
<div class="block">Check if a portion of a text string is a bounded string of decimal
digits. This is used for checking fixed-length decimal fields with a
maximum value.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - </dd><dd><code>offset</code> - </dd><dd><code>bound</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if bounded decimal, <code>false</code> if not</dd></dl>
</li>
</ul>
<a name="ifZoneSuffix(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ifZoneSuffix</h4>
<pre>public static boolean ifZoneSuffix(java.lang.String text,
int offset)</pre>
<div class="block">Check if a text string ends with a valid zone suffix. This accepts an
empty suffix, the single letter 'Z', or an offset of +/-HH:MM.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - </dd><dd><code>offset</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if valid suffix, <code>false</code> if not</dd></dl>
</li>
</ul>
<a name="ifDate(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ifDate</h4>
<pre>public static boolean ifDate(java.lang.String text)</pre>
<div class="block">Check if a text string follows the schema date format. This does not
assure that the text string is actually a valid date representation,
since it doesn't fully check the value ranges (such as the day number
range for a particular month).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - (non-<code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if date format, <code>false</code> if not</dd></dl>
</li>
</ul>
<a name="ifTimeSuffix(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ifTimeSuffix</h4>
<pre>public static boolean ifTimeSuffix(java.lang.String text,
int offset)</pre>
<div class="block">Check if a text string ends with a valid time suffix. This matches the
format HH:MM:SS with optional training fractional seconds and optional
time zone.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - </dd><dd><code>offset</code> - </dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if valid suffix, <code>false</code> if not</dd></dl>
</li>
</ul>
<a name="ifDateTime(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ifDateTime</h4>
<pre>public static boolean ifDateTime(java.lang.String text)</pre>
<div class="block">Check if a text string follows the schema dateTime format. This does not
assure that the text string is actually a valid dateTime representation,
since it doesn't fully check the value ranges (such as the day number
range for a particular month).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - (non-<code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if date format, <code>false</code> if not</dd></dl>
</li>
</ul>
<a name="ifTime(java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ifTime</h4>
<pre>public static boolean ifTime(java.lang.String text)</pre>
<div class="block">Check if a text string follows the schema dateTime format. This does not
assure that the text string is actually a valid dateTime representation,
since it doesn't fully check the value ranges (such as the day number
range for a particular month).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - (non-<code>null</code>)</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if date format, <code>false</code> if not</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/jibx/runtime/UnrecoverableException.html" title="class in org.jibx.runtime"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/jibx/runtime/ValidationException.html" title="class in org.jibx.runtime"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/jibx/runtime/Utility.html" target="_top">Frames</a></li>
<li><a href="Utility.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><table width='80%%'><tr><td width='50%%'><p align='center'><a href='http://www.jibx.org/' target='_top'><font size='3'><b>Project Web Site</b></font></a></td><td width='50%%'><p align='center'></td></tr></table></small></p>
</body>
</html>
|