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 Nov 07 20:14:06 PST 2000 -->
|
6
|
<TITLE>
|
7
|
MetaCat API: Class relationHandler
|
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 CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
22
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
23
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/relationHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
24
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
25
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
26
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
27
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="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/QuerySpecification.html"><B>PREV CLASS</B></A>
|
39
|
<A HREF="../../../../edu/ucsb/nceas/metacat/TextNode.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>
|
42
|
<A HREF="relationHandler.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 relationHandler</H2>
|
60
|
<PRE>
|
61
|
java.lang.Object
|
62
|
|
|
63
|
+--<B>edu.ucsb.nceas.metacat.relationHandler</B>
|
64
|
</PRE>
|
65
|
<DL>
|
66
|
<DT><B>All Implemented Interfaces:</B> <DD>java.lang.Runnable</DD>
|
67
|
</DL>
|
68
|
<HR>
|
69
|
<DL>
|
70
|
<DT>public class <B>relationHandler</B><DT>extends java.lang.Object<DT>implements java.lang.Runnable</DL>
|
71
|
|
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/relationHandler.html#relationHandler(edu.ucsb.nceas.metacat.DocumentImpl, java.sql.Connection)">relationHandler</A></B>(<A HREF="../../../../edu/ucsb/nceas/metacat/DocumentImpl.html">DocumentImpl</A> xmldoc,
|
92
|
java.sql.Connection con)</CODE>
|
93
|
|
94
|
<BR>
|
95
|
Constructor for this class.</TD>
|
96
|
</TR>
|
97
|
</TABLE>
|
98
|
|
99
|
<!-- ========== METHOD SUMMARY =========== -->
|
100
|
|
101
|
<A NAME="method_summary"><!-- --></A>
|
102
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
103
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
104
|
<TD COLSPAN=2><FONT SIZE="+2">
|
105
|
<B>Method Summary</B></FONT></TD>
|
106
|
</TR>
|
107
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
108
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
109
|
<CODE> void</CODE></FONT></TD>
|
110
|
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/relationHandler.html#run()">run</A></B>()</CODE>
|
111
|
|
112
|
<BR>
|
113
|
The thread handler</TD>
|
114
|
</TR>
|
115
|
</TABLE>
|
116
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
117
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
118
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
119
|
<TD><B>Methods inherited from class java.lang.Object</B></TD>
|
120
|
</TR>
|
121
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
122
|
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
123
|
</TR>
|
124
|
</TABLE>
|
125
|
|
126
|
<P>
|
127
|
|
128
|
<!-- ============ FIELD DETAIL =========== -->
|
129
|
|
130
|
|
131
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
132
|
|
133
|
<A NAME="constructor_detail"><!-- --></A>
|
134
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
135
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
136
|
<TD COLSPAN=1><FONT SIZE="+2">
|
137
|
<B>Constructor Detail</B></FONT></TD>
|
138
|
</TR>
|
139
|
</TABLE>
|
140
|
|
141
|
<A NAME="relationHandler(edu.ucsb.nceas.metacat.DocumentImpl, java.sql.Connection)"><!-- --></A><H3>
|
142
|
relationHandler</H3>
|
143
|
<PRE>
|
144
|
public <B>relationHandler</B>(<A HREF="../../../../edu/ucsb/nceas/metacat/DocumentImpl.html">DocumentImpl</A> xmldoc,
|
145
|
java.sql.Connection con)</PRE>
|
146
|
<DL>
|
147
|
<DD>Constructor for this class. finds all of the relations to a single xml
|
148
|
document and writes them to the database. This includes transitive
|
149
|
relations.<DD><DL>
|
150
|
<DT><B>Parameters:</B><DD><CODE>xmldoc</CODE> - the xml document to index.</DL>
|
151
|
</DD>
|
152
|
</DL>
|
153
|
|
154
|
<!-- ============ METHOD DETAIL ========== -->
|
155
|
|
156
|
<A NAME="method_detail"><!-- --></A>
|
157
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
158
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
159
|
<TD COLSPAN=1><FONT SIZE="+2">
|
160
|
<B>Method Detail</B></FONT></TD>
|
161
|
</TR>
|
162
|
</TABLE>
|
163
|
|
164
|
<A NAME="run()"><!-- --></A><H3>
|
165
|
run</H3>
|
166
|
<PRE>
|
167
|
public void <B>run</B>()</PRE>
|
168
|
<DL>
|
169
|
<DD>The thread handler<DD><DL>
|
170
|
<DT><B>Specified by: </B><DD><CODE>run</CODE> in interface <CODE>java.lang.Runnable</CODE></DL>
|
171
|
</DD>
|
172
|
</DL>
|
173
|
<!-- ========= END OF CLASS DATA ========= -->
|
174
|
<HR>
|
175
|
|
176
|
<!-- ========== START OF NAVBAR ========== -->
|
177
|
<A NAME="navbar_bottom"><!-- --></A>
|
178
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
179
|
<TR>
|
180
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
181
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
182
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
183
|
<TR ALIGN="center" VALIGN="top">
|
184
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
185
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
186
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/relationHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
187
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
188
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
189
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
190
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
191
|
</TR>
|
192
|
</TABLE>
|
193
|
</TD>
|
194
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
195
|
</EM>
|
196
|
</TD>
|
197
|
</TR>
|
198
|
|
199
|
<TR>
|
200
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
201
|
<A HREF="../../../../edu/ucsb/nceas/metacat/QuerySpecification.html"><B>PREV CLASS</B></A>
|
202
|
<A HREF="../../../../edu/ucsb/nceas/metacat/TextNode.html"><B>NEXT CLASS</B></A></FONT></TD>
|
203
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
204
|
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
205
|
<A HREF="relationHandler.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
206
|
</TR>
|
207
|
<TR>
|
208
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
209
|
SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
210
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
211
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
212
|
</TR>
|
213
|
</TABLE>
|
214
|
<!-- =========== END OF NAVBAR =========== -->
|
215
|
|
216
|
<HR>
|
217
|
<i>Copyright ? 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.</i>
|
218
|
</BODY>
|
219
|
</HTML>
|