1 |
107
|
jones
|
<!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 |
182
|
jones
|
<!-- Generated by javadoc on Tue Jun 20 16:19:38 AKDT 2000 -->
|
6 |
107
|
jones
|
<TITLE>
|
7 |
138
|
jones
|
MetaCat API: Class DBEntityResolver
|
8 |
107
|
jones
|
</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> </TD>
|
22 |
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
23 |
138
|
jones
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DBEntityResolver.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
24 |
107
|
jones
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
25 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
26 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
27 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </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 |
|
|
<A HREF="../../../../edu/ucsb/nceas/metacat/DBDTDHandler.html"><B>PREV CLASS</B></A>
|
39 |
182
|
jones
|
<A HREF="../../../../edu/ucsb/nceas/metacat/DBQuery.html"><B>NEXT CLASS</B></A></FONT></TD>
|
40 |
107
|
jones
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
41 |
|
|
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
42 |
|
|
<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: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
47 |
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
48 |
|
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 |
138
|
jones
|
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 |
107
|
jones
|
<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 conn)</CODE>
|
94 |
|
|
|
95 |
|
|
<BR>
|
96 |
|
|
Construct an instance of the DBEntityResolver clas</TD>
|
97 |
|
|
</TR>
|
98 |
|
|
</TABLE>
|
99 |
|
|
|
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> 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 publicId,
|
112 |
|
|
java.lang.String systemId)</CODE>
|
113 |
|
|
|
114 |
|
|
<BR>
|
115 |
|
|
The Parser call this method before opening any external entity
|
116 |
|
|
except the top-level document entity (including the external DTD subset,
|
117 |
138
|
jones
|
external entities referenced within the DTD, and external entities
|
118 |
|
|
referenced within the document element)</TD>
|
119 |
107
|
jones
|
</TR>
|
120 |
|
|
</TABLE>
|
121 |
|
|
<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 |
|
|
|
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 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 publicId,
|
180 |
|
|
java.lang.String systemId)
|
181 |
182
|
jones
|
throws java.net.MalformedURLException,
|
182 |
|
|
java.io.IOException</PRE>
|
183 |
107
|
jones
|
<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 |
138
|
jones
|
external entities referenced within the DTD, and external entities
|
187 |
|
|
referenced within the document element)<DD><DL>
|
188 |
107
|
jones
|
<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> </TD>
|
203 |
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
204 |
138
|
jones
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DBEntityResolver.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
205 |
107
|
jones
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
206 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
207 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
208 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </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 |
|
|
<A HREF="../../../../edu/ucsb/nceas/metacat/DBDTDHandler.html"><B>PREV CLASS</B></A>
|
220 |
182
|
jones
|
<A HREF="../../../../edu/ucsb/nceas/metacat/DBQuery.html"><B>NEXT CLASS</B></A></FONT></TD>
|
221 |
107
|
jones
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
222 |
|
|
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
223 |
|
|
<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: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
228 |
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
229 |
|
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
230 |
|
|
</TR>
|
231 |
|
|
</TABLE>
|
232 |
|
|
<!-- =========== END OF NAVBAR =========== -->
|
233 |
|
|
|
234 |
|
|
<HR>
|
235 |
138
|
jones
|
<i>Copyright ? 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.</i>
|
236 |
107
|
jones
|
</BODY>
|
237 |
|
|
</HTML>
|