1
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
|
2
|
<!--NewPage-->
|
3
|
<HTML>
|
4
|
<HEAD>
|
5
|
<!-- Generated by javadoc on Tue Nov 07 20:14:06 PST 2000 -->
|
6
|
<TITLE>
|
7
|
MetaCat API: Class PINode
|
8
|
</TITLE>
|
9
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
10
|
</HEAD>
|
11
|
<BODY BGCOLOR="white">
|
12
|
|
13
|
<!-- ========== START OF NAVBAR ========== -->
|
14
|
<A NAME="navbar_top"><!-- --></A>
|
15
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
16
|
<TR>
|
17
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
18
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
19
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
20
|
<TR ALIGN="center" VALIGN="top">
|
21
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
22
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
23
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PINode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
24
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
25
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
26
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
27
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
28
|
</TR>
|
29
|
</TABLE>
|
30
|
</TD>
|
31
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
32
|
</EM>
|
33
|
</TD>
|
34
|
</TR>
|
35
|
|
36
|
<TR>
|
37
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
38
|
<A HREF="../../../../edu/ucsb/nceas/metacat/NodeRecord.html"><B>PREV CLASS</B></A>
|
39
|
<A HREF="../../../../edu/ucsb/nceas/metacat/QuerySpecification.html"><B>NEXT CLASS</B></A></FONT></TD>
|
40
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
41
|
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
42
|
<A HREF="PINode.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
43
|
</TR>
|
44
|
<TR>
|
45
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
46
|
SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
47
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
48
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
49
|
</TR>
|
50
|
</TABLE>
|
51
|
<!-- =========== END OF NAVBAR =========== -->
|
52
|
|
53
|
<HR>
|
54
|
<!-- ======== START OF CLASS DATA ======== -->
|
55
|
<H2>
|
56
|
<FONT SIZE="-1">
|
57
|
edu.ucsb.nceas.metacat</FONT>
|
58
|
<BR>
|
59
|
Class PINode</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.PINode</B>
|
66
|
</PRE>
|
67
|
<HR>
|
68
|
<DL>
|
69
|
<DT>public class <B>PINode</B><DT>extends <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html">BasicNode</A></DL>
|
70
|
|
71
|
<P>
|
72
|
A Class that represents an XML PI node 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/PINode.html#PINode(long, long, java.lang.String, java.lang.String)">PINode</A></B>(long nodeid,
|
93
|
long parentnodeid,
|
94
|
java.lang.String nodename,
|
95
|
java.lang.String nodedata)</CODE>
|
96
|
|
97
|
<BR>
|
98
|
Construct a new PINode instance</TD>
|
99
|
</TR>
|
100
|
</TABLE>
|
101
|
|
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> java.lang.String</CODE></FONT></TD>
|
113
|
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/PINode.html#getNodeData()">getNodeData</A></B>()</CODE>
|
114
|
|
115
|
<BR>
|
116
|
Get the node data as a string value</TD>
|
117
|
</TR>
|
118
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
119
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
120
|
<CODE> void</CODE></FONT></TD>
|
121
|
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/PINode.html#setNodeData(java.lang.String)">setNodeData</A></B>(java.lang.String nodedata)</CODE>
|
122
|
|
123
|
<BR>
|
124
|
Set the node data to the given string</TD>
|
125
|
</TR>
|
126
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
127
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
128
|
<CODE> java.lang.String</CODE></FONT></TD>
|
129
|
<TD><CODE><B><A HREF="../../../../edu/ucsb/nceas/metacat/PINode.html#toString()">toString</A></B>()</CODE>
|
130
|
|
131
|
<BR>
|
132
|
String representation of this text node</TD>
|
133
|
</TR>
|
134
|
</TABLE>
|
135
|
<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>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getAttribute(java.lang.String)">getAttribute</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getAttributes()">getAttributes</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getChildren()">getChildren</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getDocID()">getDocID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getNodeID()">getNodeID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getNodeIndex()">getNodeIndex</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getNodeType()">getNodeType</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getParentID()">getParentID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getRootNodeID()">getRootNodeID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#getTagName()">getTagName</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#incChildNum()">incChildNum</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setAttribute(java.lang.String, java.lang.String)">setAttribute</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setDocID(java.lang.String)">setDocID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setNodeID(long)">setNodeID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setNodeIndex(int)">setNodeIndex</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setNodeType(java.lang.String)">setNodeType</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setParentID(long)">setParentID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setRootNodeID(long)">setRootNodeID</A>, <A HREF="../../../../edu/ucsb/nceas/metacat/BasicNode.html#setTagName(java.lang.String)">setTagName</A></CODE></TD>
|
142
|
</TR>
|
143
|
</TABLE>
|
144
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
145
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
146
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
147
|
<TD><B>Methods inherited from class java.lang.Object</B></TD>
|
148
|
</TR>
|
149
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
150
|
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
151
|
</TR>
|
152
|
</TABLE>
|
153
|
|
154
|
<P>
|
155
|
|
156
|
<!-- ============ FIELD DETAIL =========== -->
|
157
|
|
158
|
|
159
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
160
|
|
161
|
<A NAME="constructor_detail"><!-- --></A>
|
162
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
163
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
164
|
<TD COLSPAN=1><FONT SIZE="+2">
|
165
|
<B>Constructor Detail</B></FONT></TD>
|
166
|
</TR>
|
167
|
</TABLE>
|
168
|
|
169
|
<A NAME="PINode(long, long, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
170
|
PINode</H3>
|
171
|
<PRE>
|
172
|
public <B>PINode</B>(long nodeid,
|
173
|
long parentnodeid,
|
174
|
java.lang.String nodename,
|
175
|
java.lang.String nodedata)</PRE>
|
176
|
<DL>
|
177
|
<DD>Construct a new PINode instance<DD><DL>
|
178
|
<DT><B>Parameters:</B><DD><CODE>nodeid</CODE> - the 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 PI node<DD><CODE>nodedata</CODE> - the contents of the PI node</DL>
|
179
|
</DD>
|
180
|
</DL>
|
181
|
|
182
|
<!-- ============ METHOD DETAIL ========== -->
|
183
|
|
184
|
<A NAME="method_detail"><!-- --></A>
|
185
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
186
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
187
|
<TD COLSPAN=1><FONT SIZE="+2">
|
188
|
<B>Method Detail</B></FONT></TD>
|
189
|
</TR>
|
190
|
</TABLE>
|
191
|
|
192
|
<A NAME="setNodeData(java.lang.String)"><!-- --></A><H3>
|
193
|
setNodeData</H3>
|
194
|
<PRE>
|
195
|
public void <B>setNodeData</B>(java.lang.String nodedata)</PRE>
|
196
|
<DL>
|
197
|
<DD>Set the node data to the given string</DL>
|
198
|
<HR>
|
199
|
|
200
|
<A NAME="getNodeData()"><!-- --></A><H3>
|
201
|
getNodeData</H3>
|
202
|
<PRE>
|
203
|
public java.lang.String <B>getNodeData</B>()</PRE>
|
204
|
<DL>
|
205
|
<DD>Get the node data as a string value</DL>
|
206
|
<HR>
|
207
|
|
208
|
<A NAME="toString()"><!-- --></A><H3>
|
209
|
toString</H3>
|
210
|
<PRE>
|
211
|
public java.lang.String <B>toString</B>()</PRE>
|
212
|
<DL>
|
213
|
<DD>String representation of this text node<DD><DL>
|
214
|
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
|
215
|
</DD>
|
216
|
</DL>
|
217
|
<!-- ========= END OF CLASS DATA ========= -->
|
218
|
<HR>
|
219
|
|
220
|
<!-- ========== START OF NAVBAR ========== -->
|
221
|
<A NAME="navbar_bottom"><!-- --></A>
|
222
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
223
|
<TR>
|
224
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
225
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
226
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
227
|
<TR ALIGN="center" VALIGN="top">
|
228
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
229
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
230
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/PINode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
231
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
232
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
233
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
234
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
235
|
</TR>
|
236
|
</TABLE>
|
237
|
</TD>
|
238
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
239
|
</EM>
|
240
|
</TD>
|
241
|
</TR>
|
242
|
|
243
|
<TR>
|
244
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
245
|
<A HREF="../../../../edu/ucsb/nceas/metacat/NodeRecord.html"><B>PREV CLASS</B></A>
|
246
|
<A HREF="../../../../edu/ucsb/nceas/metacat/QuerySpecification.html"><B>NEXT CLASS</B></A></FONT></TD>
|
247
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
248
|
<A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
249
|
<A HREF="PINode.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
250
|
</TR>
|
251
|
<TR>
|
252
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
253
|
SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
254
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
255
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
256
|
</TR>
|
257
|
</TABLE>
|
258
|
<!-- =========== END OF NAVBAR =========== -->
|
259
|
|
260
|
<HR>
|
261
|
<i>Copyright ? 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.</i>
|
262
|
</BODY>
|
263
|
</HTML>
|