Revision 515
Added by Matt Jones over 23 years ago
ElementNode.html | ||
---|---|---|
2 | 2 |
<!--NewPage--> |
3 | 3 |
<HTML> |
4 | 4 |
<HEAD> |
5 |
<!-- Generated by javadoc on Mon Jun 26 20:52:07 AKDT 2000 -->
|
|
5 |
<!-- Generated by javadoc on Tue Nov 07 20:14:05 PST 2000 -->
|
|
6 | 6 |
<TITLE> |
7 | 7 |
MetaCat API: Class ElementNode |
8 | 8 |
</TITLE> |
... | ... | |
18 | 18 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
19 | 19 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
20 | 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>
|
|
21 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
22 | 22 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
23 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ElementNode.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
24 |
<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>
|
|
23 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ElementNode.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 | 28 |
</TR> |
29 | 29 |
</TABLE> |
30 | 30 |
</TD> |
... | ... | |
35 | 35 |
|
36 | 36 |
<TR> |
37 | 37 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
38 |
<A HREF="../../../../edu/ucsb/nceas/metacat/DBWriter.html"><B>PREV CLASS</B></A>
|
|
38 |
<A HREF="../../../../edu/ucsb/nceas/metacat/DocumentImpl.html"><B>PREV CLASS</B></A>
|
|
39 | 39 |
<A HREF="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html"><B>NEXT CLASS</B></A></FONT></TD> |
40 | 40 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
41 | 41 |
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> |
... | ... | |
90 | 90 |
<B>Constructor Summary</B></FONT></TD> |
91 | 91 |
</TR> |
92 | 92 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
93 |
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/ElementNode.html#ElementNode(java.sql.Connection)">ElementNode</A></B>(java.sql.Connection conn)</CODE> |
|
94 |
|
|
95 |
<BR> |
|
96 |
Construct a new ElementNode instance</TD> |
|
97 |
</TR> |
|
98 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
|
99 |
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/ElementNode.html#ElementNode(java.sql.Connection, long)">ElementNode</A></B>(java.sql.Connection conn, |
|
93 |
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/ElementNode.html#ElementNode(java.util.TreeSet, long)">ElementNode</A></B>(java.util.TreeSet nodeRecordList, |
|
100 | 94 |
long nodeid)</CODE> |
101 | 95 |
|
102 | 96 |
<BR> |
103 |
Construct a new ElementNode instance</TD> |
|
97 |
Construct a new ElementNode instance, and recursively create its children</TD>
|
|
104 | 98 |
</TR> |
105 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
|
106 |
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/ElementNode.html#ElementNode(java.sql.Connection, long, long, java.lang.String, java.lang.String)">ElementNode</A></B>(java.sql.Connection conn, |
|
107 |
long nodeid, |
|
108 |
long parentnodeid, |
|
109 |
java.lang.String nodename, |
|
110 |
java.lang.String nodetype)</CODE> |
|
111 |
|
|
112 |
<BR> |
|
113 |
Construct a new ElementNode instance</TD> |
|
114 |
</TR> |
|
115 | 99 |
</TABLE> |
116 | 100 |
|
117 | 101 |
<!-- ========== METHOD SUMMARY =========== --> |
... | ... | |
138 | 122 |
<TD><B>Methods inherited from class edu.ucsb.nceas.metacat.<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html">BasicNode</A></B></TD> |
139 | 123 |
</TR> |
140 | 124 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
141 |
<TD><CODE><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#addChildNode(edu.ucsb.nceas.metacat.BasicNode)">addChildNode</A>, |
|
142 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getAttribute(java.lang.String)">getAttribute</A>, |
|
143 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getAttributes()">getAttributes</A>, |
|
144 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getChildren()">getChildren</A>, |
|
145 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getDocID()">getDocID</A>, |
|
146 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getNodeID()">getNodeID</A>, |
|
147 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getNodeIndex()">getNodeIndex</A>, |
|
148 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getNodeType()">getNodeType</A>, |
|
149 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getParentID()">getParentID</A>, |
|
150 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getRootNodeID()">getRootNodeID</A>, |
|
151 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getTagName()">getTagName</A>, |
|
152 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#incChildNum()">incChildNum</A>, |
|
153 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setAttribute(java.lang.String, java.lang.String)">setAttribute</A>, |
|
154 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setDocID(java.lang.String)">setDocID</A>, |
|
155 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setNodeID(long)">setNodeID</A>, |
|
156 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setNodeIndex(int)">setNodeIndex</A>, |
|
157 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setNodeType(java.lang.String)">setNodeType</A>, |
|
158 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setParentID(long)">setParentID</A>, |
|
159 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setRootNodeID(long)">setRootNodeID</A>, |
|
160 |
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setTagName(java.lang.String)">setTagName</A></CODE></TD> |
|
125 |
<TD><CODE><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#addChildNode(edu.ucsb.nceas.metacat.BasicNode)">addChildNode</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getAttribute(java.lang.String)">getAttribute</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getAttributes()">getAttributes</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getChildren()">getChildren</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getDocID()">getDocID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getNodeID()">getNodeID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getNodeIndex()">getNodeIndex</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getNodeType()">getNodeType</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getParentID()">getParentID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getRootNodeID()">getRootNodeID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getTagName()">getTagName</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#incChildNum()">incChildNum</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setAttribute(java.lang.String, java.lang.String)">setAttribute</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setDocID(java.lang.String)">setDocID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setNodeID(long)">setNodeID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setNodeIndex(int)">setNodeIndex</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setNodeType(java.lang.String)">setNodeType</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setParentID(long)">setParentID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setRootNodeID(long)">setRootNodeID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setTagName(java.lang.String)">setTagName</A></CODE></TD> |
|
161 | 126 |
</TR> |
162 | 127 |
</TABLE> |
163 | 128 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
... | ... | |
166 | 131 |
<TD><B>Methods inherited from class java.lang.Object</B></TD> |
167 | 132 |
</TR> |
168 | 133 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
169 |
<TD><CODE>clone, |
|
170 |
equals, |
|
171 |
finalize, |
|
172 |
getClass, |
|
173 |
hashCode, |
|
174 |
notify, |
|
175 |
notifyAll, |
|
176 |
wait, |
|
177 |
wait, |
|
178 |
wait</CODE></TD> |
|
134 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD> |
|
179 | 135 |
</TR> |
180 | 136 |
</TABLE> |
181 | 137 |
|
... | ... | |
194 | 150 |
</TR> |
195 | 151 |
</TABLE> |
196 | 152 |
|
197 |
<A NAME="ElementNode(java.sql.Connection)"><!-- --></A><H3>
|
|
153 |
<A NAME="ElementNode(java.util.TreeSet, long)"><!-- --></A><H3>
|
|
198 | 154 |
ElementNode</H3> |
199 | 155 |
<PRE> |
200 |
public <B>ElementNode</B>(java.sql.Connection conn)</PRE> |
|
201 |
<DL> |
|
202 |
<DD>Construct a new ElementNode instance<DD><DL> |
|
203 |
<DT><B>Parameters:</B><DD><CODE>conn</CODE> - the database connection to use to initialize</DL> |
|
204 |
</DD> |
|
205 |
</DL> |
|
206 |
<HR> |
|
207 |
|
|
208 |
<A NAME="ElementNode(java.sql.Connection, long)"><!-- --></A><H3> |
|
209 |
ElementNode</H3> |
|
210 |
<PRE> |
|
211 |
public <B>ElementNode</B>(java.sql.Connection conn, |
|
156 |
public <B>ElementNode</B>(java.util.TreeSet nodeRecordList, |
|
212 | 157 |
long nodeid)</PRE> |
213 | 158 |
<DL> |
214 |
<DD>Construct a new ElementNode instance<DD><DL> |
|
215 |
<DT><B>Parameters:</B><DD><CODE>conn</CODE> - the database connection to use to initialize<DD><CODE>nodeid</CODE> - the element_id for the node to be created</DL> |
|
159 |
<DD>Construct a new ElementNode instance, and recursively create its children<DD><DL> |
|
160 |
<DT><B>Parameters:</B><DD><CODE>nodeRecordList</CODE> - the nodedata to use to initialize, which is a |
|
161 |
TreeSet of NodeRecord objects<DD><CODE>nodeid</CODE> - the identifier for the node to be created</DL> |
|
216 | 162 |
</DD> |
217 | 163 |
</DL> |
218 |
<HR> |
|
219 | 164 |
|
220 |
<A NAME="ElementNode(java.sql.Connection, long, long, java.lang.String, java.lang.String)"><!-- --></A><H3> |
|
221 |
ElementNode</H3> |
|
222 |
<PRE> |
|
223 |
public <B>ElementNode</B>(java.sql.Connection conn, |
|
224 |
long nodeid, |
|
225 |
long parentnodeid, |
|
226 |
java.lang.String nodename, |
|
227 |
java.lang.String nodetype)</PRE> |
|
228 |
<DL> |
|
229 |
<DD>Construct a new ElementNode instance<DD><DL> |
|
230 |
<DT><B>Parameters:</B><DD><CODE>conn</CODE> - the database connection to use to initialize<DD><CODE>nodeid</CODE> - the element_id for the node to be created<DD><CODE>parentnodeid</CODE> - the id of the parent node<DD><CODE>nodename</CODE> - the name of the element</DL> |
|
231 |
</DD> |
|
232 |
</DL> |
|
233 |
|
|
234 | 165 |
<!-- ============ METHOD DETAIL ========== --> |
235 | 166 |
|
236 | 167 |
<A NAME="method_detail"><!-- --></A> |
... | ... | |
248 | 179 |
<DL> |
249 | 180 |
<DD>String representation for display purposes (recursively descends through |
250 | 181 |
children to create an XML subtree)<DD><DL> |
251 |
<DT><B>Overrides:</B><DD>toString in class java.lang.Object</DL>
|
|
182 |
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
|
252 | 183 |
</DD> |
253 | 184 |
</DL> |
254 | 185 |
<!-- ========= END OF CLASS DATA ========= --> |
... | ... | |
262 | 193 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
263 | 194 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
264 | 195 |
<TR ALIGN="center" VALIGN="top"> |
265 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
196 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
266 | 197 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
267 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ElementNode.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
268 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
269 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
270 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
271 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
198 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ElementNode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
199 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
200 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
201 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
202 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
272 | 203 |
</TR> |
273 | 204 |
</TABLE> |
274 | 205 |
</TD> |
... | ... | |
279 | 210 |
|
280 | 211 |
<TR> |
281 | 212 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
282 |
<A HREF="../../../../edu/ucsb/nceas/metacat/DBWriter.html"><B>PREV CLASS</B></A>
|
|
213 |
<A HREF="../../../../edu/ucsb/nceas/metacat/DocumentImpl.html"><B>PREV CLASS</B></A>
|
|
283 | 214 |
<A HREF="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html"><B>NEXT CLASS</B></A></FONT></TD> |
284 | 215 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
285 | 216 |
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> |
Also available in: Unified diff
Updated the Javadoc documentation so that the current release can be provided
on the web site.