File: Utility.html

package info (click to toggle)
libjibx-java 1.0.1-2
  • links: PTS
  • area: contrib
  • in suites: lenny
  • size: 15,748 kB
  • ctags: 10,069
  • sloc: java: 29,151; xml: 7,963; makefile: 14
file content (2136 lines) | stat: -rw-r--r-- 89,097 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_03) on Fri Jan 25 23:29:23 CET 2008 -->
<TITLE>
Utility (JiBX Java data binding to XML - Version 1.0)
</TITLE>

<META NAME="date" CONTENT="2008-01-25">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="Utility (JiBX Java data binding to XML - Version 1.0)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../org/jibx/runtime/UnrecoverableException.html" title="class in org.jibx.runtime"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../org/jibx/runtime/ValidationException.html" title="class in org.jibx.runtime"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?org/jibx/runtime/Utility.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Utility.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.jibx.runtime</FONT>
<BR>
Class Utility</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.jibx.runtime.Utility</B>
</PRE>
<HR>
<DL>
<DT><PRE>public abstract class <B>Utility</B><DT>extends java.lang.Object</DL>
</PRE>

<P>
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.
<P>

<P>
<DL>
<DT><B>Version:</B></DT>
  <DD>1.0</DD>
<DT><B>Author:</B></DT>
  <DD>Dennis M. Sosnoski</DD>
</DL>
<HR>

<P>
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;java.util.Date</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#BEGINNING_OF_TIME">BEGINNING_OF_TIME</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Date for setting change to Gregorian calendar.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;long[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#BIAS_MONTHMS">BIAS_MONTHMS</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Millisecond count prior to start of month in March 1-biased year.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#LMSPERDAY">LMSPERDAY</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Number of milliseconds in a day as a long.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#MINIMUM_GROWN_ARRAY_SIZE">MINIMUM_GROWN_ARRAY_SIZE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Minimum size for array returned by <A HREF="../../../org/jibx/runtime/Utility.html#growArray(java.lang.Object)"><CODE>growArray(java.lang.Object)</CODE></A>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#MONTHS_LEAP">MONTHS_LEAP</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Day number for start of month in non-leap year.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#MONTHS_NONLEAP">MONTHS_NONLEAP</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Day number for start of month in non-leap year.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#MSPERAVGYEAR">MSPERAVGYEAR</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Average number of milliseconds in a year within century.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#MSPERCENTURY">MSPERCENTURY</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Number of milliseconds in a normal century.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#MSPERDAY">MSPERDAY</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Number of milliseconds in a day.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#MSPERHOUR">MSPERHOUR</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Number of milliseconds in an hour.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#MSPERMINUTE">MSPERMINUTE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Number of milliseconds in a minute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#MSPERYEAR">MSPERYEAR</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Number of milliseconds in a (non-leap) year.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;char</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#PAD_CHAR">PAD_CHAR</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pad character for base64 encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;char[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#s_base64Chars">s_base64Chars</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Characters used in base64 encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#s_base64Values">s_base64Values</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Values corresponding to characters used in bas64 encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#TIME_BASE">TIME_BASE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Millisecond value of base time for internal representation.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#Utility()">Utility</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.List</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#arrayListFactory()">arrayListFactory</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Factory method to create a <code>java.util.ArrayList</code> as the
 implementation of a <code>java.util.List</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#decodeChunk(int, char[], int, byte[])">decodeChunk</A></B>(int&nbsp;base,
            char[]&nbsp;chrs,
            int&nbsp;fill,
            byte[]&nbsp;byts)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Decode a chunk of data from base64 encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#deserializeBase64(java.lang.String)">deserializeBase64</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse base64 data from text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;char</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#deserializeCharString(java.lang.String)">deserializeCharString</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize char value from text as character value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.Date</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#deserializeDate(java.lang.String)">deserializeDate</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize date from text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.util.Date</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#deserializeDateTime(java.lang.String)">deserializeDateTime</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize date from general dateTime text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.sql.Date</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#deserializeSqlDate(java.lang.String)">deserializeSqlDate</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize SQL date from text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.sql.Time</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#deserializeSqlTime(java.lang.String)">deserializeSqlTime</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize time from text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.sql.Timestamp</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#deserializeTimestamp(java.lang.String)">deserializeTimestamp</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deserialize timestamp from general dateTime text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#encodeChunk(int, byte[], java.lang.StringBuffer)">encodeChunk</A></B>(int&nbsp;base,
            byte[]&nbsp;byts,
            java.lang.StringBuffer&nbsp;buff)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encode a chunk of data to base64 encoding.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#enumValue(java.lang.String, java.lang.String[], int[])">enumValue</A></B>(java.lang.String&nbsp;target,
          java.lang.String[]&nbsp;enums,
          int[]&nbsp;vals)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Find text value in enumeration.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#formatTwoDigits(int, java.lang.StringBuffer)">formatTwoDigits</A></B>(int&nbsp;value,
                java.lang.StringBuffer&nbsp;buff)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Format a positive number as two digits.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#formatYear(long, java.lang.StringBuffer)">formatYear</A></B>(long&nbsp;value,
           java.lang.StringBuffer&nbsp;buff)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Format time in milliseconds to year number.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#formatYearMonth(long, java.lang.StringBuffer)">formatYearMonth</A></B>(long&nbsp;value,
                java.lang.StringBuffer&nbsp;buff)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Format time in milliseconds to year number and month number.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#formatYearMonthDay(long, java.lang.StringBuffer)">formatYearMonthDay</A></B>(long&nbsp;value,
                   java.lang.StringBuffer&nbsp;buff)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Format time in milliseconds to year number, month number, and day
 number.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#formatYearNumber(long, java.lang.StringBuffer)">formatYearNumber</A></B>(long&nbsp;year,
                 java.lang.StringBuffer&nbsp;buff)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Format year number consistent with W3C XML Schema definitions, using a
 minimum of four digits padded with zeros if necessary.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#growArray(java.lang.Object)">growArray</A></B>(java.lang.Object&nbsp;base)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Grow array of arbitrary type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#isEqual(java.lang.Object, java.lang.Object)">isEqual</A></B>(java.lang.Object&nbsp;a,
        java.lang.Object&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;General object comparison method.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseBase64(java.lang.String)">parseBase64</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse base64 data from text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseBoolean(java.lang.String)">parseBoolean</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse boolean value from text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseByte(java.lang.String)">parseByte</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse byte value from text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;char</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseChar(java.lang.String)">parseChar</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse char value from text as unsigned 16-bit integer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;char</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseCharString(java.lang.String)">parseCharString</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse char value from text as character value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseDate(java.lang.String)">parseDate</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert date text to Java date.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseDateTime(java.lang.String)">parseDateTime</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse general dateTime value from text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseDigits(java.lang.String, int, int)">parseDigits</A></B>(java.lang.String&nbsp;text,
            int&nbsp;offset,
            int&nbsp;length)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse digits in text as integer value.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseDouble(java.lang.String)">parseDouble</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse double value from text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseFloat(java.lang.String)">parseFloat</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse float value from text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseInt(java.lang.String)">parseInt</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse integer value from text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseLong(java.lang.String)">parseLong</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse long value from text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;short</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseShort(java.lang.String)">parseShort</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse short value from text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseTime(java.lang.String, int, int)">parseTime</A></B>(java.lang.String&nbsp;text,
          int&nbsp;start,
          int&nbsp;length)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse general time value from text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseYear(java.lang.String)">parseYear</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert gYear text to Java date.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#parseYearMonth(java.lang.String)">parseYearMonth</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convert gYearMonth text to Java date.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#resizeArray(int, java.lang.Object)">resizeArray</A></B>(int&nbsp;size,
            java.lang.Object&nbsp;base)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resize array of arbitrary type.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeBase64(byte[])">serializeBase64</A></B>(byte[]&nbsp;byts)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize byte array to base64 text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeBoolean(boolean)">serializeBoolean</A></B>(boolean&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize boolean value to text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeByte(byte)">serializeByte</A></B>(byte&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize byte value to text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeChar(char)">serializeChar</A></B>(char&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize char value to text as unsigned 16-bit integer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeCharString(char)">serializeCharString</A></B>(char&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize char value to text as string of length one.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeDate(java.util.Date)">serializeDate</A></B>(java.util.Date&nbsp;date)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize date to general date text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeDate(long)">serializeDate</A></B>(long&nbsp;time)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize time to general date text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeDateTime(java.util.Date)">serializeDateTime</A></B>(java.util.Date&nbsp;date)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize date to general dateTime text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeDateTime(long)">serializeDateTime</A></B>(long&nbsp;time)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize time to general dateTime text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeDateTime(long, boolean)">serializeDateTime</A></B>(long&nbsp;time,
                  boolean&nbsp;zone)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize time to general dateTime text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeDouble(double)">serializeDouble</A></B>(double&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize double value to text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeFloat(float)">serializeFloat</A></B>(float&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize float value to text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeInt(int)">serializeInt</A></B>(int&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize int value to text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeLong(long)">serializeLong</A></B>(long&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize long value to text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeShort(short)">serializeShort</A></B>(short&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize short value to text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeSqlDate(java.sql.Date)">serializeSqlDate</A></B>(java.sql.Date&nbsp;date)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize SQL date to general date text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeSqlTime(java.sql.Time)">serializeSqlTime</A></B>(java.sql.Time&nbsp;time)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize time to standard text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeTime(int, java.lang.StringBuffer)">serializeTime</A></B>(int&nbsp;time,
              java.lang.StringBuffer&nbsp;buff)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize time to general time text in buffer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeTimestamp(java.sql.Timestamp)">serializeTimestamp</A></B>(java.sql.Timestamp&nbsp;stamp)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize timestamp to general dateTime text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeYear(java.util.Date)">serializeYear</A></B>(java.util.Date&nbsp;date)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize date to general gYear text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeYear(long)">serializeYear</A></B>(long&nbsp;time)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize time to general gYear text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeYearMonth(java.util.Date)">serializeYearMonth</A></B>(java.util.Date&nbsp;date)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize date to general gYearMonth text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#serializeYearMonth(long)">serializeYearMonth</A></B>(long&nbsp;time)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serialize time to general gYearMonth text.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../org/jibx/runtime/Utility.html#validateDate(java.lang.String)">validateDate</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Validate a date text string.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="MINIMUM_GROWN_ARRAY_SIZE"><!-- --></A><H3>
MINIMUM_GROWN_ARRAY_SIZE</H3>
<PRE>
public static final int <B>MINIMUM_GROWN_ARRAY_SIZE</B></PRE>
<DL>
<DD>Minimum size for array returned by <A HREF="../../../org/jibx/runtime/Utility.html#growArray(java.lang.Object)"><CODE>growArray(java.lang.Object)</CODE></A>.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jibx.runtime.Utility.MINIMUM_GROWN_ARRAY_SIZE">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="MSPERMINUTE"><!-- --></A><H3>
MSPERMINUTE</H3>
<PRE>
private static final int <B>MSPERMINUTE</B></PRE>
<DL>
<DD>Number of milliseconds in a minute.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jibx.runtime.Utility.MSPERMINUTE">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="MSPERHOUR"><!-- --></A><H3>
MSPERHOUR</H3>
<PRE>
private static final int <B>MSPERHOUR</B></PRE>
<DL>
<DD>Number of milliseconds in an hour.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jibx.runtime.Utility.MSPERHOUR">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="MSPERDAY"><!-- --></A><H3>
MSPERDAY</H3>
<PRE>
private static final int <B>MSPERDAY</B></PRE>
<DL>
<DD>Number of milliseconds in a day.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jibx.runtime.Utility.MSPERDAY">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="LMSPERDAY"><!-- --></A><H3>
LMSPERDAY</H3>
<PRE>
private static final long <B>LMSPERDAY</B></PRE>
<DL>
<DD>Number of milliseconds in a day as a long.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jibx.runtime.Utility.LMSPERDAY">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="MSPERYEAR"><!-- --></A><H3>
MSPERYEAR</H3>
<PRE>
private static final long <B>MSPERYEAR</B></PRE>
<DL>
<DD>Number of milliseconds in a (non-leap) year.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jibx.runtime.Utility.MSPERYEAR">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="MSPERAVGYEAR"><!-- --></A><H3>
MSPERAVGYEAR</H3>
<PRE>
private static final long <B>MSPERAVGYEAR</B></PRE>
<DL>
<DD>Average number of milliseconds in a year within century.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jibx.runtime.Utility.MSPERAVGYEAR">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="MSPERCENTURY"><!-- --></A><H3>
MSPERCENTURY</H3>
<PRE>
private static final long <B>MSPERCENTURY</B></PRE>
<DL>
<DD>Number of milliseconds in a normal century.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jibx.runtime.Utility.MSPERCENTURY">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="TIME_BASE"><!-- --></A><H3>
TIME_BASE</H3>
<PRE>
private static final long <B>TIME_BASE</B></PRE>
<DL>
<DD>Millisecond value of base time for internal representation. This gives
     the bias relative to January 1 of the year 1 C.E.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jibx.runtime.Utility.TIME_BASE">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="MONTHS_NONLEAP"><!-- --></A><H3>
MONTHS_NONLEAP</H3>
<PRE>
private static final int[] <B>MONTHS_NONLEAP</B></PRE>
<DL>
<DD>Day number for start of month in non-leap year.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="MONTHS_LEAP"><!-- --></A><H3>
MONTHS_LEAP</H3>
<PRE>
private static final int[] <B>MONTHS_LEAP</B></PRE>
<DL>
<DD>Day number for start of month in non-leap year.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="BIAS_MONTHMS"><!-- --></A><H3>
BIAS_MONTHMS</H3>
<PRE>
private static final long[] <B>BIAS_MONTHMS</B></PRE>
<DL>
<DD>Millisecond count prior to start of month in March 1-biased year.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="BEGINNING_OF_TIME"><!-- --></A><H3>
BEGINNING_OF_TIME</H3>
<PRE>
private static java.util.Date <B>BEGINNING_OF_TIME</B></PRE>
<DL>
<DD>Date for setting change to Gregorian calendar.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="PAD_CHAR"><!-- --></A><H3>
PAD_CHAR</H3>
<PRE>
private static final char <B>PAD_CHAR</B></PRE>
<DL>
<DD>Pad character for base64 encoding.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jibx.runtime.Utility.PAD_CHAR">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="s_base64Chars"><!-- --></A><H3>
s_base64Chars</H3>
<PRE>
private static final char[] <B>s_base64Chars</B></PRE>
<DL>
<DD>Characters used in base64 encoding.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="s_base64Values"><!-- --></A><H3>
s_base64Values</H3>
<PRE>
private static final byte[] <B>s_base64Values</B></PRE>
<DL>
<DD>Values corresponding to characters used in bas64 encoding.
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="Utility()"><!-- --></A><H3>
Utility</H3>
<PRE>
public <B>Utility</B>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="parseDigits(java.lang.String, int, int)"><!-- --></A><H3>
parseDigits</H3>
<PRE>
private static int <B>parseDigits</B>(java.lang.String&nbsp;text,
                               int&nbsp;offset,
                               int&nbsp;length)
                        throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>Parse digits in text as integer value. This internal method is used
 for number values embedded within lexical structures. Only decimal
 digits can be included in the text range parsed.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed<DD><CODE>offset</CODE> - starting offset in text<DD><CODE>length</CODE> - number of digits to be parsed
<DT><B>Returns:</B><DD>converted positive integer value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="parseInt(java.lang.String)"><!-- --></A><H3>
parseInt</H3>
<PRE>
public static int <B>parseInt</B>(java.lang.String&nbsp;text)
                    throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>Parse integer value from text. Integer values are parsed with optional
 leading sign flag, followed by any number of digits.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed
<DT><B>Returns:</B><DD>converted integer value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeInt(int)"><!-- --></A><H3>
serializeInt</H3>
<PRE>
public static java.lang.String <B>serializeInt</B>(int&nbsp;value)</PRE>
<DL>
<DD>Serialize int value to text.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - int value to be serialized
<DT><B>Returns:</B><DD>text representation of value</DL>
</DD>
</DL>
<HR>

<A NAME="parseLong(java.lang.String)"><!-- --></A><H3>
parseLong</H3>
<PRE>
public static long <B>parseLong</B>(java.lang.String&nbsp;text)
                      throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>Parse long value from text. Long values are parsed with optional
 leading sign flag, followed by any number of digits.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed
<DT><B>Returns:</B><DD>converted long value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeLong(long)"><!-- --></A><H3>
serializeLong</H3>
<PRE>
public static java.lang.String <B>serializeLong</B>(long&nbsp;value)</PRE>
<DL>
<DD>Serialize long value to text.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - long value to be serialized
<DT><B>Returns:</B><DD>text representation of value</DL>
</DD>
</DL>
<HR>

<A NAME="parseYear(java.lang.String)"><!-- --></A><H3>
parseYear</H3>
<PRE>
public static long <B>parseYear</B>(java.lang.String&nbsp;text)
                      throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>Convert gYear text to Java date. Date values are expected to be in
 W3C XML Schema standard format as CCYY, with optional leading sign.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed
<DT><B>Returns:</B><DD>start of year date as millisecond value from 1 C.E.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="parseShort(java.lang.String)"><!-- --></A><H3>
parseShort</H3>
<PRE>
public static short <B>parseShort</B>(java.lang.String&nbsp;text)
                        throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>Parse short value from text. Short values are parsed with optional
 leading sign flag, followed by any number of digits.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed
<DT><B>Returns:</B><DD>converted short value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeShort(short)"><!-- --></A><H3>
serializeShort</H3>
<PRE>
public static java.lang.String <B>serializeShort</B>(short&nbsp;value)</PRE>
<DL>
<DD>Serialize short value to text.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - short value to be serialized
<DT><B>Returns:</B><DD>text representation of value</DL>
</DD>
</DL>
<HR>

<A NAME="parseByte(java.lang.String)"><!-- --></A><H3>
parseByte</H3>
<PRE>
public static byte <B>parseByte</B>(java.lang.String&nbsp;text)
                      throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>Parse byte value from text. Byte values are parsed with optional
 leading sign flag, followed by any number of digits.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed
<DT><B>Returns:</B><DD>converted byte value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeByte(byte)"><!-- --></A><H3>
serializeByte</H3>
<PRE>
public static java.lang.String <B>serializeByte</B>(byte&nbsp;value)</PRE>
<DL>
<DD>Serialize byte value to text.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - byte value to be serialized
<DT><B>Returns:</B><DD>text representation of value</DL>
</DD>
</DL>
<HR>

<A NAME="parseBoolean(java.lang.String)"><!-- --></A><H3>
parseBoolean</H3>
<PRE>
public static boolean <B>parseBoolean</B>(java.lang.String&nbsp;text)
                            throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>Parse boolean value from text. Boolean values are parsed as either text
 "true" and "false", or "1" and "0" numeric equivalents.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed
<DT><B>Returns:</B><DD>converted boolean value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeBoolean(boolean)"><!-- --></A><H3>
serializeBoolean</H3>
<PRE>
public static java.lang.String <B>serializeBoolean</B>(boolean&nbsp;value)</PRE>
<DL>
<DD>Serialize boolean value to text. This serializes the value using the
 text representation as "true" or "false".
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - boolean value to be serialized
<DT><B>Returns:</B><DD>text representation of value</DL>
</DD>
</DL>
<HR>

<A NAME="parseChar(java.lang.String)"><!-- --></A><H3>
parseChar</H3>
<PRE>
public static char <B>parseChar</B>(java.lang.String&nbsp;text)
                      throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed
<DT><B>Returns:</B><DD>converted char value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeChar(char)"><!-- --></A><H3>
serializeChar</H3>
<PRE>
public static java.lang.String <B>serializeChar</B>(char&nbsp;value)</PRE>
<DL>
<DD>Serialize char value to text as unsigned 16-bit integer.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - char value to be serialized
<DT><B>Returns:</B><DD>text representation of value</DL>
</DD>
</DL>
<HR>

<A NAME="parseCharString(java.lang.String)"><!-- --></A><H3>
parseCharString</H3>
<PRE>
public static char <B>parseCharString</B>(java.lang.String&nbsp;text)
                            throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>Parse char value from text as character value. This requires that the
 string must be of length one.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed
<DT><B>Returns:</B><DD>converted char value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="deserializeCharString(java.lang.String)"><!-- --></A><H3>
deserializeCharString</H3>
<PRE>
public static char <B>deserializeCharString</B>(java.lang.String&nbsp;text)
                                  throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>Deserialize char value from text as character value. This requires that
 the string must be null or of length one.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed (may be <code>null</code>)
<DT><B>Returns:</B><DD>converted char value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeCharString(char)"><!-- --></A><H3>
serializeCharString</H3>
<PRE>
public static java.lang.String <B>serializeCharString</B>(char&nbsp;value)</PRE>
<DL>
<DD>Serialize char value to text as string of length one.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - char value to be serialized
<DT><B>Returns:</B><DD>text representation of value</DL>
</DD>
</DL>
<HR>

<A NAME="parseFloat(java.lang.String)"><!-- --></A><H3>
parseFloat</H3>
<PRE>
public static float <B>parseFloat</B>(java.lang.String&nbsp;text)
                        throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed
<DT><B>Returns:</B><DD>converted float value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeFloat(float)"><!-- --></A><H3>
serializeFloat</H3>
<PRE>
public static java.lang.String <B>serializeFloat</B>(float&nbsp;value)</PRE>
<DL>
<DD>Serialize float value to text.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - float value to be serialized
<DT><B>Returns:</B><DD>text representation of value</DL>
</DD>
</DL>
<HR>

<A NAME="parseDouble(java.lang.String)"><!-- --></A><H3>
parseDouble</H3>
<PRE>
public static double <B>parseDouble</B>(java.lang.String&nbsp;text)
                          throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed
<DT><B>Returns:</B><DD>converted double value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeDouble(double)"><!-- --></A><H3>
serializeDouble</H3>
<PRE>
public static java.lang.String <B>serializeDouble</B>(double&nbsp;value)</PRE>
<DL>
<DD>Serialize double value to text.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - double value to be serialized
<DT><B>Returns:</B><DD>text representation of value</DL>
</DD>
</DL>
<HR>

<A NAME="parseYearMonth(java.lang.String)"><!-- --></A><H3>
parseYearMonth</H3>
<PRE>
public static long <B>parseYearMonth</B>(java.lang.String&nbsp;text)
                           throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed
<DT><B>Returns:</B><DD>start of month in year date as millisecond value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="parseDate(java.lang.String)"><!-- --></A><H3>
parseDate</H3>
<PRE>
public static long <B>parseDate</B>(java.lang.String&nbsp;text)
                      throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed
<DT><B>Returns:</B><DD>start of day in month and year date as millisecond value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="deserializeDate(java.lang.String)"><!-- --></A><H3>
deserializeDate</H3>
<PRE>
public static java.util.Date <B>deserializeDate</B>(java.lang.String&nbsp;text)
                                      throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>Deserialize date from text. Date values are expected to match W3C XML
 Schema standard format as CCYY-MM-DD, with optional leading minus sign
 if necessary. This method follows standard JiBX deserializer usage
 requirements by accepting a <code>null</code> input.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed (may be <code>null</code>)
<DT><B>Returns:</B><DD>converted date, or <code>null</code> if passed <code>null</code>
 input
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="validateDate(java.lang.String)"><!-- --></A><H3>
validateDate</H3>
<PRE>
private static int <B>validateDate</B>(java.lang.String&nbsp;text)
                         throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>Validate a date text string.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - 
<DT><B>Returns:</B><DD>offset past end of year in text
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on validation error</DL>
</DD>
</DL>
<HR>

<A NAME="deserializeSqlDate(java.lang.String)"><!-- --></A><H3>
deserializeSqlDate</H3>
<PRE>
public static java.sql.Date <B>deserializeSqlDate</B>(java.lang.String&nbsp;text)
                                        throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>Deserialize SQL date from text. Date values are expected to match W3C XML
 Schema standard format as CCYY-MM-DD, with optional leading minus sign
 if necessary. This method follows standard JiBX deserializer usage
 requirements by accepting a <code>null</code> input.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed (may be <code>null</code>)
<DT><B>Returns:</B><DD>converted date, or <code>null</code> if passed <code>null</code>
 input
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="parseTime(java.lang.String, int, int)"><!-- --></A><H3>
parseTime</H3>
<PRE>
public static long <B>parseTime</B>(java.lang.String&nbsp;text,
                             int&nbsp;start,
                             int&nbsp;length)
                      throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed<DD><CODE>start</CODE> - offset of first character of time value<DD><CODE>length</CODE> - number of characters in time value
<DT><B>Returns:</B><DD>converted time as millisecond value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="parseDateTime(java.lang.String)"><!-- --></A><H3>
parseDateTime</H3>
<PRE>
public static long <B>parseDateTime</B>(java.lang.String&nbsp;text)
                          throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed
<DT><B>Returns:</B><DD>converted date as millisecond value
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="deserializeDateTime(java.lang.String)"><!-- --></A><H3>
deserializeDateTime</H3>
<PRE>
public static java.util.Date <B>deserializeDateTime</B>(java.lang.String&nbsp;text)
                                          throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed (may be <code>null</code>)
<DT><B>Returns:</B><DD>converted date, or <code>null</code> if passed <code>null</code>
 input
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="deserializeTimestamp(java.lang.String)"><!-- --></A><H3>
deserializeTimestamp</H3>
<PRE>
public static java.sql.Timestamp <B>deserializeTimestamp</B>(java.lang.String&nbsp;text)
                                               throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed (may be <code>null</code>)
<DT><B>Returns:</B><DD>converted timestamp, or <code>null</code> if passed
 <code>null</code> input
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="deserializeSqlTime(java.lang.String)"><!-- --></A><H3>
deserializeSqlTime</H3>
<PRE>
public static java.sql.Time <B>deserializeSqlTime</B>(java.lang.String&nbsp;text)
                                        throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed (may be <code>null</code>)
<DT><B>Returns:</B><DD>converted time, or <code>null</code> if passed <code>null</code>
 input
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on parse error</DL>
</DD>
</DL>
<HR>

<A NAME="formatYearNumber(long, java.lang.StringBuffer)"><!-- --></A><H3>
formatYearNumber</H3>
<PRE>
protected static void <B>formatYearNumber</B>(long&nbsp;year,
                                       java.lang.StringBuffer&nbsp;buff)</PRE>
<DL>
<DD>Format year number consistent with W3C XML Schema definitions, using a
 minimum of four digits padded with zeros if necessary. A leading minus
 sign is included for years prior to 1 C.E.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>year</CODE> - number to be formatted<DD><CODE>buff</CODE> - text formatting buffer</DL>
</DD>
</DL>
<HR>

<A NAME="formatTwoDigits(int, java.lang.StringBuffer)"><!-- --></A><H3>
formatTwoDigits</H3>
<PRE>
protected static void <B>formatTwoDigits</B>(int&nbsp;value,
                                      java.lang.StringBuffer&nbsp;buff)</PRE>
<DL>
<DD>Format a positive number as two digits. This uses an optional leading
 zero digit for values less than ten.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - number to be formatted (<code>0</code> to <code>99</code>)<DD><CODE>buff</CODE> - text formatting buffer</DL>
</DD>
</DL>
<HR>

<A NAME="formatYear(long, java.lang.StringBuffer)"><!-- --></A><H3>
formatYear</H3>
<PRE>
protected static void <B>formatYear</B>(long&nbsp;value,
                                 java.lang.StringBuffer&nbsp;buff)</PRE>
<DL>
<DD>Format time in milliseconds to year number. The resulting year number
 format is consistent with W3C XML Schema definitions, using a minimum
 of four digits padded with zeros if necessary. A leading minus sign is
 included for years prior to 1 C.E.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - time in milliseconds to be converted (from 1 C.E.)<DD><CODE>buff</CODE> - text formatting buffer</DL>
</DD>
</DL>
<HR>

<A NAME="formatYearMonth(long, java.lang.StringBuffer)"><!-- --></A><H3>
formatYearMonth</H3>
<PRE>
protected static long <B>formatYearMonth</B>(long&nbsp;value,
                                      java.lang.StringBuffer&nbsp;buff)</PRE>
<DL>
<DD>Format time in milliseconds to year number and month number. The 
 resulting year number format is consistent with W3C XML Schema
 definitions, using a minimum of four digits for the year and exactly
 two digits for the month.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - time in milliseconds to be converted (from 1 C.E.)<DD><CODE>buff</CODE> - text formatting buffer
<DT><B>Returns:</B><DD>number of milliseconds into month</DL>
</DD>
</DL>
<HR>

<A NAME="formatYearMonthDay(long, java.lang.StringBuffer)"><!-- --></A><H3>
formatYearMonthDay</H3>
<PRE>
protected static int <B>formatYearMonthDay</B>(long&nbsp;value,
                                        java.lang.StringBuffer&nbsp;buff)</PRE>
<DL>
<DD>Format time in milliseconds to year number, month number, and day
 number. The resulting year number format is consistent with W3C XML
 Schema definitions, using a minimum of four digits for the year and
 exactly two digits each for the month and day.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - time in milliseconds to be converted (from 1 C.E.)<DD><CODE>buff</CODE> - text formatting buffer
<DT><B>Returns:</B><DD>number of milliseconds into day</DL>
</DD>
</DL>
<HR>

<A NAME="serializeYear(long)"><!-- --></A><H3>
serializeYear</H3>
<PRE>
public static java.lang.String <B>serializeYear</B>(long&nbsp;time)
                                      throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>time</CODE> - time to be converted, as milliseconds from January 1, 1970
<DT><B>Returns:</B><DD>converted gYear text
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on conversion error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeYear(java.util.Date)"><!-- --></A><H3>
serializeYear</H3>
<PRE>
public static java.lang.String <B>serializeYear</B>(java.util.Date&nbsp;date)
                                      throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>date</CODE> - date to be converted
<DT><B>Returns:</B><DD>converted gYear text
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on conversion error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeYearMonth(long)"><!-- --></A><H3>
serializeYearMonth</H3>
<PRE>
public static java.lang.String <B>serializeYearMonth</B>(long&nbsp;time)
                                           throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>time</CODE> - time to be converted, as milliseconds from January 1, 1970
<DT><B>Returns:</B><DD>converted gYearMonth text
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on conversion error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeYearMonth(java.util.Date)"><!-- --></A><H3>
serializeYearMonth</H3>
<PRE>
public static java.lang.String <B>serializeYearMonth</B>(java.util.Date&nbsp;date)
                                           throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>date</CODE> - date to be converted
<DT><B>Returns:</B><DD>converted gYearMonth text
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on conversion error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeDate(long)"><!-- --></A><H3>
serializeDate</H3>
<PRE>
public static java.lang.String <B>serializeDate</B>(long&nbsp;time)
                                      throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>time</CODE> - time to be converted, as milliseconds from January 1, 1970
<DT><B>Returns:</B><DD>converted date text
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on conversion error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeDate(java.util.Date)"><!-- --></A><H3>
serializeDate</H3>
<PRE>
public static java.lang.String <B>serializeDate</B>(java.util.Date&nbsp;date)
                                      throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>date</CODE> - date to be converted
<DT><B>Returns:</B><DD>converted date text
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on conversion error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeSqlDate(java.sql.Date)"><!-- --></A><H3>
serializeSqlDate</H3>
<PRE>
public static java.lang.String <B>serializeSqlDate</B>(java.sql.Date&nbsp;date)
                                         throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>date</CODE> - date to be converted
<DT><B>Returns:</B><DD>converted date text
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on conversion error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeTime(int, java.lang.StringBuffer)"><!-- --></A><H3>
serializeTime</H3>
<PRE>
public static void <B>serializeTime</B>(int&nbsp;time,
                                 java.lang.StringBuffer&nbsp;buff)
                          throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>time</CODE> - time to be converted, as milliseconds in day<DD><CODE>buff</CODE> - buffer for appending time text
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on conversion error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeDateTime(long, boolean)"><!-- --></A><H3>
serializeDateTime</H3>
<PRE>
public static java.lang.String <B>serializeDateTime</B>(long&nbsp;time,
                                                 boolean&nbsp;zone)
                                          throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>time</CODE> - time to be converted, as milliseconds from January 1, 1970<DD><CODE>zone</CODE> - flag for trailing 'Z' to be appended to indicate UTC
<DT><B>Returns:</B><DD>converted dateTime text
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on conversion error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeDateTime(long)"><!-- --></A><H3>
serializeDateTime</H3>
<PRE>
public static java.lang.String <B>serializeDateTime</B>(long&nbsp;time)
                                          throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>time</CODE> - time to be converted, as milliseconds from January 1, 1970
<DT><B>Returns:</B><DD>converted dateTime text
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on conversion error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeDateTime(java.util.Date)"><!-- --></A><H3>
serializeDateTime</H3>
<PRE>
public static java.lang.String <B>serializeDateTime</B>(java.util.Date&nbsp;date)
                                          throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>date</CODE> - date to be converted
<DT><B>Returns:</B><DD>converted dateTime text
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on conversion error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeTimestamp(java.sql.Timestamp)"><!-- --></A><H3>
serializeTimestamp</H3>
<PRE>
public static java.lang.String <B>serializeTimestamp</B>(java.sql.Timestamp&nbsp;stamp)
                                           throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>stamp</CODE> - timestamp to be converted
<DT><B>Returns:</B><DD>converted dateTime text
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on conversion error</DL>
</DD>
</DL>
<HR>

<A NAME="serializeSqlTime(java.sql.Time)"><!-- --></A><H3>
serializeSqlTime</H3>
<PRE>
public static java.lang.String <B>serializeSqlTime</B>(java.sql.Time&nbsp;time)
                                         throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>time</CODE> - time to be converted
<DT><B>Returns:</B><DD>converted time text
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - on conversion error</DL>
</DD>
</DL>
<HR>

<A NAME="isEqual(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
isEqual</H3>
<PRE>
public static boolean <B>isEqual</B>(java.lang.Object&nbsp;a,
                              java.lang.Object&nbsp;b)</PRE>
<DL>
<DD>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).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>a</CODE> - first object to be compared<DD><CODE>b</CODE> - second object to be compared
<DT><B>Returns:</B><DD><code>true</code> if both objects are <code>null</code>, or if
 <code>a.equals(b)</code>; <code>false</code> otherwise</DL>
</DD>
</DL>
<HR>

<A NAME="enumValue(java.lang.String, java.lang.String[], int[])"><!-- --></A><H3>
enumValue</H3>
<PRE>
public static int <B>enumValue</B>(java.lang.String&nbsp;target,
                            java.lang.String[]&nbsp;enums,
                            int[]&nbsp;vals)
                     throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - text to be found in enumeration<DD><CODE>enums</CODE> - ordered array of texts included in enumeration<DD><CODE>vals</CODE> - array of values to be returned for corresponding text match
 positions (position returned directly if this is <code>null</code>)
<DT><B>Returns:</B><DD>enumeration value for target text
<DT><B>Throws:</B>
<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</DL>
</DD>
</DL>
<HR>

<A NAME="decodeChunk(int, char[], int, byte[])"><!-- --></A><H3>
decodeChunk</H3>
<PRE>
private static int <B>decodeChunk</B>(int&nbsp;base,
                               char[]&nbsp;chrs,
                               int&nbsp;fill,
                               byte[]&nbsp;byts)
                        throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>Decode a chunk of data from base64 encoding. The length of a chunk is
 always 4 characters in the base64 representation, but may be 1, 2, or 3
 bytes of data, as determined by whether there are any pad characters at
 the end of the base64 representation
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>base</CODE> - starting offset within base64 character array<DD><CODE>chrs</CODE> - character array for base64 text representation<DD><CODE>fill</CODE> - starting offset within byte data array<DD><CODE>byts</CODE> - byte data array
<DT><B>Returns:</B><DD>number of decoded bytes
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - if invalid character in base64 representation</DL>
</DD>
</DL>
<HR>

<A NAME="parseBase64(java.lang.String)"><!-- --></A><H3>
parseBase64</H3>
<PRE>
public static byte[] <B>parseBase64</B>(java.lang.String&nbsp;text)
                          throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>Parse base64 data from text. This converts the base64 data into a byte
 array of the appopriate length. In keeping with the recommendations,
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed (may include extra characters)
<DT><B>Returns:</B><DD>byte array of data
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - if invalid character in base64 representation</DL>
</DD>
</DL>
<HR>

<A NAME="deserializeBase64(java.lang.String)"><!-- --></A><H3>
deserializeBase64</H3>
<PRE>
public static byte[] <B>deserializeBase64</B>(java.lang.String&nbsp;text)
                                throws <A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></PRE>
<DL>
<DD>Parse base64 data from text. This converts the base64 data into a byte
 array of the appopriate length. In keeping with the recommendations,
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - text to be parsed (may be null, or include extra characters)
<DT><B>Returns:</B><DD>byte array of data
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../org/jibx/runtime/JiBXException.html" title="class in org.jibx.runtime">JiBXException</A></CODE> - if invalid character in base64 representation</DL>
</DD>
</DL>
<HR>

<A NAME="encodeChunk(int, byte[], java.lang.StringBuffer)"><!-- --></A><H3>
encodeChunk</H3>
<PRE>
public static void <B>encodeChunk</B>(int&nbsp;base,
                               byte[]&nbsp;byts,
                               java.lang.StringBuffer&nbsp;buff)</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>base</CODE> - starting offset within byte array<DD><CODE>byts</CODE> - byte data array<DD><CODE>buff</CODE> - buffer for encoded text</DL>
</DD>
</DL>
<HR>

<A NAME="serializeBase64(byte[])"><!-- --></A><H3>
serializeBase64</H3>
<PRE>
public static java.lang.String <B>serializeBase64</B>(byte[]&nbsp;byts)</PRE>
<DL>
<DD>Serialize byte array to base64 text. In keeping with the specification,
 this adds a line break every 76 characters in the encoded representation.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>byts</CODE> - byte data array
<DT><B>Returns:</B><DD>base64 encoded text</DL>
</DD>
</DL>
<HR>

<A NAME="resizeArray(int, java.lang.Object)"><!-- --></A><H3>
resizeArray</H3>
<PRE>
public static java.lang.Object <B>resizeArray</B>(int&nbsp;size,
                                           java.lang.Object&nbsp;base)</PRE>
<DL>
<DD>Resize array of arbitrary type.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>size</CODE> - new aray size<DD><CODE>base</CODE> - array to be resized
<DT><B>Returns:</B><DD>resized array, with all data to minimum of the two sizes copied</DL>
</DD>
</DL>
<HR>

<A NAME="growArray(java.lang.Object)"><!-- --></A><H3>
growArray</H3>
<PRE>
public static java.lang.Object <B>growArray</B>(java.lang.Object&nbsp;base)</PRE>
<DL>
<DD>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.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>base</CODE> - array to be grown
<DT><B>Returns:</B><DD>array of twice the size as original array, with all data copied</DL>
</DD>
</DL>
<HR>

<A NAME="arrayListFactory()"><!-- --></A><H3>
arrayListFactory</H3>
<PRE>
public static java.util.List <B>arrayListFactory</B>()</PRE>
<DL>
<DD>Factory method to create a <code>java.util.ArrayList</code> as the
 implementation of a <code>java.util.List</code>.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>new <code>java.util.ArrayList</code></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../org/jibx/runtime/UnrecoverableException.html" title="class in org.jibx.runtime"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../org/jibx/runtime/ValidationException.html" title="class in org.jibx.runtime"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../index.html?org/jibx/runtime/Utility.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Utility.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
<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>
</BODY>
</HTML>