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:22:03 CEST 1999 -->
|
6 |
|
|
<title>
|
7 |
|
|
Class GenerateMap
|
8 |
|
|
</title>
|
9 |
|
|
</head>
|
10 |
|
|
<body>
|
11 |
|
|
<a name="_top_"></a>
|
12 |
|
|
<h1>
|
13 |
|
|
Class GenerateMap
|
14 |
|
|
</h1>
|
15 |
|
|
<pre>
|
16 |
|
|
java.lang.Object
|
17 |
|
|
|
|
18 |
|
|
+----GenerateMap
|
19 |
|
|
</pre>
|
20 |
|
|
<hr>
|
21 |
|
|
<dl>
|
22 |
|
|
<dt> public class <b>GenerateMap</b>
|
23 |
|
|
<dt> extends Object
|
24 |
|
|
</dl>
|
25 |
|
|
This application generates a map and a file of CREATE TABLE statements
|
26 |
|
|
from an input document. The input document can be a DTD, DDML document,
|
27 |
|
|
or XML document that has a DTD (including referencing an external DTD).
|
28 |
|
|
The document type is determined from the extension: .dtd for DTDs and
|
29 |
|
|
.ddm for DDML documents; everything else is assumed to be an XML document.
|
30 |
|
|
The documents have the same base name as the input document, but uses
|
31 |
|
|
extensions of .map and .sql.
|
32 |
|
|
<P>The command line syntax for this application is:</P>
|
33 |
|
|
<PRE>
|
34 |
|
|
java GenerateMap <input-file>
|
35 |
|
|
</PRE>
|
36 |
|
|
<p>
|
37 |
|
|
<hr>
|
38 |
|
|
<a name="index"></a>
|
39 |
|
|
<h2>
|
40 |
|
|
<img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
|
41 |
|
|
</h2>
|
42 |
|
|
<dl>
|
43 |
|
|
<dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
|
44 |
|
|
<a href="#GenerateMap()"><b>GenerateMap</b></a>()
|
45 |
|
|
<dd>
|
46 |
|
|
</dl>
|
47 |
|
|
<h2>
|
48 |
|
|
<img src="images/method-index.gif" width=207 height=38 alt="Method Index">
|
49 |
|
|
</h2>
|
50 |
|
|
<dl>
|
51 |
|
|
<dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
|
52 |
|
|
<a href="#main(java.lang.String[])"><b>main</b></a>(String[])
|
53 |
|
|
<dd>
|
54 |
|
|
</dl>
|
55 |
|
|
<a name="constructors"></a>
|
56 |
|
|
<h2>
|
57 |
|
|
<img src="images/constructors.gif" width=231 height=38 alt="Constructors">
|
58 |
|
|
</h2>
|
59 |
|
|
<a name="GenerateMap"></a>
|
60 |
|
|
<a name="GenerateMap()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
|
61 |
|
|
<b>GenerateMap</b>
|
62 |
|
|
<pre>
|
63 |
|
|
public GenerateMap()
|
64 |
|
|
</pre>
|
65 |
|
|
<a name="methods"></a>
|
66 |
|
|
<h2>
|
67 |
|
|
<img src="images/methods.gif" width=151 height=38 alt="Methods">
|
68 |
|
|
</h2>
|
69 |
|
|
<a name="main(java.lang.String[])"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
|
70 |
|
|
<a name="main"><b>main</b></a>
|
71 |
|
|
<pre>
|
72 |
|
|
public static void main(String argv[])
|
73 |
|
|
</pre>
|
74 |
|
|
</body>
|
75 |
|
|
</html>
|