Project

General

Profile

1
<!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.SubsetToDTD
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.DTDToDDML.html#_top_">Previous</a>  <a href="Package-de.tudarmstadt.ito.schemas.converters.html">Next</a>  <a href="AllNames.html">Index</a></pre>
14
<hr>
15
<h1>
16
  Class de.tudarmstadt.ito.schemas.converters.SubsetToDTD
17
</h1>
18
<pre>
19
java.lang.Object
20
   |
21
   +----de.tudarmstadt.ito.schemas.converters.SubsetToDTD
22
</pre>
23
<hr>
24
<dl>
25
  <dt> public class <b>SubsetToDTD</b>
26
  <dt> extends Object
27
</dl>
28
Converts an external DTD or the DTD in an XML document into a DTD object.
29
 <p>Note that while SubsetToDTD checks for most syntactic errors in the DTD
30
 it does not check for all of them. Thus, results are undetermined if the
31
 DTD is not syntactically correct.</p>
32
<p>
33
<hr>
34
<a name="index"></a>
35
<h2>
36
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
37
</h2>
38
<dl>
39
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
40
	<a href="#SubsetToDTD()"><b>SubsetToDTD</b></a>()
41
  <dd> Create a new SubsetToDTD object.
42
</dl>
43
<h2>
44
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
45
</h2>
46
<dl>
47
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
48
	<a href="#convertDocument(org.xml.sax.InputSource, java.util.Hashtable)"><b>convertDocument</b></a>(InputSource, Hashtable)
49
  <dd>  Convert the DTD in an XML document containing an internal subset,
50
 reference to an external subset, or both, into a DTD object.
51
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
52
	<a href="#convertExternalSubset(org.xml.sax.InputSource, java.util.Hashtable)"><b>convertExternalSubset</b></a>(InputSource, Hashtable)
53
  <dd>  Convert the DTD in an external subset into a DTD object.
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="SubsetToDTD"></a>
60
<a name="SubsetToDTD()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
61
<b>SubsetToDTD</b>
62
<pre>
63
 public SubsetToDTD()
64
</pre>
65
<dl>
66
  <dd> Create a new SubsetToDTD object.
67
<p>
68
</dl>
69
<a name="methods"></a>
70
<h2>
71
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
72
</h2>
73
<a name="convertDocument(org.xml.sax.InputSource, java.util.Hashtable)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
74
<a name="convertDocument"><b>convertDocument</b></a>
75
<pre>
76
 public <a href="de.tudarmstadt.ito.schemas.dtd.DTD.html#_top_">DTD</a> convertDocument(InputSource src,
77
                            Hashtable namespaceURIs) throws <a href="de.tudarmstadt.ito.schemas.dtd.DTDException.html#_top_">DTDException</a>, MalformedURLException, IOException, EOFException
78
</pre>
79
<dl>
80
  <dd> Convert the DTD in an XML document containing an internal subset,
81
 reference to an external subset, or both, into a DTD object.
82
<p>
83
  <dd><dl>
84
    <dt> <b>Parameters:</b>
85
    <dd> src - A SAX InputSource for the XML document.
86
    <dd> namespaceURIs - A Hashtable mapping prefixes used in the DTD to
87
  namespace URIs. May be null.
88
    <dt> <b>Returns:</b>
89
    <dd> The DTD object.
90
    <dt> <b>Throws:</b> <a href="de.tudarmstadt.ito.schemas.dtd.DTDException.html#_top_">DTDException</a>
91
    <dd> Thrown if a DTD error is found.
92
    <dt> <b>Throws:</b> EOFException
93
    <dd> Thrown if EOF is reached prematurely.
94
    <dt> <b>Throws:</b> MalformedURLException
95
    <dd> Thrown if a system ID is malformed.
96
    <dt> <b>Throws:</b> IOException
97
    <dd> Thrown if an I/O error occurs.
98
  </dl></dd>
99
</dl>
100
<a name="convertExternalSubset(org.xml.sax.InputSource, java.util.Hashtable)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
101
<a name="convertExternalSubset"><b>convertExternalSubset</b></a>
102
<pre>
103
 public <a href="de.tudarmstadt.ito.schemas.dtd.DTD.html#_top_">DTD</a> convertExternalSubset(InputSource src,
104
                                  Hashtable namespaceURIs) throws <a href="de.tudarmstadt.ito.schemas.dtd.DTDException.html#_top_">DTDException</a>, MalformedURLException, IOException, EOFException
105
</pre>
106
<dl>
107
  <dd> Convert the DTD in an external subset into a DTD object.
108
<p>
109
  <dd><dl>
110
    <dt> <b>Parameters:</b>
111
    <dd> src - A SAX InputSource for DTD (external subset).
112
    <dd> namespaceURIs - A Hashtable mapping prefixes used in the DTD to
113
  namespace URIs. May be null.
114
    <dt> <b>Returns:</b>
115
    <dd> The DTD object.
116
    <dt> <b>Throws:</b> <a href="de.tudarmstadt.ito.schemas.dtd.DTDException.html#_top_">DTDException</a>
117
    <dd> Thrown if a DTD error is found.
118
    <dt> <b>Throws:</b> EOFException
119
    <dd> Thrown if EOF is reached prematurely.
120
    <dt> <b>Throws:</b> MalformedURLException
121
    <dd> Thrown if a system ID is malformed.
122
    <dt> <b>Throws:</b> IOException
123
    <dd> Thrown if an I/O error occurs.
124
  </dl></dd>
125
</dl>
126
<hr>
127
<pre>
128
<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.DTDToDDML.html#_top_">Previous</a>  <a href="Package-de.tudarmstadt.ito.schemas.converters.html">Next</a>  <a href="AllNames.html">Index</a></pre>
129
</body>
130
</html>
(32-32/72)