1 |
wakaba |
1.1 |
Namespace: |
2 |
|
|
@DOMCore: |
3 |
|
|
http://suika.fam.cx/~wakaba/archive/2004/8/18/dom-core# |
4 |
|
|
@DOMEvents: |
5 |
|
|
http://suika.fam.cx/~wakaba/archive/2004/dom/events# |
6 |
|
|
@ev: |
7 |
|
|
http://www.w3.org/2001/xml-events |
8 |
|
|
@lang: |
9 |
|
|
http://suika.fam.cx/~wakaba/archive/2004/8/18/lang# |
10 |
|
|
@license: |
11 |
|
|
http://suika.fam.cx/~wakaba/archive/2004/8/18/license# |
12 |
|
|
@ManakaiDOMEvents: |
13 |
|
|
http://suika.fam.cx/~wakaba/archive/2004/mdom-ev# |
14 |
|
|
@TreeCore:\ |
15 |
|
|
Module: |
16 |
|
|
@Name: DOMMutationNameEvents |
17 |
|
|
@Namespace: |
18 |
|
|
http://suika.fam.cx/~wakaba/archive/2004/dom/events# |
19 |
|
|
@BindingName: |
20 |
|
|
@@@: events |
21 |
|
|
@@Type: |
22 |
|
|
lang:IDL-DOM |
23 |
|
|
@@prefix: dom.w3c.org |
24 |
|
|
@FullName: |
25 |
|
|
@@lang:en |
26 |
|
|
@@@: DOM Mutation Name Events Module |
27 |
|
|
@Description: |
28 |
|
|
@@lang:en |
29 |
|
|
@@@: |
30 |
|
|
Notify changes to the name of a node. |
31 |
|
|
|
32 |
|
|
@Author: |
33 |
|
|
@@FullName: Wakaba |
34 |
|
|
@@Mail: w@suika.fam.cx |
35 |
|
|
@License: |
36 |
|
|
license:Perl+MPL |
37 |
|
|
@Date.RCS: |
38 |
|
|
$Date: 2004/10/10 00:01:08 $ |
39 |
|
|
|
40 |
|
|
@ConditionDef: |
41 |
|
|
@@Name:DOM2 |
42 |
|
|
@ConditionDef: |
43 |
|
|
@@Name:DOM3 |
44 |
|
|
@@ISA:DOM2 |
45 |
|
|
@NormalCondition:DOM3 |
46 |
|
|
|
47 |
|
|
@Feature: |
48 |
|
|
@@Name:MutationNameEvents |
49 |
|
|
@@Version:3.0 |
50 |
|
|
@@FullName: DOM Level 3 Mutation Name Events |
51 |
|
|
@@ImplNote: |
52 |
|
|
@@@lang:en |
53 |
|
|
@@@@: |
54 |
|
|
The support for <Feature:MutationEvents>/<FeatureVer:3.0> and |
55 |
|
|
<Feature:Core>/<FeatureVer:3.0> is required. |
56 |
|
|
@@Condition[list]: |
57 |
|
|
DOM3 |
58 |
|
|
@@Contrib: |
59 |
|
|
DOMCore:DOMImplementation:: |
60 |
|
|
|
61 |
|
|
|
62 |
|
|
@Require: |
63 |
|
|
@@Module: |
64 |
|
|
@@@Name: DOMMutationEvents |
65 |
|
|
@@@Namespace: |
66 |
|
|
http://suika.fam.cx/~wakaba/archive/2004/dom/events# |
67 |
|
|
|
68 |
|
|
EventSet: |
69 |
|
|
@Event: |
70 |
|
|
@@QName: |
71 |
|
|
ev:DOMElementNameChanged |
72 |
|
|
@@Description: |
73 |
|
|
@@@lang:en |
74 |
|
|
@@@@: |
75 |
|
|
The <A:Node.namespaceURI> and/or the <A:Node.nodeName> |
76 |
|
|
of an <IF:Element> have been modified. |
77 |
|
|
@@ActionBefore: |
78 |
|
|
@@@lang:en |
79 |
|
|
@@@@: |
80 |
|
|
The element type name has been modified. |
81 |
|
|
@@Type:MutationEvent |
82 |
|
|
@@IsBubbling:1 |
83 |
|
|
@@IsCancalable:0 |
84 |
|
|
@@EventTarget: |
85 |
|
|
@@@Type: |
86 |
|
|
DOMCore:Element |
87 |
|
|
@@@Description: |
88 |
|
|
@@@@lang:en |
89 |
|
|
@@@@@: |
90 |
|
|
The renamed <IF:Element> node. |
91 |
|
|
@@MutationNameEvent.prevNamespaceURI: |
92 |
|
|
@@@Type: |
93 |
|
|
ManakaiDOM:ManakaiDOMNamespaceURI |
94 |
|
|
@@@Description: |
95 |
|
|
@@@@lang:en |
96 |
|
|
@@@@@: |
97 |
|
|
The previous namespace URI. |
98 |
|
|
@@MutationNameEvent.prevNodeName: |
99 |
|
|
@@@Type: |
100 |
|
|
DOMMain:DOMString |
101 |
|
|
@@@Description: |
102 |
|
|
@@@@lang:en |
103 |
|
|
@@@@@: |
104 |
|
|
The previous node name. |
105 |
|
|
@Event: |
106 |
|
|
@@QName: |
107 |
|
|
ev:DOMAttributeNameChanged |
108 |
|
|
@@Description: |
109 |
|
|
@@@lang:en |
110 |
|
|
@@@@: |
111 |
|
|
The <A:Node.namespaceURI> and/or the <A:Node.nodeName> |
112 |
|
|
of an <IF:Attr> have been modified. |
113 |
|
|
@@ActionBefore: |
114 |
|
|
@@@lang:en |
115 |
|
|
@@@@: |
116 |
|
|
The attribute name has been modified. |
117 |
|
|
@@Type:MutationEvent |
118 |
|
|
@@IsBubbling:1 |
119 |
|
|
@@IsCancalable:0 |
120 |
|
|
@@EventTarget: |
121 |
|
|
@@@Type: |
122 |
|
|
DOMCore:Element |
123 |
|
|
@@@Description: |
124 |
|
|
@@@@lang:en |
125 |
|
|
@@@@@: |
126 |
|
|
The parent <IF:Element> node whose <IF:Attr> has been renamed. |
127 |
|
|
@@MutationNameEvent.prevNamespaceURI: |
128 |
|
|
@@@Type: |
129 |
|
|
ManakaiDOM:ManakaiDOMNamespaceURI |
130 |
|
|
@@@Description: |
131 |
|
|
@@@@lang:en |
132 |
|
|
@@@@@: |
133 |
|
|
The previous namespace URI. |
134 |
|
|
@@MutationNameEvent.prevNodeName: |
135 |
|
|
@@@Type: |
136 |
|
|
DOMMain:DOMString |
137 |
|
|
@@@Description: |
138 |
|
|
@@@@lang:en |
139 |
|
|
@@@@@: |
140 |
|
|
The previous node name. |
141 |
|
|
@@MutationEvent.relatedNode: |
142 |
|
|
@@@Type: |
143 |
|
|
DOMCore:Attr |
144 |
|
|
@@@Description: |
145 |
|
|
@@@@lang:en |
146 |
|
|
@@@@@: |
147 |
|
|
The renamed <IF:Attr> node. |
148 |
|
|
##EventSet |
149 |
|
|
|
150 |
|
|
IF: |
151 |
|
|
@Name: MutationNameEvent |
152 |
|
|
@Description: |
153 |
|
|
@@lang:en |
154 |
|
|
@@@: |
155 |
|
|
Provide specific contextual information associated |
156 |
|
|
with mutation name event types. |
157 |
|
|
@Example: |
158 |
|
|
@@For: |
159 |
|
|
lang:Perl |
160 |
|
|
@@FullName: |
161 |
|
|
@@@lang:en |
162 |
|
|
@@@@: |
163 |
|
|
Create an instance of the <IF:MutationNameEvent> interface |
164 |
|
|
@@Code: |
165 |
|
|
@@@Type: |
166 |
|
|
lang:Perl |
167 |
|
|
@@@@: |
168 |
|
|
my $mnev = $DocumentEvent->createEvent ('MutationNameEvent'); |
169 |
|
|
|
170 |
|
|
@ISA: |
171 |
|
|
DOMMutationEvents:MutationEvent |
172 |
|
|
@Role: |
173 |
|
|
@@@: |
174 |
|
|
DOMEvents:Event |
175 |
|
|
@@compat: |
176 |
|
|
ManakaiDOMEvents:Events |
177 |
|
|
|
178 |
|
|
@Level[list]: 3 |
179 |
|
|
@SpecLevel[list]: 3 |
180 |
|
|
|
181 |
|
|
@Attr: |
182 |
|
|
@@Name: prevNamespaceURI |
183 |
|
|
@@Description: |
184 |
|
|
@@@lang:en |
185 |
|
|
@@@@: |
186 |
|
|
The previous namespace URI. |
187 |
|
|
@@Get: |
188 |
|
|
@@@Type: |
189 |
|
|
ManakaiDOM:ManakaiDOMNamespaceURI |
190 |
|
|
@@@Description: |
191 |
|
|
@@@@lang:en |
192 |
|
|
@@@@@: |
193 |
|
|
The previous value of the <A:Node.namespaceURI>. |
194 |
|
|
@@@Def: |
195 |
|
|
@@@@Type: |
196 |
|
|
lang:dis |
197 |
|
|
@@@@GetProp: |
198 |
|
|
DOMMutationNameEvents:prevNamespaceURI |
199 |
|
|
@Attr: |
200 |
|
|
@@Name: prevNodeName |
201 |
|
|
@@Description: |
202 |
|
|
@@@lang:en |
203 |
|
|
@@@@: |
204 |
|
|
The previous node name. |
205 |
|
|
@@Get: |
206 |
|
|
@@@Type: |
207 |
|
|
DOMMain:DOMString |
208 |
|
|
@@@Description: |
209 |
|
|
@@@@lang:en |
210 |
|
|
@@@@@: |
211 |
|
|
The previous value of the <A:Node.nodeName>. |
212 |
|
|
@@@Def: |
213 |
|
|
@@@@Type: |
214 |
|
|
lang:dis |
215 |
|
|
@@@@GetProp: |
216 |
|
|
DOMMutationNameEvents:prevNodeName |
217 |
|
|
@Method: |
218 |
|
|
@@Name: initMutationNameEvent |
219 |
|
|
@@Description: |
220 |
|
|
@@@lang:en |
221 |
|
|
@@@@: |
222 |
|
|
Initialize the value of a <IF:MutationNameEvent> object. It |
223 |
|
|
has the same behavior as <M:MutationEvent.initMutationEvent>. |
224 |
|
|
@@NSVersion:initMutationNameEventNS |
225 |
|
|
@@Param: |
226 |
|
|
@@@Name: typeArg |
227 |
|
|
@@@Type: |
228 |
|
|
DOMMain:DOMString |
229 |
|
|
@@Param: |
230 |
|
|
@@@Name: canBubbleArg |
231 |
|
|
@@@Type: |
232 |
|
|
DOMMain:boolean |
233 |
|
|
@@@InCase: |
234 |
|
|
@@@@Value: true |
235 |
|
|
@@@InCase: |
236 |
|
|
@@@@Value: false |
237 |
|
|
@@Param: |
238 |
|
|
@@@Name: cancelableArg |
239 |
|
|
@@@Type: |
240 |
|
|
DOMMain:boolean |
241 |
|
|
@@@InCase: |
242 |
|
|
@@@@Value: true |
243 |
|
|
@@@InCase: |
244 |
|
|
@@@@Value: false |
245 |
|
|
@@Param: |
246 |
|
|
@@@Name: relatedNodeArg |
247 |
|
|
@@@Type: |
248 |
|
|
DOMCore:Node |
249 |
|
|
@@Param: |
250 |
|
|
@@@Name: prevNamespaceURIArg |
251 |
|
|
@@@Type: |
252 |
|
|
ManakaiDOM:ManakaiDOMNamespaceURI |
253 |
|
|
@@Param: |
254 |
|
|
@@@Name: prevNodeNameArg |
255 |
|
|
@@@Type: |
256 |
|
|
DOMMain:DOMString |
257 |
|
|
@@Return: |
258 |
|
|
@@@Def: |
259 |
|
|
@@@@Type: |
260 |
|
|
lang:Perl |
261 |
|
|
@@@@@: |
262 |
|
|
## Conditional |
263 |
|
|
$self->__SUPER{MutationEvent}__::initEvent |
264 |
|
|
($typeArg, $canBubbleArg, $cancelableArg); |
265 |
|
|
for ($self->{<Q:TreeCore:node>}) { |
266 |
|
|
$_->{<Q:DOMMutationNameEvents:prevNamespaceURI>} |
267 |
|
|
= $prevNamespaceURIArg; |
268 |
|
|
$_->{<Q:DOMMutationNameEvents:prevNodeName>} = $prevNodeNameArg; |
269 |
|
|
} |
270 |
|
|
@@Level[list]: 3 |
271 |
|
|
@@SpecLevel[list]: 3 |
272 |
|
|
@Method: |
273 |
|
|
@@Name: initMutationNameEventNS |
274 |
|
|
@@Description: |
275 |
|
|
@@@lang:en |
276 |
|
|
@@@@: |
277 |
|
|
Initialize the value of a <IF:MutationNameEvent> object. It |
278 |
|
|
has the same behavior as <M:MutationEvent.initMutationEventNS>. |
279 |
|
|
@@NoNSVersion:initMutationNameEvent |
280 |
|
|
@@Param: |
281 |
|
|
@@@Name: namespaceURI |
282 |
|
|
@@@Type: |
283 |
|
|
ManakaiDOM:ManakaiDOMNamespaceURI |
284 |
|
|
@@Param: |
285 |
|
|
@@@Name: typeArg |
286 |
|
|
@@@Type: |
287 |
|
|
DOMMain:DOMString |
288 |
|
|
@@Param: |
289 |
|
|
@@@Name: canBubbleArg |
290 |
|
|
@@@Type: |
291 |
|
|
DOMMain:boolean |
292 |
|
|
@@@InCase: |
293 |
|
|
@@@@Value: true |
294 |
|
|
@@@InCase: |
295 |
|
|
@@@@Value: false |
296 |
|
|
@@Param: |
297 |
|
|
@@@Name: cancelableArg |
298 |
|
|
@@@Type: |
299 |
|
|
DOMMain:boolean |
300 |
|
|
@@@InCase: |
301 |
|
|
@@@@Value: true |
302 |
|
|
@@@InCase: |
303 |
|
|
@@@@Value: false |
304 |
|
|
@@Param: |
305 |
|
|
@@@Name: relatedNodeArg |
306 |
|
|
@@@Type: |
307 |
|
|
DOMCore:Node |
308 |
|
|
@@Param: |
309 |
|
|
@@@Name: prevNamespaceURIArg |
310 |
|
|
@@@Type: |
311 |
|
|
ManakaiDOM:ManakaiDOMNamespaceURI |
312 |
|
|
@@Param: |
313 |
|
|
@@@Name: prevNodeNameArg |
314 |
|
|
@@@Type: |
315 |
|
|
DOMMain:DOMString |
316 |
|
|
@@Return: |
317 |
|
|
@@@Def: |
318 |
|
|
@@@@Type: |
319 |
|
|
lang:Perl |
320 |
|
|
@@@@@: |
321 |
|
|
## Conditional |
322 |
|
|
$self->__SUPER{MutationEvent}__::initEventNS |
323 |
|
|
($namespaceURI, $typeArg, $canBubbleArg, $cancelableArg); |
324 |
|
|
for ($self->{<Q:TreeCore:node>}) { |
325 |
|
|
$_->{<Q:DOMMutationNameEvents:prevNamespaceURI>} |
326 |
|
|
= $prevNamespaceURIArg; |
327 |
|
|
$_->{<Q:DOMMutationNameEvents:prevNodeName>} = $prevNodeNameArg; |
328 |
|
|
} |
329 |
|
|
@@Level[list]: 3 |
330 |
|
|
@@SpecLevel[list]: 3 |
331 |
|
|
|
332 |
|
|
## DOMMutationEvents.dis ends here |