Project

General

Profile

Revision 138

updated javadoc documentation

View differences:

docs/edu/ucsb/nceas/metacat/ReaderElement.html
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:42 AKDT 2000 -->
6
<TITLE>
7
: Class  ReaderElement
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/MetaCatServlet.html"><B>PREV CLASS</B></A>&nbsp;
38
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/XMLValidate.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="ReaderElement.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  ReaderElement</H2>
59
<PRE>
60
java.lang.Object
61
  |
62
  +--<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html">edu.ucsb.nceas.metacat.BasicElement</A>
63
        |
64
        +--<B>edu.ucsb.nceas.metacat.ReaderElement</B>
65
</PRE>
66
<HR>
67
<DL>
68
<DT>public class <B>ReaderElement</B><DT>extends <A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html">BasicElement</A></DL>
69

  
70
<P>
71
A Class that represents an XML element and its contents,
72
 and can build itself from a database connection
73
<P>
74
<HR>
75

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

  
79

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

  
82

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

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

  
94
<BR>
95
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new ReaderElement instance</TD>
96
</TR>
97
<TR BGCOLOR="white" CLASS="TableRowColor">
98
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/ReaderElement.html#ReaderElement(java.sql.Connection, long)">ReaderElement</A></B>(java.sql.Connection&nbsp;conn,
99
              long&nbsp;nodeid)</CODE>
100

  
101
<BR>
102
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new ReaderElement instance</TD>
103
</TR>
104
<TR BGCOLOR="white" CLASS="TableRowColor">
105
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/ReaderElement.html#ReaderElement(java.sql.Connection, long, long, java.lang.String, java.lang.String)">ReaderElement</A></B>(java.sql.Connection&nbsp;conn,
106
              long&nbsp;nodeid,
107
              long&nbsp;parentnodeid,
108
              java.lang.String&nbsp;nodename,
109
              java.lang.String&nbsp;nodedata)</CODE>
110

  
111
<BR>
112
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new ReaderElement instance</TD>
113
</TR>
114
</TABLE>
115
&nbsp;
116
<!-- ========== METHOD SUMMARY =========== -->
117

  
118
<A NAME="method_summary"><!-- --></A>
119
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
120
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121
<TD COLSPAN=2><FONT SIZE="+2">
122
<B>Method Summary</B></FONT></TD>
123
</TR>
124
<TR BGCOLOR="white" CLASS="TableRowColor">
125
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
126
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
127
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/ReaderElement.html#toString()">toString</A></B>()</CODE>
128

  
129
<BR>
130
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String representation for display purposes (recursively descends through
131
 children to create an XML subtree)</TD>
132
</TR>
133
</TABLE>
134
&nbsp;<A NAME="methods_inherited_from_class_edu.ucsb.nceas.metacat.BasicElement"><!-- --></A>
135
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
136
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
137
<TD><B>Methods inherited from class edu.ucsb.nceas.metacat.<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html">BasicElement</A></B></TD>
138
</TR>
139
<TR BGCOLOR="white" CLASS="TableRowColor">
140
<TD><CODE><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#appendContent(char[], int, int)">appendContent</A>, 
141
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#appendContent(java.lang.String)">appendContent</A>, 
142
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getAttribute(java.lang.String)">getAttribute</A>, 
143
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getAttributes()">getAttributes</A>, 
144
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getContent()">getContent</A>, 
145
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getElementID()">getElementID</A>, 
146
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getNodeIndex()">getNodeIndex</A>, 
147
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getParentID()">getParentID</A>, 
148
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getTagName()">getTagName</A>, 
149
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#incChildNum()">incChildNum</A>, 
150
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#setAttribute(java.lang.String, java.lang.String)">setAttribute</A>, 
151
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#setElementID(long)">setElementID</A>, 
152
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#setParentID(long)">setParentID</A>, 
153
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#setTagName(java.lang.String)">setTagName</A></CODE></TD>
154
</TR>
155
</TABLE>
156
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
157
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
158
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
159
<TD><B>Methods inherited from class java.lang.Object</B></TD>
160
</TR>
161
<TR BGCOLOR="white" CLASS="TableRowColor">
162
<TD><CODE>clone, 
163
equals, 
164
finalize, 
165
getClass, 
166
hashCode, 
167
notify, 
168
notifyAll, 
169
wait, 
170
wait, 
171
wait</CODE></TD>
172
</TR>
173
</TABLE>
174
&nbsp;
175
<P>
176

  
177
<!-- ============ FIELD DETAIL =========== -->
178

  
179

  
180
<!-- ========= CONSTRUCTOR DETAIL ======== -->
181

  
182
<A NAME="constructor_detail"><!-- --></A>
183
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
184
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
185
<TD COLSPAN=1><FONT SIZE="+2">
186
<B>Constructor Detail</B></FONT></TD>
187
</TR>
188
</TABLE>
189

  
190
<A NAME="ReaderElement(java.sql.Connection)"><!-- --></A><H3>
191
ReaderElement</H3>
192
<PRE>
193
public <B>ReaderElement</B>(java.sql.Connection&nbsp;conn)</PRE>
194
<DL>
195
<DD>Construct a new ReaderElement instance<DD><DL>
196
<DT><B>Parameters:</B><DD><CODE>conn</CODE> - the database connection to use to initialize</DL>
197
</DD>
198
</DL>
199
<HR>
200

  
201
<A NAME="ReaderElement(java.sql.Connection, long)"><!-- --></A><H3>
202
ReaderElement</H3>
203
<PRE>
204
public <B>ReaderElement</B>(java.sql.Connection&nbsp;conn,
205
                     long&nbsp;nodeid)</PRE>
206
<DL>
207
<DD>Construct a new ReaderElement instance<DD><DL>
208
<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>
209
</DD>
210
</DL>
211
<HR>
212

  
213
<A NAME="ReaderElement(java.sql.Connection, long, long, java.lang.String, java.lang.String)"><!-- --></A><H3>
214
ReaderElement</H3>
215
<PRE>
216
public <B>ReaderElement</B>(java.sql.Connection&nbsp;conn,
217
                     long&nbsp;nodeid,
218
                     long&nbsp;parentnodeid,
219
                     java.lang.String&nbsp;nodename,
220
                     java.lang.String&nbsp;nodedata)</PRE>
221
<DL>
222
<DD>Construct a new ReaderElement instance<DD><DL>
223
<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<DD><CODE>nodedata</CODE> - the text content of the node</DL>
224
</DD>
225
</DL>
226

  
227
<!-- ============ METHOD DETAIL ========== -->
228

  
229
<A NAME="method_detail"><!-- --></A>
230
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
231
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
232
<TD COLSPAN=1><FONT SIZE="+2">
233
<B>Method Detail</B></FONT></TD>
234
</TR>
235
</TABLE>
236

  
237
<A NAME="toString()"><!-- --></A><H3>
238
toString</H3>
239
<PRE>
240
public java.lang.String <B>toString</B>()</PRE>
241
<DL>
242
<DD>String representation for display purposes (recursively descends through
243
 children to create an XML subtree)<DD><DL>
244
<DT><B>Overrides:</B><DD><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#toString()">toString</A> in class <A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html">BasicElement</A></DL>
245
</DD>
246
</DL>
247
<!-- ========= END OF CLASS DATA ========= -->
248
<HR>
249

  
250
<!-- ========== START OF NAVBAR ========== -->
251
<A NAME="navbar_bottom"><!-- --></A>
252
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
253
<TR>
254
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
255
<A NAME="navbar_bottom_firstrow"><!-- --></A>
256
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
257
  <TR ALIGN="center" VALIGN="top">
258
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
259
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
260
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
261
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
262
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
263
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
264
  </TR>
265
</TABLE>
266
</TD>
267
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
268
</EM>
269
</TD>
270
</TR>
271

  
272
<TR>
273
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
274
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/MetaCatServlet.html"><B>PREV CLASS</B></A>&nbsp;
275
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/XMLValidate.html"><B>NEXT CLASS</B></A></FONT></TD>
276
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
277
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
278
&nbsp;<A HREF="ReaderElement.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
279
</TR>
280
<TR>
281
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
282
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
283
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
284
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
285
</TR>
286
</TABLE>
287
<!-- =========== END OF NAVBAR =========== -->
288

  
289
<HR>
290

  
291
</BODY>
292
</HTML>
293 0

  
docs/edu/ucsb/nceas/metacat/BasicElement.html
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:40 AKDT 2000 -->
6
<TITLE>
7
: Class  BasicElement
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;PREV CLASS&nbsp;
38
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/DBDTDHandler.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="BasicElement.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  BasicElement</H2>
59
<PRE>
60
java.lang.Object
61
  |
62
  +--<B>edu.ucsb.nceas.metacat.BasicElement</B>
63
</PRE>
64
<DL>
65
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../edu/ucsb/nceas/metacat/DBSAXElement.html">DBSAXElement</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/ReaderElement.html">ReaderElement</A></DD>
66
</DL>
67
<HR>
68
<DL>
69
<DT>public class <B>BasicElement</B><DT>extends java.lang.Object</DL>
70

  
71
<P>
72
A Class that represents an XML element and its contents
73
<P>
74
<HR>
75

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

  
79

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

  
82

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

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

  
94
<BR>
95
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a Basic Element</TD>
96
</TR>
97
<TR BGCOLOR="white" CLASS="TableRowColor">
98
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#BasicElement(long, java.lang.String, long, int)">BasicElement</A></B>(long&nbsp;element_id,
99
             java.lang.String&nbsp;tagname,
100
             long&nbsp;parent_id,
101
             int&nbsp;nodeIndex)</CODE>
102

  
103
<BR>
104
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a Basic Element</TD>
105
</TR>
106
<TR BGCOLOR="white" CLASS="TableRowColor">
107
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#BasicElement(java.lang.String, long, int)">BasicElement</A></B>(java.lang.String&nbsp;tagname,
108
             long&nbsp;parent_id,
109
             int&nbsp;nodeIndex)</CODE>
110

  
111
<BR>
112
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a Basic Element</TD>
113
</TR>
114
</TABLE>
115
&nbsp;
116
<!-- ========== METHOD SUMMARY =========== -->
117

  
118
<A NAME="method_summary"><!-- --></A>
119
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
120
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121
<TD COLSPAN=2><FONT SIZE="+2">
122
<B>Method Summary</B></FONT></TD>
123
</TR>
124
<TR BGCOLOR="white" CLASS="TableRowColor">
125
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
126
<CODE>&nbsp;void</CODE></FONT></TD>
127
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#appendContent(char[], int, int)">appendContent</A></B>(char[]&nbsp;cbuf,
128
              int&nbsp;start,
129
              int&nbsp;len)</CODE>
130

  
131
<BR>
132
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Append to the content of the element</TD>
133
</TR>
134
<TR BGCOLOR="white" CLASS="TableRowColor">
135
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
136
<CODE>&nbsp;void</CODE></FONT></TD>
137
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#appendContent(java.lang.String)">appendContent</A></B>(java.lang.String&nbsp;new_content)</CODE>
138

  
139
<BR>
140
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Append to the content of the element</TD>
141
</TR>
142
<TR BGCOLOR="white" CLASS="TableRowColor">
143
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
145
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getAttribute(java.lang.String)">getAttribute</A></B>(java.lang.String&nbsp;attName)</CODE>
146

  
147
<BR>
148
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get an attribute value by name</TD>
149
</TR>
150
<TR BGCOLOR="white" CLASS="TableRowColor">
151
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
153
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getAttributes()">getAttributes</A></B>()</CODE>
154

  
155
<BR>
156
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the attributes as a string</TD>
157
</TR>
158
<TR BGCOLOR="white" CLASS="TableRowColor">
159
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
160
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
161
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getContent()">getContent</A></B>()</CODE>
162

  
163
<BR>
164
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the content of the element</TD>
165
</TR>
166
<TR BGCOLOR="white" CLASS="TableRowColor">
167
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168
<CODE>&nbsp;long</CODE></FONT></TD>
169
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getElementID()">getElementID</A></B>()</CODE>
170

  
171
<BR>
172
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the id of this element</TD>
173
</TR>
174
<TR BGCOLOR="white" CLASS="TableRowColor">
175
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176
<CODE>&nbsp;int</CODE></FONT></TD>
177
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getNodeIndex()">getNodeIndex</A></B>()</CODE>
178

  
179
<BR>
180
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get nodeIndex of the element</TD>
181
</TR>
182
<TR BGCOLOR="white" CLASS="TableRowColor">
183
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184
<CODE>&nbsp;long</CODE></FONT></TD>
185
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getParentID()">getParentID</A></B>()</CODE>
186

  
187
<BR>
188
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the parent id of this element</TD>
189
</TR>
190
<TR BGCOLOR="white" CLASS="TableRowColor">
191
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
192
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
193
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getTagName()">getTagName</A></B>()</CODE>
194

  
195
<BR>
196
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the name of this element</TD>
197
</TR>
198
<TR BGCOLOR="white" CLASS="TableRowColor">
199
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
200
<CODE>&nbsp;int</CODE></FONT></TD>
201
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#incChildNum()">incChildNum</A></B>()</CODE>
202

  
203
<BR>
204
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;increase childNum when new child for the element is created</TD>
205
</TR>
206
<TR BGCOLOR="white" CLASS="TableRowColor">
207
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
208
<CODE>&nbsp;void</CODE></FONT></TD>
209
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#setAttribute(java.lang.String, java.lang.String)">setAttribute</A></B>(java.lang.String&nbsp;attName,
210
             java.lang.String&nbsp;attValue)</CODE>
211

  
212
<BR>
213
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a new attribute to this element, or set its value</TD>
214
</TR>
215
<TR BGCOLOR="white" CLASS="TableRowColor">
216
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
217
<CODE>&nbsp;void</CODE></FONT></TD>
218
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#setElementID(long)">setElementID</A></B>(long&nbsp;element_id)</CODE>
219

  
220
<BR>
221
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the id of this element</TD>
222
</TR>
223
<TR BGCOLOR="white" CLASS="TableRowColor">
224
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
225
<CODE>&nbsp;void</CODE></FONT></TD>
226
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#setParentID(long)">setParentID</A></B>(long&nbsp;parent_id)</CODE>
227

  
228
<BR>
229
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the parent id of this element</TD>
230
</TR>
231
<TR BGCOLOR="white" CLASS="TableRowColor">
232
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
233
<CODE>&nbsp;void</CODE></FONT></TD>
234
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#setTagName(java.lang.String)">setTagName</A></B>(java.lang.String&nbsp;tagname)</CODE>
235

  
236
<BR>
237
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the tagname of this element</TD>
238
</TR>
239
<TR BGCOLOR="white" CLASS="TableRowColor">
240
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
241
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
242
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#toString()">toString</A></B>()</CODE>
243

  
244
<BR>
245
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;convert the element to a string representation for display</TD>
246
</TR>
247
</TABLE>
248
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
249
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
250
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
251
<TD><B>Methods inherited from class java.lang.Object</B></TD>
252
</TR>
253
<TR BGCOLOR="white" CLASS="TableRowColor">
254
<TD><CODE>clone, 
255
equals, 
256
finalize, 
257
getClass, 
258
hashCode, 
259
notify, 
260
notifyAll, 
261
wait, 
262
wait, 
263
wait</CODE></TD>
264
</TR>
265
</TABLE>
266
&nbsp;
267
<P>
268

  
269
<!-- ============ FIELD DETAIL =========== -->
270

  
271

  
272
<!-- ========= CONSTRUCTOR DETAIL ======== -->
273

  
274
<A NAME="constructor_detail"><!-- --></A>
275
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
276
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
277
<TD COLSPAN=1><FONT SIZE="+2">
278
<B>Constructor Detail</B></FONT></TD>
279
</TR>
280
</TABLE>
281

  
282
<A NAME="BasicElement()"><!-- --></A><H3>
283
BasicElement</H3>
284
<PRE>
285
public <B>BasicElement</B>()</PRE>
286
<DL>
287
<DD>Construct a Basic Element</DL>
288
<HR>
289

  
290
<A NAME="BasicElement(java.lang.String, long, int)"><!-- --></A><H3>
291
BasicElement</H3>
292
<PRE>
293
public <B>BasicElement</B>(java.lang.String&nbsp;tagname,
294
                    long&nbsp;parent_id,
295
                    int&nbsp;nodeIndex)</PRE>
296
<DL>
297
<DD>Construct a Basic Element<DD><DL>
298
<DT><B>Parameters:</B><DD><CODE>tagname</CODE> - the name of the element<DD><CODE>parent_id</CODE> - the id number of the parent element<DD><CODE>nodeIndex</CODE> - - number of the element in the order for a given parent node
299
 Every element initializes childNum to 0 when created and has interface incChildNum
300
 when new child is created</DL>
301
</DD>
302
</DL>
303
<HR>
304

  
305
<A NAME="BasicElement(long, java.lang.String, long, int)"><!-- --></A><H3>
306
BasicElement</H3>
307
<PRE>
308
public <B>BasicElement</B>(long&nbsp;element_id,
309
                    java.lang.String&nbsp;tagname,
310
                    long&nbsp;parent_id,
311
                    int&nbsp;nodeIndex)</PRE>
312
<DL>
313
<DD>Construct a Basic Element<DD><DL>
314
<DT><B>Parameters:</B><DD><CODE>element_id</CODE> - the id number of the element<DD><CODE>tagname</CODE> - the name of the element<DD><CODE>parent_id</CODE> - the id number of the parent element</DL>
315
</DD>
316
</DL>
317

  
318
<!-- ============ METHOD DETAIL ========== -->
319

  
320
<A NAME="method_detail"><!-- --></A>
321
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
322
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
323
<TD COLSPAN=1><FONT SIZE="+2">
324
<B>Method Detail</B></FONT></TD>
325
</TR>
326
</TABLE>
327

  
328
<A NAME="toString()"><!-- --></A><H3>
329
toString</H3>
330
<PRE>
331
public java.lang.String <B>toString</B>()</PRE>
332
<DL>
333
<DD>convert the element to a string representation for display<DD><DL>
334
<DT><B>Overrides:</B><DD>toString in class java.lang.Object</DL>
335
</DD>
336
</DL>
337
<HR>
338

  
339
<A NAME="getElementID()"><!-- --></A><H3>
340
getElementID</H3>
341
<PRE>
342
public long <B>getElementID</B>()</PRE>
343
<DL>
344
<DD>Get the id of this element</DL>
345
<HR>
346

  
347
<A NAME="setElementID(long)"><!-- --></A><H3>
348
setElementID</H3>
349
<PRE>
350
public void <B>setElementID</B>(long&nbsp;element_id)</PRE>
351
<DL>
352
<DD>Set the id of this element</DL>
353
<HR>
354

  
355
<A NAME="getParentID()"><!-- --></A><H3>
356
getParentID</H3>
357
<PRE>
358
public long <B>getParentID</B>()</PRE>
359
<DL>
360
<DD>Get the parent id of this element</DL>
361
<HR>
362

  
363
<A NAME="setParentID(long)"><!-- --></A><H3>
364
setParentID</H3>
365
<PRE>
366
public void <B>setParentID</B>(long&nbsp;parent_id)</PRE>
367
<DL>
368
<DD>Set the parent id of this element</DL>
369
<HR>
370

  
371
<A NAME="getTagName()"><!-- --></A><H3>
372
getTagName</H3>
373
<PRE>
374
public java.lang.String <B>getTagName</B>()</PRE>
375
<DL>
376
<DD>Get the name of this element</DL>
377
<HR>
378

  
379
<A NAME="setTagName(java.lang.String)"><!-- --></A><H3>
380
setTagName</H3>
381
<PRE>
382
public void <B>setTagName</B>(java.lang.String&nbsp;tagname)</PRE>
383
<DL>
384
<DD>Set the tagname of this element</DL>
385
<HR>
386

  
387
<A NAME="getAttributes()"><!-- --></A><H3>
388
getAttributes</H3>
389
<PRE>
390
public java.lang.String <B>getAttributes</B>()</PRE>
391
<DL>
392
<DD>Get the attributes as a string</DL>
393
<HR>
394

  
395
<A NAME="setAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
396
setAttribute</H3>
397
<PRE>
398
public void <B>setAttribute</B>(java.lang.String&nbsp;attName,
399
                         java.lang.String&nbsp;attValue)</PRE>
400
<DL>
401
<DD>Add a new attribute to this element, or set its value</DL>
402
<HR>
403

  
404
<A NAME="getAttribute(java.lang.String)"><!-- --></A><H3>
405
getAttribute</H3>
406
<PRE>
407
public java.lang.String <B>getAttribute</B>(java.lang.String&nbsp;attName)</PRE>
408
<DL>
409
<DD>Get an attribute value by name</DL>
410
<HR>
411

  
412
<A NAME="appendContent(char[], int, int)"><!-- --></A><H3>
413
appendContent</H3>
414
<PRE>
415
public void <B>appendContent</B>(char[]&nbsp;cbuf,
416
                          int&nbsp;start,
417
                          int&nbsp;len)</PRE>
418
<DL>
419
<DD>Append to the content of the element</DL>
420
<HR>
421

  
422
<A NAME="appendContent(java.lang.String)"><!-- --></A><H3>
423
appendContent</H3>
424
<PRE>
425
public void <B>appendContent</B>(java.lang.String&nbsp;new_content)</PRE>
426
<DL>
427
<DD>Append to the content of the element</DL>
428
<HR>
429

  
430
<A NAME="getContent()"><!-- --></A><H3>
431
getContent</H3>
432
<PRE>
433
public java.lang.String <B>getContent</B>()</PRE>
434
<DL>
435
<DD>Get the content of the element</DL>
436
<HR>
437

  
438
<A NAME="getNodeIndex()"><!-- --></A><H3>
439
getNodeIndex</H3>
440
<PRE>
441
public int <B>getNodeIndex</B>()</PRE>
442
<DL>
443
<DD>Get nodeIndex of the element</DL>
444
<HR>
445

  
446
<A NAME="incChildNum()"><!-- --></A><H3>
447
incChildNum</H3>
448
<PRE>
449
public int <B>incChildNum</B>()</PRE>
450
<DL>
451
<DD>increase childNum when new child for the element is created</DL>
452
<!-- ========= END OF CLASS DATA ========= -->
453
<HR>
454

  
455
<!-- ========== START OF NAVBAR ========== -->
456
<A NAME="navbar_bottom"><!-- --></A>
457
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
458
<TR>
459
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
460
<A NAME="navbar_bottom_firstrow"><!-- --></A>
461
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
462
  <TR ALIGN="center" VALIGN="top">
463
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
464
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
465
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
466
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
467
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
468
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
469
  </TR>
470
</TABLE>
471
</TD>
472
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
473
</EM>
474
</TD>
475
</TR>
476

  
477
<TR>
478
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
479
&nbsp;PREV CLASS&nbsp;
480
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/DBDTDHandler.html"><B>NEXT CLASS</B></A></FONT></TD>
481
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
482
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
483
&nbsp;<A HREF="BasicElement.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
484
</TR>
485
<TR>
486
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
487
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
488
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
489
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
490
</TR>
491
</TABLE>
492
<!-- =========== END OF NAVBAR =========== -->
493

  
494
<HR>
495

  
496
</BODY>
497
</HTML>
498 0

  
docs/edu/ucsb/nceas/metacat/DBSAXElement.html
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  DBSAXElement
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/DBSAXDocument.html"><B>PREV CLASS</B></A>&nbsp;
38
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/DBSAXHandler.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="DBSAXElement.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  DBSAXElement</H2>
59
<PRE>
60
java.lang.Object
61
  |
62
  +--<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html">edu.ucsb.nceas.metacat.BasicElement</A>
63
        |
64
        +--<B>edu.ucsb.nceas.metacat.DBSAXElement</B>
65
</PRE>
66
<HR>
67
<DL>
68
<DT>public class <B>DBSAXElement</B><DT>extends <A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html">BasicElement</A></DL>
69

  
70
<P>
71
A Class that represents an XML element and its contents and
72
 can write its own representation to a database connection
73
<P>
74
<HR>
75

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

  
79

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

  
82

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

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

  
97
<BR>
98
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new element instance</TD>
99
</TR>
100
</TABLE>
101
&nbsp;
102
<!-- ========== METHOD SUMMARY =========== -->
103

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

  
116
<BR>
117
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a new attribute to this element, or set its value</TD>
118
</TR>
119
<TR BGCOLOR="white" CLASS="TableRowColor">
120
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
121
<CODE>&nbsp;void</CODE></FONT></TD>
122
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/DBSAXElement.html#writeContentToDB()">writeContentToDB</A></B>()</CODE>
123

  
124
<BR>
125
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write the element content to the db connection</TD>
126
</TR>
127
</TABLE>
128
&nbsp;<A NAME="methods_inherited_from_class_edu.ucsb.nceas.metacat.BasicElement"><!-- --></A>
129
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
130
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
131
<TD><B>Methods inherited from class edu.ucsb.nceas.metacat.<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html">BasicElement</A></B></TD>
132
</TR>
133
<TR BGCOLOR="white" CLASS="TableRowColor">
134
<TD><CODE><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#appendContent(char[], int, int)">appendContent</A>, 
135
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#appendContent(java.lang.String)">appendContent</A>, 
136
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getAttribute(java.lang.String)">getAttribute</A>, 
137
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getAttributes()">getAttributes</A>, 
138
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getContent()">getContent</A>, 
139
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getElementID()">getElementID</A>, 
140
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getNodeIndex()">getNodeIndex</A>, 
141
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getParentID()">getParentID</A>, 
142
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#getTagName()">getTagName</A>, 
143
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#incChildNum()">incChildNum</A>, 
144
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#setElementID(long)">setElementID</A>, 
145
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#setParentID(long)">setParentID</A>, 
146
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#setTagName(java.lang.String)">setTagName</A>, 
147
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#toString()">toString</A></CODE></TD>
148
</TR>
149
</TABLE>
150
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
151
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
152
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
153
<TD><B>Methods inherited from class java.lang.Object</B></TD>
154
</TR>
155
<TR BGCOLOR="white" CLASS="TableRowColor">
156
<TD><CODE>clone, 
157
equals, 
158
finalize, 
159
getClass, 
160
hashCode, 
161
notify, 
162
notifyAll, 
163
wait, 
164
wait, 
165
wait</CODE></TD>
166
</TR>
167
</TABLE>
168
&nbsp;
169
<P>
170

  
171
<!-- ============ FIELD DETAIL =========== -->
172

  
173

  
174
<!-- ========= CONSTRUCTOR DETAIL ======== -->
175

  
176
<A NAME="constructor_detail"><!-- --></A>
177
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
178
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
179
<TD COLSPAN=1><FONT SIZE="+2">
180
<B>Constructor Detail</B></FONT></TD>
181
</TR>
182
</TABLE>
183

  
184
<A NAME="DBSAXElement(java.sql.Connection, java.lang.String, long, int)"><!-- --></A><H3>
185
DBSAXElement</H3>
186
<PRE>
187
public <B>DBSAXElement</B>(java.sql.Connection&nbsp;conn,
188
                    java.lang.String&nbsp;tagname,
189
                    long&nbsp;parent_id,
190
                    int&nbsp;nodeIndex)</PRE>
191
<DL>
192
<DD>Construct a new element instance<DD><DL>
193
<DT><B>Parameters:</B><DD><CODE>conn</CODE> - the JDBC Connection to which all information is written<DD><CODE>tagname</CODE> - the name of the element<DD><CODE>parent_id</CODE> - the parent id number for this element</DL>
194
</DD>
195
</DL>
196

  
197
<!-- ============ METHOD DETAIL ========== -->
198

  
199
<A NAME="method_detail"><!-- --></A>
200
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
201
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
202
<TD COLSPAN=1><FONT SIZE="+2">
203
<B>Method Detail</B></FONT></TD>
204
</TR>
205
</TABLE>
206

  
207
<A NAME="setAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
208
setAttribute</H3>
209
<PRE>
210
public void <B>setAttribute</B>(java.lang.String&nbsp;attName,
211
                         java.lang.String&nbsp;attValue)</PRE>
212
<DL>
213
<DD>Add a new attribute to this element, or set its value<DD><DL>
214
<DT><B>Overrides:</B><DD><A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html#setAttribute(java.lang.String, java.lang.String)">setAttribute</A> in class <A HREF="../../../../edu/ucsb/nceas/metacat/BasicElement.html">BasicElement</A></DL>
215
</DD>
216
</DL>
217
<HR>
218

  
219
<A NAME="writeContentToDB()"><!-- --></A><H3>
220
writeContentToDB</H3>
221
<PRE>
222
public void <B>writeContentToDB</B>()</PRE>
223
<DL>
224
<DD>Write the element content to the db connection</DL>
225
<!-- ========= END OF CLASS DATA ========= -->
226
<HR>
227

  
228
<!-- ========== START OF NAVBAR ========== -->
229
<A NAME="navbar_bottom"><!-- --></A>
230
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
231
<TR>
232
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
233
<A NAME="navbar_bottom_firstrow"><!-- --></A>
234
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
235
  <TR ALIGN="center" VALIGN="top">
236
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
237
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
238
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
239
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
240
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
241
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
242
  </TR>
243
</TABLE>
244
</TD>
245
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
246
</EM>
247
</TD>
248
</TR>
249

  
250
<TR>
251
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
252
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/DBSAXDocument.html"><B>PREV CLASS</B></A>&nbsp;
253
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/DBSAXHandler.html"><B>NEXT CLASS</B></A></FONT></TD>
254
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
255
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
256
&nbsp;<A HREF="DBSAXElement.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
257
</TR>
258
<TR>
259
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
260
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
261
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
262
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
263
</TR>
264
</TABLE>
265
<!-- =========== END OF NAVBAR =========== -->
266

  
267
<HR>
268

  
269
</BODY>
270
</HTML>
271 0

  
docs/edu/ucsb/nceas/metacat/class-use/DBReader.html
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 Wed Jun 07 16:35:56 AKDT 2000 -->
6
<TITLE>
7
MetaCat API: Uses of Class edu.ucsb.nceas.metacat.DBReader
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="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../edu/ucsb/nceas/metacat/DBReader.html"><FONT ID="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
23
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&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;PREV&nbsp;
39
&nbsp;NEXT</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="DBReader.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
43
</TR>
44
</TABLE>
45
<!-- =========== END OF NAVBAR =========== -->
46

  
47
<HR>
48
<CENTER>
49
<H2>
50
<B>Uses of Class<br>edu.ucsb.nceas.metacat.DBReader</B></H2>
51
</CENTER>
52
<A NAME="edu.ucsb.nceas.metacat"><!-- --></A>
53
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
54
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
55
<TD COLSPAN=2><FONT SIZE="+2">
56
Uses of <A HREF="../../../../../edu/ucsb/nceas/metacat/DBReader.html">DBReader</A> in <A HREF="../../../../../edu/ucsb/nceas/metacat/package-summary.html">edu.ucsb.nceas.metacat</A></FONT></TD>
57
</TR>
58
</TABLE>
59
&nbsp;
60
<P>
61

  
62
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
63
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
64
<TD COLSPAN=2>Constructors in <A HREF="../../../../../edu/ucsb/nceas/metacat/package-summary.html">edu.ucsb.nceas.metacat</A> with parameters of type <A HREF="../../../../../edu/ucsb/nceas/metacat/DBReader.html">DBReader</A></FONT></TD>
65
</TR>
66
<TR BGCOLOR="white" CLASS="TableRowColor">
67
<TD><CODE><B>DBReader.DoctypeInfo.<A HREF="../../../../../edu/ucsb/nceas/metacat/DBReader.DoctypeInfo.html#DBReader.DoctypeInfo(edu.ucsb.nceas.metacat.DBReader, java.lang.String, java.lang.String, java.lang.String)">DBReader.DoctypeInfo</A></B>(java.lang.String&nbsp;docname,
68
                     java.lang.String&nbsp;doctype,
69
                     java.lang.String&nbsp;system_id)</CODE>
70

  
71
<BR>
72
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor</TD>
73
</TR>
74
</TABLE>
75
&nbsp;
76
<P>
77
<HR>
78

  
79
<!-- ========== START OF NAVBAR ========== -->
80
<A NAME="navbar_bottom"><!-- --></A>
81
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
82
<TR>
83
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
84
<A NAME="navbar_bottom_firstrow"><!-- --></A>
85
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
86
  <TR ALIGN="center" VALIGN="top">
87
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
88
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../edu/ucsb/nceas/metacat/DBReader.html"><FONT ID="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
89
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
90
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
91
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
92
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
93
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
94
  </TR>
95
</TABLE>
96
</TD>
97
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
98
</EM>
99
</TD>
100
</TR>
101

  
102
<TR>
103
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
104
&nbsp;PREV&nbsp;
105
&nbsp;NEXT</FONT></TD>
106
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
107
  <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
108
&nbsp;<A HREF="DBReader.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
109
</TR>
110
</TABLE>
111
<!-- =========== END OF NAVBAR =========== -->
112

  
113
<HR>
114
<i>Copyright ? 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.</i>
115
</BODY>
116
</HTML>
0 117

  
docs/edu/ucsb/nceas/metacat/ElementNode.html
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 Wed Jun 07 16:35:58 AKDT 2000 -->
6
<TITLE>
7
MetaCat API: Class  ElementNode
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/ElementNode.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/DBTransform.html"><B>PREV CLASS</B></A>&nbsp;
39
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/GenericXMLValidate.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="ElementNode.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  ElementNode</H2>
60
<PRE>
61
java.lang.Object
62
  |
63
  +--<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html">edu.ucsb.nceas.metacat.BasicNode</A>
64
        |
65
        +--<B>edu.ucsb.nceas.metacat.ElementNode</B>
66
</PRE>
67
<HR>
68
<DL>
69
<DT>public class <B>ElementNode</B><DT>extends <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html">BasicNode</A></DL>
70

  
71
<P>
72
A Class that represents an XML element and its contents,
73
 and can build itself from a database connection
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/ElementNode.html#ElementNode(java.sql.Connection)">ElementNode</A></B>(java.sql.Connection&nbsp;conn)</CODE>
94

  
95
<BR>
96
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;conn,
100
            long&nbsp;nodeid)</CODE>
101

  
102
<BR>
103
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new ElementNode instance</TD>
104
</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&nbsp;conn,
107
            long&nbsp;nodeid,
108
            long&nbsp;parentnodeid,
109
            java.lang.String&nbsp;nodename,
110
            java.lang.String&nbsp;nodetype)</CODE>
111

  
112
<BR>
113
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new ElementNode instance</TD>
114
</TR>
115
</TABLE>
116
&nbsp;
117
<!-- ========== METHOD SUMMARY =========== -->
118

  
119
<A NAME="method_summary"><!-- --></A>
120
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
121
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
122
<TD COLSPAN=2><FONT SIZE="+2">
123
<B>Method Summary</B></FONT></TD>
124
</TR>
125
<TR BGCOLOR="white" CLASS="TableRowColor">
126
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
127
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
128
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/ElementNode.html#toString()">toString</A></B>()</CODE>
129

  
130
<BR>
131
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String representation for display purposes (recursively descends through
132
 children to create an XML subtree)</TD>
133
</TR>
134
</TABLE>
135
&nbsp;<A NAME="methods_inherited_from_class_edu.ucsb.nceas.metacat.BasicNode"><!-- --></A>
136
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
137
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
138
<TD><B>Methods inherited from class edu.ucsb.nceas.metacat.<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html">BasicNode</A></B></TD>
139
</TR>
140
<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#getNodeID()">getNodeID</A>, 
146
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getNodeIndex()">getNodeIndex</A>, 
147
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getNodeType()">getNodeType</A>, 
148
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getParentID()">getParentID</A>, 
149
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getTagName()">getTagName</A>, 
150
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#incChildNum()">incChildNum</A>, 
151
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setAttribute(java.lang.String, java.lang.String)">setAttribute</A>, 
152
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setNodeID(long)">setNodeID</A>, 
153
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setNodeIndex(int)">setNodeIndex</A>, 
154
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setNodeType(java.lang.String)">setNodeType</A>, 
155
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setParentID(long)">setParentID</A>, 
156
<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setTagName(java.lang.String)">setTagName</A></CODE></TD>
157
</TR>
158
</TABLE>
159
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
160
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
161
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
162
<TD><B>Methods inherited from class java.lang.Object</B></TD>
163
</TR>
164
<TR BGCOLOR="white" CLASS="TableRowColor">
165
<TD><CODE>clone, 
166
equals, 
167
finalize, 
168
getClass, 
169
hashCode, 
170
notify, 
171
notifyAll, 
172
wait, 
173
wait, 
174
wait</CODE></TD>
175
</TR>
176
</TABLE>
177
&nbsp;
178
<P>
179

  
180
<!-- ============ FIELD DETAIL =========== -->
181

  
182

  
183
<!-- ========= CONSTRUCTOR DETAIL ======== -->
184

  
185
<A NAME="constructor_detail"><!-- --></A>
186
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
187
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
188
<TD COLSPAN=1><FONT SIZE="+2">
189
<B>Constructor Detail</B></FONT></TD>
190
</TR>
191
</TABLE>
192

  
193
<A NAME="ElementNode(java.sql.Connection)"><!-- --></A><H3>
194
ElementNode</H3>
195
<PRE>
196
public <B>ElementNode</B>(java.sql.Connection&nbsp;conn)</PRE>
197
<DL>
198
<DD>Construct a new ElementNode instance<DD><DL>
199
<DT><B>Parameters:</B><DD><CODE>conn</CODE> - the database connection to use to initialize</DL>
200
</DD>
201
</DL>
202
<HR>
203

  
204
<A NAME="ElementNode(java.sql.Connection, long)"><!-- --></A><H3>
205
ElementNode</H3>
206
<PRE>
207
public <B>ElementNode</B>(java.sql.Connection&nbsp;conn,
208
                   long&nbsp;nodeid)</PRE>
209
<DL>
210
<DD>Construct a new ElementNode instance<DD><DL>
211
<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>
212
</DD>
213
</DL>
214
<HR>
215

  
216
<A NAME="ElementNode(java.sql.Connection, long, long, java.lang.String, java.lang.String)"><!-- --></A><H3>
217
ElementNode</H3>
218
<PRE>
219
public <B>ElementNode</B>(java.sql.Connection&nbsp;conn,
220
                   long&nbsp;nodeid,
221
                   long&nbsp;parentnodeid,
222
                   java.lang.String&nbsp;nodename,
223
                   java.lang.String&nbsp;nodetype)</PRE>
224
<DL>
225
<DD>Construct a new ElementNode instance<DD><DL>
226
<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>
227
</DD>
228
</DL>
229

  
230
<!-- ============ METHOD DETAIL ========== -->
231

  
232
<A NAME="method_detail"><!-- --></A>
233
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
234
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
235
<TD COLSPAN=1><FONT SIZE="+2">
236
<B>Method Detail</B></FONT></TD>
237
</TR>
238
</TABLE>
239

  
240
<A NAME="toString()"><!-- --></A><H3>
241
toString</H3>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff