~ubuntu-branches/ubuntu/quantal/gnash/quantal-proposed

« back to all changes in this revision

Viewing changes to doc/C/BackLash/xmlnode.xml

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2008-10-14 16:06:54 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20081014160654-0anbl2mi098aee2h
Tags: 0.8.4-0ubuntu1
* LP: #84526 - Gnash menu launcher (/usr/share/applications/gnash.desktop
  file) doesn't start any application, also gnash isn't asociated with SWF
  mimetype; we dont show gnash in the .desktop launcher; we add
  NoDisplay=true, add a GenericName and Comment for the sake of
  completeness. Also we add the proper MimeType value, remove Encoding,
  don't use absolute paths for icon and exec and dont use specific icon
  file format suffix.
  - update debian/gnash.desktop

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<sect4 id="asxmlnode">
2
 
  <title>XMLNode ActionScript Class</title>
3
 
 
4
 
  <para>
5
 
    This class implements an XMLNode object. This is mostly only used
6
 
    internally by Gnash for holding the data for a node. It does exist
7
 
    within the interpreter as a valid object though, so its
8
 
    properties and methods can be accessed by a flash movie script.
9
 
  </para>
10
 
 
11
 
  <para>
12
 
    As the XML class is derived from this one, many of these methods
13
 
    are the same as for that class.
14
 
  </para>
15
 
 
16
 
  <sect5 id="xmlnodemethods">
17
 
    <title>The Methods of the  Class</title>
18
 
    <para>
19
 
      <variablelist>
20
 
        <varlistentry>
21
 
          <term>appendChild()</term>
22
 
          <listitem>
23
 
            <para>
24
 
              Append a child node to this node.
25
 
            </para>
26
 
          </listitem>
27
 
        </varlistentry>
28
 
 
29
 
        <varlistentry>
30
 
          <term>cloneNode()</term>
31
 
          <listitem>
32
 
            <para>
33
 
              Copy a node, returning an XMLNode *.
34
 
            </para>
35
 
          </listitem>
36
 
        </varlistentry>
37
 
 
38
 
        <varlistentry>
39
 
          <term>hasChildNodes()</term>
40
 
          <listitem>
41
 
            <para>
42
 
              Return true if this node has any children.
43
 
            </para>
44
 
          </listitem>
45
 
        </varlistentry>
46
 
 
47
 
        <varlistentry>
48
 
          <term>insertBefore()</term>
49
 
          <listitem>
50
 
            <para>
51
 
              Insert a node before this node.
52
 
            </para>
53
 
          </listitem>
54
 
        </varlistentry>
55
 
 
56
 
        <varlistentry>
57
 
          <term>removeNode()</term>
58
 
          <listitem>
59
 
            <para>
60
 
              Remove a node from the parent's list.
61
 
            </para>
62
 
          </listitem>
63
 
        </varlistentry>
64
 
 
65
 
        <varlistentry>
66
 
          <term>toString()</term>
67
 
          <listitem>
68
 
            <para>
69
 
              Convert the node and its children to a string
70
 
              representation.
71
 
            </para>
72
 
          </listitem>
73
 
        </varlistentry>
74
 
      </variablelist>
75
 
    </para>
76
 
  </sect5>
77
 
  <sect5 id="xmlnodeprops">
78
 
    <title>The Properties of the XMLNode Class</title>
79
 
    
80
 
    <para>
81
 
      <variablelist>
82
 
 
83
 
        <varlistentry>
84
 
          <term>attributes</term>
85
 
          <listitem>
86
 
            <para>
87
 
              Returns an array of the attributes of a node.
88
 
            </para>
89
 
          </listitem>
90
 
        </varlistentry>
91
 
 
92
 
        <varlistentry>
93
 
          <term>childNodes</term>
94
 
          <listitem>
95
 
            <para>
96
 
              Returns an array of the children of a node.
97
 
            </para>
98
 
          </listitem>
99
 
        </varlistentry>
100
 
 
101
 
        <varlistentry>
102
 
          <term>firstChild</term>
103
 
          <listitem>
104
 
            <para>
105
 
              Returns the first child node.
106
 
            </para>
107
 
          </listitem>
108
 
        </varlistentry>
109
 
 
110
 
        <varlistentry>
111
 
          <term>lastChild</term>
112
 
          <listitem>
113
 
            Returns the last child node.
114
 
            <para>
115
 
            </para>
116
 
          </listitem>
117
 
        </varlistentry>
118
 
 
119
 
        <varlistentry>
120
 
          <term>nextSibling</term>
121
 
          <listitem>
122
 
            <para>
123
 
              Returns the next child node.
124
 
            </para>
125
 
          </listitem>
126
 
        </varlistentry>
127
 
 
128
 
        <varlistentry>
129
 
          <term>previousSibling</term>
130
 
          <listitem>
131
 
            <para>
132
 
              Returns the child node before this one.
133
 
            </para>
134
 
          </listitem>
135
 
        </varlistentry>
136
 
 
137
 
        <varlistentry>
138
 
          <term>nodeName</term>
139
 
          <listitem>
140
 
            <para>
141
 
              Returns the name of the node.
142
 
            </para>
143
 
          </listitem>
144
 
        </varlistentry>
145
 
 
146
 
        <varlistentry>
147
 
          <term>nodeType</term>
148
 
          <listitem>
149
 
            <para>
150
 
              Returns the type of a node.
151
 
            </para>
152
 
          </listitem>
153
 
        </varlistentry>
154
 
 
155
 
        <varlistentry>
156
 
          <term>nodeValue</term>
157
 
          <listitem>
158
 
            <para>
159
 
              Contains the text for a text node type.
160
 
            </para>
161
 
          </listitem>
162
 
        </varlistentry>
163
 
 
164
 
        <varlistentry>
165
 
          <term>parentNode</term>
166
 
          <listitem>
167
 
            <para>
168
 
              Returns this node's parent.
169
 
            </para>
170
 
          </listitem>
171
 
        </varlistentry>
172
 
 
173
 
      </variablelist>
174
 
    </para>
175
 
  </sect5>
176
 
 
177
 
  <sect5 id="xmlnodeconf">
178
 
    <title>XMLNode Class Conformance</title>
179
 
    
180
 
    <para>
181
 
      <informaltable frame="all">
182
 
        <?dbhtml table-width="75%" ?>
183
 
        <tgroup cols="2">
184
 
          <thead>
185
 
            <row>
186
 
              <entry valign="top">
187
 
                <para>Class Name</para>
188
 
              </entry>
189
 
              <entry valign="top">
190
 
                <para>Conformance</para>
191
 
              </entry>
192
 
            </row>
193
 
          </thead>
194
 
          <tbody>
195
 
            <row>
196
 
              <entry valign="top" align="left">
197
 
                <para>appendChild()</para>
198
 
              </entry>
199
 
              <entry valign="top" align="center">
200
 
                <para>
201
 
                  This method is implemented.
202
 
                </para>
203
 
              </entry>
204
 
            </row>
205
 
            <row>
206
 
              <entry valign="top" align="left">
207
 
                <para>cloneNode()</para>
208
 
              </entry>
209
 
              <entry valign="top" align="center">
210
 
                <para>
211
 
                  This method is implemented.
212
 
                </para>
213
 
              </entry>
214
 
            </row>
215
 
            <row>
216
 
              <entry valign="top" align="left">
217
 
                <para>hasChildNodes()</para>
218
 
              </entry>
219
 
              <entry valign="top" align="center">
220
 
                <para>
221
 
                  This method is implemented.
222
 
                </para>
223
 
              </entry>
224
 
            </row>
225
 
            <row>
226
 
              <entry valign="top" align="left">
227
 
                <para>insertBefore()</para>
228
 
              </entry>
229
 
              <entry valign="top" align="center">
230
 
                <para>
231
 
                  This method is unimplemented.
232
 
                </para>
233
 
              </entry>
234
 
            </row>
235
 
            <row>
236
 
              <entry valign="top" align="left">
237
 
                <para>removeNode()</para>
238
 
              </entry>
239
 
              <entry valign="top" align="center">
240
 
                <para>
241
 
                  This method is unimplemented.
242
 
                </para>
243
 
              </entry>
244
 
            </row>
245
 
            <row>
246
 
              <entry valign="top" align="left">
247
 
                <para>toString()</para>
248
 
              </entry>
249
 
              <entry valign="top" align="center">
250
 
                <para>
251
 
                  This method is unimplemented.
252
 
                </para>
253
 
              </entry>
254
 
            </row>
255
 
            <row>
256
 
              <entry valign="top" align="left">
257
 
                <para>attributes</para>
258
 
              </entry>
259
 
              <entry valign="top" align="center">
260
 
                <para>
261
 
                  This property is unimplemented.
262
 
                </para>
263
 
              </entry>
264
 
            </row>
265
 
            <row>
266
 
              <entry valign="top" align="left">
267
 
                <para>childNodes</para>
268
 
              </entry>
269
 
              <entry valign="top" align="center">
270
 
                <para>
271
 
                  This property is unimplemented.
272
 
                </para>
273
 
              </entry>
274
 
            </row>
275
 
            <row>
276
 
              <entry valign="top" align="left">
277
 
                <para>firstChild</para>
278
 
              </entry>
279
 
              <entry valign="top" align="center">
280
 
                <para>
281
 
                  This property is implemented.
282
 
                </para>
283
 
              </entry>
284
 
            </row>
285
 
            <row>
286
 
              <entry valign="top" align="left">
287
 
                <para>lastChild</para>
288
 
              </entry>
289
 
              <entry valign="top" align="center">
290
 
                <para>
291
 
                  This property is implemented.
292
 
                </para>
293
 
              </entry>
294
 
            </row>
295
 
            <row>
296
 
              <entry valign="top" align="left">
297
 
                <para>nextSibling</para>
298
 
              </entry>
299
 
              <entry valign="top" align="center">
300
 
                <para>
301
 
                  This property is implemented.
302
 
                </para>
303
 
              </entry>
304
 
            </row>
305
 
            <row>
306
 
              <entry valign="top" align="left">
307
 
                <para>previousSibling</para>
308
 
              </entry>
309
 
              <entry valign="top" align="center">
310
 
                <para>
311
 
                  This property is implemented.
312
 
                </para>
313
 
              </entry>
314
 
            </row>
315
 
            <row>
316
 
              <entry valign="top" align="left">
317
 
                <para>nodeName</para>
318
 
              </entry>
319
 
              <entry valign="top" align="center">
320
 
                <para>
321
 
                  This property is implemented.
322
 
                </para>
323
 
              </entry>
324
 
            </row>
325
 
            <row>
326
 
              <entry valign="top" align="left">
327
 
                <para>nodeType</para>
328
 
              </entry>
329
 
              <entry valign="top" align="center">
330
 
                <para>
331
 
                  This property is implemented.
332
 
                </para>
333
 
              </entry>
334
 
            </row>
335
 
            <row>
336
 
              <entry valign="top" align="left">
337
 
                <para>nodeValue</para>
338
 
              </entry>
339
 
              <entry valign="top" align="center">
340
 
                <para>
341
 
                  This property is implemented.
342
 
                </para>
343
 
              </entry>
344
 
            </row>
345
 
            <row>
346
 
              <entry valign="top" align="left">
347
 
                <para>parentNode</para>
348
 
              </entry>
349
 
              <entry valign="top" align="center">
350
 
                <para>
351
 
                  This property is unimplemented.
352
 
                </para>
353
 
              </entry>
354
 
            </row>
355
 
          </tbody>
356
 
        </tgroup>
357
 
      </informaltable>
358
 
    </para>
359
 
  </sect5>  
360
 
</sect4>