Project

General

Profile

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:23:03 CEST 1999 -->
6
<title>
7
  Class de.tudarmstadt.ito.schemas.converters.DDMLToDTD
8
</title>
9
</head>
10
<body>
11
<a name="_top_"></a>
12
<pre>
13
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-de.tudarmstadt.ito.schemas.converters.html">This Package</a>  <a href="de.tudarmstadt.ito.schemas.converters.DDMLConst.html#_top_">Previous</a>  <a href="de.tudarmstadt.ito.schemas.converters.DTDToDDML.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
14
<hr>
15
<h1>
16
  Class de.tudarmstadt.ito.schemas.converters.DDMLToDTD
17
</h1>
18
<pre>
19
java.lang.Object
20
   |
21
   +----org.xml.sax.HandlerBase
22
           |
23
           +----de.tudarmstadt.ito.schemas.converters.DDMLToDTD
24
</pre>
25
<hr>
26
<dl>
27
  <dt> public class <b>DDMLToDTD</b>
28
  <dt> extends HandlerBase
29
</dl>
30
Convert a DDML document to a DTD object.
31
<p>
32
<hr>
33
<a name="index"></a>
34
<h2>
35
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
36
</h2>
37
<dl>
38
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
39
	<a href="#DDMLToDTD()"><b>DDMLToDTD</b></a>()
40
  <dd> Create a new DDMLToDTD object.
41
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
42
	<a href="#DDMLToDTD(org.xml.sax.Parser)"><b>DDMLToDTD</b></a>(Parser)
43
  <dd> Create a new DDMLToDTD object and set the SAX Parser.
44
</dl>
45
<h2>
46
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
47
</h2>
48
<dl>
49
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
50
	<a href="#characters(char[], int, int)"><b>characters</b></a>(char[], int, int)
51
  <dd>  Implementation of characters in SAX' DocumentHandler interface.
52
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
53
	<a href="#convert(org.xml.sax.InputSource)"><b>convert</b></a>(InputSource)
54
  <dd>  Convert the DDML document to a DTD object.
55
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
56
	<a href="#convert(org.xml.sax.Parser, org.xml.sax.InputSource)"><b>convert</b></a>(Parser, InputSource)
57
  <dd>  Set the SAX parser, then convert the DDML document to a DTD object.
58
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
59
	<a href="#endDocument()"><b>endDocument</b></a>()
60
  <dd>  Implementation of endDocument in SAX' DocumentHandler interface.
61
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
62
	<a href="#endElement(java.lang.String)"><b>endElement</b></a>(String)
63
  <dd>  Implementation of endElement in SAX' DocumentHandler interface.
64
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
65
	<a href="#getParser()"><b>getParser</b></a>()
66
  <dd>  Get the current SAX Parser.
67
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
68
	<a href="#setParser(org.xml.sax.Parser)"><b>setParser</b></a>(Parser)
69
  <dd>  Set the current SAX Parser.
70
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
71
	<a href="#startDocument()"><b>startDocument</b></a>()
72
  <dd>  Implementation of startDocument in SAX' DocumentHandler interface.
73
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
74
	<a href="#startElement(java.lang.String, org.xml.sax.AttributeList)"><b>startElement</b></a>(String, AttributeList)
75
  <dd>  Implementation of startElement in SAX' DocumentHandler interface.
76
</dl>
77
<a name="constructors"></a>
78
<h2>
79
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
80
</h2>
81
<a name="DDMLToDTD"></a>
82
<a name="DDMLToDTD()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
83
<b>DDMLToDTD</b>
84
<pre>
85
 public DDMLToDTD()
86
</pre>
87
<dl>
88
  <dd> Create a new DDMLToDTD object.
89
<p>
90
</dl>
91
<a name="DDMLToDTD(org.xml.sax.Parser)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
92
<b>DDMLToDTD</b>
93
<pre>
94
 public DDMLToDTD(Parser parser)
95
</pre>
96
<dl>
97
  <dd> Create a new DDMLToDTD object and set the SAX Parser.
98
<p>
99
</dl>
100
<a name="methods"></a>
101
<h2>
102
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
103
</h2>
104
<a name="getParser()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
105
<a name="getParser"><b>getParser</b></a>
106
<pre>
107
 public Parser getParser()
108
</pre>
109
<dl>
110
  <dd> Get the current SAX Parser.
111
<p>
112
  <dd><dl>
113
    <dt> <b>Returns:</b>
114
    <dd> The current SAX Parser.
115
  </dl></dd>
116
</dl>
117
<a name="setParser(org.xml.sax.Parser)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
118
<a name="setParser"><b>setParser</b></a>
119
<pre>
120
 public void setParser(Parser parser)
121
</pre>
122
<dl>
123
  <dd> Set the current SAX Parser.
124
<p>
125
  <dd><dl>
126
    <dt> <b>Parameters:</b>
127
    <dd> parser - The current SAX Parser.
128
  </dl></dd>
129
</dl>
130
<a name="convert(org.xml.sax.Parser, org.xml.sax.InputSource)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
131
<a name="convert"><b>convert</b></a>
132
<pre>
133
 public <a href="de.tudarmstadt.ito.schemas.dtd.DTD.html#_top_">DTD</a> convert(Parser parser,
134
                    InputSource src) throws SAXException, IOException
135
</pre>
136
<dl>
137
  <dd> Set the SAX parser, then convert the DDML document to a DTD object.
138
<p>
139
  <dd><dl>
140
    <dt> <b>Parameters:</b>
141
    <dd> parser - The current SAX Parser.
142
    <dd> src - A SAX InputSource for the DDML document.
143
    <dt> <b>Returns:</b>
144
    <dd> A DTD object.
145
  </dl></dd>
146
</dl>
147
<a name="convert(org.xml.sax.InputSource)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
148
<a name="convert"><b>convert</b></a>
149
<pre>
150
 public <a href="de.tudarmstadt.ito.schemas.dtd.DTD.html#_top_">DTD</a> convert(InputSource src) throws SAXException, IOException
151
</pre>
152
<dl>
153
  <dd> Convert the DDML document to a DTD object.
154
<p>
155
  <dd><dl>
156
    <dt> <b>Parameters:</b>
157
    <dd> src - A SAX InputSource for the DDML document.
158
    <dt> <b>Returns:</b>
159
    <dd> A DTD object.
160
  </dl></dd>
161
</dl>
162
<a name="startDocument()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
163
<a name="startDocument"><b>startDocument</b></a>
164
<pre>
165
 public void startDocument() throws SAXException
166
</pre>
167
<dl>
168
  <dd> Implementation of startDocument in SAX' DocumentHandler interface.
169
 This method is called by the SAX Parser and should not be called by
170
 programmers using DDMLToDTD.
171
<p>
172
  <dd><dl>
173
    <dt> <b>Overrides:</b>
174
    <dd> <a href="org.xml.sax.HandlerBase.html#startDocument()">startDocument</a> in class HandlerBase
175
  </dl></dd>
176
</dl>
177
<a name="startElement(java.lang.String, org.xml.sax.AttributeList)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
178
<a name="startElement"><b>startElement</b></a>
179
<pre>
180
 public void startElement(String name,
181
                          AttributeList attrs) throws SAXException
182
</pre>
183
<dl>
184
  <dd> Implementation of startElement in SAX' DocumentHandler interface.
185
 This method is called by the SAX Parser and should not be called by
186
 programmers using DDMLToDTD.
187
<p>
188
  <dd><dl>
189
    <dt> <b>Overrides:</b>
190
    <dd> <a href="org.xml.sax.HandlerBase.html#startElement(java.lang.String, org.xml.sax.AttributeList)">startElement</a> in class HandlerBase
191
  </dl></dd>
192
</dl>
193
<a name="endElement(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
194
<a name="endElement"><b>endElement</b></a>
195
<pre>
196
 public void endElement(String name) throws SAXException
197
</pre>
198
<dl>
199
  <dd> Implementation of endElement in SAX' DocumentHandler interface.
200
 This method is called by the SAX Parser and should not be called by
201
 programmers using DDMLToDTD.
202
<p>
203
  <dd><dl>
204
    <dt> <b>Overrides:</b>
205
    <dd> <a href="org.xml.sax.HandlerBase.html#endElement(java.lang.String)">endElement</a> in class HandlerBase
206
  </dl></dd>
207
</dl>
208
<a name="characters(char[], int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
209
<a name="characters"><b>characters</b></a>
210
<pre>
211
 public void characters(char ch[],
212
                        int start,
213
                        int length) throws SAXException
214
</pre>
215
<dl>
216
  <dd> Implementation of characters in SAX' DocumentHandler interface.
217
 This method is called by the SAX Parser and should not be called by
218
 programmers using DDMLToDTD.
219
<p>
220
  <dd><dl>
221
    <dt> <b>Overrides:</b>
222
    <dd> <a href="org.xml.sax.HandlerBase.html#characters(char[], int, int)">characters</a> in class HandlerBase
223
  </dl></dd>
224
</dl>
225
<a name="endDocument()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
226
<a name="endDocument"><b>endDocument</b></a>
227
<pre>
228
 public void endDocument() throws SAXException
229
</pre>
230
<dl>
231
  <dd> Implementation of endDocument in SAX' DocumentHandler interface.
232
 This method is called by the SAX Parser and should not be called by
233
 programmers using DDMLToDTD.
234
<p>
235
  <dd><dl>
236
    <dt> <b>Overrides:</b>
237
    <dd> <a href="org.xml.sax.HandlerBase.html#endDocument()">endDocument</a> in class HandlerBase
238
  </dl></dd>
239
</dl>
240
<hr>
241
<pre>
242
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-de.tudarmstadt.ito.schemas.converters.html">This Package</a>  <a href="de.tudarmstadt.ito.schemas.converters.DDMLConst.html#_top_">Previous</a>  <a href="de.tudarmstadt.ito.schemas.converters.DTDToDDML.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
243
</body>
244
</html>