Statistics
| Revision:

svn-gvsig-desktop / tags / tmp_build / build / distribution / izpack_4.2.0 / doc / izpack / javadoc / net / n3 / nanoxml / XMLElement.html @ 26384

History | View | Annotate | Download (35.1 KB)

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.5.0_16) on Wed Dec 17 09:24:18 CET 2008 -->
6
<TITLE>
7
XMLElement
8
</TITLE>
9

    
10
<META NAME="keywords" CONTENT="net.n3.nanoxml.XMLElement class">
11

    
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
13

    
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    parent.document.title="XMLElement";
18
}
19
</SCRIPT>
20
<NOSCRIPT>
21
</NOSCRIPT>
22

    
23
</HEAD>
24

    
25
<BODY BGCOLOR="white" onload="windowTitle();">
26

    
27

    
28
<!-- ========= START OF TOP NAVBAR ======= -->
29
<A NAME="navbar_top"><!-- --></A>
30
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
31
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
32
<TR>
33
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
34
<A NAME="navbar_top_firstrow"><!-- --></A>
35
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
36
  <TR ALIGN="center" VALIGN="top">
37
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
44
  </TR>
45
</TABLE>
46
</TD>
47
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
48
</EM>
49
</TD>
50
</TR>
51

    
52
<TR>
53
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
54
&nbsp;<A HREF="../../../net/n3/nanoxml/XMLBuilderFactory.html" title="class in net.n3.nanoxml"><B>PREV CLASS</B></A>&nbsp;
55
&nbsp;<A HREF="../../../net/n3/nanoxml/XMLEntityResolver.html" title="class in net.n3.nanoxml"><B>NEXT CLASS</B></A></FONT></TD>
56
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57
  <A HREF="../../../index.html?net/n3/nanoxml/XMLElement.html" target="_top"><B>FRAMES</B></A>  &nbsp;
58
&nbsp;<A HREF="XMLElement.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
59
&nbsp;<SCRIPT type="text/javascript">
60
  <!--
61
  if(window==top) {
62
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
63
  }
64
  //-->
65
</SCRIPT>
66
<NOSCRIPT>
67
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
68
</NOSCRIPT>
69

    
70

    
71
</FONT></TD>
72
</TR>
73
<TR>
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
76
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
78
</TR>
79
</TABLE>
80
<A NAME="skip-navbar_top"></A>
81
<!-- ========= END OF TOP NAVBAR ========= -->
82

    
83
<HR>
84
<!-- ======== START OF CLASS DATA ======== -->
85
<H2>
86
<FONT SIZE="-1">
87
net.n3.nanoxml</FONT>
88
<BR>
89
Class XMLElement</H2>
90
<PRE>
91
java.lang.Object
92
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>net.n3.nanoxml.XMLElement</B>
93
</PRE>
94
<DL>
95
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable</DD>
96
</DL>
97
<HR>
98
<DL>
99
<DT><PRE>public class <B>XMLElement</B><DT>extends java.lang.Object<DT>implements java.io.Serializable</DL>
100
</PRE>
101

    
102
<P>
103
XMLElement is an XML element. The standard NanoXML builder generates a tree of such elements.
104
<P>
105

    
106
<P>
107
<DL>
108
<DT><B>Version:</B></DT>
109
  <DD>$Name$, $Revision: 2163 $</DD>
110
<DT><B>Author:</B></DT>
111
  <DD>Marc De Scheemaecker</DD>
112
<DT><B>See Also:</B><DD><A HREF="../../../net/n3/nanoxml/StdXMLBuilder.html" title="class in net.n3.nanoxml"><CODE>StdXMLBuilder</CODE></A>, 
113
<A HREF="../../../serialized-form.html#net.n3.nanoxml.XMLElement">Serialized Form</A></DL>
114
<HR>
115

    
116
<P>
117
<!-- =========== FIELD SUMMARY =========== -->
118

    
119
<A NAME="field_summary"><!-- --></A>
120
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
121
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
122
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
123
<B>Field Summary</B></FONT></TH>
124
</TR>
125
<TR BGCOLOR="white" CLASS="TableRowColor">
126
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
127
<CODE>private &nbsp;java.util.Properties</CODE></FONT></TD>
128
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#attributes">attributes</A></B></CODE>
129

    
130
<BR>
131
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The attributes of the element.</TD>
132
</TR>
133
<TR BGCOLOR="white" CLASS="TableRowColor">
134
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
135
<CODE>private &nbsp;java.util.Vector</CODE></FONT></TD>
136
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#children">children</A></B></CODE>
137

    
138
<BR>
139
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The child elements.</TD>
140
</TR>
141
<TR BGCOLOR="white" CLASS="TableRowColor">
142
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
143
<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
144
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#content">content</A></B></CODE>
145

    
146
<BR>
147
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The content of the element.</TD>
148
</TR>
149
<TR BGCOLOR="white" CLASS="TableRowColor">
150
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151
<CODE>private &nbsp;int</CODE></FONT></TD>
152
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#lineNr">lineNr</A></B></CODE>
153

    
154
<BR>
155
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The line in the source data where this element starts.</TD>
156
</TR>
157
<TR BGCOLOR="white" CLASS="TableRowColor">
158
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159
<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
160
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#name">name</A></B></CODE>
161

    
162
<BR>
163
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The name of the element.</TD>
164
</TR>
165
<TR BGCOLOR="white" CLASS="TableRowColor">
166
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167
<CODE>static&nbsp;int</CODE></FONT></TD>
168
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#NO_LINE">NO_LINE</A></B></CODE>
169

    
170
<BR>
171
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;No line number defined.</TD>
172
</TR>
173
<TR BGCOLOR="white" CLASS="TableRowColor">
174
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175
<CODE>(package private) static&nbsp;long</CODE></FONT></TD>
176
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#serialVersionUID">serialVersionUID</A></B></CODE>
177

    
178
<BR>
179
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Necessary for serialization.</TD>
180
</TR>
181
<TR BGCOLOR="white" CLASS="TableRowColor">
182
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183
<CODE>private &nbsp;java.lang.String</CODE></FONT></TD>
184
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#systemID">systemID</A></B></CODE>
185

    
186
<BR>
187
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The system ID of the source data where this element is located.</TD>
188
</TR>
189
</TABLE>
190
&nbsp;
191
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
192

    
193
<A NAME="constructor_summary"><!-- --></A>
194
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
195
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
196
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
197
<B>Constructor Summary</B></FONT></TH>
198
</TR>
199
<TR BGCOLOR="white" CLASS="TableRowColor">
200
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#XMLElement()">XMLElement</A></B>()</CODE>
201

    
202
<BR>
203
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty element to be used for #PCDATA content.</TD>
204
</TR>
205
<TR BGCOLOR="white" CLASS="TableRowColor">
206
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#XMLElement(java.lang.String)">XMLElement</A></B>(java.lang.String&nbsp;name)</CODE>
207

    
208
<BR>
209
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty element.</TD>
210
</TR>
211
<TR BGCOLOR="white" CLASS="TableRowColor">
212
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#XMLElement(java.lang.String, java.lang.String, int)">XMLElement</A></B>(java.lang.String&nbsp;name,
213
           java.lang.String&nbsp;systemID,
214
           int&nbsp;lineNr)</CODE>
215

    
216
<BR>
217
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty element.</TD>
218
</TR>
219
</TABLE>
220
&nbsp;
221
<!-- ========== METHOD SUMMARY =========== -->
222

    
223
<A NAME="method_summary"><!-- --></A>
224
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
225
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
226
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
227
<B>Method Summary</B></FONT></TH>
228
</TR>
229
<TR BGCOLOR="white" CLASS="TableRowColor">
230
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
231
<CODE>&nbsp;void</CODE></FONT></TD>
232
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#addChild(net.n3.nanoxml.XMLElement)">addChild</A></B>(<A HREF="../../../net/n3/nanoxml/XMLElement.html" title="class in net.n3.nanoxml">XMLElement</A>&nbsp;child)</CODE>
233

    
234
<BR>
235
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a child element.</TD>
236
</TR>
237
<TR BGCOLOR="white" CLASS="TableRowColor">
238
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
239
<CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD>
240
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#enumerateAttributeNames()">enumerateAttributeNames</A></B>()</CODE>
241

    
242
<BR>
243
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an enumeration of all attribute names.</TD>
244
</TR>
245
<TR BGCOLOR="white" CLASS="TableRowColor">
246
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
247
<CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD>
248
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#enumerateChildren()">enumerateChildren</A></B>()</CODE>
249

    
250
<BR>
251
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an enumeration of all child elements.</TD>
252
</TR>
253
<TR BGCOLOR="white" CLASS="TableRowColor">
254
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
255
<CODE>protected &nbsp;void</CODE></FONT></TD>
256
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#finalize()">finalize</A></B>()</CODE>
257

    
258
<BR>
259
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cleans up the object when it's destroyed.</TD>
260
</TR>
261
<TR BGCOLOR="white" CLASS="TableRowColor">
262
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
263
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
264
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#getAttribute(java.lang.String)">getAttribute</A></B>(java.lang.String&nbsp;name)</CODE>
265

    
266
<BR>
267
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of an attribute.</TD>
268
</TR>
269
<TR BGCOLOR="white" CLASS="TableRowColor">
270
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
271
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
272
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#getAttribute(java.lang.String, java.lang.String)">getAttribute</A></B>(java.lang.String&nbsp;name,
273
             java.lang.String&nbsp;defaultValue)</CODE>
274

    
275
<BR>
276
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of an attribute.</TD>
277
</TR>
278
<TR BGCOLOR="white" CLASS="TableRowColor">
279
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
280
<CODE>&nbsp;java.util.Properties</CODE></FONT></TD>
281
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#getAttributes()">getAttributes</A></B>()</CODE>
282

    
283
<BR>
284
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all attributes as a Properties object.</TD>
285
</TR>
286
<TR BGCOLOR="white" CLASS="TableRowColor">
287
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
288
<CODE>&nbsp;<A HREF="../../../net/n3/nanoxml/XMLElement.html" title="class in net.n3.nanoxml">XMLElement</A></CODE></FONT></TD>
289
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#getChildAtIndex(int)">getChildAtIndex</A></B>(int&nbsp;index)</CODE>
290

    
291
<BR>
292
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the child at a specific index.</TD>
293
</TR>
294
<TR BGCOLOR="white" CLASS="TableRowColor">
295
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
296
<CODE>&nbsp;java.util.Vector</CODE></FONT></TD>
297
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#getChildren()">getChildren</A></B>()</CODE>
298

    
299
<BR>
300
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a vector containing all the child elements.</TD>
301
</TR>
302
<TR BGCOLOR="white" CLASS="TableRowColor">
303
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
304
<CODE>&nbsp;int</CODE></FONT></TD>
305
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#getChildrenCount()">getChildrenCount</A></B>()</CODE>
306

    
307
<BR>
308
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of children.</TD>
309
</TR>
310
<TR BGCOLOR="white" CLASS="TableRowColor">
311
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
312
<CODE>&nbsp;java.util.Vector&lt;<A HREF="../../../net/n3/nanoxml/XMLElement.html" title="class in net.n3.nanoxml">XMLElement</A>&gt;</CODE></FONT></TD>
313
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#getChildrenNamed(java.lang.String)">getChildrenNamed</A></B>(java.lang.String&nbsp;name)</CODE>
314

    
315
<BR>
316
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a vector of all child elements named <I>name</I>.</TD>
317
</TR>
318
<TR BGCOLOR="white" CLASS="TableRowColor">
319
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
320
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
321
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#getContent()">getContent</A></B>()</CODE>
322

    
323
<BR>
324
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the #PCDATA content of the element.</TD>
325
</TR>
326
<TR BGCOLOR="white" CLASS="TableRowColor">
327
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
328
<CODE>&nbsp;<A HREF="../../../net/n3/nanoxml/XMLElement.html" title="class in net.n3.nanoxml">XMLElement</A></CODE></FONT></TD>
329
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#getFirstChildNamed(java.lang.String)">getFirstChildNamed</A></B>(java.lang.String&nbsp;name)</CODE>
330

    
331
<BR>
332
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Searches a child element.</TD>
333
</TR>
334
<TR BGCOLOR="white" CLASS="TableRowColor">
335
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
336
<CODE>&nbsp;int</CODE></FONT></TD>
337
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#getLineNr()">getLineNr</A></B>()</CODE>
338

    
339
<BR>
340
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the line number in the data where the element started.</TD>
341
</TR>
342
<TR BGCOLOR="white" CLASS="TableRowColor">
343
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
344
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
345
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#getName()">getName</A></B>()</CODE>
346

    
347
<BR>
348
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the element.</TD>
349
</TR>
350
<TR BGCOLOR="white" CLASS="TableRowColor">
351
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
352
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
353
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#getSystemID()">getSystemID</A></B>()</CODE>
354

    
355
<BR>
356
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the system ID of the data where the element started.</TD>
357
</TR>
358
<TR BGCOLOR="white" CLASS="TableRowColor">
359
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
360
<CODE>&nbsp;boolean</CODE></FONT></TD>
361
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#hasAttribute(java.lang.String)">hasAttribute</A></B>(java.lang.String&nbsp;name)</CODE>
362

    
363
<BR>
364
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether an attribute exists.</TD>
365
</TR>
366
<TR BGCOLOR="white" CLASS="TableRowColor">
367
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
368
<CODE>&nbsp;boolean</CODE></FONT></TD>
369
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#hasChildren()">hasChildren</A></B>()</CODE>
370

    
371
<BR>
372
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the element has children.</TD>
373
</TR>
374
<TR BGCOLOR="white" CLASS="TableRowColor">
375
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
376
<CODE>&nbsp;boolean</CODE></FONT></TD>
377
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#isLeaf()">isLeaf</A></B>()</CODE>
378

    
379
<BR>
380
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether the element is a leaf element.</TD>
381
</TR>
382
<TR BGCOLOR="white" CLASS="TableRowColor">
383
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
384
<CODE>&nbsp;void</CODE></FONT></TD>
385
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#removeAttribute(java.lang.String)">removeAttribute</A></B>(java.lang.String&nbsp;name)</CODE>
386

    
387
<BR>
388
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes an attribute.</TD>
389
</TR>
390
<TR BGCOLOR="white" CLASS="TableRowColor">
391
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
392
<CODE>&nbsp;void</CODE></FONT></TD>
393
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#removeChild(net.n3.nanoxml.XMLElement)">removeChild</A></B>(<A HREF="../../../net/n3/nanoxml/XMLElement.html" title="class in net.n3.nanoxml">XMLElement</A>&nbsp;child)</CODE>
394

    
395
<BR>
396
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a child element.</TD>
397
</TR>
398
<TR BGCOLOR="white" CLASS="TableRowColor">
399
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
400
<CODE>&nbsp;void</CODE></FONT></TD>
401
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#removeChildAtIndex(int)">removeChildAtIndex</A></B>(int&nbsp;index)</CODE>
402

    
403
<BR>
404
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the child located at a certain index.</TD>
405
</TR>
406
<TR BGCOLOR="white" CLASS="TableRowColor">
407
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
408
<CODE>&nbsp;void</CODE></FONT></TD>
409
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#setAttribute(java.lang.String, java.lang.String)">setAttribute</A></B>(java.lang.String&nbsp;name,
410
             java.lang.String&nbsp;value)</CODE>
411

    
412
<BR>
413
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets an attribute.</TD>
414
</TR>
415
<TR BGCOLOR="white" CLASS="TableRowColor">
416
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
417
<CODE>&nbsp;void</CODE></FONT></TD>
418
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#setContent(java.lang.String)">setContent</A></B>(java.lang.String&nbsp;content)</CODE>
419

    
420
<BR>
421
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the #PCDATA content.</TD>
422
</TR>
423
<TR BGCOLOR="white" CLASS="TableRowColor">
424
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
425
<CODE>&nbsp;void</CODE></FONT></TD>
426
<TD><CODE><B><A HREF="../../../net/n3/nanoxml/XMLElement.html#setName(java.lang.String)">setName</A></B>(java.lang.String&nbsp;name)</CODE>
427

    
428
<BR>
429
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name.</TD>
430
</TR>
431
</TABLE>
432
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
433
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
434
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
435
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
436
</TR>
437
<TR BGCOLOR="white" CLASS="TableRowColor">
438
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
439
</TR>
440
</TABLE>
441
&nbsp;
442
<P>
443

    
444
<!-- ============ FIELD DETAIL =========== -->
445

    
446
<A NAME="field_detail"><!-- --></A>
447
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
448
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
449
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
450
<B>Field Detail</B></FONT></TH>
451
</TR>
452
</TABLE>
453

    
454
<A NAME="serialVersionUID"><!-- --></A><H3>
455
serialVersionUID</H3>
456
<PRE>
457
static final long <B>serialVersionUID</B></PRE>
458
<DL>
459
<DD>Necessary for serialization.
460
<P>
461
<DL>
462
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.n3.nanoxml.XMLElement.serialVersionUID">Constant Field Values</A></DL>
463
</DL>
464
<HR>
465

    
466
<A NAME="NO_LINE"><!-- --></A><H3>
467
NO_LINE</H3>
468
<PRE>
469
public static final int <B>NO_LINE</B></PRE>
470
<DL>
471
<DD>No line number defined.
472
<P>
473
<DL>
474
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#net.n3.nanoxml.XMLElement.NO_LINE">Constant Field Values</A></DL>
475
</DL>
476
<HR>
477

    
478
<A NAME="attributes"><!-- --></A><H3>
479
attributes</H3>
480
<PRE>
481
private java.util.Properties <B>attributes</B></PRE>
482
<DL>
483
<DD>The attributes of the element.
484
<P>
485
<DL>
486
</DL>
487
</DL>
488
<HR>
489

    
490
<A NAME="children"><!-- --></A><H3>
491
children</H3>
492
<PRE>
493
private java.util.Vector <B>children</B></PRE>
494
<DL>
495
<DD>The child elements.
496
<P>
497
<DL>
498
</DL>
499
</DL>
500
<HR>
501

    
502
<A NAME="name"><!-- --></A><H3>
503
name</H3>
504
<PRE>
505
private java.lang.String <B>name</B></PRE>
506
<DL>
507
<DD>The name of the element.
508
<P>
509
<DL>
510
</DL>
511
</DL>
512
<HR>
513

    
514
<A NAME="content"><!-- --></A><H3>
515
content</H3>
516
<PRE>
517
private java.lang.String <B>content</B></PRE>
518
<DL>
519
<DD>The content of the element.
520
<P>
521
<DL>
522
</DL>
523
</DL>
524
<HR>
525

    
526
<A NAME="systemID"><!-- --></A><H3>
527
systemID</H3>
528
<PRE>
529
private java.lang.String <B>systemID</B></PRE>
530
<DL>
531
<DD>The system ID of the source data where this element is located.
532
<P>
533
<DL>
534
</DL>
535
</DL>
536
<HR>
537

    
538
<A NAME="lineNr"><!-- --></A><H3>
539
lineNr</H3>
540
<PRE>
541
private int <B>lineNr</B></PRE>
542
<DL>
543
<DD>The line in the source data where this element starts.
544
<P>
545
<DL>
546
</DL>
547
</DL>
548

    
549
<!-- ========= CONSTRUCTOR DETAIL ======== -->
550

    
551
<A NAME="constructor_detail"><!-- --></A>
552
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
553
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
554
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
555
<B>Constructor Detail</B></FONT></TH>
556
</TR>
557
</TABLE>
558

    
559
<A NAME="XMLElement()"><!-- --></A><H3>
560
XMLElement</H3>
561
<PRE>
562
public <B>XMLElement</B>()</PRE>
563
<DL>
564
<DD>Creates an empty element to be used for #PCDATA content.
565
<P>
566
</DL>
567
<HR>
568

    
569
<A NAME="XMLElement(java.lang.String)"><!-- --></A><H3>
570
XMLElement</H3>
571
<PRE>
572
public <B>XMLElement</B>(java.lang.String&nbsp;name)</PRE>
573
<DL>
574
<DD>Creates an empty element.
575
<P>
576
<DL>
577
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the element.</DL>
578
</DL>
579
<HR>
580

    
581
<A NAME="XMLElement(java.lang.String, java.lang.String, int)"><!-- --></A><H3>
582
XMLElement</H3>
583
<PRE>
584
public <B>XMLElement</B>(java.lang.String&nbsp;name,
585
                  java.lang.String&nbsp;systemID,
586
                  int&nbsp;lineNr)</PRE>
587
<DL>
588
<DD>Creates an empty element.
589
<P>
590
<DL>
591
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the element.<DD><CODE>systemID</CODE> - the system ID of the XML data where the element starts.<DD><CODE>lineNr</CODE> - the line in the XML data where the element starts.</DL>
592
</DL>
593

    
594
<!-- ============ METHOD DETAIL ========== -->
595

    
596
<A NAME="method_detail"><!-- --></A>
597
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
598
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
599
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
600
<B>Method Detail</B></FONT></TH>
601
</TR>
602
</TABLE>
603

    
604
<A NAME="finalize()"><!-- --></A><H3>
605
finalize</H3>
606
<PRE>
607
protected void <B>finalize</B>()
608
                 throws java.lang.Throwable</PRE>
609
<DL>
610
<DD>Cleans up the object when it's destroyed.
611
<P>
612
<DD><DL>
613
<DT><B>Overrides:</B><DD><CODE>finalize</CODE> in class <CODE>java.lang.Object</CODE></DL>
614
</DD>
615
<DD><DL>
616

    
617
<DT><B>Throws:</B>
618
<DD><CODE>java.lang.Throwable</CODE></DL>
619
</DD>
620
</DL>
621
<HR>
622

    
623
<A NAME="getName()"><!-- --></A><H3>
624
getName</H3>
625
<PRE>
626
public java.lang.String <B>getName</B>()</PRE>
627
<DL>
628
<DD>Returns the name of the element.
629
<P>
630
<DD><DL>
631
</DL>
632
</DD>
633
<DD><DL>
634

    
635
<DT><B>Returns:</B><DD>the name, or null if the element only contains #PCDATA.</DL>
636
</DD>
637
</DL>
638
<HR>
639

    
640
<A NAME="setName(java.lang.String)"><!-- --></A><H3>
641
setName</H3>
642
<PRE>
643
public void <B>setName</B>(java.lang.String&nbsp;name)</PRE>
644
<DL>
645
<DD>Sets the name.
646
<P>
647
<DD><DL>
648
</DL>
649
</DD>
650
<DD><DL>
651
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the non-null name.</DL>
652
</DD>
653
</DL>
654
<HR>
655

    
656
<A NAME="addChild(net.n3.nanoxml.XMLElement)"><!-- --></A><H3>
657
addChild</H3>
658
<PRE>
659
public void <B>addChild</B>(<A HREF="../../../net/n3/nanoxml/XMLElement.html" title="class in net.n3.nanoxml">XMLElement</A>&nbsp;child)</PRE>
660
<DL>
661
<DD>Adds a child element.
662
<P>
663
<DD><DL>
664
</DL>
665
</DD>
666
<DD><DL>
667
<DT><B>Parameters:</B><DD><CODE>child</CODE> - the non-null child to add.</DL>
668
</DD>
669
</DL>
670
<HR>
671

    
672
<A NAME="removeChild(net.n3.nanoxml.XMLElement)"><!-- --></A><H3>
673
removeChild</H3>
674
<PRE>
675
public void <B>removeChild</B>(<A HREF="../../../net/n3/nanoxml/XMLElement.html" title="class in net.n3.nanoxml">XMLElement</A>&nbsp;child)</PRE>
676
<DL>
677
<DD>Removes a child element.
678
<P>
679
<DD><DL>
680
</DL>
681
</DD>
682
<DD><DL>
683
<DT><B>Parameters:</B><DD><CODE>child</CODE> - the non-null child to remove.</DL>
684
</DD>
685
</DL>
686
<HR>
687

    
688
<A NAME="removeChildAtIndex(int)"><!-- --></A><H3>
689
removeChildAtIndex</H3>
690
<PRE>
691
public void <B>removeChildAtIndex</B>(int&nbsp;index)</PRE>
692
<DL>
693
<DD>Removes the child located at a certain index.
694
<P>
695
<DD><DL>
696
</DL>
697
</DD>
698
<DD><DL>
699
<DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the child, where the first child has index 0.</DL>
700
</DD>
701
</DL>
702
<HR>
703

    
704
<A NAME="enumerateChildren()"><!-- --></A><H3>
705
enumerateChildren</H3>
706
<PRE>
707
public java.util.Enumeration <B>enumerateChildren</B>()</PRE>
708
<DL>
709
<DD>Returns an enumeration of all child elements.
710
<P>
711
<DD><DL>
712
</DL>
713
</DD>
714
<DD><DL>
715

    
716
<DT><B>Returns:</B><DD>the non-null enumeration</DL>
717
</DD>
718
</DL>
719
<HR>
720

    
721
<A NAME="isLeaf()"><!-- --></A><H3>
722
isLeaf</H3>
723
<PRE>
724
public boolean <B>isLeaf</B>()</PRE>
725
<DL>
726
<DD>Returns whether the element is a leaf element.
727
<P>
728
<DD><DL>
729
</DL>
730
</DD>
731
<DD><DL>
732

    
733
<DT><B>Returns:</B><DD>true if the element has no children.</DL>
734
</DD>
735
</DL>
736
<HR>
737

    
738
<A NAME="hasChildren()"><!-- --></A><H3>
739
hasChildren</H3>
740
<PRE>
741
public boolean <B>hasChildren</B>()</PRE>
742
<DL>
743
<DD>Returns whether the element has children.
744
<P>
745
<DD><DL>
746
</DL>
747
</DD>
748
<DD><DL>
749

    
750
<DT><B>Returns:</B><DD>true if the element has children.</DL>
751
</DD>
752
</DL>
753
<HR>
754

    
755
<A NAME="getChildrenCount()"><!-- --></A><H3>
756
getChildrenCount</H3>
757
<PRE>
758
public int <B>getChildrenCount</B>()</PRE>
759
<DL>
760
<DD>Returns the number of children.
761
<P>
762
<DD><DL>
763
</DL>
764
</DD>
765
<DD><DL>
766

    
767
<DT><B>Returns:</B><DD>the count.</DL>
768
</DD>
769
</DL>
770
<HR>
771

    
772
<A NAME="getChildren()"><!-- --></A><H3>
773
getChildren</H3>
774
<PRE>
775
public java.util.Vector <B>getChildren</B>()</PRE>
776
<DL>
777
<DD>Returns a vector containing all the child elements.
778
<P>
779
<DD><DL>
780
</DL>
781
</DD>
782
<DD><DL>
783

    
784
<DT><B>Returns:</B><DD>the vector.</DL>
785
</DD>
786
</DL>
787
<HR>
788

    
789
<A NAME="getChildAtIndex(int)"><!-- --></A><H3>
790
getChildAtIndex</H3>
791
<PRE>
792
public <A HREF="../../../net/n3/nanoxml/XMLElement.html" title="class in net.n3.nanoxml">XMLElement</A> <B>getChildAtIndex</B>(int&nbsp;index)
793
                           throws java.lang.ArrayIndexOutOfBoundsException</PRE>
794
<DL>
795
<DD>Returns the child at a specific index.
796
<P>
797
<DD><DL>
798
</DL>
799
</DD>
800
<DD><DL>
801

    
802
<DT><B>Returns:</B><DD>the non-null child
803
<DT><B>Throws:</B>
804
<DD><CODE>java.lang.ArrayIndexOutOfBoundsException</CODE> - if the index is out of bounds.</DL>
805
</DD>
806
</DL>
807
<HR>
808

    
809
<A NAME="getFirstChildNamed(java.lang.String)"><!-- --></A><H3>
810
getFirstChildNamed</H3>
811
<PRE>
812
public <A HREF="../../../net/n3/nanoxml/XMLElement.html" title="class in net.n3.nanoxml">XMLElement</A> <B>getFirstChildNamed</B>(java.lang.String&nbsp;name)</PRE>
813
<DL>
814
<DD>Searches a child element.
815
<P>
816
<DD><DL>
817
</DL>
818
</DD>
819
<DD><DL>
820
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the child to search for.
821
<DT><B>Returns:</B><DD>the child element, or null if no such child was found.</DL>
822
</DD>
823
</DL>
824
<HR>
825

    
826
<A NAME="getChildrenNamed(java.lang.String)"><!-- --></A><H3>
827
getChildrenNamed</H3>
828
<PRE>
829
public java.util.Vector&lt;<A HREF="../../../net/n3/nanoxml/XMLElement.html" title="class in net.n3.nanoxml">XMLElement</A>&gt; <B>getChildrenNamed</B>(java.lang.String&nbsp;name)</PRE>
830
<DL>
831
<DD>Returns a vector of all child elements named <I>name</I>.
832
<P>
833
<DD><DL>
834
</DL>
835
</DD>
836
<DD><DL>
837
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the children to search for.
838
<DT><B>Returns:</B><DD>the non-null vector of child elements.</DL>
839
</DD>
840
</DL>
841
<HR>
842

    
843
<A NAME="getAttribute(java.lang.String)"><!-- --></A><H3>
844
getAttribute</H3>
845
<PRE>
846
public java.lang.String <B>getAttribute</B>(java.lang.String&nbsp;name)</PRE>
847
<DL>
848
<DD>Returns the value of an attribute.
849
<P>
850
<DD><DL>
851
</DL>
852
</DD>
853
<DD><DL>
854
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the non-null name of the attribute.
855
<DT><B>Returns:</B><DD>the value, or null if the attribute does not exist.</DL>
856
</DD>
857
</DL>
858
<HR>
859

    
860
<A NAME="getAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
861
getAttribute</H3>
862
<PRE>
863
public java.lang.String <B>getAttribute</B>(java.lang.String&nbsp;name,
864
                                     java.lang.String&nbsp;defaultValue)</PRE>
865
<DL>
866
<DD>Returns the value of an attribute.
867
<P>
868
<DD><DL>
869
</DL>
870
</DD>
871
<DD><DL>
872
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the non-null name of the attribute.<DD><CODE>defaultValue</CODE> - the default value of the attribute.
873
<DT><B>Returns:</B><DD>the value, or defaultValue if the attribute does not exist.</DL>
874
</DD>
875
</DL>
876
<HR>
877

    
878
<A NAME="setAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
879
setAttribute</H3>
880
<PRE>
881
public void <B>setAttribute</B>(java.lang.String&nbsp;name,
882
                         java.lang.String&nbsp;value)</PRE>
883
<DL>
884
<DD>Sets an attribute.
885
<P>
886
<DD><DL>
887
</DL>
888
</DD>
889
<DD><DL>
890
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the non-null name of the attribute.<DD><CODE>value</CODE> - the non-null value of the attribute.</DL>
891
</DD>
892
</DL>
893
<HR>
894

    
895
<A NAME="removeAttribute(java.lang.String)"><!-- --></A><H3>
896
removeAttribute</H3>
897
<PRE>
898
public void <B>removeAttribute</B>(java.lang.String&nbsp;name)</PRE>
899
<DL>
900
<DD>Removes an attribute.
901
<P>
902
<DD><DL>
903
</DL>
904
</DD>
905
<DD><DL>
906
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the non-null name of the attribute.</DL>
907
</DD>
908
</DL>
909
<HR>
910

    
911
<A NAME="enumerateAttributeNames()"><!-- --></A><H3>
912
enumerateAttributeNames</H3>
913
<PRE>
914
public java.util.Enumeration <B>enumerateAttributeNames</B>()</PRE>
915
<DL>
916
<DD>Returns an enumeration of all attribute names.
917
<P>
918
<DD><DL>
919
</DL>
920
</DD>
921
<DD><DL>
922

    
923
<DT><B>Returns:</B><DD>the non-null enumeration.</DL>
924
</DD>
925
</DL>
926
<HR>
927

    
928
<A NAME="hasAttribute(java.lang.String)"><!-- --></A><H3>
929
hasAttribute</H3>
930
<PRE>
931
public boolean <B>hasAttribute</B>(java.lang.String&nbsp;name)</PRE>
932
<DL>
933
<DD>Returns whether an attribute exists.
934
<P>
935
<DD><DL>
936
</DL>
937
</DD>
938
<DD><DL>
939

    
940
<DT><B>Returns:</B><DD>true if the attribute exists.</DL>
941
</DD>
942
</DL>
943
<HR>
944

    
945
<A NAME="getAttributes()"><!-- --></A><H3>
946
getAttributes</H3>
947
<PRE>
948
public java.util.Properties <B>getAttributes</B>()</PRE>
949
<DL>
950
<DD>Returns all attributes as a Properties object.
951
<P>
952
<DD><DL>
953
</DL>
954
</DD>
955
<DD><DL>
956

    
957
<DT><B>Returns:</B><DD>the non-null set.</DL>
958
</DD>
959
</DL>
960
<HR>
961

    
962
<A NAME="getSystemID()"><!-- --></A><H3>
963
getSystemID</H3>
964
<PRE>
965
public java.lang.String <B>getSystemID</B>()</PRE>
966
<DL>
967
<DD>Returns the system ID of the data where the element started.
968
<P>
969
<DD><DL>
970
</DL>
971
</DD>
972
<DD><DL>
973

    
974
<DT><B>Returns:</B><DD>the system ID, or null if unknown.<DT><B>See Also:</B><DD><A HREF="../../../net/n3/nanoxml/XMLElement.html#getLineNr()"><CODE>getLineNr()</CODE></A></DL>
975
</DD>
976
</DL>
977
<HR>
978

    
979
<A NAME="getLineNr()"><!-- --></A><H3>
980
getLineNr</H3>
981
<PRE>
982
public int <B>getLineNr</B>()</PRE>
983
<DL>
984
<DD>Returns the line number in the data where the element started.
985
<P>
986
<DD><DL>
987
</DL>
988
</DD>
989
<DD><DL>
990

    
991
<DT><B>Returns:</B><DD>the line number, or NO_LINE if unknown.<DT><B>See Also:</B><DD><A HREF="../../../net/n3/nanoxml/XMLElement.html#NO_LINE"><CODE>NO_LINE</CODE></A>, 
992
<A HREF="../../../net/n3/nanoxml/XMLElement.html#getSystemID()"><CODE>getSystemID()</CODE></A></DL>
993
</DD>
994
</DL>
995
<HR>
996

    
997
<A NAME="getContent()"><!-- --></A><H3>
998
getContent</H3>
999
<PRE>
1000
public java.lang.String <B>getContent</B>()</PRE>
1001
<DL>
1002
<DD>Return the #PCDATA content of the element. If the element has a combination of #PCDATA
1003
 content and child elements, the #PCDATA sections can be retrieved as unnamed child objects.
1004
 In this case, this method returns null.
1005
<P>
1006
<DD><DL>
1007
</DL>
1008
</DD>
1009
<DD><DL>
1010

    
1011
<DT><B>Returns:</B><DD>the content.</DL>
1012
</DD>
1013
</DL>
1014
<HR>
1015

    
1016
<A NAME="setContent(java.lang.String)"><!-- --></A><H3>
1017
setContent</H3>
1018
<PRE>
1019
public void <B>setContent</B>(java.lang.String&nbsp;content)</PRE>
1020
<DL>
1021
<DD>Sets the #PCDATA content. It is an error to call this method with a non-null value if there
1022
 are child objects.
1023
<P>
1024
<DD><DL>
1025
</DL>
1026
</DD>
1027
<DD><DL>
1028
<DT><B>Parameters:</B><DD><CODE>content</CODE> - the (possibly null) content.</DL>
1029
</DD>
1030
</DL>
1031
<!-- ========= END OF CLASS DATA ========= -->
1032
<HR>
1033

    
1034

    
1035
<!-- ======= START OF BOTTOM NAVBAR ====== -->
1036
<A NAME="navbar_bottom"><!-- --></A>
1037
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
1038
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
1039
<TR>
1040
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1041
<A NAME="navbar_bottom_firstrow"><!-- --></A>
1042
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
1043
  <TR ALIGN="center" VALIGN="top">
1044
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1045
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1046
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1047
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1048
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1049
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1050
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1051
  </TR>
1052
</TABLE>
1053
</TD>
1054
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1055
</EM>
1056
</TD>
1057
</TR>
1058

    
1059
<TR>
1060
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1061
&nbsp;<A HREF="../../../net/n3/nanoxml/XMLBuilderFactory.html" title="class in net.n3.nanoxml"><B>PREV CLASS</B></A>&nbsp;
1062
&nbsp;<A HREF="../../../net/n3/nanoxml/XMLEntityResolver.html" title="class in net.n3.nanoxml"><B>NEXT CLASS</B></A></FONT></TD>
1063
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1064
  <A HREF="../../../index.html?net/n3/nanoxml/XMLElement.html" target="_top"><B>FRAMES</B></A>  &nbsp;
1065
&nbsp;<A HREF="XMLElement.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
1066
&nbsp;<SCRIPT type="text/javascript">
1067
  <!--
1068
  if(window==top) {
1069
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
1070
  }
1071
  //-->
1072
</SCRIPT>
1073
<NOSCRIPT>
1074
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
1075
</NOSCRIPT>
1076

    
1077

    
1078
</FONT></TD>
1079
</TR>
1080
<TR>
1081
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1082
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1083
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1084
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1085
</TR>
1086
</TABLE>
1087
<A NAME="skip-navbar_bottom"></A>
1088
<!-- ======== END OF BOTTOM NAVBAR ======= -->
1089

    
1090
<HR>
1091

    
1092
</BODY>
1093
</HTML>