Project

General

Profile

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc on Tue Jun 20 16:19:38 AKDT 2000 -->
6
<TITLE>
7
MetaCat API: Class  DBEntityResolver
8
</TITLE>
9
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
10
</HEAD>
11
<BODY BGCOLOR="white">
12

    
13
<!-- ========== START OF NAVBAR ========== -->
14
<A NAME="navbar_top"><!-- --></A>
15
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
16
<TR>
17
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
18
<A NAME="navbar_top_firstrow"><!-- --></A>
19
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
20
  <TR ALIGN="center" VALIGN="top">
21
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
22
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
23
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DBEntityResolver.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
24
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
25
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
26
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
27
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
28
  </TR>
29
</TABLE>
30
</TD>
31
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
32
</EM>
33
</TD>
34
</TR>
35

    
36
<TR>
37
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
38
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/DBDTDHandler.html"><B>PREV CLASS</B></A>&nbsp;
39
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/DBQuery.html"><B>NEXT CLASS</B></A></FONT></TD>
40
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
41
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
42
&nbsp;<A HREF="DBEntityResolver.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
43
</TR>
44
<TR>
45
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
46
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
47
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
48
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
49
</TR>
50
</TABLE>
51
<!-- =========== END OF NAVBAR =========== -->
52

    
53
<HR>
54
<!-- ======== START OF CLASS DATA ======== -->
55
<H2>
56
<FONT SIZE="-1">
57
edu.ucsb.nceas.metacat</FONT>
58
<BR>
59
Class  DBEntityResolver</H2>
60
<PRE>
61
java.lang.Object
62
  |
63
  +--<B>edu.ucsb.nceas.metacat.DBEntityResolver</B>
64
</PRE>
65
<HR>
66
<DL>
67
<DT>public class <B>DBEntityResolver</B><DT>extends java.lang.Object<DT>implements org.xml.sax.EntityResolver</DL>
68

    
69
<P>
70
A database aware Class implementing EntityResolver interface for the SAX 
71
 parser to call when processing the XML stream and intercepting any 
72
 external entities (including the external DTD subset and external 
73
 parameter entities, if any) before including them.
74
<P>
75
<HR>
76

    
77
<P>
78
<!-- ======== INNER CLASS SUMMARY ======== -->
79

    
80

    
81
<!-- =========== FIELD SUMMARY =========== -->
82

    
83

    
84
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
85

    
86
<A NAME="constructor_summary"><!-- --></A>
87
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
88
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
89
<TD COLSPAN=2><FONT SIZE="+2">
90
<B>Constructor Summary</B></FONT></TD>
91
</TR>
92
<TR BGCOLOR="white" CLASS="TableRowColor">
93
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/DBEntityResolver.html#DBEntityResolver(java.sql.Connection)">DBEntityResolver</A></B>(java.sql.Connection&nbsp;conn)</CODE>
94

    
95
<BR>
96
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an instance of the DBEntityResolver clas</TD>
97
</TR>
98
</TABLE>
99
&nbsp;
100
<!-- ========== METHOD SUMMARY =========== -->
101

    
102
<A NAME="method_summary"><!-- --></A>
103
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
104
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
105
<TD COLSPAN=2><FONT SIZE="+2">
106
<B>Method Summary</B></FONT></TD>
107
</TR>
108
<TR BGCOLOR="white" CLASS="TableRowColor">
109
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
110
<CODE>&nbsp;org.xml.sax.InputSource</CODE></FONT></TD>
111
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/DBEntityResolver.html#resolveEntity(java.lang.String, java.lang.String)">resolveEntity</A></B>(java.lang.String&nbsp;publicId,
112
              java.lang.String&nbsp;systemId)</CODE>
113

    
114
<BR>
115
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Parser call this method before opening any external entity 
116
 except the top-level document entity (including the external DTD subset,
117
 external entities referenced within the DTD, and external entities 
118
 referenced within the document element)</TD>
119
</TR>
120
</TABLE>
121
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
122
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
123
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
124
<TD><B>Methods inherited from class java.lang.Object</B></TD>
125
</TR>
126
<TR BGCOLOR="white" CLASS="TableRowColor">
127
<TD><CODE>clone, 
128
equals, 
129
finalize, 
130
getClass, 
131
hashCode, 
132
notify, 
133
notifyAll, 
134
toString, 
135
wait, 
136
wait, 
137
wait</CODE></TD>
138
</TR>
139
</TABLE>
140
&nbsp;
141
<P>
142

    
143
<!-- ============ FIELD DETAIL =========== -->
144

    
145

    
146
<!-- ========= CONSTRUCTOR DETAIL ======== -->
147

    
148
<A NAME="constructor_detail"><!-- --></A>
149
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
150
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
151
<TD COLSPAN=1><FONT SIZE="+2">
152
<B>Constructor Detail</B></FONT></TD>
153
</TR>
154
</TABLE>
155

    
156
<A NAME="DBEntityResolver(java.sql.Connection)"><!-- --></A><H3>
157
DBEntityResolver</H3>
158
<PRE>
159
public <B>DBEntityResolver</B>(java.sql.Connection&nbsp;conn)</PRE>
160
<DL>
161
<DD>Construct an instance of the DBEntityResolver clas<DD><DL>
162
<DT><B>Parameters:</B><DD><CODE>conn</CODE> - the JDBC connection to which information is written</DL>
163
</DD>
164
</DL>
165

    
166
<!-- ============ METHOD DETAIL ========== -->
167

    
168
<A NAME="method_detail"><!-- --></A>
169
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
170
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
171
<TD COLSPAN=1><FONT SIZE="+2">
172
<B>Method Detail</B></FONT></TD>
173
</TR>
174
</TABLE>
175

    
176
<A NAME="resolveEntity(java.lang.String, java.lang.String)"><!-- --></A><H3>
177
resolveEntity</H3>
178
<PRE>
179
public org.xml.sax.InputSource <B>resolveEntity</B>(java.lang.String&nbsp;publicId,
180
                                             java.lang.String&nbsp;systemId)
181
                                      throws java.net.MalformedURLException,
182
                                             java.io.IOException</PRE>
183
<DL>
184
<DD>The Parser call this method before opening any external entity 
185
 except the top-level document entity (including the external DTD subset,
186
 external entities referenced within the DTD, and external entities 
187
 referenced within the document element)<DD><DL>
188
<DT><B>Specified by: </B><DD>resolveEntity in interface org.xml.sax.EntityResolver</DL>
189
</DD>
190
</DL>
191
<!-- ========= END OF CLASS DATA ========= -->
192
<HR>
193

    
194
<!-- ========== START OF NAVBAR ========== -->
195
<A NAME="navbar_bottom"><!-- --></A>
196
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
197
<TR>
198
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
199
<A NAME="navbar_bottom_firstrow"><!-- --></A>
200
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
201
  <TR ALIGN="center" VALIGN="top">
202
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
203
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
204
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DBEntityResolver.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
205
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
206
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
207
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
208
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
209
  </TR>
210
</TABLE>
211
</TD>
212
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
213
</EM>
214
</TD>
215
</TR>
216

    
217
<TR>
218
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
219
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/DBDTDHandler.html"><B>PREV CLASS</B></A>&nbsp;
220
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/DBQuery.html"><B>NEXT CLASS</B></A></FONT></TD>
221
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
222
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
223
&nbsp;<A HREF="DBEntityResolver.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
224
</TR>
225
<TR>
226
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
227
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
228
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
229
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
230
</TR>
231
</TABLE>
232
<!-- =========== END OF NAVBAR =========== -->
233

    
234
<HR>
235
<i>Copyright ? 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.</i>
236
</BODY>
237
</HTML>
(4-4/25)