1 |
31
|
jones
|
<!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 |
50
|
jones
|
<!-- Generated by javadoc on Mon Apr 17 13:49:15 AKDT 2000 -->
|
6 |
31
|
jones
|
<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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
22 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
23 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
24 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
25 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </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 |
|
|
PREV CLASS
|
37 |
|
|
<A HREF="DBReader.html"><B>NEXT CLASS</B></A></FONT></TD>
|
38 |
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
39 |
|
|
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>
|
40 |
|
|
<A HREF="BasicElement.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: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
45 |
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
46 |
|
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 BasicElement</H2>
|
55 |
|
|
<PRE>
|
56 |
|
|
java.lang.Object
|
57 |
|
|
|
|
58 |
|
|
+--<B>BasicElement</B>
|
59 |
|
|
</PRE>
|
60 |
|
|
<DL>
|
61 |
|
|
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="DBSAXElement.html">DBSAXElement</A>, <A HREF="ReaderElement.html">ReaderElement</A></DD>
|
62 |
|
|
</DL>
|
63 |
|
|
<HR>
|
64 |
|
|
<DL>
|
65 |
|
|
<DT>public class <B>BasicElement</B><DT>extends java.lang.Object</DL>
|
66 |
|
|
|
67 |
|
|
<P>
|
68 |
|
|
A Class that represents an XML element and its contents
|
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="BasicElement.html#BasicElement()">BasicElement</A></B>()</CODE>
|
89 |
|
|
|
90 |
|
|
<BR>
|
91 |
|
|
Construct a Basic Element</TD>
|
92 |
|
|
</TR>
|
93 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
94 |
|
|
<TD><CODE><B><A HREF="BasicElement.html#BasicElement(long, java.lang.String, long)">BasicElement</A></B>(long element_id,
|
95 |
|
|
java.lang.String tagname,
|
96 |
|
|
long parent_id)</CODE>
|
97 |
|
|
|
98 |
|
|
<BR>
|
99 |
|
|
Construct a Basic Element</TD>
|
100 |
|
|
</TR>
|
101 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
102 |
|
|
<TD><CODE><B><A HREF="BasicElement.html#BasicElement(java.lang.String, long)">BasicElement</A></B>(java.lang.String tagname,
|
103 |
|
|
long parent_id)</CODE>
|
104 |
|
|
|
105 |
|
|
<BR>
|
106 |
|
|
Construct a Basic Element</TD>
|
107 |
|
|
</TR>
|
108 |
|
|
</TABLE>
|
109 |
|
|
|
110 |
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
111 |
|
|
|
112 |
|
|
<A NAME="method_summary"><!-- --></A>
|
113 |
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
114 |
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
115 |
|
|
<TD COLSPAN=2><FONT SIZE="+2">
|
116 |
|
|
<B>Method Summary</B></FONT></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="BasicElement.html#appendContent(char[], int, int)">appendContent</A></B>(char[] cbuf,
|
122 |
|
|
int start,
|
123 |
|
|
int len)</CODE>
|
124 |
|
|
|
125 |
|
|
<BR>
|
126 |
|
|
Append to the content of the element</TD>
|
127 |
|
|
</TR>
|
128 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
129 |
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
130 |
|
|
<CODE> void</CODE></FONT></TD>
|
131 |
|
|
<TD><CODE><B><A HREF="BasicElement.html#appendContent(java.lang.String)">appendContent</A></B>(java.lang.String new_content)</CODE>
|
132 |
|
|
|
133 |
|
|
<BR>
|
134 |
|
|
Append to the content of the element</TD>
|
135 |
|
|
</TR>
|
136 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
137 |
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
138 |
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
139 |
|
|
<TD><CODE><B><A HREF="BasicElement.html#getAttribute(java.lang.String)">getAttribute</A></B>(java.lang.String attName)</CODE>
|
140 |
|
|
|
141 |
|
|
<BR>
|
142 |
|
|
Get an attribute value by name</TD>
|
143 |
|
|
</TR>
|
144 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
145 |
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
146 |
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
147 |
|
|
<TD><CODE><B><A HREF="BasicElement.html#getAttributes()">getAttributes</A></B>()</CODE>
|
148 |
|
|
|
149 |
|
|
<BR>
|
150 |
|
|
Get the attributes as a string</TD>
|
151 |
|
|
</TR>
|
152 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
153 |
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
154 |
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
155 |
|
|
<TD><CODE><B><A HREF="BasicElement.html#getContent()">getContent</A></B>()</CODE>
|
156 |
|
|
|
157 |
|
|
<BR>
|
158 |
|
|
Get the content of the element</TD>
|
159 |
|
|
</TR>
|
160 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
161 |
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
162 |
|
|
<CODE> long</CODE></FONT></TD>
|
163 |
|
|
<TD><CODE><B><A HREF="BasicElement.html#getElementID()">getElementID</A></B>()</CODE>
|
164 |
|
|
|
165 |
|
|
<BR>
|
166 |
|
|
Get the id of this element</TD>
|
167 |
|
|
</TR>
|
168 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
169 |
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
170 |
|
|
<CODE> long</CODE></FONT></TD>
|
171 |
|
|
<TD><CODE><B><A HREF="BasicElement.html#getParentID()">getParentID</A></B>()</CODE>
|
172 |
|
|
|
173 |
|
|
<BR>
|
174 |
|
|
Get the parent id of this element</TD>
|
175 |
|
|
</TR>
|
176 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
177 |
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
178 |
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
179 |
|
|
<TD><CODE><B><A HREF="BasicElement.html#getTagName()">getTagName</A></B>()</CODE>
|
180 |
|
|
|
181 |
|
|
<BR>
|
182 |
|
|
Get the name of this element</TD>
|
183 |
|
|
</TR>
|
184 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
185 |
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
186 |
|
|
<CODE> void</CODE></FONT></TD>
|
187 |
|
|
<TD><CODE><B><A HREF="BasicElement.html#setAttribute(java.lang.String, java.lang.String)">setAttribute</A></B>(java.lang.String attName,
|
188 |
|
|
java.lang.String attValue)</CODE>
|
189 |
|
|
|
190 |
|
|
<BR>
|
191 |
|
|
Add a new attribute to this element, or set its value</TD>
|
192 |
|
|
</TR>
|
193 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
194 |
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
195 |
|
|
<CODE> void</CODE></FONT></TD>
|
196 |
|
|
<TD><CODE><B><A HREF="BasicElement.html#setElementID(long)">setElementID</A></B>(long element_id)</CODE>
|
197 |
|
|
|
198 |
|
|
<BR>
|
199 |
|
|
Set the id of this element</TD>
|
200 |
|
|
</TR>
|
201 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
202 |
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
203 |
|
|
<CODE> void</CODE></FONT></TD>
|
204 |
|
|
<TD><CODE><B><A HREF="BasicElement.html#setParentID(long)">setParentID</A></B>(long parent_id)</CODE>
|
205 |
|
|
|
206 |
|
|
<BR>
|
207 |
|
|
Set the parent id of this element</TD>
|
208 |
|
|
</TR>
|
209 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
210 |
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
211 |
|
|
<CODE> void</CODE></FONT></TD>
|
212 |
|
|
<TD><CODE><B><A HREF="BasicElement.html#setTagName(java.lang.String)">setTagName</A></B>(java.lang.String tagname)</CODE>
|
213 |
|
|
|
214 |
|
|
<BR>
|
215 |
|
|
Set the tagname of this element</TD>
|
216 |
|
|
</TR>
|
217 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
218 |
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
219 |
|
|
<CODE> java.lang.String</CODE></FONT></TD>
|
220 |
|
|
<TD><CODE><B><A HREF="BasicElement.html#toString()">toString</A></B>()</CODE>
|
221 |
|
|
|
222 |
|
|
<BR>
|
223 |
|
|
convert the element to a string representation for display</TD>
|
224 |
|
|
</TR>
|
225 |
|
|
</TABLE>
|
226 |
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
227 |
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
228 |
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
229 |
|
|
<TD><B>Methods inherited from class java.lang.Object</B></TD>
|
230 |
|
|
</TR>
|
231 |
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
232 |
|
|
<TD><CODE>clone,
|
233 |
|
|
equals,
|
234 |
|
|
finalize,
|
235 |
|
|
getClass,
|
236 |
|
|
hashCode,
|
237 |
|
|
notify,
|
238 |
|
|
notifyAll,
|
239 |
|
|
wait,
|
240 |
|
|
wait,
|
241 |
|
|
wait</CODE></TD>
|
242 |
|
|
</TR>
|
243 |
|
|
</TABLE>
|
244 |
|
|
|
245 |
|
|
<P>
|
246 |
|
|
|
247 |
|
|
<!-- ============ FIELD DETAIL =========== -->
|
248 |
|
|
|
249 |
|
|
|
250 |
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
251 |
|
|
|
252 |
|
|
<A NAME="constructor_detail"><!-- --></A>
|
253 |
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
254 |
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
255 |
|
|
<TD COLSPAN=1><FONT SIZE="+2">
|
256 |
|
|
<B>Constructor Detail</B></FONT></TD>
|
257 |
|
|
</TR>
|
258 |
|
|
</TABLE>
|
259 |
|
|
|
260 |
|
|
<A NAME="BasicElement()"><!-- --></A><H3>
|
261 |
|
|
BasicElement</H3>
|
262 |
|
|
<PRE>
|
263 |
|
|
public <B>BasicElement</B>()</PRE>
|
264 |
|
|
<DL>
|
265 |
|
|
<DD>Construct a Basic Element</DL>
|
266 |
|
|
<HR>
|
267 |
|
|
|
268 |
|
|
<A NAME="BasicElement(java.lang.String, long)"><!-- --></A><H3>
|
269 |
|
|
BasicElement</H3>
|
270 |
|
|
<PRE>
|
271 |
|
|
public <B>BasicElement</B>(java.lang.String tagname,
|
272 |
|
|
long parent_id)</PRE>
|
273 |
|
|
<DL>
|
274 |
|
|
<DD>Construct a Basic Element<DD><DL>
|
275 |
|
|
<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</DL>
|
276 |
|
|
</DD>
|
277 |
|
|
</DL>
|
278 |
|
|
<HR>
|
279 |
|
|
|
280 |
|
|
<A NAME="BasicElement(long, java.lang.String, long)"><!-- --></A><H3>
|
281 |
|
|
BasicElement</H3>
|
282 |
|
|
<PRE>
|
283 |
|
|
public <B>BasicElement</B>(long element_id,
|
284 |
|
|
java.lang.String tagname,
|
285 |
|
|
long parent_id)</PRE>
|
286 |
|
|
<DL>
|
287 |
|
|
<DD>Construct a Basic Element<DD><DL>
|
288 |
|
|
<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>
|
289 |
|
|
</DD>
|
290 |
|
|
</DL>
|
291 |
|
|
|
292 |
|
|
<!-- ============ METHOD DETAIL ========== -->
|
293 |
|
|
|
294 |
|
|
<A NAME="method_detail"><!-- --></A>
|
295 |
|
|
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
296 |
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
297 |
|
|
<TD COLSPAN=1><FONT SIZE="+2">
|
298 |
|
|
<B>Method Detail</B></FONT></TD>
|
299 |
|
|
</TR>
|
300 |
|
|
</TABLE>
|
301 |
|
|
|
302 |
|
|
<A NAME="toString()"><!-- --></A><H3>
|
303 |
|
|
toString</H3>
|
304 |
|
|
<PRE>
|
305 |
|
|
public java.lang.String <B>toString</B>()</PRE>
|
306 |
|
|
<DL>
|
307 |
|
|
<DD>convert the element to a string representation for display<DD><DL>
|
308 |
|
|
<DT><B>Overrides:</B><DD>toString in class java.lang.Object</DL>
|
309 |
|
|
</DD>
|
310 |
|
|
</DL>
|
311 |
|
|
<HR>
|
312 |
|
|
|
313 |
|
|
<A NAME="getElementID()"><!-- --></A><H3>
|
314 |
|
|
getElementID</H3>
|
315 |
|
|
<PRE>
|
316 |
|
|
public long <B>getElementID</B>()</PRE>
|
317 |
|
|
<DL>
|
318 |
|
|
<DD>Get the id of this element</DL>
|
319 |
|
|
<HR>
|
320 |
|
|
|
321 |
|
|
<A NAME="setElementID(long)"><!-- --></A><H3>
|
322 |
|
|
setElementID</H3>
|
323 |
|
|
<PRE>
|
324 |
|
|
public void <B>setElementID</B>(long element_id)</PRE>
|
325 |
|
|
<DL>
|
326 |
|
|
<DD>Set the id of this element</DL>
|
327 |
|
|
<HR>
|
328 |
|
|
|
329 |
|
|
<A NAME="getParentID()"><!-- --></A><H3>
|
330 |
|
|
getParentID</H3>
|
331 |
|
|
<PRE>
|
332 |
|
|
public long <B>getParentID</B>()</PRE>
|
333 |
|
|
<DL>
|
334 |
|
|
<DD>Get the parent id of this element</DL>
|
335 |
|
|
<HR>
|
336 |
|
|
|
337 |
|
|
<A NAME="setParentID(long)"><!-- --></A><H3>
|
338 |
|
|
setParentID</H3>
|
339 |
|
|
<PRE>
|
340 |
|
|
public void <B>setParentID</B>(long parent_id)</PRE>
|
341 |
|
|
<DL>
|
342 |
|
|
<DD>Set the parent id of this element</DL>
|
343 |
|
|
<HR>
|
344 |
|
|
|
345 |
|
|
<A NAME="getTagName()"><!-- --></A><H3>
|
346 |
|
|
getTagName</H3>
|
347 |
|
|
<PRE>
|
348 |
|
|
public java.lang.String <B>getTagName</B>()</PRE>
|
349 |
|
|
<DL>
|
350 |
|
|
<DD>Get the name of this element</DL>
|
351 |
|
|
<HR>
|
352 |
|
|
|
353 |
|
|
<A NAME="setTagName(java.lang.String)"><!-- --></A><H3>
|
354 |
|
|
setTagName</H3>
|
355 |
|
|
<PRE>
|
356 |
|
|
public void <B>setTagName</B>(java.lang.String tagname)</PRE>
|
357 |
|
|
<DL>
|
358 |
|
|
<DD>Set the tagname of this element</DL>
|
359 |
|
|
<HR>
|
360 |
|
|
|
361 |
|
|
<A NAME="getAttributes()"><!-- --></A><H3>
|
362 |
|
|
getAttributes</H3>
|
363 |
|
|
<PRE>
|
364 |
|
|
public java.lang.String <B>getAttributes</B>()</PRE>
|
365 |
|
|
<DL>
|
366 |
|
|
<DD>Get the attributes as a string</DL>
|
367 |
|
|
<HR>
|
368 |
|
|
|
369 |
|
|
<A NAME="setAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
370 |
|
|
setAttribute</H3>
|
371 |
|
|
<PRE>
|
372 |
|
|
public void <B>setAttribute</B>(java.lang.String attName,
|
373 |
|
|
java.lang.String attValue)</PRE>
|
374 |
|
|
<DL>
|
375 |
|
|
<DD>Add a new attribute to this element, or set its value</DL>
|
376 |
|
|
<HR>
|
377 |
|
|
|
378 |
|
|
<A NAME="getAttribute(java.lang.String)"><!-- --></A><H3>
|
379 |
|
|
getAttribute</H3>
|
380 |
|
|
<PRE>
|
381 |
|
|
public java.lang.String <B>getAttribute</B>(java.lang.String attName)</PRE>
|
382 |
|
|
<DL>
|
383 |
|
|
<DD>Get an attribute value by name</DL>
|
384 |
|
|
<HR>
|
385 |
|
|
|
386 |
|
|
<A NAME="appendContent(char[], int, int)"><!-- --></A><H3>
|
387 |
|
|
appendContent</H3>
|
388 |
|
|
<PRE>
|
389 |
|
|
public void <B>appendContent</B>(char[] cbuf,
|
390 |
|
|
int start,
|
391 |
|
|
int len)</PRE>
|
392 |
|
|
<DL>
|
393 |
|
|
<DD>Append to the content of the element</DL>
|
394 |
|
|
<HR>
|
395 |
|
|
|
396 |
|
|
<A NAME="appendContent(java.lang.String)"><!-- --></A><H3>
|
397 |
|
|
appendContent</H3>
|
398 |
|
|
<PRE>
|
399 |
|
|
public void <B>appendContent</B>(java.lang.String new_content)</PRE>
|
400 |
|
|
<DL>
|
401 |
|
|
<DD>Append to the content of the element</DL>
|
402 |
|
|
<HR>
|
403 |
|
|
|
404 |
|
|
<A NAME="getContent()"><!-- --></A><H3>
|
405 |
|
|
getContent</H3>
|
406 |
|
|
<PRE>
|
407 |
|
|
public java.lang.String <B>getContent</B>()</PRE>
|
408 |
|
|
<DL>
|
409 |
|
|
<DD>Get the content of the element</DL>
|
410 |
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
411 |
|
|
<HR>
|
412 |
|
|
|
413 |
|
|
<!-- ========== START OF NAVBAR ========== -->
|
414 |
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
415 |
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
416 |
|
|
<TR>
|
417 |
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
418 |
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
419 |
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
420 |
|
|
<TR ALIGN="center" VALIGN="top">
|
421 |
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
422 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
423 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
424 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
425 |
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
426 |
|
|
</TR>
|
427 |
|
|
</TABLE>
|
428 |
|
|
</TD>
|
429 |
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
430 |
|
|
</EM>
|
431 |
|
|
</TD>
|
432 |
|
|
</TR>
|
433 |
|
|
|
434 |
|
|
<TR>
|
435 |
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
436 |
|
|
PREV CLASS
|
437 |
|
|
<A HREF="DBReader.html"><B>NEXT CLASS</B></A></FONT></TD>
|
438 |
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
439 |
|
|
<A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>
|
440 |
|
|
<A HREF="BasicElement.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
441 |
|
|
</TR>
|
442 |
|
|
<TR>
|
443 |
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
444 |
|
|
SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
445 |
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
446 |
|
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
447 |
|
|
</TR>
|
448 |
|
|
</TABLE>
|
449 |
|
|
<!-- =========== END OF NAVBAR =========== -->
|
450 |
|
|
|
451 |
|
|
<HR>
|
452 |
|
|
|
453 |
|
|
</BODY>
|
454 |
|
|
</HTML>
|