Project

General

Profile

metacat / docs / edu / ucsb / nceas / metacat / DBEntityResolver.html @ 107

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 Sat May 20 14:25:41 AKDT 2000 -->
6
<TITLE>
7
: 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="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
24
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
25
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
26
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
27
  </TR>
28
</TABLE>
29
</TD>
30
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
31
</EM>
32
</TD>
33
</TR>
34

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

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

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

    
75
<P>
76
<!-- ======== INNER CLASS SUMMARY ======== -->
77

    
78

    
79
<!-- =========== FIELD SUMMARY =========== -->
80

    
81

    
82
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
83

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

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

    
100
<A NAME="method_summary"><!-- --></A>
101
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
102
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
103
<TD COLSPAN=2><FONT SIZE="+2">
104
<B>Method Summary</B></FONT></TD>
105
</TR>
106
<TR BGCOLOR="white" CLASS="TableRowColor">
107
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
108
<CODE>&nbsp;org.xml.sax.InputSource</CODE></FONT></TD>
109
<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,
110
              java.lang.String&nbsp;systemId)</CODE>
111

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

    
141
<!-- ============ FIELD DETAIL =========== -->
142

    
143

    
144
<!-- ========= CONSTRUCTOR DETAIL ======== -->
145

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

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

    
164
<!-- ============ METHOD DETAIL ========== -->
165

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

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

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

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

    
230
<HR>
231

    
232
</BODY>
233
</HTML>