Project

General

Profile

metacat / docs / edu / ucsb / nceas / metacat / BasicNode.html @ 138

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:57 AKDT 2000 -->
6
<TITLE>
7
MetaCat API: Class  BasicNode
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/BasicNode.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;PREV CLASS&nbsp;
39
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/DBDTDHandler.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="BasicNode.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  BasicNode</H2>
60
<PRE>
61
java.lang.Object
62
  |
63
  +--<B>edu.ucsb.nceas.metacat.BasicNode</B>
64
</PRE>
65
<DL>
66
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../edu/ucsb/nceas/metacat/DBSAXNode.html">DBSAXNode</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/ElementNode.html">ElementNode</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/TextNode.html">TextNode</A></DD>
67
</DL>
68
<HR>
69
<DL>
70
<DT>public class <B>BasicNode</B><DT>extends java.lang.Object</DL>
71

    
72
<P>
73
A Class that represents an XML node and its contents
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/BasicNode.html#BasicNode()">BasicNode</A></B>()</CODE>
94

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

    
104
<BR>
105
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a Basic Node</TD>
106
</TR>
107
<TR BGCOLOR="white" CLASS="TableRowColor">
108
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#BasicNode(java.lang.String)">BasicNode</A></B>(java.lang.String&nbsp;tagname)</CODE>
109

    
110
<BR>
111
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a Basic Node</TD>
112
</TR>
113
<TR BGCOLOR="white" CLASS="TableRowColor">
114
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#BasicNode(java.lang.String, long, int)">BasicNode</A></B>(java.lang.String&nbsp;tagname,
115
          long&nbsp;parent_id,
116
          int&nbsp;nodeIndex)</CODE>
117

    
118
<BR>
119
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct a Basic Node</TD>
120
</TR>
121
</TABLE>
122
&nbsp;
123
<!-- ========== METHOD SUMMARY =========== -->
124

    
125
<A NAME="method_summary"><!-- --></A>
126
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
127
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
128
<TD COLSPAN=2><FONT SIZE="+2">
129
<B>Method Summary</B></FONT></TD>
130
</TR>
131
<TR BGCOLOR="white" CLASS="TableRowColor">
132
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133
<CODE>&nbsp;void</CODE></FONT></TD>
134
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#addChildNode(edu.ucsb.nceas.metacat.BasicNode)">addChildNode</A></B>(<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html">BasicNode</A>&nbsp;child)</CODE>
135

    
136
<BR>
137
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a child node to this node</TD>
138
</TR>
139
<TR BGCOLOR="white" CLASS="TableRowColor">
140
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
142
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getAttribute(java.lang.String)">getAttribute</A></B>(java.lang.String&nbsp;attName)</CODE>
143

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

    
152
<BR>
153
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the attributes as a string</TD>
154
</TR>
155
<TR BGCOLOR="white" CLASS="TableRowColor">
156
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157
<CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD>
158
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getChildren()">getChildren</A></B>()</CODE>
159

    
160
<BR>
161
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the an enumeration of the children of this node</TD>
162
</TR>
163
<TR BGCOLOR="white" CLASS="TableRowColor">
164
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165
<CODE>&nbsp;long</CODE></FONT></TD>
166
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getNodeID()">getNodeID</A></B>()</CODE>
167

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

    
176
<BR>
177
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get nodeIndex of the node</TD>
178
</TR>
179
<TR BGCOLOR="white" CLASS="TableRowColor">
180
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
181
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
182
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getNodeType()">getNodeType</A></B>()</CODE>
183

    
184
<BR>
185
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the type of this node</TD>
186
</TR>
187
<TR BGCOLOR="white" CLASS="TableRowColor">
188
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
189
<CODE>&nbsp;long</CODE></FONT></TD>
190
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getParentID()">getParentID</A></B>()</CODE>
191

    
192
<BR>
193
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the parent id of this node</TD>
194
</TR>
195
<TR BGCOLOR="white" CLASS="TableRowColor">
196
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
197
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
198
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getTagName()">getTagName</A></B>()</CODE>
199

    
200
<BR>
201
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the name of this node</TD>
202
</TR>
203
<TR BGCOLOR="white" CLASS="TableRowColor">
204
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
205
<CODE>&nbsp;int</CODE></FONT></TD>
206
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#incChildNum()">incChildNum</A></B>()</CODE>
207

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

    
217
<BR>
218
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a new attribute to this node, or set its value</TD>
219
</TR>
220
<TR BGCOLOR="white" CLASS="TableRowColor">
221
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
222
<CODE>&nbsp;void</CODE></FONT></TD>
223
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setNodeID(long)">setNodeID</A></B>(long&nbsp;node_id)</CODE>
224

    
225
<BR>
226
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the id of this node</TD>
227
</TR>
228
<TR BGCOLOR="white" CLASS="TableRowColor">
229
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
230
<CODE>&nbsp;void</CODE></FONT></TD>
231
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setNodeIndex(int)">setNodeIndex</A></B>(int&nbsp;nodeIndex)</CODE>
232

    
233
<BR>
234
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the node index of this node</TD>
235
</TR>
236
<TR BGCOLOR="white" CLASS="TableRowColor">
237
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
238
<CODE>&nbsp;void</CODE></FONT></TD>
239
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setNodeType(java.lang.String)">setNodeType</A></B>(java.lang.String&nbsp;type)</CODE>
240

    
241
<BR>
242
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the type of this node</TD>
243
</TR>
244
<TR BGCOLOR="white" CLASS="TableRowColor">
245
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
246
<CODE>&nbsp;void</CODE></FONT></TD>
247
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setParentID(long)">setParentID</A></B>(long&nbsp;parent_id)</CODE>
248

    
249
<BR>
250
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the parent id of this node</TD>
251
</TR>
252
<TR BGCOLOR="white" CLASS="TableRowColor">
253
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
254
<CODE>&nbsp;void</CODE></FONT></TD>
255
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setTagName(java.lang.String)">setTagName</A></B>(java.lang.String&nbsp;tagname)</CODE>
256

    
257
<BR>
258
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the name of this node</TD>
259
</TR>
260
</TABLE>
261
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
262
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
263
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
264
<TD><B>Methods inherited from class java.lang.Object</B></TD>
265
</TR>
266
<TR BGCOLOR="white" CLASS="TableRowColor">
267
<TD><CODE>clone, 
268
equals, 
269
finalize, 
270
getClass, 
271
hashCode, 
272
notify, 
273
notifyAll, 
274
toString, 
275
wait, 
276
wait, 
277
wait</CODE></TD>
278
</TR>
279
</TABLE>
280
&nbsp;
281
<P>
282

    
283
<!-- ============ FIELD DETAIL =========== -->
284

    
285

    
286
<!-- ========= CONSTRUCTOR DETAIL ======== -->
287

    
288
<A NAME="constructor_detail"><!-- --></A>
289
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
290
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
291
<TD COLSPAN=1><FONT SIZE="+2">
292
<B>Constructor Detail</B></FONT></TD>
293
</TR>
294
</TABLE>
295

    
296
<A NAME="BasicNode()"><!-- --></A><H3>
297
BasicNode</H3>
298
<PRE>
299
public <B>BasicNode</B>()</PRE>
300
<DL>
301
<DD>Construct a Basic Node</DL>
302
<HR>
303

    
304
<A NAME="BasicNode(java.lang.String)"><!-- --></A><H3>
305
BasicNode</H3>
306
<PRE>
307
public <B>BasicNode</B>(java.lang.String&nbsp;tagname)</PRE>
308
<DL>
309
<DD>Construct a Basic Node<DD><DL>
310
<DT><B>Parameters:</B><DD><CODE>tagname</CODE> - the name of the node</DL>
311
</DD>
312
</DL>
313
<HR>
314

    
315
<A NAME="BasicNode(java.lang.String, long, int)"><!-- --></A><H3>
316
BasicNode</H3>
317
<PRE>
318
public <B>BasicNode</B>(java.lang.String&nbsp;tagname,
319
                 long&nbsp;parent_id,
320
                 int&nbsp;nodeIndex)</PRE>
321
<DL>
322
<DD>Construct a Basic Node<DD><DL>
323
<DT><B>Parameters:</B><DD><CODE>tagname</CODE> - the name of the node<DD><CODE>parent_id</CODE> - the id number of the parent node<DD><CODE>nodeIndex</CODE> - - index of node among siblings in parent node
324
                    Every node initializes childNum to 0 when 
325
                    created and has interface incChildNum
326
                    when new child is created</DL>
327
</DD>
328
</DL>
329
<HR>
330

    
331
<A NAME="BasicNode(long, java.lang.String, long, int)"><!-- --></A><H3>
332
BasicNode</H3>
333
<PRE>
334
public <B>BasicNode</B>(long&nbsp;node_id,
335
                 java.lang.String&nbsp;tagname,
336
                 long&nbsp;parent_id,
337
                 int&nbsp;nodeIndex)</PRE>
338
<DL>
339
<DD>Construct a Basic Node<DD><DL>
340
<DT><B>Parameters:</B><DD><CODE>node_id</CODE> - the id number of the node<DD><CODE>tagname</CODE> - the name of the node<DD><CODE>parent_id</CODE> - the id number of the parent node</DL>
341
</DD>
342
</DL>
343

    
344
<!-- ============ METHOD DETAIL ========== -->
345

    
346
<A NAME="method_detail"><!-- --></A>
347
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
348
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
349
<TD COLSPAN=1><FONT SIZE="+2">
350
<B>Method Detail</B></FONT></TD>
351
</TR>
352
</TABLE>
353

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

    
362
<A NAME="setNodeID(long)"><!-- --></A><H3>
363
setNodeID</H3>
364
<PRE>
365
public void <B>setNodeID</B>(long&nbsp;node_id)</PRE>
366
<DL>
367
<DD>Set the id of this node</DL>
368
<HR>
369

    
370
<A NAME="getParentID()"><!-- --></A><H3>
371
getParentID</H3>
372
<PRE>
373
public long <B>getParentID</B>()</PRE>
374
<DL>
375
<DD>Get the parent id of this node</DL>
376
<HR>
377

    
378
<A NAME="setParentID(long)"><!-- --></A><H3>
379
setParentID</H3>
380
<PRE>
381
public void <B>setParentID</B>(long&nbsp;parent_id)</PRE>
382
<DL>
383
<DD>Set the parent id of this node</DL>
384
<HR>
385

    
386
<A NAME="getTagName()"><!-- --></A><H3>
387
getTagName</H3>
388
<PRE>
389
public java.lang.String <B>getTagName</B>()</PRE>
390
<DL>
391
<DD>Get the name of this node</DL>
392
<HR>
393

    
394
<A NAME="setTagName(java.lang.String)"><!-- --></A><H3>
395
setTagName</H3>
396
<PRE>
397
public void <B>setTagName</B>(java.lang.String&nbsp;tagname)</PRE>
398
<DL>
399
<DD>Set the name of this node</DL>
400
<HR>
401

    
402
<A NAME="getAttributes()"><!-- --></A><H3>
403
getAttributes</H3>
404
<PRE>
405
public java.lang.String <B>getAttributes</B>()</PRE>
406
<DL>
407
<DD>Get the attributes as a string</DL>
408
<HR>
409

    
410
<A NAME="setAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
411
setAttribute</H3>
412
<PRE>
413
public void <B>setAttribute</B>(java.lang.String&nbsp;attName,
414
                         java.lang.String&nbsp;attValue)</PRE>
415
<DL>
416
<DD>Add a new attribute to this node, or set its value</DL>
417
<HR>
418

    
419
<A NAME="getAttribute(java.lang.String)"><!-- --></A><H3>
420
getAttribute</H3>
421
<PRE>
422
public java.lang.String <B>getAttribute</B>(java.lang.String&nbsp;attName)</PRE>
423
<DL>
424
<DD>Get an attribute value by name</DL>
425
<HR>
426

    
427
<A NAME="getNodeIndex()"><!-- --></A><H3>
428
getNodeIndex</H3>
429
<PRE>
430
public int <B>getNodeIndex</B>()</PRE>
431
<DL>
432
<DD>Get nodeIndex of the node</DL>
433
<HR>
434

    
435
<A NAME="setNodeIndex(int)"><!-- --></A><H3>
436
setNodeIndex</H3>
437
<PRE>
438
public void <B>setNodeIndex</B>(int&nbsp;nodeIndex)</PRE>
439
<DL>
440
<DD>Set the node index of this node</DL>
441
<HR>
442

    
443
<A NAME="getNodeType()"><!-- --></A><H3>
444
getNodeType</H3>
445
<PRE>
446
public java.lang.String <B>getNodeType</B>()</PRE>
447
<DL>
448
<DD>Get the type of this node</DL>
449
<HR>
450

    
451
<A NAME="setNodeType(java.lang.String)"><!-- --></A><H3>
452
setNodeType</H3>
453
<PRE>
454
public void <B>setNodeType</B>(java.lang.String&nbsp;type)</PRE>
455
<DL>
456
<DD>Set the type of this node</DL>
457
<HR>
458

    
459
<A NAME="addChildNode(edu.ucsb.nceas.metacat.BasicNode)"><!-- --></A><H3>
460
addChildNode</H3>
461
<PRE>
462
public void <B>addChildNode</B>(<A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html">BasicNode</A>&nbsp;child)</PRE>
463
<DL>
464
<DD>Add a child node to this node</DL>
465
<HR>
466

    
467
<A NAME="getChildren()"><!-- --></A><H3>
468
getChildren</H3>
469
<PRE>
470
public java.util.Enumeration <B>getChildren</B>()</PRE>
471
<DL>
472
<DD>Get the an enumeration of the children of this node</DL>
473
<HR>
474

    
475
<A NAME="incChildNum()"><!-- --></A><H3>
476
incChildNum</H3>
477
<PRE>
478
public int <B>incChildNum</B>()</PRE>
479
<DL>
480
<DD>increase childNum when new child for the node is created</DL>
481
<!-- ========= END OF CLASS DATA ========= -->
482
<HR>
483

    
484
<!-- ========== START OF NAVBAR ========== -->
485
<A NAME="navbar_bottom"><!-- --></A>
486
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
487
<TR>
488
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
489
<A NAME="navbar_bottom_firstrow"><!-- --></A>
490
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
491
  <TR ALIGN="center" VALIGN="top">
492
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
493
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
494
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/BasicNode.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
495
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
496
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
497
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
498
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
499
  </TR>
500
</TABLE>
501
</TD>
502
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
503
</EM>
504
</TD>
505
</TR>
506

    
507
<TR>
508
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
509
&nbsp;PREV CLASS&nbsp;
510
&nbsp;<A HREF="../../../../edu/ucsb/nceas/metacat/DBDTDHandler.html"><B>NEXT CLASS</B></A></FONT></TD>
511
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
512
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
513
&nbsp;<A HREF="BasicNode.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
514
</TR>
515
<TR>
516
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
517
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
518
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
519
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
520
</TR>
521
</TABLE>
522
<!-- =========== END OF NAVBAR =========== -->
523

    
524
<HR>
525
<i>Copyright ? 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.</i>
526
</BODY>
527
</HTML>