Project

General

Profile

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 Mon Apr 17 13:49:15 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="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
22
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
23
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
24
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
25
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
26
  </TR>
27
</TABLE>
28
</TD>
29
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
30
</EM>
31
</TD>
32
</TR>
33

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

    
51
<HR>
52
<!-- ======== START OF CLASS DATA ======== -->
53
<H2>
54
Class  ReaderElement</H2>
55
<PRE>
56
java.lang.Object
57
  |
58
  +--<A HREF="BasicElement.html">BasicElement</A>
59
        |
60
        +--<B>ReaderElement</B>
61
</PRE>
62
<HR>
63
<DL>
64
<DT>public class <B>ReaderElement</B><DT>extends <A HREF="BasicElement.html">BasicElement</A></DL>
65

    
66
<P>
67
A Class that represents an XML element and its contents,
68
 and can build itself from a database connection
69
<P>
70
<HR>
71

    
72
<P>
73
<!-- ======== INNER CLASS SUMMARY ======== -->
74

    
75

    
76
<!-- =========== FIELD SUMMARY =========== -->
77

    
78

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

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

    
90
<BR>
91
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new ReaderElement instance</TD>
92
</TR>
93
<TR BGCOLOR="white" CLASS="TableRowColor">
94
<TD><CODE><B><A HREF="ReaderElement.html#ReaderElement(java.sql.Connection, long)">ReaderElement</A></B>(java.sql.Connection&nbsp;conn,
95
              long&nbsp;nodeid)</CODE>
96

    
97
<BR>
98
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new ReaderElement instance</TD>
99
</TR>
100
<TR BGCOLOR="white" CLASS="TableRowColor">
101
<TD><CODE><B><A HREF="ReaderElement.html#ReaderElement(java.sql.Connection, long, long, java.lang.String, java.lang.String)">ReaderElement</A></B>(java.sql.Connection&nbsp;conn,
102
              long&nbsp;nodeid,
103
              long&nbsp;parentnodeid,
104
              java.lang.String&nbsp;nodename,
105
              java.lang.String&nbsp;nodedata)</CODE>
106

    
107
<BR>
108
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a new ReaderElement instance</TD>
109
</TR>
110
</TABLE>
111
&nbsp;
112
<!-- ========== METHOD SUMMARY =========== -->
113

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

    
125
<BR>
126
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;String representation for display purposes (recursively descends through
127
 children to create an XML subtree)</TD>
128
</TR>
129
</TABLE>
130
&nbsp;<A NAME="methods_inherited_from_class_BasicElement"><!-- --></A>
131
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
132
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
133
<TD><B>Methods inherited from class <A HREF="BasicElement.html">BasicElement</A></B></TD>
134
</TR>
135
<TR BGCOLOR="white" CLASS="TableRowColor">
136
<TD><CODE><A HREF="BasicElement.html#appendContent(char[], int, int)">appendContent</A>, 
137
<A HREF="BasicElement.html#appendContent(java.lang.String)">appendContent</A>, 
138
<A HREF="BasicElement.html#getAttribute(java.lang.String)">getAttribute</A>, 
139
<A HREF="BasicElement.html#getAttributes()">getAttributes</A>, 
140
<A HREF="BasicElement.html#getContent()">getContent</A>, 
141
<A HREF="BasicElement.html#getElementID()">getElementID</A>, 
142
<A HREF="BasicElement.html#getParentID()">getParentID</A>, 
143
<A HREF="BasicElement.html#getTagName()">getTagName</A>, 
144
<A HREF="BasicElement.html#setAttribute(java.lang.String, java.lang.String)">setAttribute</A>, 
145
<A HREF="BasicElement.html#setElementID(long)">setElementID</A>, 
146
<A HREF="BasicElement.html#setParentID(long)">setParentID</A>, 
147
<A HREF="BasicElement.html#setTagName(java.lang.String)">setTagName</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="ReaderElement(java.sql.Connection)"><!-- --></A><H3>
185
ReaderElement</H3>
186
<PRE>
187
public <B>ReaderElement</B>(java.sql.Connection&nbsp;conn)</PRE>
188
<DL>
189
<DD>Construct a new ReaderElement instance<DD><DL>
190
<DT><B>Parameters:</B><DD><CODE>conn</CODE> - the database connection to use to initialize</DL>
191
</DD>
192
</DL>
193
<HR>
194

    
195
<A NAME="ReaderElement(java.sql.Connection, long)"><!-- --></A><H3>
196
ReaderElement</H3>
197
<PRE>
198
public <B>ReaderElement</B>(java.sql.Connection&nbsp;conn,
199
                     long&nbsp;nodeid)</PRE>
200
<DL>
201
<DD>Construct a new ReaderElement instance<DD><DL>
202
<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>
203
</DD>
204
</DL>
205
<HR>
206

    
207
<A NAME="ReaderElement(java.sql.Connection, long, long, java.lang.String, java.lang.String)"><!-- --></A><H3>
208
ReaderElement</H3>
209
<PRE>
210
public <B>ReaderElement</B>(java.sql.Connection&nbsp;conn,
211
                     long&nbsp;nodeid,
212
                     long&nbsp;parentnodeid,
213
                     java.lang.String&nbsp;nodename,
214
                     java.lang.String&nbsp;nodedata)</PRE>
215
<DL>
216
<DD>Construct a new ReaderElement instance<DD><DL>
217
<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>
218
</DD>
219
</DL>
220

    
221
<!-- ============ METHOD DETAIL ========== -->
222

    
223
<A NAME="method_detail"><!-- --></A>
224
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
225
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
226
<TD COLSPAN=1><FONT SIZE="+2">
227
<B>Method Detail</B></FONT></TD>
228
</TR>
229
</TABLE>
230

    
231
<A NAME="toString()"><!-- --></A><H3>
232
toString</H3>
233
<PRE>
234
public java.lang.String <B>toString</B>()</PRE>
235
<DL>
236
<DD>String representation for display purposes (recursively descends through
237
 children to create an XML subtree)<DD><DL>
238
<DT><B>Overrides:</B><DD><A HREF="BasicElement.html#toString()">toString</A> in class <A HREF="BasicElement.html">BasicElement</A></DL>
239
</DD>
240
</DL>
241
<!-- ========= END OF CLASS DATA ========= -->
242
<HR>
243

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

    
265
<TR>
266
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
267
&nbsp;<A HREF="MetaCatServlet.html"><B>PREV CLASS</B></A>&nbsp;
268
&nbsp;NEXT CLASS</FONT></TD>
269
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
270
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
271
&nbsp;<A HREF="ReaderElement.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
272
</TR>
273
<TR>
274
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
275
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
276
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
277
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
278
</TR>
279
</TABLE>
280
<!-- =========== END OF NAVBAR =========== -->
281

    
282
<HR>
283

    
284
</BODY>
285
</HTML>
(7-7/16)