1 |
14
|
jones
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
2 |
|
|
<!--NewPage-->
|
3 |
|
|
<html>
|
4 |
|
|
<head>
|
5 |
|
|
<!-- Generated by javadoc on Fri Sep 24 03:21:50 CEST 1999 -->
|
6 |
|
|
<title>
|
7 |
|
|
Class Transfer
|
8 |
|
|
</title>
|
9 |
|
|
</head>
|
10 |
|
|
<body>
|
11 |
|
|
<a name="_top_"></a>
|
12 |
|
|
<h1>
|
13 |
|
|
Class Transfer
|
14 |
|
|
</h1>
|
15 |
|
|
<pre>
|
16 |
|
|
java.lang.Object
|
17 |
|
|
|
|
18 |
|
|
+----Transfer
|
19 |
|
|
</pre>
|
20 |
|
|
<hr>
|
21 |
|
|
<dl>
|
22 |
|
|
<dt> public class <b>Transfer</b>
|
23 |
|
|
<dt> extends Object
|
24 |
|
|
</dl>
|
25 |
|
|
This application accepts a map document name, an XML document name, and
|
26 |
|
|
(in the case of transferring data from the database to an XML document) a
|
27 |
|
|
table name and key value. It transfers data in the specified direction.
|
28 |
|
|
<P>The command line syntax for this application is:</P>
|
29 |
|
|
<PRE>
|
30 |
|
|
java Transfer {-todbms|-toxml} <map-file> <xml-file> [<table-name> <key-value>...]
|
31 |
|
|
</PRE>
|
32 |
|
|
<P>where:</P>
|
33 |
|
|
-todbms | -toxml indicates the direction of data transfer
|
34 |
|
|
<map-file> is the name of the XML-DBMS map document
|
35 |
|
|
<xml-file> is the name of the input or output XML document
|
36 |
|
|
<table-name> is the name of the table containing the data to retrieve
|
37 |
|
|
(-toxml direction only)
|
38 |
|
|
<key-value>... is one or more values in a (multi-part) key
|
39 |
|
|
(-toxml direction only)
|
40 |
|
|
<P>For this application to work, there must be an ODBC data source named
|
41 |
|
|
"xmldbms" and the Oracle parser must be installed. The tables used to store
|
42 |
|
|
data must have already been created in the data source. If the map document
|
43 |
|
|
specifies that keys are to be generated, the default KeyGenerator
|
44 |
|
|
implementation is used; for more information, see
|
45 |
|
|
de.tudarmstadt.ito.xmldbms.helper.KeyGeneratorImpl.</P>
|
46 |
|
|
<p>
|
47 |
|
|
<hr>
|
48 |
|
|
<a name="index"></a>
|
49 |
|
|
<h2>
|
50 |
|
|
<img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
|
51 |
|
|
</h2>
|
52 |
|
|
<dl>
|
53 |
|
|
<dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
|
54 |
|
|
<a href="#Transfer()"><b>Transfer</b></a>()
|
55 |
|
|
<dd>
|
56 |
|
|
</dl>
|
57 |
|
|
<h2>
|
58 |
|
|
<img src="images/method-index.gif" width=207 height=38 alt="Method Index">
|
59 |
|
|
</h2>
|
60 |
|
|
<dl>
|
61 |
|
|
<dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
|
62 |
|
|
<a href="#main(java.lang.String[])"><b>main</b></a>(String[])
|
63 |
|
|
<dd>
|
64 |
|
|
</dl>
|
65 |
|
|
<a name="constructors"></a>
|
66 |
|
|
<h2>
|
67 |
|
|
<img src="images/constructors.gif" width=231 height=38 alt="Constructors">
|
68 |
|
|
</h2>
|
69 |
|
|
<a name="Transfer"></a>
|
70 |
|
|
<a name="Transfer()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
|
71 |
|
|
<b>Transfer</b>
|
72 |
|
|
<pre>
|
73 |
|
|
public Transfer()
|
74 |
|
|
</pre>
|
75 |
|
|
<a name="methods"></a>
|
76 |
|
|
<h2>
|
77 |
|
|
<img src="images/methods.gif" width=151 height=38 alt="Methods">
|
78 |
|
|
</h2>
|
79 |
|
|
<a name="main(java.lang.String[])"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
|
80 |
|
|
<a name="main"><b>main</b></a>
|
81 |
|
|
<pre>
|
82 |
|
|
public static void main(String argv[])
|
83 |
|
|
</pre>
|
84 |
|
|
</body>
|
85 |
|
|
</html>
|