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:19 CEST 1999 -->
|
6 |
|
|
<title>
|
7 |
|
|
Class ConvertSchema
|
8 |
|
|
</title>
|
9 |
|
|
</head>
|
10 |
|
|
<body>
|
11 |
|
|
<a name="_top_"></a>
|
12 |
|
|
<h1>
|
13 |
|
|
Class ConvertSchema
|
14 |
|
|
</h1>
|
15 |
|
|
<pre>
|
16 |
|
|
java.lang.Object
|
17 |
|
|
|
|
18 |
|
|
+----ConvertSchema
|
19 |
|
|
</pre>
|
20 |
|
|
<hr>
|
21 |
|
|
<dl>
|
22 |
|
|
<dt> public class <b>ConvertSchema</b>
|
23 |
|
|
<dt> extends Object
|
24 |
|
|
</dl>
|
25 |
|
|
This application converts a schema document to a DTD and vice versa.
|
26 |
|
|
Currently, it only supports conversions from DDML documents to DTDs and
|
27 |
|
|
vice versa. To use other schema languages, you need to write the appropriate
|
28 |
|
|
converters. (It should take a day or less for each direction assuming you
|
29 |
|
|
know the schema language well and don't support the more exotic stuff such
|
30 |
|
|
as schema reuse features.)
|
31 |
|
|
<P>The command line syntax for this application is:</P>
|
32 |
|
|
<PRE>
|
33 |
|
|
java GenerateMap <input-file>
|
34 |
|
|
</PRE>
|
35 |
|
|
<p>
|
36 |
|
|
<hr>
|
37 |
|
|
<a name="index"></a>
|
38 |
|
|
<h2>
|
39 |
|
|
<img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
|
40 |
|
|
</h2>
|
41 |
|
|
<dl>
|
42 |
|
|
<dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
|
43 |
|
|
<a href="#ConvertSchema()"><b>ConvertSchema</b></a>()
|
44 |
|
|
<dd>
|
45 |
|
|
</dl>
|
46 |
|
|
<h2>
|
47 |
|
|
<img src="images/method-index.gif" width=207 height=38 alt="Method Index">
|
48 |
|
|
</h2>
|
49 |
|
|
<dl>
|
50 |
|
|
<dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
|
51 |
|
|
<a href="#main(java.lang.String[])"><b>main</b></a>(String[])
|
52 |
|
|
<dd>
|
53 |
|
|
</dl>
|
54 |
|
|
<a name="constructors"></a>
|
55 |
|
|
<h2>
|
56 |
|
|
<img src="images/constructors.gif" width=231 height=38 alt="Constructors">
|
57 |
|
|
</h2>
|
58 |
|
|
<a name="ConvertSchema"></a>
|
59 |
|
|
<a name="ConvertSchema()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
|
60 |
|
|
<b>ConvertSchema</b>
|
61 |
|
|
<pre>
|
62 |
|
|
public ConvertSchema()
|
63 |
|
|
</pre>
|
64 |
|
|
<a name="methods"></a>
|
65 |
|
|
<h2>
|
66 |
|
|
<img src="images/methods.gif" width=151 height=38 alt="Methods">
|
67 |
|
|
</h2>
|
68 |
|
|
<a name="main(java.lang.String[])"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
|
69 |
|
|
<a name="main"><b>main</b></a>
|
70 |
|
|
<pre>
|
71 |
|
|
public static void main(String argv[])
|
72 |
|
|
</pre>
|
73 |
|
|
</body>
|
74 |
|
|
</html>
|