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 |
wakaba |
1.2 |
$Date: 2004/10/11 10:37:13 $ |
39 |
wakaba |
1.1 |
|
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 |
wakaba |
1.2 |
__DEEP{ |
263 |
|
|
## Conditional |
264 |
|
|
$self->__SUPER{MutationEvent}__::initEvent |
265 |
|
|
($typeArg, $canBubbleArg, $cancelableArg, |
266 |
|
|
$relatedNodeArg); |
267 |
|
|
}__; |
268 |
wakaba |
1.1 |
for ($self->{<Q:TreeCore:node>}) { |
269 |
|
|
$_->{<Q:DOMMutationNameEvents:prevNamespaceURI>} |
270 |
|
|
= $prevNamespaceURIArg; |
271 |
|
|
$_->{<Q:DOMMutationNameEvents:prevNodeName>} = $prevNodeNameArg; |
272 |
|
|
} |
273 |
|
|
@@Level[list]: 3 |
274 |
|
|
@@SpecLevel[list]: 3 |
275 |
|
|
@Method: |
276 |
|
|
@@Name: initMutationNameEventNS |
277 |
|
|
@@Description: |
278 |
|
|
@@@lang:en |
279 |
|
|
@@@@: |
280 |
|
|
Initialize the value of a <IF:MutationNameEvent> object. It |
281 |
|
|
has the same behavior as <M:MutationEvent.initMutationEventNS>. |
282 |
|
|
@@NoNSVersion:initMutationNameEvent |
283 |
|
|
@@Param: |
284 |
|
|
@@@Name: namespaceURI |
285 |
|
|
@@@Type: |
286 |
|
|
ManakaiDOM:ManakaiDOMNamespaceURI |
287 |
|
|
@@Param: |
288 |
|
|
@@@Name: typeArg |
289 |
|
|
@@@Type: |
290 |
|
|
DOMMain:DOMString |
291 |
|
|
@@Param: |
292 |
|
|
@@@Name: canBubbleArg |
293 |
|
|
@@@Type: |
294 |
|
|
DOMMain:boolean |
295 |
|
|
@@@InCase: |
296 |
|
|
@@@@Value: true |
297 |
|
|
@@@InCase: |
298 |
|
|
@@@@Value: false |
299 |
|
|
@@Param: |
300 |
|
|
@@@Name: cancelableArg |
301 |
|
|
@@@Type: |
302 |
|
|
DOMMain:boolean |
303 |
|
|
@@@InCase: |
304 |
|
|
@@@@Value: true |
305 |
|
|
@@@InCase: |
306 |
|
|
@@@@Value: false |
307 |
|
|
@@Param: |
308 |
|
|
@@@Name: relatedNodeArg |
309 |
|
|
@@@Type: |
310 |
|
|
DOMCore:Node |
311 |
|
|
@@Param: |
312 |
|
|
@@@Name: prevNamespaceURIArg |
313 |
|
|
@@@Type: |
314 |
|
|
ManakaiDOM:ManakaiDOMNamespaceURI |
315 |
|
|
@@Param: |
316 |
|
|
@@@Name: prevNodeNameArg |
317 |
|
|
@@@Type: |
318 |
|
|
DOMMain:DOMString |
319 |
|
|
@@Return: |
320 |
|
|
@@@Def: |
321 |
|
|
@@@@Type: |
322 |
|
|
lang:Perl |
323 |
|
|
@@@@@: |
324 |
wakaba |
1.2 |
__DEEP{ |
325 |
|
|
## Conditional |
326 |
|
|
$self->__SUPER{MutationEvent}__::initEventNS |
327 |
|
|
($namespaceURI, $typeArg, $canBubbleArg, $cancelableArg, |
328 |
|
|
$relatedNodeArg); |
329 |
|
|
}__; |
330 |
wakaba |
1.1 |
for ($self->{<Q:TreeCore:node>}) { |
331 |
|
|
$_->{<Q:DOMMutationNameEvents:prevNamespaceURI>} |
332 |
|
|
= $prevNamespaceURIArg; |
333 |
|
|
$_->{<Q:DOMMutationNameEvents:prevNodeName>} = $prevNodeNameArg; |
334 |
|
|
} |
335 |
|
|
@@Level[list]: 3 |
336 |
|
|
@@SpecLevel[list]: 3 |
337 |
|
|
|
338 |
|
|
## DOMMutationEvents.dis ends here |