Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(496)

Side by Side Diff: client/html/generated/src/wrapping/_HtmlWrappingImplementation.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 class LevelDom {
8 static AnchorElement wrapAnchorElement(raw) {
9 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AnchorElementWrappingImplementation._wrap(raw);
10 }
11
12 static Animation wrapAnimation(raw) {
13 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AnimationWrappingImplementation._wrap(raw);
14 }
15
16 static AnimationEvent wrapAnimationEvent(raw) {
17 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AnimationEventWrappingImplementation._wrap(raw);
18 }
19
20 static AnimationList wrapAnimationList(raw) {
21 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AnimationListWrappingImplementation._wrap(raw);
22 }
23
24 static AreaElement wrapAreaElement(raw) {
25 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AreaElementWrappingImplementation._wrap(raw);
26 }
27
28 static ArrayBuffer wrapArrayBuffer(raw) {
29 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ArrayBufferWrappingImplementation._wrap(raw);
30 }
31
32 static ArrayBufferView wrapArrayBufferView(raw) {
33 if (raw === null) { return null; }
34 if (raw.dartObjectLocalStorage !== null) {
35 return raw.dartObjectLocalStorage;
36 }
37 switch (raw.typeName) {
38 case "ArrayBufferView":
39 return new ArrayBufferViewWrappingImplementation._wrap(raw);
40 case "DataView":
41 return new DataViewWrappingImplementation._wrap(raw);
42 case "Float32Array":
43 return new Float32ArrayWrappingImplementation._wrap(raw);
44 case "Float64Array":
45 return new Float64ArrayWrappingImplementation._wrap(raw);
46 case "Int16Array":
47 return new Int16ArrayWrappingImplementation._wrap(raw);
48 case "Int32Array":
49 return new Int32ArrayWrappingImplementation._wrap(raw);
50 case "Int8Array":
51 return new Int8ArrayWrappingImplementation._wrap(raw);
52 case "Uint16Array":
53 return new Uint16ArrayWrappingImplementation._wrap(raw);
54 case "Uint32Array":
55 return new Uint32ArrayWrappingImplementation._wrap(raw);
56 case "Uint8Array":
57 return new Uint8ArrayWrappingImplementation._wrap(raw);
58 default:
59 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
60 }
61 }
62
63 static AudioBuffer wrapAudioBuffer(raw) {
64 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AudioBufferWrappingImplementation._wrap(raw);
65 }
66
67 // Skipped AudioBufferCallback
68 static AudioBufferSourceNode wrapAudioBufferSourceNode(raw) {
69 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AudioBufferSourceNodeWrappingImplementation._wrap(raw);
70 }
71
72 static AudioChannelMerger wrapAudioChannelMerger(raw) {
73 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AudioChannelMergerWrappingImplementation._wrap(raw);
74 }
75
76 static AudioChannelSplitter wrapAudioChannelSplitter(raw) {
77 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AudioChannelSplitterWrappingImplementation._wrap(raw);
78 }
79
80 static AudioContext wrapAudioContext(raw) {
81 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AudioContextWrappingImplementation._wrap(raw);
82 }
83
84 static AudioDestinationNode wrapAudioDestinationNode(raw) {
85 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AudioDestinationNodeWrappingImplementation._wrap(raw);
86 }
87
88 static AudioElement wrapAudioElement(raw) {
89 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AudioElementWrappingImplementation._wrap(raw);
90 }
91
92 static AudioGain wrapAudioGain(raw) {
93 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AudioGainWrappingImplementation._wrap(raw);
94 }
95
96 static AudioGainNode wrapAudioGainNode(raw) {
97 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AudioGainNodeWrappingImplementation._wrap(raw);
98 }
99
100 static AudioListener wrapAudioListener(raw) {
101 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AudioListenerWrappingImplementation._wrap(raw);
102 }
103
104 static AudioNode wrapAudioNode(raw) {
105 if (raw === null) { return null; }
106 if (raw.dartObjectLocalStorage !== null) {
107 return raw.dartObjectLocalStorage;
108 }
109 switch (raw.typeName) {
110 case "AudioBufferSourceNode":
111 return new AudioBufferSourceNodeWrappingImplementation._wrap(raw);
112 case "AudioChannelMerger":
113 return new AudioChannelMergerWrappingImplementation._wrap(raw);
114 case "AudioChannelSplitter":
115 return new AudioChannelSplitterWrappingImplementation._wrap(raw);
116 case "AudioDestinationNode":
117 return new AudioDestinationNodeWrappingImplementation._wrap(raw);
118 case "AudioGainNode":
119 return new AudioGainNodeWrappingImplementation._wrap(raw);
120 case "AudioNode":
121 return new AudioNodeWrappingImplementation._wrap(raw);
122 case "AudioPannerNode":
123 return new AudioPannerNodeWrappingImplementation._wrap(raw);
124 case "AudioSourceNode":
125 return new AudioSourceNodeWrappingImplementation._wrap(raw);
126 case "BiquadFilterNode":
127 return new BiquadFilterNodeWrappingImplementation._wrap(raw);
128 case "ConvolverNode":
129 return new ConvolverNodeWrappingImplementation._wrap(raw);
130 case "DelayNode":
131 return new DelayNodeWrappingImplementation._wrap(raw);
132 case "DynamicsCompressorNode":
133 return new DynamicsCompressorNodeWrappingImplementation._wrap(raw);
134 case "HighPass2FilterNode":
135 return new HighPass2FilterNodeWrappingImplementation._wrap(raw);
136 case "JavaScriptAudioNode":
137 return new JavaScriptAudioNodeWrappingImplementation._wrap(raw);
138 case "LowPass2FilterNode":
139 return new LowPass2FilterNodeWrappingImplementation._wrap(raw);
140 case "MediaElementAudioSourceNode":
141 return new MediaElementAudioSourceNodeWrappingImplementation._wrap(raw);
142 case "RealtimeAnalyserNode":
143 return new RealtimeAnalyserNodeWrappingImplementation._wrap(raw);
144 case "WaveShaperNode":
145 return new WaveShaperNodeWrappingImplementation._wrap(raw);
146 default:
147 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
148 }
149 }
150
151 static AudioPannerNode wrapAudioPannerNode(raw) {
152 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AudioPannerNodeWrappingImplementation._wrap(raw);
153 }
154
155 static AudioParam wrapAudioParam(raw) {
156 if (raw === null) { return null; }
157 if (raw.dartObjectLocalStorage !== null) {
158 return raw.dartObjectLocalStorage;
159 }
160 switch (raw.typeName) {
161 case "AudioGain":
162 return new AudioGainWrappingImplementation._wrap(raw);
163 case "AudioParam":
164 return new AudioParamWrappingImplementation._wrap(raw);
165 default:
166 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
167 }
168 }
169
170 static AudioProcessingEvent wrapAudioProcessingEvent(raw) {
171 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new AudioProcessingEventWrappingImplementation._wrap(raw);
172 }
173
174 static AudioSourceNode wrapAudioSourceNode(raw) {
175 if (raw === null) { return null; }
176 if (raw.dartObjectLocalStorage !== null) {
177 return raw.dartObjectLocalStorage;
178 }
179 switch (raw.typeName) {
180 case "AudioBufferSourceNode":
181 return new AudioBufferSourceNodeWrappingImplementation._wrap(raw);
182 case "AudioSourceNode":
183 return new AudioSourceNodeWrappingImplementation._wrap(raw);
184 case "MediaElementAudioSourceNode":
185 return new MediaElementAudioSourceNodeWrappingImplementation._wrap(raw);
186 default:
187 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
188 }
189 }
190
191 static BRElement wrapBRElement(raw) {
192 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new BRElementWrappingImplementation._wrap(raw);
193 }
194
195 static BarInfo wrapBarInfo(raw) {
196 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new BarInfoWrappingImplementation._wrap(raw);
197 }
198
199 static BaseElement wrapBaseElement(raw) {
200 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new BaseElementWrappingImplementation._wrap(raw);
201 }
202
203 static BeforeLoadEvent wrapBeforeLoadEvent(raw) {
204 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new BeforeLoadEventWrappingImplementation._wrap(raw);
205 }
206
207 static BiquadFilterNode wrapBiquadFilterNode(raw) {
208 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new BiquadFilterNodeWrappingImplementation._wrap(raw);
209 }
210
211 static Blob wrapBlob(raw) {
212 if (raw === null) { return null; }
213 if (raw.dartObjectLocalStorage !== null) {
214 return raw.dartObjectLocalStorage;
215 }
216 switch (raw.typeName) {
217 case "Blob":
218 return new BlobWrappingImplementation._wrap(raw);
219 case "File":
220 return new FileWrappingImplementation._wrap(raw);
221 default:
222 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
223 }
224 }
225
226 static BlobBuilder wrapBlobBuilder(raw) {
227 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new BlobBuilderWrappingImplementation._wrap(raw);
228 }
229
230 static BodyElement wrapBodyElement(raw) {
231 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new BodyElementWrappingImplementation._wrap(raw);
232 }
233
234 static ButtonElement wrapButtonElement(raw) {
235 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ButtonElementWrappingImplementation._wrap(raw);
236 }
237
238 static CDATASection wrapCDATASection(raw) {
239 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CDATASectionWrappingImplementation._wrap(raw);
240 }
241
242 static CSSCharsetRule wrapCSSCharsetRule(raw) {
243 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CSSCharsetRuleWrappingImplementation._wrap(raw);
244 }
245
246 static CSSFontFaceRule wrapCSSFontFaceRule(raw) {
247 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CSSFontFaceRuleWrappingImplementation._wrap(raw);
248 }
249
250 static CSSImportRule wrapCSSImportRule(raw) {
251 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CSSImportRuleWrappingImplementation._wrap(raw);
252 }
253
254 static CSSKeyframeRule wrapCSSKeyframeRule(raw) {
255 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CSSKeyframeRuleWrappingImplementation._wrap(raw);
256 }
257
258 static CSSKeyframesRule wrapCSSKeyframesRule(raw) {
259 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CSSKeyframesRuleWrappingImplementation._wrap(raw);
260 }
261
262 static CSSMatrix wrapCSSMatrix(raw) {
263 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CSSMatrixWrappingImplementation._wrap(raw);
264 }
265
266 static CSSMediaRule wrapCSSMediaRule(raw) {
267 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CSSMediaRuleWrappingImplementation._wrap(raw);
268 }
269
270 static CSSPageRule wrapCSSPageRule(raw) {
271 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CSSPageRuleWrappingImplementation._wrap(raw);
272 }
273
274 static CSSPrimitiveValue wrapCSSPrimitiveValue(raw) {
275 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CSSPrimitiveValueWrappingImplementation._wrap(raw);
276 }
277
278 static CSSRule wrapCSSRule(raw) {
279 if (raw === null) { return null; }
280 if (raw.dartObjectLocalStorage !== null) {
281 return raw.dartObjectLocalStorage;
282 }
283 switch (raw.typeName) {
284 case "CSSCharsetRule":
285 return new CSSCharsetRuleWrappingImplementation._wrap(raw);
286 case "CSSFontFaceRule":
287 return new CSSFontFaceRuleWrappingImplementation._wrap(raw);
288 case "CSSImportRule":
289 return new CSSImportRuleWrappingImplementation._wrap(raw);
290 case "WebKitCSSKeyframeRule":
291 return new CSSKeyframeRuleWrappingImplementation._wrap(raw);
292 case "WebKitCSSKeyframesRule":
293 return new CSSKeyframesRuleWrappingImplementation._wrap(raw);
294 case "CSSMediaRule":
295 return new CSSMediaRuleWrappingImplementation._wrap(raw);
296 case "CSSPageRule":
297 return new CSSPageRuleWrappingImplementation._wrap(raw);
298 case "CSSRule":
299 return new CSSRuleWrappingImplementation._wrap(raw);
300 case "CSSStyleRule":
301 return new CSSStyleRuleWrappingImplementation._wrap(raw);
302 case "CSSUnknownRule":
303 return new CSSUnknownRuleWrappingImplementation._wrap(raw);
304 default:
305 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
306 }
307 }
308
309 static CSSRuleList wrapCSSRuleList(raw) {
310 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CSSRuleListWrappingImplementation._wrap(raw);
311 }
312
313 static CSSStyleDeclaration wrapCSSStyleDeclaration(raw) {
314 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CSSStyleDeclarationWrappingImplementation._wrap(raw);
315 }
316
317 static CSSStyleRule wrapCSSStyleRule(raw) {
318 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CSSStyleRuleWrappingImplementation._wrap(raw);
319 }
320
321 static CSSStyleSheet wrapCSSStyleSheet(raw) {
322 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CSSStyleSheetWrappingImplementation._wrap(raw);
323 }
324
325 static CSSTransformValue wrapCSSTransformValue(raw) {
326 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CSSTransformValueWrappingImplementation._wrap(raw);
327 }
328
329 static CSSUnknownRule wrapCSSUnknownRule(raw) {
330 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CSSUnknownRuleWrappingImplementation._wrap(raw);
331 }
332
333 static CSSValue wrapCSSValue(raw) {
334 if (raw === null) { return null; }
335 if (raw.dartObjectLocalStorage !== null) {
336 return raw.dartObjectLocalStorage;
337 }
338 switch (raw.typeName) {
339 case "CSSPrimitiveValue":
340 return new CSSPrimitiveValueWrappingImplementation._wrap(raw);
341 case "WebKitCSSTransformValue":
342 return new CSSTransformValueWrappingImplementation._wrap(raw);
343 case "CSSValue":
344 return new CSSValueWrappingImplementation._wrap(raw);
345 case "CSSValueList":
346 return new CSSValueListWrappingImplementation._wrap(raw);
347 case "SVGColor":
348 return new SVGColorWrappingImplementation._wrap(raw);
349 case "SVGPaint":
350 return new SVGPaintWrappingImplementation._wrap(raw);
351 case "WebKitCSSFilterValue":
352 return new WebKitCSSFilterValueWrappingImplementation._wrap(raw);
353 default:
354 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
355 }
356 }
357
358 static CSSValueList wrapCSSValueList(raw) {
359 if (raw === null) { return null; }
360 if (raw.dartObjectLocalStorage !== null) {
361 return raw.dartObjectLocalStorage;
362 }
363 switch (raw.typeName) {
364 case "WebKitCSSTransformValue":
365 return new CSSTransformValueWrappingImplementation._wrap(raw);
366 case "CSSValueList":
367 return new CSSValueListWrappingImplementation._wrap(raw);
368 case "WebKitCSSFilterValue":
369 return new WebKitCSSFilterValueWrappingImplementation._wrap(raw);
370 default:
371 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
372 }
373 }
374
375 static CanvasElement wrapCanvasElement(raw) {
376 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CanvasElementWrappingImplementation._wrap(raw);
377 }
378
379 static CanvasGradient wrapCanvasGradient(raw) {
380 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CanvasGradientWrappingImplementation._wrap(raw);
381 }
382
383 static CanvasPattern wrapCanvasPattern(raw) {
384 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CanvasPatternWrappingImplementation._wrap(raw);
385 }
386
387 static CanvasPixelArray wrapCanvasPixelArray(raw) {
388 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CanvasPixelArrayWrappingImplementation._wrap(raw);
389 }
390
391 static CanvasRenderingContext wrapCanvasRenderingContext(raw) {
392 if (raw === null) { return null; }
393 if (raw.dartObjectLocalStorage !== null) {
394 return raw.dartObjectLocalStorage;
395 }
396 switch (raw.typeName) {
397 case "CanvasRenderingContext":
398 return new CanvasRenderingContextWrappingImplementation._wrap(raw);
399 case "CanvasRenderingContext2D":
400 return new CanvasRenderingContext2DWrappingImplementation._wrap(raw);
401 case "WebGLRenderingContext":
402 return new WebGLRenderingContextWrappingImplementation._wrap(raw);
403 default:
404 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
405 }
406 }
407
408 static CanvasRenderingContext2D wrapCanvasRenderingContext2D(raw) {
409 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CanvasRenderingContext2DWrappingImplementation._wrap(raw );
410 }
411
412 static CharacterData wrapCharacterData(raw) {
413 if (raw === null) { return null; }
414 if (raw.dartObjectLocalStorage !== null) {
415 return raw.dartObjectLocalStorage;
416 }
417 switch (raw.typeName) {
418 case "CDATASection":
419 return new CDATASectionWrappingImplementation._wrap(raw);
420 case "CharacterData":
421 return new CharacterDataWrappingImplementation._wrap(raw);
422 case "Comment":
423 return new CommentWrappingImplementation._wrap(raw);
424 case "Text":
425 return new TextWrappingImplementation._wrap(raw);
426 default:
427 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
428 }
429 }
430
431 static ClientRect wrapClientRect(raw) {
432 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ClientRectWrappingImplementation._wrap(raw);
433 }
434
435 static ClientRectList wrapClientRectList(raw) {
436 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ClientRectListWrappingImplementation._wrap(raw);
437 }
438
439 static Clipboard wrapClipboard(raw) {
440 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ClipboardWrappingImplementation._wrap(raw);
441 }
442
443 static CloseEvent wrapCloseEvent(raw) {
444 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CloseEventWrappingImplementation._wrap(raw);
445 }
446
447 static Comment wrapComment(raw) {
448 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CommentWrappingImplementation._wrap(raw);
449 }
450
451 static CompositionEvent wrapCompositionEvent(raw) {
452 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CompositionEventWrappingImplementation._wrap(raw);
453 }
454
455 static Console wrapConsole(raw) {
456 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ConsoleWrappingImplementation._wrap(raw);
457 }
458
459 static ConvolverNode wrapConvolverNode(raw) {
460 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ConvolverNodeWrappingImplementation._wrap(raw);
461 }
462
463 static Coordinates wrapCoordinates(raw) {
464 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CoordinatesWrappingImplementation._wrap(raw);
465 }
466
467 static Counter wrapCounter(raw) {
468 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CounterWrappingImplementation._wrap(raw);
469 }
470
471 static Crypto wrapCrypto(raw) {
472 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CryptoWrappingImplementation._wrap(raw);
473 }
474
475 static CustomEvent wrapCustomEvent(raw) {
476 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new CustomEventWrappingImplementation._wrap(raw);
477 }
478
479 static DListElement wrapDListElement(raw) {
480 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DListElementWrappingImplementation._wrap(raw);
481 }
482
483 static DOMApplicationCache wrapDOMApplicationCache(raw) {
484 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DOMApplicationCacheWrappingImplementation._wrap(raw);
485 }
486
487 static DOMException wrapDOMException(raw) {
488 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DOMExceptionWrappingImplementation._wrap(raw);
489 }
490
491 static DOMFileSystem wrapDOMFileSystem(raw) {
492 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DOMFileSystemWrappingImplementation._wrap(raw);
493 }
494
495 static DOMFileSystemSync wrapDOMFileSystemSync(raw) {
496 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DOMFileSystemSyncWrappingImplementation._wrap(raw);
497 }
498
499 static DOMFormData wrapDOMFormData(raw) {
500 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DOMFormDataWrappingImplementation._wrap(raw);
501 }
502
503 static DOMMimeType wrapDOMMimeType(raw) {
504 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DOMMimeTypeWrappingImplementation._wrap(raw);
505 }
506
507 static DOMMimeTypeArray wrapDOMMimeTypeArray(raw) {
508 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DOMMimeTypeArrayWrappingImplementation._wrap(raw);
509 }
510
511 static DOMParser wrapDOMParser(raw) {
512 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DOMParserWrappingImplementation._wrap(raw);
513 }
514
515 static DOMPlugin wrapDOMPlugin(raw) {
516 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DOMPluginWrappingImplementation._wrap(raw);
517 }
518
519 static DOMPluginArray wrapDOMPluginArray(raw) {
520 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DOMPluginArrayWrappingImplementation._wrap(raw);
521 }
522
523 static DOMSelection wrapDOMSelection(raw) {
524 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DOMSelectionWrappingImplementation._wrap(raw);
525 }
526
527 static DOMSettableTokenList wrapDOMSettableTokenList(raw) {
528 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DOMSettableTokenListWrappingImplementation._wrap(raw);
529 }
530
531 static DOMTokenList wrapDOMTokenList(raw) {
532 if (raw === null) { return null; }
533 if (raw.dartObjectLocalStorage !== null) {
534 return raw.dartObjectLocalStorage;
535 }
536 switch (raw.typeName) {
537 case "DOMSettableTokenList":
538 return new DOMSettableTokenListWrappingImplementation._wrap(raw);
539 case "DOMTokenList":
540 return new DOMTokenListWrappingImplementation._wrap(raw);
541 default:
542 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
543 }
544 }
545
546 static DOMURL wrapDOMURL(raw) {
547 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DOMURLWrappingImplementation._wrap(raw);
548 }
549
550 static DataListElement wrapDataListElement(raw) {
551 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DataListElementWrappingImplementation._wrap(raw);
552 }
553
554 static DataTransferItem wrapDataTransferItem(raw) {
555 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DataTransferItemWrappingImplementation._wrap(raw);
556 }
557
558 static DataTransferItemList wrapDataTransferItemList(raw) {
559 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DataTransferItemListWrappingImplementation._wrap(raw);
560 }
561
562 static DataView wrapDataView(raw) {
563 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DataViewWrappingImplementation._wrap(raw);
564 }
565
566 // Skipped DatabaseCallback
567 static DelayNode wrapDelayNode(raw) {
568 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DelayNodeWrappingImplementation._wrap(raw);
569 }
570
571 static DetailsElement wrapDetailsElement(raw) {
572 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DetailsElementWrappingImplementation._wrap(raw);
573 }
574
575 static DeviceMotionEvent wrapDeviceMotionEvent(raw) {
576 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DeviceMotionEventWrappingImplementation._wrap(raw);
577 }
578
579 static DeviceOrientationEvent wrapDeviceOrientationEvent(raw) {
580 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DeviceOrientationEventWrappingImplementation._wrap(raw);
581 }
582
583 static DirectoryEntry wrapDirectoryEntry(raw) {
584 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DirectoryEntryWrappingImplementation._wrap(raw);
585 }
586
587 static DirectoryEntrySync wrapDirectoryEntrySync(raw) {
588 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DirectoryEntrySyncWrappingImplementation._wrap(raw);
589 }
590
591 static DirectoryReader wrapDirectoryReader(raw) {
592 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DirectoryReaderWrappingImplementation._wrap(raw);
593 }
594
595 static DirectoryReaderSync wrapDirectoryReaderSync(raw) {
596 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DirectoryReaderSyncWrappingImplementation._wrap(raw);
597 }
598
599 static DivElement wrapDivElement(raw) {
600 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DivElementWrappingImplementation._wrap(raw);
601 }
602
603 static Document wrapDocument(raw) {
604 if (raw === null) { return null; }
605 if (raw.dartObjectLocalStorage !== null) {
606 return raw.dartObjectLocalStorage;
607 }
608 switch (raw.typeName) {
609 case "Document":
610 case "XMLDocument":
611 return new XMLDocumentWrappingImplementation._wrap(raw, raw.documentElem ent);
612 case "HTMLDocument":
613 return new DocumentWrappingImplementation._wrap(raw, raw.documentElement );
614 case "SVGDocument":
615 return new SVGDocumentWrappingImplementation._wrap(raw);
616 default:
617 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
618 }
619 }
620
621 static DocumentFragment wrapDocumentFragment(raw) {
622 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DocumentFragmentWrappingImplementation._wrap(raw);
623 }
624
625 static DynamicsCompressorNode wrapDynamicsCompressorNode(raw) {
626 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new DynamicsCompressorNodeWrappingImplementation._wrap(raw);
627 }
628
629 static Element wrapElement(raw) {
630 if (raw === null) { return null; }
631 if (raw.dartObjectLocalStorage !== null) {
632 return raw.dartObjectLocalStorage;
633 }
634 switch (raw.typeName) {
635 case "Element":
636 return new XMLElementWrappingImplementation._wrap(raw);
637 case "HTMLAnchorElement":
638 return new AnchorElementWrappingImplementation._wrap(raw);
639 /* Skipping HTMLAppletElement*/
640 case "HTMLAreaElement":
641 return new AreaElementWrappingImplementation._wrap(raw);
642 case "HTMLAudioElement":
643 return new AudioElementWrappingImplementation._wrap(raw);
644 case "HTMLBRElement":
645 return new BRElementWrappingImplementation._wrap(raw);
646 case "HTMLBaseElement":
647 return new BaseElementWrappingImplementation._wrap(raw);
648 /* Skipping HTMLBaseFontElement*/
649 case "HTMLBodyElement":
650 return new BodyElementWrappingImplementation._wrap(raw);
651 case "HTMLButtonElement":
652 return new ButtonElementWrappingImplementation._wrap(raw);
653 case "HTMLCanvasElement":
654 return new CanvasElementWrappingImplementation._wrap(raw);
655 case "HTMLDListElement":
656 return new DListElementWrappingImplementation._wrap(raw);
657 case "HTMLDataListElement":
658 return new DataListElementWrappingImplementation._wrap(raw);
659 case "HTMLDetailsElement":
660 return new DetailsElementWrappingImplementation._wrap(raw);
661 /* Skipping HTMLDirectoryElement*/
662 case "HTMLDivElement":
663 return new DivElementWrappingImplementation._wrap(raw);
664 case "HTMLElement":
665 return new ElementWrappingImplementation._wrap(raw);
666 case "HTMLEmbedElement":
667 return new EmbedElementWrappingImplementation._wrap(raw);
668 case "HTMLFieldSetElement":
669 return new FieldSetElementWrappingImplementation._wrap(raw);
670 case "HTMLFontElement":
671 return new FontElementWrappingImplementation._wrap(raw);
672 case "HTMLFormElement":
673 return new FormElementWrappingImplementation._wrap(raw);
674 /* Skipping HTMLFrameElement*/
675 /* Skipping HTMLFrameSetElement*/
676 case "HTMLHRElement":
677 return new HRElementWrappingImplementation._wrap(raw);
678 case "HTMLHeadElement":
679 return new HeadElementWrappingImplementation._wrap(raw);
680 case "HTMLHeadingElement":
681 return new HeadingElementWrappingImplementation._wrap(raw);
682 case "HTMLHtmlElement":
683 return new DocumentWrappingImplementation._wrap(raw.parentNode, raw);
684 case "HTMLIFrameElement":
685 return new IFrameElementWrappingImplementation._wrap(raw);
686 case "HTMLImageElement":
687 return new ImageElementWrappingImplementation._wrap(raw);
688 case "HTMLInputElement":
689 return new InputElementWrappingImplementation._wrap(raw);
690 /* Skipping HTMLIsIndexElement*/
691 case "HTMLKeygenElement":
692 return new KeygenElementWrappingImplementation._wrap(raw);
693 case "HTMLLIElement":
694 return new LIElementWrappingImplementation._wrap(raw);
695 case "HTMLLabelElement":
696 return new LabelElementWrappingImplementation._wrap(raw);
697 case "HTMLLegendElement":
698 return new LegendElementWrappingImplementation._wrap(raw);
699 case "HTMLLinkElement":
700 return new LinkElementWrappingImplementation._wrap(raw);
701 case "HTMLMapElement":
702 return new MapElementWrappingImplementation._wrap(raw);
703 case "HTMLMarqueeElement":
704 return new MarqueeElementWrappingImplementation._wrap(raw);
705 case "HTMLMediaElement":
706 return new MediaElementWrappingImplementation._wrap(raw);
707 case "HTMLMenuElement":
708 return new MenuElementWrappingImplementation._wrap(raw);
709 case "HTMLMetaElement":
710 return new MetaElementWrappingImplementation._wrap(raw);
711 case "HTMLMeterElement":
712 return new MeterElementWrappingImplementation._wrap(raw);
713 case "HTMLModElement":
714 return new ModElementWrappingImplementation._wrap(raw);
715 case "HTMLOListElement":
716 return new OListElementWrappingImplementation._wrap(raw);
717 case "HTMLObjectElement":
718 return new ObjectElementWrappingImplementation._wrap(raw);
719 case "HTMLOptGroupElement":
720 return new OptGroupElementWrappingImplementation._wrap(raw);
721 case "HTMLOptionElement":
722 return new OptionElementWrappingImplementation._wrap(raw);
723 case "HTMLOutputElement":
724 return new OutputElementWrappingImplementation._wrap(raw);
725 case "HTMLParagraphElement":
726 return new ParagraphElementWrappingImplementation._wrap(raw);
727 case "HTMLParamElement":
728 return new ParamElementWrappingImplementation._wrap(raw);
729 case "HTMLPreElement":
730 return new PreElementWrappingImplementation._wrap(raw);
731 case "HTMLProgressElement":
732 return new ProgressElementWrappingImplementation._wrap(raw);
733 case "HTMLQuoteElement":
734 return new QuoteElementWrappingImplementation._wrap(raw);
735 case "SVGAElement":
736 return new SVGAElementWrappingImplementation._wrap(raw);
737 case "SVGAltGlyphDefElement":
738 return new SVGAltGlyphDefElementWrappingImplementation._wrap(raw);
739 case "SVGAltGlyphElement":
740 return new SVGAltGlyphElementWrappingImplementation._wrap(raw);
741 case "SVGAltGlyphItemElement":
742 return new SVGAltGlyphItemElementWrappingImplementation._wrap(raw);
743 case "SVGAnimateColorElement":
744 return new SVGAnimateColorElementWrappingImplementation._wrap(raw);
745 case "SVGAnimateElement":
746 return new SVGAnimateElementWrappingImplementation._wrap(raw);
747 case "SVGAnimateMotionElement":
748 return new SVGAnimateMotionElementWrappingImplementation._wrap(raw);
749 case "SVGAnimateTransformElement":
750 return new SVGAnimateTransformElementWrappingImplementation._wrap(raw);
751 case "SVGAnimationElement":
752 return new SVGAnimationElementWrappingImplementation._wrap(raw);
753 case "SVGCircleElement":
754 return new SVGCircleElementWrappingImplementation._wrap(raw);
755 case "SVGClipPathElement":
756 return new SVGClipPathElementWrappingImplementation._wrap(raw);
757 case "SVGComponentTransferFunctionElement":
758 return new SVGComponentTransferFunctionElementWrappingImplementation._wr ap(raw);
759 case "SVGCursorElement":
760 return new SVGCursorElementWrappingImplementation._wrap(raw);
761 case "SVGDefsElement":
762 return new SVGDefsElementWrappingImplementation._wrap(raw);
763 case "SVGDescElement":
764 return new SVGDescElementWrappingImplementation._wrap(raw);
765 case "SVGElement":
766 return new SVGElementWrappingImplementation._wrap(raw);
767 case "SVGEllipseElement":
768 return new SVGEllipseElementWrappingImplementation._wrap(raw);
769 case "SVGFEBlendElement":
770 return new SVGFEBlendElementWrappingImplementation._wrap(raw);
771 case "SVGFEColorMatrixElement":
772 return new SVGFEColorMatrixElementWrappingImplementation._wrap(raw);
773 case "SVGFEComponentTransferElement":
774 return new SVGFEComponentTransferElementWrappingImplementation._wrap(raw );
775 /* Skipping SVGFECompositeElement*/
776 case "SVGFEConvolveMatrixElement":
777 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap(raw);
778 case "SVGFEDiffuseLightingElement":
779 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap(raw);
780 case "SVGFEDisplacementMapElement":
781 return new SVGFEDisplacementMapElementWrappingImplementation._wrap(raw);
782 case "SVGFEDistantLightElement":
783 return new SVGFEDistantLightElementWrappingImplementation._wrap(raw);
784 case "SVGFEDropShadowElement":
785 return new SVGFEDropShadowElementWrappingImplementation._wrap(raw);
786 case "SVGFEFloodElement":
787 return new SVGFEFloodElementWrappingImplementation._wrap(raw);
788 case "SVGFEFuncAElement":
789 return new SVGFEFuncAElementWrappingImplementation._wrap(raw);
790 case "SVGFEFuncBElement":
791 return new SVGFEFuncBElementWrappingImplementation._wrap(raw);
792 case "SVGFEFuncGElement":
793 return new SVGFEFuncGElementWrappingImplementation._wrap(raw);
794 case "SVGFEFuncRElement":
795 return new SVGFEFuncRElementWrappingImplementation._wrap(raw);
796 case "SVGFEGaussianBlurElement":
797 return new SVGFEGaussianBlurElementWrappingImplementation._wrap(raw);
798 case "SVGFEImageElement":
799 return new SVGFEImageElementWrappingImplementation._wrap(raw);
800 case "SVGFEMergeElement":
801 return new SVGFEMergeElementWrappingImplementation._wrap(raw);
802 case "SVGFEMergeNodeElement":
803 return new SVGFEMergeNodeElementWrappingImplementation._wrap(raw);
804 /* Skipping SVGFEMorphologyElement*/
805 case "SVGFEOffsetElement":
806 return new SVGFEOffsetElementWrappingImplementation._wrap(raw);
807 case "SVGFEPointLightElement":
808 return new SVGFEPointLightElementWrappingImplementation._wrap(raw);
809 case "SVGFESpecularLightingElement":
810 return new SVGFESpecularLightingElementWrappingImplementation._wrap(raw) ;
811 case "SVGFESpotLightElement":
812 return new SVGFESpotLightElementWrappingImplementation._wrap(raw);
813 case "SVGFETileElement":
814 return new SVGFETileElementWrappingImplementation._wrap(raw);
815 case "SVGFETurbulenceElement":
816 return new SVGFETurbulenceElementWrappingImplementation._wrap(raw);
817 case "SVGFilterElement":
818 return new SVGFilterElementWrappingImplementation._wrap(raw);
819 case "SVGFontElement":
820 return new SVGFontElementWrappingImplementation._wrap(raw);
821 case "SVGFontFaceElement":
822 return new SVGFontFaceElementWrappingImplementation._wrap(raw);
823 case "SVGFontFaceFormatElement":
824 return new SVGFontFaceFormatElementWrappingImplementation._wrap(raw);
825 case "SVGFontFaceNameElement":
826 return new SVGFontFaceNameElementWrappingImplementation._wrap(raw);
827 case "SVGFontFaceSrcElement":
828 return new SVGFontFaceSrcElementWrappingImplementation._wrap(raw);
829 case "SVGFontFaceUriElement":
830 return new SVGFontFaceUriElementWrappingImplementation._wrap(raw);
831 case "SVGForeignObjectElement":
832 return new SVGForeignObjectElementWrappingImplementation._wrap(raw);
833 case "SVGGElement":
834 return new SVGGElementWrappingImplementation._wrap(raw);
835 case "SVGGlyphElement":
836 return new SVGGlyphElementWrappingImplementation._wrap(raw);
837 case "SVGGlyphRefElement":
838 return new SVGGlyphRefElementWrappingImplementation._wrap(raw);
839 case "SVGGradientElement":
840 return new SVGGradientElementWrappingImplementation._wrap(raw);
841 case "SVGHKernElement":
842 return new SVGHKernElementWrappingImplementation._wrap(raw);
843 case "SVGImageElement":
844 return new SVGImageElementWrappingImplementation._wrap(raw);
845 case "SVGLineElement":
846 return new SVGLineElementWrappingImplementation._wrap(raw);
847 case "SVGLinearGradientElement":
848 return new SVGLinearGradientElementWrappingImplementation._wrap(raw);
849 case "SVGMPathElement":
850 return new SVGMPathElementWrappingImplementation._wrap(raw);
851 case "SVGMarkerElement":
852 return new SVGMarkerElementWrappingImplementation._wrap(raw);
853 case "SVGMaskElement":
854 return new SVGMaskElementWrappingImplementation._wrap(raw);
855 case "SVGMetadataElement":
856 return new SVGMetadataElementWrappingImplementation._wrap(raw);
857 case "SVGMissingGlyphElement":
858 return new SVGMissingGlyphElementWrappingImplementation._wrap(raw);
859 case "SVGPathElement":
860 return new SVGPathElementWrappingImplementation._wrap(raw);
861 case "SVGPatternElement":
862 return new SVGPatternElementWrappingImplementation._wrap(raw);
863 case "SVGPolygonElement":
864 return new SVGPolygonElementWrappingImplementation._wrap(raw);
865 case "SVGPolylineElement":
866 return new SVGPolylineElementWrappingImplementation._wrap(raw);
867 case "SVGRadialGradientElement":
868 return new SVGRadialGradientElementWrappingImplementation._wrap(raw);
869 case "SVGRectElement":
870 return new SVGRectElementWrappingImplementation._wrap(raw);
871 case "SVGSVGElement":
872 return new SVGSVGElementWrappingImplementation._wrap(raw);
873 case "SVGScriptElement":
874 return new SVGScriptElementWrappingImplementation._wrap(raw);
875 case "SVGSetElement":
876 return new SVGSetElementWrappingImplementation._wrap(raw);
877 case "SVGStopElement":
878 return new SVGStopElementWrappingImplementation._wrap(raw);
879 case "SVGStyleElement":
880 return new SVGStyleElementWrappingImplementation._wrap(raw);
881 case "SVGSwitchElement":
882 return new SVGSwitchElementWrappingImplementation._wrap(raw);
883 case "SVGSymbolElement":
884 return new SVGSymbolElementWrappingImplementation._wrap(raw);
885 case "SVGTRefElement":
886 return new SVGTRefElementWrappingImplementation._wrap(raw);
887 case "SVGTSpanElement":
888 return new SVGTSpanElementWrappingImplementation._wrap(raw);
889 case "SVGTextContentElement":
890 return new SVGTextContentElementWrappingImplementation._wrap(raw);
891 case "SVGTextElement":
892 return new SVGTextElementWrappingImplementation._wrap(raw);
893 case "SVGTextPathElement":
894 return new SVGTextPathElementWrappingImplementation._wrap(raw);
895 case "SVGTextPositioningElement":
896 return new SVGTextPositioningElementWrappingImplementation._wrap(raw);
897 case "SVGTitleElement":
898 return new SVGTitleElementWrappingImplementation._wrap(raw);
899 case "SVGUseElement":
900 return new SVGUseElementWrappingImplementation._wrap(raw);
901 case "SVGVKernElement":
902 return new SVGVKernElementWrappingImplementation._wrap(raw);
903 case "SVGViewElement":
904 return new SVGViewElementWrappingImplementation._wrap(raw);
905 case "HTMLScriptElement":
906 return new ScriptElementWrappingImplementation._wrap(raw);
907 case "HTMLSelectElement":
908 return new SelectElementWrappingImplementation._wrap(raw);
909 case "HTMLSourceElement":
910 return new SourceElementWrappingImplementation._wrap(raw);
911 case "HTMLSpanElement":
912 return new SpanElementWrappingImplementation._wrap(raw);
913 case "HTMLStyleElement":
914 return new StyleElementWrappingImplementation._wrap(raw);
915 case "HTMLTableCaptionElement":
916 return new TableCaptionElementWrappingImplementation._wrap(raw);
917 case "HTMLTableCellElement":
918 return new TableCellElementWrappingImplementation._wrap(raw);
919 case "HTMLTableColElement":
920 return new TableColElementWrappingImplementation._wrap(raw);
921 case "HTMLTableElement":
922 return new TableElementWrappingImplementation._wrap(raw);
923 case "HTMLTableRowElement":
924 return new TableRowElementWrappingImplementation._wrap(raw);
925 case "HTMLTableSectionElement":
926 return new TableSectionElementWrappingImplementation._wrap(raw);
927 case "HTMLTextAreaElement":
928 return new TextAreaElementWrappingImplementation._wrap(raw);
929 case "HTMLTitleElement":
930 return new TitleElementWrappingImplementation._wrap(raw);
931 case "HTMLTrackElement":
932 return new TrackElementWrappingImplementation._wrap(raw);
933 case "HTMLUListElement":
934 return new UListElementWrappingImplementation._wrap(raw);
935 case "HTMLUnknownElement":
936 return new UnknownElementWrappingImplementation._wrap(raw);
937 case "HTMLVideoElement":
938 return new VideoElementWrappingImplementation._wrap(raw);
939 default:
940 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
941 }
942 }
943
944 static ElementList wrapElementList(raw) {
945 return raw === null ? null : new FrozenElementList._wrap(raw);
946 }
947
948 static ElementTimeControl wrapElementTimeControl(raw) {
949 if (raw === null) { return null; }
950 if (raw.dartObjectLocalStorage !== null) {
951 return raw.dartObjectLocalStorage;
952 }
953 switch (raw.typeName) {
954 case "ElementTimeControl":
955 return new ElementTimeControlWrappingImplementation._wrap(raw);
956 case "SVGAnimateColorElement":
957 return new SVGAnimateColorElementWrappingImplementation._wrap(raw);
958 case "SVGAnimateElement":
959 return new SVGAnimateElementWrappingImplementation._wrap(raw);
960 case "SVGAnimateMotionElement":
961 return new SVGAnimateMotionElementWrappingImplementation._wrap(raw);
962 case "SVGAnimateTransformElement":
963 return new SVGAnimateTransformElementWrappingImplementation._wrap(raw);
964 case "SVGAnimationElement":
965 return new SVGAnimationElementWrappingImplementation._wrap(raw);
966 case "SVGSetElement":
967 return new SVGSetElementWrappingImplementation._wrap(raw);
968 default:
969 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
970 }
971 }
972
973 static EmbedElement wrapEmbedElement(raw) {
974 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new EmbedElementWrappingImplementation._wrap(raw);
975 }
976
977 static Entity wrapEntity(raw) {
978 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new EntityWrappingImplementation._wrap(raw);
979 }
980
981 static EntityReference wrapEntityReference(raw) {
982 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new EntityReferenceWrappingImplementation._wrap(raw);
983 }
984
985 // Skipped EntriesCallback
986 static Entry wrapEntry(raw) {
987 if (raw === null) { return null; }
988 if (raw.dartObjectLocalStorage !== null) {
989 return raw.dartObjectLocalStorage;
990 }
991 switch (raw.typeName) {
992 case "DirectoryEntry":
993 return new DirectoryEntryWrappingImplementation._wrap(raw);
994 case "Entry":
995 return new EntryWrappingImplementation._wrap(raw);
996 case "FileEntry":
997 return new FileEntryWrappingImplementation._wrap(raw);
998 default:
999 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
1000 }
1001 }
1002
1003 static EntryArray wrapEntryArray(raw) {
1004 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new EntryArrayWrappingImplementation._wrap(raw);
1005 }
1006
1007 static EntryArraySync wrapEntryArraySync(raw) {
1008 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new EntryArraySyncWrappingImplementation._wrap(raw);
1009 }
1010
1011 // Skipped EntryCallback
1012 static EntrySync wrapEntrySync(raw) {
1013 if (raw === null) { return null; }
1014 if (raw.dartObjectLocalStorage !== null) {
1015 return raw.dartObjectLocalStorage;
1016 }
1017 switch (raw.typeName) {
1018 case "DirectoryEntrySync":
1019 return new DirectoryEntrySyncWrappingImplementation._wrap(raw);
1020 case "EntrySync":
1021 return new EntrySyncWrappingImplementation._wrap(raw);
1022 case "FileEntrySync":
1023 return new FileEntrySyncWrappingImplementation._wrap(raw);
1024 default:
1025 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
1026 }
1027 }
1028
1029 // Skipped ErrorCallback
1030 static ErrorEvent wrapErrorEvent(raw) {
1031 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ErrorEventWrappingImplementation._wrap(raw);
1032 }
1033
1034 static Event wrapEvent(raw) {
1035 if (raw === null) { return null; }
1036 if (raw.dartObjectLocalStorage !== null) {
1037 return raw.dartObjectLocalStorage;
1038 }
1039 switch (raw.typeName) {
1040 case "WebKitAnimationEvent":
1041 return new AnimationEventWrappingImplementation._wrap(raw);
1042 case "AudioProcessingEvent":
1043 return new AudioProcessingEventWrappingImplementation._wrap(raw);
1044 case "BeforeLoadEvent":
1045 return new BeforeLoadEventWrappingImplementation._wrap(raw);
1046 case "CloseEvent":
1047 return new CloseEventWrappingImplementation._wrap(raw);
1048 case "CompositionEvent":
1049 return new CompositionEventWrappingImplementation._wrap(raw);
1050 case "CustomEvent":
1051 return new CustomEventWrappingImplementation._wrap(raw);
1052 case "DeviceMotionEvent":
1053 return new DeviceMotionEventWrappingImplementation._wrap(raw);
1054 case "DeviceOrientationEvent":
1055 return new DeviceOrientationEventWrappingImplementation._wrap(raw);
1056 case "ErrorEvent":
1057 return new ErrorEventWrappingImplementation._wrap(raw);
1058 case "Event":
1059 return new EventWrappingImplementation._wrap(raw);
1060 case "HashChangeEvent":
1061 return new HashChangeEventWrappingImplementation._wrap(raw);
1062 case "IDBVersionChangeEvent":
1063 return new IDBVersionChangeEventWrappingImplementation._wrap(raw);
1064 case "KeyboardEvent":
1065 return new KeyboardEventWrappingImplementation._wrap(raw);
1066 case "MessageEvent":
1067 return new MessageEventWrappingImplementation._wrap(raw);
1068 case "MouseEvent":
1069 return new MouseEventWrappingImplementation._wrap(raw);
1070 case "MutationEvent":
1071 return new MutationEventWrappingImplementation._wrap(raw);
1072 case "OfflineAudioCompletionEvent":
1073 return new OfflineAudioCompletionEventWrappingImplementation._wrap(raw);
1074 case "OverflowEvent":
1075 return new OverflowEventWrappingImplementation._wrap(raw);
1076 case "PageTransitionEvent":
1077 return new PageTransitionEventWrappingImplementation._wrap(raw);
1078 case "PopStateEvent":
1079 return new PopStateEventWrappingImplementation._wrap(raw);
1080 case "ProgressEvent":
1081 return new ProgressEventWrappingImplementation._wrap(raw);
1082 case "SVGZoomEvent":
1083 return new SVGZoomEventWrappingImplementation._wrap(raw);
1084 case "SpeechInputEvent":
1085 return new SpeechInputEventWrappingImplementation._wrap(raw);
1086 case "StorageEvent":
1087 return new StorageEventWrappingImplementation._wrap(raw);
1088 case "TextEvent":
1089 return new TextEventWrappingImplementation._wrap(raw);
1090 case "TouchEvent":
1091 return new TouchEventWrappingImplementation._wrap(raw);
1092 case "WebKitTransitionEvent":
1093 return new TransitionEventWrappingImplementation._wrap(raw);
1094 case "UIEvent":
1095 return new UIEventWrappingImplementation._wrap(raw);
1096 case "WebGLContextEvent":
1097 return new WebGLContextEventWrappingImplementation._wrap(raw);
1098 case "WheelEvent":
1099 return new WheelEventWrappingImplementation._wrap(raw);
1100 case "XMLHttpRequestProgressEvent":
1101 return new XMLHttpRequestProgressEventWrappingImplementation._wrap(raw);
1102 default:
1103 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
1104 }
1105 }
1106
1107 static EventException wrapEventException(raw) {
1108 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new EventExceptionWrappingImplementation._wrap(raw);
1109 }
1110
1111 static Function wrapEventListener(raw) {
1112 return raw === null ? null : function(evt) { return raw(LevelDom.wrapEvent(e vt)); };
1113 }
1114
1115 static EventSource wrapEventSource(raw) {
1116 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new EventSourceWrappingImplementation._wrap(raw);
1117 }
1118
1119 static EventTarget wrapEventTarget(raw) {
1120 if (raw === null) { return null; }
1121 if (raw.dartObjectLocalStorage !== null) {
1122 return raw.dartObjectLocalStorage;
1123 }
1124 switch (raw.typeName) {
1125 case "Element":
1126 return new XMLElementWrappingImplementation._wrap(raw);
1127 /* Skipping AbstractWorker*/
1128 case "HTMLAnchorElement":
1129 return new AnchorElementWrappingImplementation._wrap(raw);
1130 /* Skipping HTMLAppletElement*/
1131 case "HTMLAreaElement":
1132 return new AreaElementWrappingImplementation._wrap(raw);
1133 /* Skipping Attr*/
1134 case "HTMLAudioElement":
1135 return new AudioElementWrappingImplementation._wrap(raw);
1136 case "HTMLBRElement":
1137 return new BRElementWrappingImplementation._wrap(raw);
1138 case "HTMLBaseElement":
1139 return new BaseElementWrappingImplementation._wrap(raw);
1140 /* Skipping HTMLBaseFontElement*/
1141 case "HTMLBodyElement":
1142 return new BodyElementWrappingImplementation._wrap(raw);
1143 case "HTMLButtonElement":
1144 return new ButtonElementWrappingImplementation._wrap(raw);
1145 case "CDATASection":
1146 return new CDATASectionWrappingImplementation._wrap(raw);
1147 case "HTMLCanvasElement":
1148 return new CanvasElementWrappingImplementation._wrap(raw);
1149 case "CharacterData":
1150 return new CharacterDataWrappingImplementation._wrap(raw);
1151 case "Comment":
1152 return new CommentWrappingImplementation._wrap(raw);
1153 case "HTMLDListElement":
1154 return new DListElementWrappingImplementation._wrap(raw);
1155 case "DOMApplicationCache":
1156 return new DOMApplicationCacheWrappingImplementation._wrap(raw);
1157 case "HTMLDataListElement":
1158 return new DataListElementWrappingImplementation._wrap(raw);
1159 case "HTMLDetailsElement":
1160 return new DetailsElementWrappingImplementation._wrap(raw);
1161 /* Skipping HTMLDirectoryElement*/
1162 case "HTMLDivElement":
1163 return new DivElementWrappingImplementation._wrap(raw);
1164 case "HTMLDocument":
1165 return new DocumentWrappingImplementation._wrap(raw, raw.documentElement );
1166 case "DocumentFragment":
1167 return new DocumentFragmentWrappingImplementation._wrap(raw);
1168 /* Skipping DocumentType*/
1169 case "HTMLElement":
1170 return new ElementWrappingImplementation._wrap(raw);
1171 case "HTMLEmbedElement":
1172 return new EmbedElementWrappingImplementation._wrap(raw);
1173 case "Entity":
1174 return new EntityWrappingImplementation._wrap(raw);
1175 case "EntityReference":
1176 return new EntityReferenceWrappingImplementation._wrap(raw);
1177 case "EventSource":
1178 return new EventSourceWrappingImplementation._wrap(raw);
1179 case "EventTarget":
1180 return new EventTargetWrappingImplementation._wrap(raw);
1181 case "HTMLFieldSetElement":
1182 return new FieldSetElementWrappingImplementation._wrap(raw);
1183 case "HTMLFontElement":
1184 return new FontElementWrappingImplementation._wrap(raw);
1185 case "HTMLFormElement":
1186 return new FormElementWrappingImplementation._wrap(raw);
1187 /* Skipping HTMLFrameElement*/
1188 /* Skipping HTMLFrameSetElement*/
1189 case "HTMLHRElement":
1190 return new HRElementWrappingImplementation._wrap(raw);
1191 case "HTMLHeadElement":
1192 return new HeadElementWrappingImplementation._wrap(raw);
1193 case "HTMLHeadingElement":
1194 return new HeadingElementWrappingImplementation._wrap(raw);
1195 case "HTMLHtmlElement":
1196 return new DocumentWrappingImplementation._wrap(raw.parentNode, raw);
1197 case "HTMLIFrameElement":
1198 return new IFrameElementWrappingImplementation._wrap(raw);
1199 case "HTMLImageElement":
1200 return new ImageElementWrappingImplementation._wrap(raw);
1201 case "HTMLInputElement":
1202 return new InputElementWrappingImplementation._wrap(raw);
1203 /* Skipping HTMLIsIndexElement*/
1204 case "HTMLKeygenElement":
1205 return new KeygenElementWrappingImplementation._wrap(raw);
1206 case "HTMLLIElement":
1207 return new LIElementWrappingImplementation._wrap(raw);
1208 case "HTMLLabelElement":
1209 return new LabelElementWrappingImplementation._wrap(raw);
1210 case "HTMLLegendElement":
1211 return new LegendElementWrappingImplementation._wrap(raw);
1212 case "HTMLLinkElement":
1213 return new LinkElementWrappingImplementation._wrap(raw);
1214 case "HTMLMapElement":
1215 return new MapElementWrappingImplementation._wrap(raw);
1216 case "HTMLMarqueeElement":
1217 return new MarqueeElementWrappingImplementation._wrap(raw);
1218 case "HTMLMediaElement":
1219 return new MediaElementWrappingImplementation._wrap(raw);
1220 case "HTMLMenuElement":
1221 return new MenuElementWrappingImplementation._wrap(raw);
1222 case "MessagePort":
1223 return new MessagePortWrappingImplementation._wrap(raw);
1224 case "HTMLMetaElement":
1225 return new MetaElementWrappingImplementation._wrap(raw);
1226 case "HTMLMeterElement":
1227 return new MeterElementWrappingImplementation._wrap(raw);
1228 case "HTMLModElement":
1229 return new ModElementWrappingImplementation._wrap(raw);
1230 case "Node":
1231 return new NodeWrappingImplementation._wrap(raw);
1232 case "Notation":
1233 return new NotationWrappingImplementation._wrap(raw);
1234 case "Notification":
1235 return new NotificationWrappingImplementation._wrap(raw);
1236 case "HTMLOListElement":
1237 return new OListElementWrappingImplementation._wrap(raw);
1238 case "HTMLObjectElement":
1239 return new ObjectElementWrappingImplementation._wrap(raw);
1240 case "HTMLOptGroupElement":
1241 return new OptGroupElementWrappingImplementation._wrap(raw);
1242 case "HTMLOptionElement":
1243 return new OptionElementWrappingImplementation._wrap(raw);
1244 case "HTMLOutputElement":
1245 return new OutputElementWrappingImplementation._wrap(raw);
1246 case "HTMLParagraphElement":
1247 return new ParagraphElementWrappingImplementation._wrap(raw);
1248 case "HTMLParamElement":
1249 return new ParamElementWrappingImplementation._wrap(raw);
1250 case "HTMLPreElement":
1251 return new PreElementWrappingImplementation._wrap(raw);
1252 case "ProcessingInstruction":
1253 return new ProcessingInstructionWrappingImplementation._wrap(raw);
1254 case "HTMLProgressElement":
1255 return new ProgressElementWrappingImplementation._wrap(raw);
1256 case "HTMLQuoteElement":
1257 return new QuoteElementWrappingImplementation._wrap(raw);
1258 case "SVGAElement":
1259 return new SVGAElementWrappingImplementation._wrap(raw);
1260 case "SVGAltGlyphDefElement":
1261 return new SVGAltGlyphDefElementWrappingImplementation._wrap(raw);
1262 case "SVGAltGlyphElement":
1263 return new SVGAltGlyphElementWrappingImplementation._wrap(raw);
1264 case "SVGAltGlyphItemElement":
1265 return new SVGAltGlyphItemElementWrappingImplementation._wrap(raw);
1266 case "SVGAnimateColorElement":
1267 return new SVGAnimateColorElementWrappingImplementation._wrap(raw);
1268 case "SVGAnimateElement":
1269 return new SVGAnimateElementWrappingImplementation._wrap(raw);
1270 case "SVGAnimateMotionElement":
1271 return new SVGAnimateMotionElementWrappingImplementation._wrap(raw);
1272 case "SVGAnimateTransformElement":
1273 return new SVGAnimateTransformElementWrappingImplementation._wrap(raw);
1274 case "SVGAnimationElement":
1275 return new SVGAnimationElementWrappingImplementation._wrap(raw);
1276 case "SVGCircleElement":
1277 return new SVGCircleElementWrappingImplementation._wrap(raw);
1278 case "SVGClipPathElement":
1279 return new SVGClipPathElementWrappingImplementation._wrap(raw);
1280 case "SVGComponentTransferFunctionElement":
1281 return new SVGComponentTransferFunctionElementWrappingImplementation._wr ap(raw);
1282 case "SVGCursorElement":
1283 return new SVGCursorElementWrappingImplementation._wrap(raw);
1284 case "SVGDefsElement":
1285 return new SVGDefsElementWrappingImplementation._wrap(raw);
1286 case "SVGDescElement":
1287 return new SVGDescElementWrappingImplementation._wrap(raw);
1288 case "SVGDocument":
1289 return new SVGDocumentWrappingImplementation._wrap(raw);
1290 case "SVGElement":
1291 return new SVGElementWrappingImplementation._wrap(raw);
1292 case "SVGElementInstance":
1293 return new SVGElementInstanceWrappingImplementation._wrap(raw);
1294 case "SVGEllipseElement":
1295 return new SVGEllipseElementWrappingImplementation._wrap(raw);
1296 case "SVGFEBlendElement":
1297 return new SVGFEBlendElementWrappingImplementation._wrap(raw);
1298 case "SVGFEColorMatrixElement":
1299 return new SVGFEColorMatrixElementWrappingImplementation._wrap(raw);
1300 case "SVGFEComponentTransferElement":
1301 return new SVGFEComponentTransferElementWrappingImplementation._wrap(raw );
1302 /* Skipping SVGFECompositeElement*/
1303 case "SVGFEConvolveMatrixElement":
1304 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap(raw);
1305 case "SVGFEDiffuseLightingElement":
1306 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap(raw);
1307 case "SVGFEDisplacementMapElement":
1308 return new SVGFEDisplacementMapElementWrappingImplementation._wrap(raw);
1309 case "SVGFEDistantLightElement":
1310 return new SVGFEDistantLightElementWrappingImplementation._wrap(raw);
1311 case "SVGFEDropShadowElement":
1312 return new SVGFEDropShadowElementWrappingImplementation._wrap(raw);
1313 case "SVGFEFloodElement":
1314 return new SVGFEFloodElementWrappingImplementation._wrap(raw);
1315 case "SVGFEFuncAElement":
1316 return new SVGFEFuncAElementWrappingImplementation._wrap(raw);
1317 case "SVGFEFuncBElement":
1318 return new SVGFEFuncBElementWrappingImplementation._wrap(raw);
1319 case "SVGFEFuncGElement":
1320 return new SVGFEFuncGElementWrappingImplementation._wrap(raw);
1321 case "SVGFEFuncRElement":
1322 return new SVGFEFuncRElementWrappingImplementation._wrap(raw);
1323 case "SVGFEGaussianBlurElement":
1324 return new SVGFEGaussianBlurElementWrappingImplementation._wrap(raw);
1325 case "SVGFEImageElement":
1326 return new SVGFEImageElementWrappingImplementation._wrap(raw);
1327 case "SVGFEMergeElement":
1328 return new SVGFEMergeElementWrappingImplementation._wrap(raw);
1329 case "SVGFEMergeNodeElement":
1330 return new SVGFEMergeNodeElementWrappingImplementation._wrap(raw);
1331 /* Skipping SVGFEMorphologyElement*/
1332 case "SVGFEOffsetElement":
1333 return new SVGFEOffsetElementWrappingImplementation._wrap(raw);
1334 case "SVGFEPointLightElement":
1335 return new SVGFEPointLightElementWrappingImplementation._wrap(raw);
1336 case "SVGFESpecularLightingElement":
1337 return new SVGFESpecularLightingElementWrappingImplementation._wrap(raw) ;
1338 case "SVGFESpotLightElement":
1339 return new SVGFESpotLightElementWrappingImplementation._wrap(raw);
1340 case "SVGFETileElement":
1341 return new SVGFETileElementWrappingImplementation._wrap(raw);
1342 case "SVGFETurbulenceElement":
1343 return new SVGFETurbulenceElementWrappingImplementation._wrap(raw);
1344 case "SVGFilterElement":
1345 return new SVGFilterElementWrappingImplementation._wrap(raw);
1346 case "SVGFontElement":
1347 return new SVGFontElementWrappingImplementation._wrap(raw);
1348 case "SVGFontFaceElement":
1349 return new SVGFontFaceElementWrappingImplementation._wrap(raw);
1350 case "SVGFontFaceFormatElement":
1351 return new SVGFontFaceFormatElementWrappingImplementation._wrap(raw);
1352 case "SVGFontFaceNameElement":
1353 return new SVGFontFaceNameElementWrappingImplementation._wrap(raw);
1354 case "SVGFontFaceSrcElement":
1355 return new SVGFontFaceSrcElementWrappingImplementation._wrap(raw);
1356 case "SVGFontFaceUriElement":
1357 return new SVGFontFaceUriElementWrappingImplementation._wrap(raw);
1358 case "SVGForeignObjectElement":
1359 return new SVGForeignObjectElementWrappingImplementation._wrap(raw);
1360 case "SVGGElement":
1361 return new SVGGElementWrappingImplementation._wrap(raw);
1362 case "SVGGlyphElement":
1363 return new SVGGlyphElementWrappingImplementation._wrap(raw);
1364 case "SVGGlyphRefElement":
1365 return new SVGGlyphRefElementWrappingImplementation._wrap(raw);
1366 case "SVGGradientElement":
1367 return new SVGGradientElementWrappingImplementation._wrap(raw);
1368 case "SVGHKernElement":
1369 return new SVGHKernElementWrappingImplementation._wrap(raw);
1370 case "SVGImageElement":
1371 return new SVGImageElementWrappingImplementation._wrap(raw);
1372 case "SVGLineElement":
1373 return new SVGLineElementWrappingImplementation._wrap(raw);
1374 case "SVGLinearGradientElement":
1375 return new SVGLinearGradientElementWrappingImplementation._wrap(raw);
1376 case "SVGMPathElement":
1377 return new SVGMPathElementWrappingImplementation._wrap(raw);
1378 case "SVGMarkerElement":
1379 return new SVGMarkerElementWrappingImplementation._wrap(raw);
1380 case "SVGMaskElement":
1381 return new SVGMaskElementWrappingImplementation._wrap(raw);
1382 case "SVGMetadataElement":
1383 return new SVGMetadataElementWrappingImplementation._wrap(raw);
1384 case "SVGMissingGlyphElement":
1385 return new SVGMissingGlyphElementWrappingImplementation._wrap(raw);
1386 case "SVGPathElement":
1387 return new SVGPathElementWrappingImplementation._wrap(raw);
1388 case "SVGPatternElement":
1389 return new SVGPatternElementWrappingImplementation._wrap(raw);
1390 case "SVGPolygonElement":
1391 return new SVGPolygonElementWrappingImplementation._wrap(raw);
1392 case "SVGPolylineElement":
1393 return new SVGPolylineElementWrappingImplementation._wrap(raw);
1394 case "SVGRadialGradientElement":
1395 return new SVGRadialGradientElementWrappingImplementation._wrap(raw);
1396 case "SVGRectElement":
1397 return new SVGRectElementWrappingImplementation._wrap(raw);
1398 case "SVGSVGElement":
1399 return new SVGSVGElementWrappingImplementation._wrap(raw);
1400 case "SVGScriptElement":
1401 return new SVGScriptElementWrappingImplementation._wrap(raw);
1402 case "SVGSetElement":
1403 return new SVGSetElementWrappingImplementation._wrap(raw);
1404 case "SVGStopElement":
1405 return new SVGStopElementWrappingImplementation._wrap(raw);
1406 case "SVGStyleElement":
1407 return new SVGStyleElementWrappingImplementation._wrap(raw);
1408 case "SVGSwitchElement":
1409 return new SVGSwitchElementWrappingImplementation._wrap(raw);
1410 case "SVGSymbolElement":
1411 return new SVGSymbolElementWrappingImplementation._wrap(raw);
1412 case "SVGTRefElement":
1413 return new SVGTRefElementWrappingImplementation._wrap(raw);
1414 case "SVGTSpanElement":
1415 return new SVGTSpanElementWrappingImplementation._wrap(raw);
1416 case "SVGTextContentElement":
1417 return new SVGTextContentElementWrappingImplementation._wrap(raw);
1418 case "SVGTextElement":
1419 return new SVGTextElementWrappingImplementation._wrap(raw);
1420 case "SVGTextPathElement":
1421 return new SVGTextPathElementWrappingImplementation._wrap(raw);
1422 case "SVGTextPositioningElement":
1423 return new SVGTextPositioningElementWrappingImplementation._wrap(raw);
1424 case "SVGTitleElement":
1425 return new SVGTitleElementWrappingImplementation._wrap(raw);
1426 case "SVGUseElement":
1427 return new SVGUseElementWrappingImplementation._wrap(raw);
1428 case "SVGVKernElement":
1429 return new SVGVKernElementWrappingImplementation._wrap(raw);
1430 case "SVGViewElement":
1431 return new SVGViewElementWrappingImplementation._wrap(raw);
1432 case "HTMLScriptElement":
1433 return new ScriptElementWrappingImplementation._wrap(raw);
1434 case "HTMLSelectElement":
1435 return new SelectElementWrappingImplementation._wrap(raw);
1436 case "SharedWorker":
1437 return new SharedWorkerWrappingImplementation._wrap(raw);
1438 case "HTMLSourceElement":
1439 return new SourceElementWrappingImplementation._wrap(raw);
1440 case "HTMLSpanElement":
1441 return new SpanElementWrappingImplementation._wrap(raw);
1442 case "HTMLStyleElement":
1443 return new StyleElementWrappingImplementation._wrap(raw);
1444 case "HTMLTableCaptionElement":
1445 return new TableCaptionElementWrappingImplementation._wrap(raw);
1446 case "HTMLTableCellElement":
1447 return new TableCellElementWrappingImplementation._wrap(raw);
1448 case "HTMLTableColElement":
1449 return new TableColElementWrappingImplementation._wrap(raw);
1450 case "HTMLTableElement":
1451 return new TableElementWrappingImplementation._wrap(raw);
1452 case "HTMLTableRowElement":
1453 return new TableRowElementWrappingImplementation._wrap(raw);
1454 case "HTMLTableSectionElement":
1455 return new TableSectionElementWrappingImplementation._wrap(raw);
1456 case "Text":
1457 return new TextWrappingImplementation._wrap(raw);
1458 case "HTMLTextAreaElement":
1459 return new TextAreaElementWrappingImplementation._wrap(raw);
1460 case "HTMLTitleElement":
1461 return new TitleElementWrappingImplementation._wrap(raw);
1462 case "HTMLTrackElement":
1463 return new TrackElementWrappingImplementation._wrap(raw);
1464 case "HTMLUListElement":
1465 return new UListElementWrappingImplementation._wrap(raw);
1466 case "HTMLUnknownElement":
1467 return new UnknownElementWrappingImplementation._wrap(raw);
1468 case "HTMLVideoElement":
1469 return new VideoElementWrappingImplementation._wrap(raw);
1470 case "WebSocket":
1471 return new WebSocketWrappingImplementation._wrap(raw);
1472 case "Window":
1473 return new WindowWrappingImplementation._wrap(raw);
1474 case "Worker":
1475 return new WorkerWrappingImplementation._wrap(raw);
1476 case "XMLHttpRequest":
1477 return new XMLHttpRequestWrappingImplementation._wrap(raw);
1478 case "XMLHttpRequestUpload":
1479 return new XMLHttpRequestUploadWrappingImplementation._wrap(raw);
1480 default:
1481 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
1482 }
1483 }
1484
1485 static FieldSetElement wrapFieldSetElement(raw) {
1486 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new FieldSetElementWrappingImplementation._wrap(raw);
1487 }
1488
1489 static File wrapFile(raw) {
1490 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new FileWrappingImplementation._wrap(raw);
1491 }
1492
1493 // Skipped FileCallback
1494 static FileEntry wrapFileEntry(raw) {
1495 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new FileEntryWrappingImplementation._wrap(raw);
1496 }
1497
1498 static FileEntrySync wrapFileEntrySync(raw) {
1499 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new FileEntrySyncWrappingImplementation._wrap(raw);
1500 }
1501
1502 static FileError wrapFileError(raw) {
1503 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new FileErrorWrappingImplementation._wrap(raw);
1504 }
1505
1506 static FileException wrapFileException(raw) {
1507 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new FileExceptionWrappingImplementation._wrap(raw);
1508 }
1509
1510 static FileList wrapFileList(raw) {
1511 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new FileListWrappingImplementation._wrap(raw);
1512 }
1513
1514 static FileReader wrapFileReader(raw) {
1515 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new FileReaderWrappingImplementation._wrap(raw);
1516 }
1517
1518 static FileReaderSync wrapFileReaderSync(raw) {
1519 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new FileReaderSyncWrappingImplementation._wrap(raw);
1520 }
1521
1522 // Skipped FileSystemCallback
1523 static FileWriter wrapFileWriter(raw) {
1524 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new FileWriterWrappingImplementation._wrap(raw);
1525 }
1526
1527 // Skipped FileWriterCallback
1528 static FileWriterSync wrapFileWriterSync(raw) {
1529 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new FileWriterSyncWrappingImplementation._wrap(raw);
1530 }
1531
1532 static Flags wrapFlags(raw) {
1533 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new FlagsWrappingImplementation._wrap(raw);
1534 }
1535
1536 static Float32Array wrapFloat32Array(raw) {
1537 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new Float32ArrayWrappingImplementation._wrap(raw);
1538 }
1539
1540 static Float64Array wrapFloat64Array(raw) {
1541 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new Float64ArrayWrappingImplementation._wrap(raw);
1542 }
1543
1544 static FontElement wrapFontElement(raw) {
1545 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new FontElementWrappingImplementation._wrap(raw);
1546 }
1547
1548 static FormElement wrapFormElement(raw) {
1549 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new FormElementWrappingImplementation._wrap(raw);
1550 }
1551
1552 static Geolocation wrapGeolocation(raw) {
1553 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new GeolocationWrappingImplementation._wrap(raw);
1554 }
1555
1556 static Geoposition wrapGeoposition(raw) {
1557 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new GeopositionWrappingImplementation._wrap(raw);
1558 }
1559
1560 static HRElement wrapHRElement(raw) {
1561 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new HRElementWrappingImplementation._wrap(raw);
1562 }
1563
1564 static HTMLAllCollection wrapHTMLAllCollection(raw) {
1565 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new HTMLAllCollectionWrappingImplementation._wrap(raw);
1566 }
1567
1568 static HashChangeEvent wrapHashChangeEvent(raw) {
1569 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new HashChangeEventWrappingImplementation._wrap(raw);
1570 }
1571
1572 static HeadElement wrapHeadElement(raw) {
1573 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new HeadElementWrappingImplementation._wrap(raw);
1574 }
1575
1576 static HeadingElement wrapHeadingElement(raw) {
1577 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new HeadingElementWrappingImplementation._wrap(raw);
1578 }
1579
1580 static HighPass2FilterNode wrapHighPass2FilterNode(raw) {
1581 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new HighPass2FilterNodeWrappingImplementation._wrap(raw);
1582 }
1583
1584 static History wrapHistory(raw) {
1585 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new HistoryWrappingImplementation._wrap(raw);
1586 }
1587
1588 static IDBAny wrapIDBAny(raw) {
1589 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new IDBAnyWrappingImplementation._wrap(raw);
1590 }
1591
1592 static IDBCursor wrapIDBCursor(raw) {
1593 if (raw === null) { return null; }
1594 if (raw.dartObjectLocalStorage !== null) {
1595 return raw.dartObjectLocalStorage;
1596 }
1597 switch (raw.typeName) {
1598 case "IDBCursor":
1599 return new IDBCursorWrappingImplementation._wrap(raw);
1600 case "IDBCursorWithValue":
1601 return new IDBCursorWithValueWrappingImplementation._wrap(raw);
1602 default:
1603 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
1604 }
1605 }
1606
1607 static IDBCursorWithValue wrapIDBCursorWithValue(raw) {
1608 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new IDBCursorWithValueWrappingImplementation._wrap(raw);
1609 }
1610
1611 static IDBDatabase wrapIDBDatabase(raw) {
1612 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new IDBDatabaseWrappingImplementation._wrap(raw);
1613 }
1614
1615 static IDBDatabaseError wrapIDBDatabaseError(raw) {
1616 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new IDBDatabaseErrorWrappingImplementation._wrap(raw);
1617 }
1618
1619 static IDBDatabaseException wrapIDBDatabaseException(raw) {
1620 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new IDBDatabaseExceptionWrappingImplementation._wrap(raw);
1621 }
1622
1623 static IDBFactory wrapIDBFactory(raw) {
1624 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new IDBFactoryWrappingImplementation._wrap(raw);
1625 }
1626
1627 static IDBIndex wrapIDBIndex(raw) {
1628 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new IDBIndexWrappingImplementation._wrap(raw);
1629 }
1630
1631 static IDBKey wrapIDBKey(raw) {
1632 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new IDBKeyWrappingImplementation._wrap(raw);
1633 }
1634
1635 static IDBKeyRange wrapIDBKeyRange(raw) {
1636 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new IDBKeyRangeWrappingImplementation._wrap(raw);
1637 }
1638
1639 static IDBObjectStore wrapIDBObjectStore(raw) {
1640 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new IDBObjectStoreWrappingImplementation._wrap(raw);
1641 }
1642
1643 static IDBRequest wrapIDBRequest(raw) {
1644 if (raw === null) { return null; }
1645 if (raw.dartObjectLocalStorage !== null) {
1646 return raw.dartObjectLocalStorage;
1647 }
1648 switch (raw.typeName) {
1649 case "IDBRequest":
1650 return new IDBRequestWrappingImplementation._wrap(raw);
1651 case "IDBVersionChangeRequest":
1652 return new IDBVersionChangeRequestWrappingImplementation._wrap(raw);
1653 default:
1654 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
1655 }
1656 }
1657
1658 static IDBTransaction wrapIDBTransaction(raw) {
1659 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new IDBTransactionWrappingImplementation._wrap(raw);
1660 }
1661
1662 static IDBVersionChangeEvent wrapIDBVersionChangeEvent(raw) {
1663 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new IDBVersionChangeEventWrappingImplementation._wrap(raw);
1664 }
1665
1666 static IDBVersionChangeRequest wrapIDBVersionChangeRequest(raw) {
1667 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new IDBVersionChangeRequestWrappingImplementation._wrap(raw) ;
1668 }
1669
1670 static IFrameElement wrapIFrameElement(raw) {
1671 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new IFrameElementWrappingImplementation._wrap(raw);
1672 }
1673
1674 static ImageData wrapImageData(raw) {
1675 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ImageDataWrappingImplementation._wrap(raw);
1676 }
1677
1678 static ImageElement wrapImageElement(raw) {
1679 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ImageElementWrappingImplementation._wrap(raw);
1680 }
1681
1682 static InputElement wrapInputElement(raw) {
1683 if (raw === null) { return null; }
1684 if (raw.dartObjectLocalStorage !== null) {
1685 return raw.dartObjectLocalStorage;
1686 }
1687 switch (raw.typeName) {
1688 case "HTMLInputElement":
1689 return new InputElementWrappingImplementation._wrap(raw);
1690 /* Skipping HTMLIsIndexElement*/
1691 default:
1692 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
1693 }
1694 }
1695
1696 static Int16Array wrapInt16Array(raw) {
1697 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new Int16ArrayWrappingImplementation._wrap(raw);
1698 }
1699
1700 static Int32Array wrapInt32Array(raw) {
1701 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new Int32ArrayWrappingImplementation._wrap(raw);
1702 }
1703
1704 static Int8Array wrapInt8Array(raw) {
1705 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new Int8ArrayWrappingImplementation._wrap(raw);
1706 }
1707
1708 static JavaScriptAudioNode wrapJavaScriptAudioNode(raw) {
1709 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new JavaScriptAudioNodeWrappingImplementation._wrap(raw);
1710 }
1711
1712 static KeyboardEvent wrapKeyboardEvent(raw) {
1713 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new KeyboardEventWrappingImplementation._wrap(raw);
1714 }
1715
1716 static KeygenElement wrapKeygenElement(raw) {
1717 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new KeygenElementWrappingImplementation._wrap(raw);
1718 }
1719
1720 static LIElement wrapLIElement(raw) {
1721 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new LIElementWrappingImplementation._wrap(raw);
1722 }
1723
1724 static LabelElement wrapLabelElement(raw) {
1725 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new LabelElementWrappingImplementation._wrap(raw);
1726 }
1727
1728 static LegendElement wrapLegendElement(raw) {
1729 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new LegendElementWrappingImplementation._wrap(raw);
1730 }
1731
1732 static LinkElement wrapLinkElement(raw) {
1733 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new LinkElementWrappingImplementation._wrap(raw);
1734 }
1735
1736 static Location wrapLocation(raw) {
1737 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new LocationWrappingImplementation._wrap(raw);
1738 }
1739
1740 static LoseContext wrapLoseContext(raw) {
1741 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new LoseContextWrappingImplementation._wrap(raw);
1742 }
1743
1744 static LowPass2FilterNode wrapLowPass2FilterNode(raw) {
1745 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new LowPass2FilterNodeWrappingImplementation._wrap(raw);
1746 }
1747
1748 static MapElement wrapMapElement(raw) {
1749 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MapElementWrappingImplementation._wrap(raw);
1750 }
1751
1752 static MarqueeElement wrapMarqueeElement(raw) {
1753 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MarqueeElementWrappingImplementation._wrap(raw);
1754 }
1755
1756 static MediaElement wrapMediaElement(raw) {
1757 if (raw === null) { return null; }
1758 if (raw.dartObjectLocalStorage !== null) {
1759 return raw.dartObjectLocalStorage;
1760 }
1761 switch (raw.typeName) {
1762 case "HTMLAudioElement":
1763 return new AudioElementWrappingImplementation._wrap(raw);
1764 case "HTMLMediaElement":
1765 return new MediaElementWrappingImplementation._wrap(raw);
1766 case "HTMLVideoElement":
1767 return new VideoElementWrappingImplementation._wrap(raw);
1768 default:
1769 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
1770 }
1771 }
1772
1773 static MediaElementAudioSourceNode wrapMediaElementAudioSourceNode(raw) {
1774 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MediaElementAudioSourceNodeWrappingImplementation._wrap( raw);
1775 }
1776
1777 static MediaError wrapMediaError(raw) {
1778 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MediaErrorWrappingImplementation._wrap(raw);
1779 }
1780
1781 static MediaList wrapMediaList(raw) {
1782 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MediaListWrappingImplementation._wrap(raw);
1783 }
1784
1785 static MediaQueryList wrapMediaQueryList(raw) {
1786 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MediaQueryListWrappingImplementation._wrap(raw);
1787 }
1788
1789 static MediaQueryListListener wrapMediaQueryListListener(raw) {
1790 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MediaQueryListListenerWrappingImplementation._wrap(raw);
1791 }
1792
1793 static MenuElement wrapMenuElement(raw) {
1794 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MenuElementWrappingImplementation._wrap(raw);
1795 }
1796
1797 static MessageChannel wrapMessageChannel(raw) {
1798 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MessageChannelWrappingImplementation._wrap(raw);
1799 }
1800
1801 static MessageEvent wrapMessageEvent(raw) {
1802 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MessageEventWrappingImplementation._wrap(raw);
1803 }
1804
1805 static MessagePort wrapMessagePort(raw) {
1806 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MessagePortWrappingImplementation._wrap(raw);
1807 }
1808
1809 static MetaElement wrapMetaElement(raw) {
1810 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MetaElementWrappingImplementation._wrap(raw);
1811 }
1812
1813 static Metadata wrapMetadata(raw) {
1814 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MetadataWrappingImplementation._wrap(raw);
1815 }
1816
1817 // Skipped MetadataCallback
1818 static MeterElement wrapMeterElement(raw) {
1819 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MeterElementWrappingImplementation._wrap(raw);
1820 }
1821
1822 static ModElement wrapModElement(raw) {
1823 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ModElementWrappingImplementation._wrap(raw);
1824 }
1825
1826 static MouseEvent wrapMouseEvent(raw) {
1827 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MouseEventWrappingImplementation._wrap(raw);
1828 }
1829
1830 static MutationCallback wrapMutationCallback(raw) {
1831 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MutationCallbackWrappingImplementation._wrap(raw);
1832 }
1833
1834 static MutationEvent wrapMutationEvent(raw) {
1835 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MutationEventWrappingImplementation._wrap(raw);
1836 }
1837
1838 static MutationRecord wrapMutationRecord(raw) {
1839 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new MutationRecordWrappingImplementation._wrap(raw);
1840 }
1841
1842 static Navigator wrapNavigator(raw) {
1843 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new NavigatorWrappingImplementation._wrap(raw);
1844 }
1845
1846 static NavigatorUserMediaError wrapNavigatorUserMediaError(raw) {
1847 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new NavigatorUserMediaErrorWrappingImplementation._wrap(raw) ;
1848 }
1849
1850 // Skipped NavigatorUserMediaErrorCallback
1851 static NavigatorUserMediaSuccessCallback wrapNavigatorUserMediaSuccessCallback (raw) {
1852 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new NavigatorUserMediaSuccessCallbackWrappingImplementation. _wrap(raw);
1853 }
1854
1855 static Node wrapNode(raw) {
1856 if (raw === null) { return null; }
1857 if (raw.dartObjectLocalStorage !== null) {
1858 return raw.dartObjectLocalStorage;
1859 }
1860 switch (raw.typeName) {
1861 case "Element":
1862 return new XMLElementWrappingImplementation._wrap(raw);
1863 case "HTMLAnchorElement":
1864 return new AnchorElementWrappingImplementation._wrap(raw);
1865 /* Skipping HTMLAppletElement*/
1866 case "HTMLAreaElement":
1867 return new AreaElementWrappingImplementation._wrap(raw);
1868 /* Skipping Attr*/
1869 case "HTMLAudioElement":
1870 return new AudioElementWrappingImplementation._wrap(raw);
1871 case "HTMLBRElement":
1872 return new BRElementWrappingImplementation._wrap(raw);
1873 case "HTMLBaseElement":
1874 return new BaseElementWrappingImplementation._wrap(raw);
1875 /* Skipping HTMLBaseFontElement*/
1876 case "HTMLBodyElement":
1877 return new BodyElementWrappingImplementation._wrap(raw);
1878 case "HTMLButtonElement":
1879 return new ButtonElementWrappingImplementation._wrap(raw);
1880 case "CDATASection":
1881 return new CDATASectionWrappingImplementation._wrap(raw);
1882 case "HTMLCanvasElement":
1883 return new CanvasElementWrappingImplementation._wrap(raw);
1884 case "CharacterData":
1885 return new CharacterDataWrappingImplementation._wrap(raw);
1886 case "Comment":
1887 return new CommentWrappingImplementation._wrap(raw);
1888 case "HTMLDListElement":
1889 return new DListElementWrappingImplementation._wrap(raw);
1890 case "HTMLDataListElement":
1891 return new DataListElementWrappingImplementation._wrap(raw);
1892 case "HTMLDetailsElement":
1893 return new DetailsElementWrappingImplementation._wrap(raw);
1894 /* Skipping HTMLDirectoryElement*/
1895 case "HTMLDivElement":
1896 return new DivElementWrappingImplementation._wrap(raw);
1897 case "HTMLDocument":
1898 return new DocumentWrappingImplementation._wrap(raw, raw.documentElement );
1899 case "DocumentFragment":
1900 return new DocumentFragmentWrappingImplementation._wrap(raw);
1901 /* Skipping DocumentType*/
1902 case "HTMLElement":
1903 return new ElementWrappingImplementation._wrap(raw);
1904 case "HTMLEmbedElement":
1905 return new EmbedElementWrappingImplementation._wrap(raw);
1906 case "Entity":
1907 return new EntityWrappingImplementation._wrap(raw);
1908 case "EntityReference":
1909 return new EntityReferenceWrappingImplementation._wrap(raw);
1910 case "HTMLFieldSetElement":
1911 return new FieldSetElementWrappingImplementation._wrap(raw);
1912 case "HTMLFontElement":
1913 return new FontElementWrappingImplementation._wrap(raw);
1914 case "HTMLFormElement":
1915 return new FormElementWrappingImplementation._wrap(raw);
1916 /* Skipping HTMLFrameElement*/
1917 /* Skipping HTMLFrameSetElement*/
1918 case "HTMLHRElement":
1919 return new HRElementWrappingImplementation._wrap(raw);
1920 case "HTMLHeadElement":
1921 return new HeadElementWrappingImplementation._wrap(raw);
1922 case "HTMLHeadingElement":
1923 return new HeadingElementWrappingImplementation._wrap(raw);
1924 case "HTMLHtmlElement":
1925 return new DocumentWrappingImplementation._wrap(raw.parentNode, raw);
1926 case "HTMLIFrameElement":
1927 return new IFrameElementWrappingImplementation._wrap(raw);
1928 case "HTMLImageElement":
1929 return new ImageElementWrappingImplementation._wrap(raw);
1930 case "HTMLInputElement":
1931 return new InputElementWrappingImplementation._wrap(raw);
1932 /* Skipping HTMLIsIndexElement*/
1933 case "HTMLKeygenElement":
1934 return new KeygenElementWrappingImplementation._wrap(raw);
1935 case "HTMLLIElement":
1936 return new LIElementWrappingImplementation._wrap(raw);
1937 case "HTMLLabelElement":
1938 return new LabelElementWrappingImplementation._wrap(raw);
1939 case "HTMLLegendElement":
1940 return new LegendElementWrappingImplementation._wrap(raw);
1941 case "HTMLLinkElement":
1942 return new LinkElementWrappingImplementation._wrap(raw);
1943 case "HTMLMapElement":
1944 return new MapElementWrappingImplementation._wrap(raw);
1945 case "HTMLMarqueeElement":
1946 return new MarqueeElementWrappingImplementation._wrap(raw);
1947 case "HTMLMediaElement":
1948 return new MediaElementWrappingImplementation._wrap(raw);
1949 case "HTMLMenuElement":
1950 return new MenuElementWrappingImplementation._wrap(raw);
1951 case "HTMLMetaElement":
1952 return new MetaElementWrappingImplementation._wrap(raw);
1953 case "HTMLMeterElement":
1954 return new MeterElementWrappingImplementation._wrap(raw);
1955 case "HTMLModElement":
1956 return new ModElementWrappingImplementation._wrap(raw);
1957 case "Node":
1958 return new NodeWrappingImplementation._wrap(raw);
1959 case "Notation":
1960 return new NotationWrappingImplementation._wrap(raw);
1961 case "HTMLOListElement":
1962 return new OListElementWrappingImplementation._wrap(raw);
1963 case "HTMLObjectElement":
1964 return new ObjectElementWrappingImplementation._wrap(raw);
1965 case "HTMLOptGroupElement":
1966 return new OptGroupElementWrappingImplementation._wrap(raw);
1967 case "HTMLOptionElement":
1968 return new OptionElementWrappingImplementation._wrap(raw);
1969 case "HTMLOutputElement":
1970 return new OutputElementWrappingImplementation._wrap(raw);
1971 case "HTMLParagraphElement":
1972 return new ParagraphElementWrappingImplementation._wrap(raw);
1973 case "HTMLParamElement":
1974 return new ParamElementWrappingImplementation._wrap(raw);
1975 case "HTMLPreElement":
1976 return new PreElementWrappingImplementation._wrap(raw);
1977 case "ProcessingInstruction":
1978 return new ProcessingInstructionWrappingImplementation._wrap(raw);
1979 case "HTMLProgressElement":
1980 return new ProgressElementWrappingImplementation._wrap(raw);
1981 case "HTMLQuoteElement":
1982 return new QuoteElementWrappingImplementation._wrap(raw);
1983 case "SVGAElement":
1984 return new SVGAElementWrappingImplementation._wrap(raw);
1985 case "SVGAltGlyphDefElement":
1986 return new SVGAltGlyphDefElementWrappingImplementation._wrap(raw);
1987 case "SVGAltGlyphElement":
1988 return new SVGAltGlyphElementWrappingImplementation._wrap(raw);
1989 case "SVGAltGlyphItemElement":
1990 return new SVGAltGlyphItemElementWrappingImplementation._wrap(raw);
1991 case "SVGAnimateColorElement":
1992 return new SVGAnimateColorElementWrappingImplementation._wrap(raw);
1993 case "SVGAnimateElement":
1994 return new SVGAnimateElementWrappingImplementation._wrap(raw);
1995 case "SVGAnimateMotionElement":
1996 return new SVGAnimateMotionElementWrappingImplementation._wrap(raw);
1997 case "SVGAnimateTransformElement":
1998 return new SVGAnimateTransformElementWrappingImplementation._wrap(raw);
1999 case "SVGAnimationElement":
2000 return new SVGAnimationElementWrappingImplementation._wrap(raw);
2001 case "SVGCircleElement":
2002 return new SVGCircleElementWrappingImplementation._wrap(raw);
2003 case "SVGClipPathElement":
2004 return new SVGClipPathElementWrappingImplementation._wrap(raw);
2005 case "SVGComponentTransferFunctionElement":
2006 return new SVGComponentTransferFunctionElementWrappingImplementation._wr ap(raw);
2007 case "SVGCursorElement":
2008 return new SVGCursorElementWrappingImplementation._wrap(raw);
2009 case "SVGDefsElement":
2010 return new SVGDefsElementWrappingImplementation._wrap(raw);
2011 case "SVGDescElement":
2012 return new SVGDescElementWrappingImplementation._wrap(raw);
2013 case "SVGDocument":
2014 return new SVGDocumentWrappingImplementation._wrap(raw);
2015 case "SVGElement":
2016 return new SVGElementWrappingImplementation._wrap(raw);
2017 case "SVGEllipseElement":
2018 return new SVGEllipseElementWrappingImplementation._wrap(raw);
2019 case "SVGFEBlendElement":
2020 return new SVGFEBlendElementWrappingImplementation._wrap(raw);
2021 case "SVGFEColorMatrixElement":
2022 return new SVGFEColorMatrixElementWrappingImplementation._wrap(raw);
2023 case "SVGFEComponentTransferElement":
2024 return new SVGFEComponentTransferElementWrappingImplementation._wrap(raw );
2025 /* Skipping SVGFECompositeElement*/
2026 case "SVGFEConvolveMatrixElement":
2027 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap(raw);
2028 case "SVGFEDiffuseLightingElement":
2029 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap(raw);
2030 case "SVGFEDisplacementMapElement":
2031 return new SVGFEDisplacementMapElementWrappingImplementation._wrap(raw);
2032 case "SVGFEDistantLightElement":
2033 return new SVGFEDistantLightElementWrappingImplementation._wrap(raw);
2034 case "SVGFEDropShadowElement":
2035 return new SVGFEDropShadowElementWrappingImplementation._wrap(raw);
2036 case "SVGFEFloodElement":
2037 return new SVGFEFloodElementWrappingImplementation._wrap(raw);
2038 case "SVGFEFuncAElement":
2039 return new SVGFEFuncAElementWrappingImplementation._wrap(raw);
2040 case "SVGFEFuncBElement":
2041 return new SVGFEFuncBElementWrappingImplementation._wrap(raw);
2042 case "SVGFEFuncGElement":
2043 return new SVGFEFuncGElementWrappingImplementation._wrap(raw);
2044 case "SVGFEFuncRElement":
2045 return new SVGFEFuncRElementWrappingImplementation._wrap(raw);
2046 case "SVGFEGaussianBlurElement":
2047 return new SVGFEGaussianBlurElementWrappingImplementation._wrap(raw);
2048 case "SVGFEImageElement":
2049 return new SVGFEImageElementWrappingImplementation._wrap(raw);
2050 case "SVGFEMergeElement":
2051 return new SVGFEMergeElementWrappingImplementation._wrap(raw);
2052 case "SVGFEMergeNodeElement":
2053 return new SVGFEMergeNodeElementWrappingImplementation._wrap(raw);
2054 /* Skipping SVGFEMorphologyElement*/
2055 case "SVGFEOffsetElement":
2056 return new SVGFEOffsetElementWrappingImplementation._wrap(raw);
2057 case "SVGFEPointLightElement":
2058 return new SVGFEPointLightElementWrappingImplementation._wrap(raw);
2059 case "SVGFESpecularLightingElement":
2060 return new SVGFESpecularLightingElementWrappingImplementation._wrap(raw) ;
2061 case "SVGFESpotLightElement":
2062 return new SVGFESpotLightElementWrappingImplementation._wrap(raw);
2063 case "SVGFETileElement":
2064 return new SVGFETileElementWrappingImplementation._wrap(raw);
2065 case "SVGFETurbulenceElement":
2066 return new SVGFETurbulenceElementWrappingImplementation._wrap(raw);
2067 case "SVGFilterElement":
2068 return new SVGFilterElementWrappingImplementation._wrap(raw);
2069 case "SVGFontElement":
2070 return new SVGFontElementWrappingImplementation._wrap(raw);
2071 case "SVGFontFaceElement":
2072 return new SVGFontFaceElementWrappingImplementation._wrap(raw);
2073 case "SVGFontFaceFormatElement":
2074 return new SVGFontFaceFormatElementWrappingImplementation._wrap(raw);
2075 case "SVGFontFaceNameElement":
2076 return new SVGFontFaceNameElementWrappingImplementation._wrap(raw);
2077 case "SVGFontFaceSrcElement":
2078 return new SVGFontFaceSrcElementWrappingImplementation._wrap(raw);
2079 case "SVGFontFaceUriElement":
2080 return new SVGFontFaceUriElementWrappingImplementation._wrap(raw);
2081 case "SVGForeignObjectElement":
2082 return new SVGForeignObjectElementWrappingImplementation._wrap(raw);
2083 case "SVGGElement":
2084 return new SVGGElementWrappingImplementation._wrap(raw);
2085 case "SVGGlyphElement":
2086 return new SVGGlyphElementWrappingImplementation._wrap(raw);
2087 case "SVGGlyphRefElement":
2088 return new SVGGlyphRefElementWrappingImplementation._wrap(raw);
2089 case "SVGGradientElement":
2090 return new SVGGradientElementWrappingImplementation._wrap(raw);
2091 case "SVGHKernElement":
2092 return new SVGHKernElementWrappingImplementation._wrap(raw);
2093 case "SVGImageElement":
2094 return new SVGImageElementWrappingImplementation._wrap(raw);
2095 case "SVGLineElement":
2096 return new SVGLineElementWrappingImplementation._wrap(raw);
2097 case "SVGLinearGradientElement":
2098 return new SVGLinearGradientElementWrappingImplementation._wrap(raw);
2099 case "SVGMPathElement":
2100 return new SVGMPathElementWrappingImplementation._wrap(raw);
2101 case "SVGMarkerElement":
2102 return new SVGMarkerElementWrappingImplementation._wrap(raw);
2103 case "SVGMaskElement":
2104 return new SVGMaskElementWrappingImplementation._wrap(raw);
2105 case "SVGMetadataElement":
2106 return new SVGMetadataElementWrappingImplementation._wrap(raw);
2107 case "SVGMissingGlyphElement":
2108 return new SVGMissingGlyphElementWrappingImplementation._wrap(raw);
2109 case "SVGPathElement":
2110 return new SVGPathElementWrappingImplementation._wrap(raw);
2111 case "SVGPatternElement":
2112 return new SVGPatternElementWrappingImplementation._wrap(raw);
2113 case "SVGPolygonElement":
2114 return new SVGPolygonElementWrappingImplementation._wrap(raw);
2115 case "SVGPolylineElement":
2116 return new SVGPolylineElementWrappingImplementation._wrap(raw);
2117 case "SVGRadialGradientElement":
2118 return new SVGRadialGradientElementWrappingImplementation._wrap(raw);
2119 case "SVGRectElement":
2120 return new SVGRectElementWrappingImplementation._wrap(raw);
2121 case "SVGSVGElement":
2122 return new SVGSVGElementWrappingImplementation._wrap(raw);
2123 case "SVGScriptElement":
2124 return new SVGScriptElementWrappingImplementation._wrap(raw);
2125 case "SVGSetElement":
2126 return new SVGSetElementWrappingImplementation._wrap(raw);
2127 case "SVGStopElement":
2128 return new SVGStopElementWrappingImplementation._wrap(raw);
2129 case "SVGStyleElement":
2130 return new SVGStyleElementWrappingImplementation._wrap(raw);
2131 case "SVGSwitchElement":
2132 return new SVGSwitchElementWrappingImplementation._wrap(raw);
2133 case "SVGSymbolElement":
2134 return new SVGSymbolElementWrappingImplementation._wrap(raw);
2135 case "SVGTRefElement":
2136 return new SVGTRefElementWrappingImplementation._wrap(raw);
2137 case "SVGTSpanElement":
2138 return new SVGTSpanElementWrappingImplementation._wrap(raw);
2139 case "SVGTextContentElement":
2140 return new SVGTextContentElementWrappingImplementation._wrap(raw);
2141 case "SVGTextElement":
2142 return new SVGTextElementWrappingImplementation._wrap(raw);
2143 case "SVGTextPathElement":
2144 return new SVGTextPathElementWrappingImplementation._wrap(raw);
2145 case "SVGTextPositioningElement":
2146 return new SVGTextPositioningElementWrappingImplementation._wrap(raw);
2147 case "SVGTitleElement":
2148 return new SVGTitleElementWrappingImplementation._wrap(raw);
2149 case "SVGUseElement":
2150 return new SVGUseElementWrappingImplementation._wrap(raw);
2151 case "SVGVKernElement":
2152 return new SVGVKernElementWrappingImplementation._wrap(raw);
2153 case "SVGViewElement":
2154 return new SVGViewElementWrappingImplementation._wrap(raw);
2155 case "HTMLScriptElement":
2156 return new ScriptElementWrappingImplementation._wrap(raw);
2157 case "HTMLSelectElement":
2158 return new SelectElementWrappingImplementation._wrap(raw);
2159 case "HTMLSourceElement":
2160 return new SourceElementWrappingImplementation._wrap(raw);
2161 case "HTMLSpanElement":
2162 return new SpanElementWrappingImplementation._wrap(raw);
2163 case "HTMLStyleElement":
2164 return new StyleElementWrappingImplementation._wrap(raw);
2165 case "HTMLTableCaptionElement":
2166 return new TableCaptionElementWrappingImplementation._wrap(raw);
2167 case "HTMLTableCellElement":
2168 return new TableCellElementWrappingImplementation._wrap(raw);
2169 case "HTMLTableColElement":
2170 return new TableColElementWrappingImplementation._wrap(raw);
2171 case "HTMLTableElement":
2172 return new TableElementWrappingImplementation._wrap(raw);
2173 case "HTMLTableRowElement":
2174 return new TableRowElementWrappingImplementation._wrap(raw);
2175 case "HTMLTableSectionElement":
2176 return new TableSectionElementWrappingImplementation._wrap(raw);
2177 case "Text":
2178 return new TextWrappingImplementation._wrap(raw);
2179 case "HTMLTextAreaElement":
2180 return new TextAreaElementWrappingImplementation._wrap(raw);
2181 case "HTMLTitleElement":
2182 return new TitleElementWrappingImplementation._wrap(raw);
2183 case "HTMLTrackElement":
2184 return new TrackElementWrappingImplementation._wrap(raw);
2185 case "HTMLUListElement":
2186 return new UListElementWrappingImplementation._wrap(raw);
2187 case "HTMLUnknownElement":
2188 return new UnknownElementWrappingImplementation._wrap(raw);
2189 case "HTMLVideoElement":
2190 return new VideoElementWrappingImplementation._wrap(raw);
2191 default:
2192 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
2193 }
2194 }
2195
2196 static Notation wrapNotation(raw) {
2197 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new NotationWrappingImplementation._wrap(raw);
2198 }
2199
2200 static Notification wrapNotification(raw) {
2201 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new NotificationWrappingImplementation._wrap(raw);
2202 }
2203
2204 static NotificationCenter wrapNotificationCenter(raw) {
2205 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new NotificationCenterWrappingImplementation._wrap(raw);
2206 }
2207
2208 static OESStandardDerivatives wrapOESStandardDerivatives(raw) {
2209 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new OESStandardDerivativesWrappingImplementation._wrap(raw);
2210 }
2211
2212 static OESTextureFloat wrapOESTextureFloat(raw) {
2213 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new OESTextureFloatWrappingImplementation._wrap(raw);
2214 }
2215
2216 static OESVertexArrayObject wrapOESVertexArrayObject(raw) {
2217 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new OESVertexArrayObjectWrappingImplementation._wrap(raw);
2218 }
2219
2220 static OListElement wrapOListElement(raw) {
2221 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new OListElementWrappingImplementation._wrap(raw);
2222 }
2223
2224 static ObjectElement wrapObjectElement(raw) {
2225 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ObjectElementWrappingImplementation._wrap(raw);
2226 }
2227
2228 static OfflineAudioCompletionEvent wrapOfflineAudioCompletionEvent(raw) {
2229 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new OfflineAudioCompletionEventWrappingImplementation._wrap( raw);
2230 }
2231
2232 static OperationNotAllowedException wrapOperationNotAllowedException(raw) {
2233 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new OperationNotAllowedExceptionWrappingImplementation._wrap (raw);
2234 }
2235
2236 static OptGroupElement wrapOptGroupElement(raw) {
2237 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new OptGroupElementWrappingImplementation._wrap(raw);
2238 }
2239
2240 static OptionElement wrapOptionElement(raw) {
2241 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new OptionElementWrappingImplementation._wrap(raw);
2242 }
2243
2244 static OutputElement wrapOutputElement(raw) {
2245 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new OutputElementWrappingImplementation._wrap(raw);
2246 }
2247
2248 static OverflowEvent wrapOverflowEvent(raw) {
2249 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new OverflowEventWrappingImplementation._wrap(raw);
2250 }
2251
2252 static PageTransitionEvent wrapPageTransitionEvent(raw) {
2253 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new PageTransitionEventWrappingImplementation._wrap(raw);
2254 }
2255
2256 static ParagraphElement wrapParagraphElement(raw) {
2257 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ParagraphElementWrappingImplementation._wrap(raw);
2258 }
2259
2260 static ParamElement wrapParamElement(raw) {
2261 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ParamElementWrappingImplementation._wrap(raw);
2262 }
2263
2264 static Point wrapPoint(raw) {
2265 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new PointWrappingImplementation._wrap(raw);
2266 }
2267
2268 static PopStateEvent wrapPopStateEvent(raw) {
2269 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new PopStateEventWrappingImplementation._wrap(raw);
2270 }
2271
2272 // Skipped PositionCallback
2273 static PositionError wrapPositionError(raw) {
2274 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new PositionErrorWrappingImplementation._wrap(raw);
2275 }
2276
2277 // Skipped PositionErrorCallback
2278 static PreElement wrapPreElement(raw) {
2279 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new PreElementWrappingImplementation._wrap(raw);
2280 }
2281
2282 static ProcessingInstruction wrapProcessingInstruction(raw) {
2283 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ProcessingInstructionWrappingImplementation._wrap(raw);
2284 }
2285
2286 static ProgressElement wrapProgressElement(raw) {
2287 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ProgressElementWrappingImplementation._wrap(raw);
2288 }
2289
2290 static ProgressEvent wrapProgressEvent(raw) {
2291 if (raw === null) { return null; }
2292 if (raw.dartObjectLocalStorage !== null) {
2293 return raw.dartObjectLocalStorage;
2294 }
2295 switch (raw.typeName) {
2296 case "ProgressEvent":
2297 return new ProgressEventWrappingImplementation._wrap(raw);
2298 case "XMLHttpRequestProgressEvent":
2299 return new XMLHttpRequestProgressEventWrappingImplementation._wrap(raw);
2300 default:
2301 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
2302 }
2303 }
2304
2305 static QuoteElement wrapQuoteElement(raw) {
2306 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new QuoteElementWrappingImplementation._wrap(raw);
2307 }
2308
2309 static RGBColor wrapRGBColor(raw) {
2310 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new RGBColorWrappingImplementation._wrap(raw);
2311 }
2312
2313 static Range wrapRange(raw) {
2314 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new RangeWrappingImplementation._wrap(raw);
2315 }
2316
2317 static RangeException wrapRangeException(raw) {
2318 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new RangeExceptionWrappingImplementation._wrap(raw);
2319 }
2320
2321 static RealtimeAnalyserNode wrapRealtimeAnalyserNode(raw) {
2322 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new RealtimeAnalyserNodeWrappingImplementation._wrap(raw);
2323 }
2324
2325 static Rect wrapRect(raw) {
2326 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new RectWrappingImplementation._wrap(raw);
2327 }
2328
2329 // Skipped RequestAnimationFrameCallback
2330 // Skipped SQLStatementCallback
2331 // Skipped SQLStatementErrorCallback
2332 // Skipped SQLTransactionCallback
2333 // Skipped SQLTransactionErrorCallback
2334 // Skipped SQLTransactionSyncCallback
2335 static SVGAElement wrapSVGAElement(raw) {
2336 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAElementWrappingImplementation._wrap(raw);
2337 }
2338
2339 static SVGAltGlyphDefElement wrapSVGAltGlyphDefElement(raw) {
2340 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAltGlyphDefElementWrappingImplementation._wrap(raw);
2341 }
2342
2343 static SVGAltGlyphElement wrapSVGAltGlyphElement(raw) {
2344 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAltGlyphElementWrappingImplementation._wrap(raw);
2345 }
2346
2347 static SVGAltGlyphItemElement wrapSVGAltGlyphItemElement(raw) {
2348 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAltGlyphItemElementWrappingImplementation._wrap(raw);
2349 }
2350
2351 static SVGAngle wrapSVGAngle(raw) {
2352 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAngleWrappingImplementation._wrap(raw);
2353 }
2354
2355 static SVGAnimateColorElement wrapSVGAnimateColorElement(raw) {
2356 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimateColorElementWrappingImplementation._wrap(raw);
2357 }
2358
2359 static SVGAnimateElement wrapSVGAnimateElement(raw) {
2360 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimateElementWrappingImplementation._wrap(raw);
2361 }
2362
2363 static SVGAnimateMotionElement wrapSVGAnimateMotionElement(raw) {
2364 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimateMotionElementWrappingImplementation._wrap(raw) ;
2365 }
2366
2367 static SVGAnimateTransformElement wrapSVGAnimateTransformElement(raw) {
2368 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimateTransformElementWrappingImplementation._wrap(r aw);
2369 }
2370
2371 static SVGAnimatedAngle wrapSVGAnimatedAngle(raw) {
2372 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimatedAngleWrappingImplementation._wrap(raw);
2373 }
2374
2375 static SVGAnimatedBoolean wrapSVGAnimatedBoolean(raw) {
2376 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimatedBooleanWrappingImplementation._wrap(raw);
2377 }
2378
2379 static SVGAnimatedEnumeration wrapSVGAnimatedEnumeration(raw) {
2380 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimatedEnumerationWrappingImplementation._wrap(raw);
2381 }
2382
2383 static SVGAnimatedInteger wrapSVGAnimatedInteger(raw) {
2384 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimatedIntegerWrappingImplementation._wrap(raw);
2385 }
2386
2387 static SVGAnimatedLength wrapSVGAnimatedLength(raw) {
2388 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimatedLengthWrappingImplementation._wrap(raw);
2389 }
2390
2391 static SVGAnimatedLengthList wrapSVGAnimatedLengthList(raw) {
2392 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimatedLengthListWrappingImplementation._wrap(raw);
2393 }
2394
2395 static SVGAnimatedNumber wrapSVGAnimatedNumber(raw) {
2396 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimatedNumberWrappingImplementation._wrap(raw);
2397 }
2398
2399 static SVGAnimatedNumberList wrapSVGAnimatedNumberList(raw) {
2400 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimatedNumberListWrappingImplementation._wrap(raw);
2401 }
2402
2403 static SVGAnimatedPreserveAspectRatio wrapSVGAnimatedPreserveAspectRatio(raw) {
2404 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimatedPreserveAspectRatioWrappingImplementation._wr ap(raw);
2405 }
2406
2407 static SVGAnimatedRect wrapSVGAnimatedRect(raw) {
2408 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimatedRectWrappingImplementation._wrap(raw);
2409 }
2410
2411 static SVGAnimatedString wrapSVGAnimatedString(raw) {
2412 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimatedStringWrappingImplementation._wrap(raw);
2413 }
2414
2415 static SVGAnimatedTransformList wrapSVGAnimatedTransformList(raw) {
2416 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGAnimatedTransformListWrappingImplementation._wrap(raw );
2417 }
2418
2419 static SVGAnimationElement wrapSVGAnimationElement(raw) {
2420 if (raw === null) { return null; }
2421 if (raw.dartObjectLocalStorage !== null) {
2422 return raw.dartObjectLocalStorage;
2423 }
2424 switch (raw.typeName) {
2425 case "SVGAnimateColorElement":
2426 return new SVGAnimateColorElementWrappingImplementation._wrap(raw);
2427 case "SVGAnimateElement":
2428 return new SVGAnimateElementWrappingImplementation._wrap(raw);
2429 case "SVGAnimateMotionElement":
2430 return new SVGAnimateMotionElementWrappingImplementation._wrap(raw);
2431 case "SVGAnimateTransformElement":
2432 return new SVGAnimateTransformElementWrappingImplementation._wrap(raw);
2433 case "SVGAnimationElement":
2434 return new SVGAnimationElementWrappingImplementation._wrap(raw);
2435 case "SVGSetElement":
2436 return new SVGSetElementWrappingImplementation._wrap(raw);
2437 default:
2438 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
2439 }
2440 }
2441
2442 static SVGCircleElement wrapSVGCircleElement(raw) {
2443 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGCircleElementWrappingImplementation._wrap(raw);
2444 }
2445
2446 static SVGClipPathElement wrapSVGClipPathElement(raw) {
2447 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGClipPathElementWrappingImplementation._wrap(raw);
2448 }
2449
2450 static SVGColor wrapSVGColor(raw) {
2451 if (raw === null) { return null; }
2452 if (raw.dartObjectLocalStorage !== null) {
2453 return raw.dartObjectLocalStorage;
2454 }
2455 switch (raw.typeName) {
2456 case "SVGColor":
2457 return new SVGColorWrappingImplementation._wrap(raw);
2458 case "SVGPaint":
2459 return new SVGPaintWrappingImplementation._wrap(raw);
2460 default:
2461 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
2462 }
2463 }
2464
2465 static SVGComponentTransferFunctionElement wrapSVGComponentTransferFunctionEle ment(raw) {
2466 if (raw === null) { return null; }
2467 if (raw.dartObjectLocalStorage !== null) {
2468 return raw.dartObjectLocalStorage;
2469 }
2470 switch (raw.typeName) {
2471 case "SVGComponentTransferFunctionElement":
2472 return new SVGComponentTransferFunctionElementWrappingImplementation._wr ap(raw);
2473 case "SVGFEFuncAElement":
2474 return new SVGFEFuncAElementWrappingImplementation._wrap(raw);
2475 case "SVGFEFuncBElement":
2476 return new SVGFEFuncBElementWrappingImplementation._wrap(raw);
2477 case "SVGFEFuncGElement":
2478 return new SVGFEFuncGElementWrappingImplementation._wrap(raw);
2479 case "SVGFEFuncRElement":
2480 return new SVGFEFuncRElementWrappingImplementation._wrap(raw);
2481 default:
2482 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
2483 }
2484 }
2485
2486 static SVGCursorElement wrapSVGCursorElement(raw) {
2487 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGCursorElementWrappingImplementation._wrap(raw);
2488 }
2489
2490 static SVGDefsElement wrapSVGDefsElement(raw) {
2491 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGDefsElementWrappingImplementation._wrap(raw);
2492 }
2493
2494 static SVGDescElement wrapSVGDescElement(raw) {
2495 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGDescElementWrappingImplementation._wrap(raw);
2496 }
2497
2498 static SVGDocument wrapSVGDocument(raw) {
2499 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGDocumentWrappingImplementation._wrap(raw);
2500 }
2501
2502 static SVGElement wrapSVGElement(raw) {
2503 if (raw === null) { return null; }
2504 if (raw.dartObjectLocalStorage !== null) {
2505 return raw.dartObjectLocalStorage;
2506 }
2507 switch (raw.typeName) {
2508 case "SVGAElement":
2509 return new SVGAElementWrappingImplementation._wrap(raw);
2510 case "SVGAltGlyphDefElement":
2511 return new SVGAltGlyphDefElementWrappingImplementation._wrap(raw);
2512 case "SVGAltGlyphElement":
2513 return new SVGAltGlyphElementWrappingImplementation._wrap(raw);
2514 case "SVGAltGlyphItemElement":
2515 return new SVGAltGlyphItemElementWrappingImplementation._wrap(raw);
2516 case "SVGAnimateColorElement":
2517 return new SVGAnimateColorElementWrappingImplementation._wrap(raw);
2518 case "SVGAnimateElement":
2519 return new SVGAnimateElementWrappingImplementation._wrap(raw);
2520 case "SVGAnimateMotionElement":
2521 return new SVGAnimateMotionElementWrappingImplementation._wrap(raw);
2522 case "SVGAnimateTransformElement":
2523 return new SVGAnimateTransformElementWrappingImplementation._wrap(raw);
2524 case "SVGAnimationElement":
2525 return new SVGAnimationElementWrappingImplementation._wrap(raw);
2526 case "SVGCircleElement":
2527 return new SVGCircleElementWrappingImplementation._wrap(raw);
2528 case "SVGClipPathElement":
2529 return new SVGClipPathElementWrappingImplementation._wrap(raw);
2530 case "SVGComponentTransferFunctionElement":
2531 return new SVGComponentTransferFunctionElementWrappingImplementation._wr ap(raw);
2532 case "SVGCursorElement":
2533 return new SVGCursorElementWrappingImplementation._wrap(raw);
2534 case "SVGDefsElement":
2535 return new SVGDefsElementWrappingImplementation._wrap(raw);
2536 case "SVGDescElement":
2537 return new SVGDescElementWrappingImplementation._wrap(raw);
2538 case "SVGElement":
2539 return new SVGElementWrappingImplementation._wrap(raw);
2540 case "SVGEllipseElement":
2541 return new SVGEllipseElementWrappingImplementation._wrap(raw);
2542 case "SVGFEBlendElement":
2543 return new SVGFEBlendElementWrappingImplementation._wrap(raw);
2544 case "SVGFEColorMatrixElement":
2545 return new SVGFEColorMatrixElementWrappingImplementation._wrap(raw);
2546 case "SVGFEComponentTransferElement":
2547 return new SVGFEComponentTransferElementWrappingImplementation._wrap(raw );
2548 /* Skipping SVGFECompositeElement*/
2549 case "SVGFEConvolveMatrixElement":
2550 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap(raw);
2551 case "SVGFEDiffuseLightingElement":
2552 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap(raw);
2553 case "SVGFEDisplacementMapElement":
2554 return new SVGFEDisplacementMapElementWrappingImplementation._wrap(raw);
2555 case "SVGFEDistantLightElement":
2556 return new SVGFEDistantLightElementWrappingImplementation._wrap(raw);
2557 case "SVGFEDropShadowElement":
2558 return new SVGFEDropShadowElementWrappingImplementation._wrap(raw);
2559 case "SVGFEFloodElement":
2560 return new SVGFEFloodElementWrappingImplementation._wrap(raw);
2561 case "SVGFEFuncAElement":
2562 return new SVGFEFuncAElementWrappingImplementation._wrap(raw);
2563 case "SVGFEFuncBElement":
2564 return new SVGFEFuncBElementWrappingImplementation._wrap(raw);
2565 case "SVGFEFuncGElement":
2566 return new SVGFEFuncGElementWrappingImplementation._wrap(raw);
2567 case "SVGFEFuncRElement":
2568 return new SVGFEFuncRElementWrappingImplementation._wrap(raw);
2569 case "SVGFEGaussianBlurElement":
2570 return new SVGFEGaussianBlurElementWrappingImplementation._wrap(raw);
2571 case "SVGFEImageElement":
2572 return new SVGFEImageElementWrappingImplementation._wrap(raw);
2573 case "SVGFEMergeElement":
2574 return new SVGFEMergeElementWrappingImplementation._wrap(raw);
2575 case "SVGFEMergeNodeElement":
2576 return new SVGFEMergeNodeElementWrappingImplementation._wrap(raw);
2577 /* Skipping SVGFEMorphologyElement*/
2578 case "SVGFEOffsetElement":
2579 return new SVGFEOffsetElementWrappingImplementation._wrap(raw);
2580 case "SVGFEPointLightElement":
2581 return new SVGFEPointLightElementWrappingImplementation._wrap(raw);
2582 case "SVGFESpecularLightingElement":
2583 return new SVGFESpecularLightingElementWrappingImplementation._wrap(raw) ;
2584 case "SVGFESpotLightElement":
2585 return new SVGFESpotLightElementWrappingImplementation._wrap(raw);
2586 case "SVGFETileElement":
2587 return new SVGFETileElementWrappingImplementation._wrap(raw);
2588 case "SVGFETurbulenceElement":
2589 return new SVGFETurbulenceElementWrappingImplementation._wrap(raw);
2590 case "SVGFilterElement":
2591 return new SVGFilterElementWrappingImplementation._wrap(raw);
2592 case "SVGFontElement":
2593 return new SVGFontElementWrappingImplementation._wrap(raw);
2594 case "SVGFontFaceElement":
2595 return new SVGFontFaceElementWrappingImplementation._wrap(raw);
2596 case "SVGFontFaceFormatElement":
2597 return new SVGFontFaceFormatElementWrappingImplementation._wrap(raw);
2598 case "SVGFontFaceNameElement":
2599 return new SVGFontFaceNameElementWrappingImplementation._wrap(raw);
2600 case "SVGFontFaceSrcElement":
2601 return new SVGFontFaceSrcElementWrappingImplementation._wrap(raw);
2602 case "SVGFontFaceUriElement":
2603 return new SVGFontFaceUriElementWrappingImplementation._wrap(raw);
2604 case "SVGForeignObjectElement":
2605 return new SVGForeignObjectElementWrappingImplementation._wrap(raw);
2606 case "SVGGElement":
2607 return new SVGGElementWrappingImplementation._wrap(raw);
2608 case "SVGGlyphElement":
2609 return new SVGGlyphElementWrappingImplementation._wrap(raw);
2610 case "SVGGlyphRefElement":
2611 return new SVGGlyphRefElementWrappingImplementation._wrap(raw);
2612 case "SVGGradientElement":
2613 return new SVGGradientElementWrappingImplementation._wrap(raw);
2614 case "SVGHKernElement":
2615 return new SVGHKernElementWrappingImplementation._wrap(raw);
2616 case "SVGImageElement":
2617 return new SVGImageElementWrappingImplementation._wrap(raw);
2618 case "SVGLineElement":
2619 return new SVGLineElementWrappingImplementation._wrap(raw);
2620 case "SVGLinearGradientElement":
2621 return new SVGLinearGradientElementWrappingImplementation._wrap(raw);
2622 case "SVGMPathElement":
2623 return new SVGMPathElementWrappingImplementation._wrap(raw);
2624 case "SVGMarkerElement":
2625 return new SVGMarkerElementWrappingImplementation._wrap(raw);
2626 case "SVGMaskElement":
2627 return new SVGMaskElementWrappingImplementation._wrap(raw);
2628 case "SVGMetadataElement":
2629 return new SVGMetadataElementWrappingImplementation._wrap(raw);
2630 case "SVGMissingGlyphElement":
2631 return new SVGMissingGlyphElementWrappingImplementation._wrap(raw);
2632 case "SVGPathElement":
2633 return new SVGPathElementWrappingImplementation._wrap(raw);
2634 case "SVGPatternElement":
2635 return new SVGPatternElementWrappingImplementation._wrap(raw);
2636 case "SVGPolygonElement":
2637 return new SVGPolygonElementWrappingImplementation._wrap(raw);
2638 case "SVGPolylineElement":
2639 return new SVGPolylineElementWrappingImplementation._wrap(raw);
2640 case "SVGRadialGradientElement":
2641 return new SVGRadialGradientElementWrappingImplementation._wrap(raw);
2642 case "SVGRectElement":
2643 return new SVGRectElementWrappingImplementation._wrap(raw);
2644 case "SVGSVGElement":
2645 return new SVGSVGElementWrappingImplementation._wrap(raw);
2646 case "SVGScriptElement":
2647 return new SVGScriptElementWrappingImplementation._wrap(raw);
2648 case "SVGSetElement":
2649 return new SVGSetElementWrappingImplementation._wrap(raw);
2650 case "SVGStopElement":
2651 return new SVGStopElementWrappingImplementation._wrap(raw);
2652 case "SVGStyleElement":
2653 return new SVGStyleElementWrappingImplementation._wrap(raw);
2654 case "SVGSwitchElement":
2655 return new SVGSwitchElementWrappingImplementation._wrap(raw);
2656 case "SVGSymbolElement":
2657 return new SVGSymbolElementWrappingImplementation._wrap(raw);
2658 case "SVGTRefElement":
2659 return new SVGTRefElementWrappingImplementation._wrap(raw);
2660 case "SVGTSpanElement":
2661 return new SVGTSpanElementWrappingImplementation._wrap(raw);
2662 case "SVGTextContentElement":
2663 return new SVGTextContentElementWrappingImplementation._wrap(raw);
2664 case "SVGTextElement":
2665 return new SVGTextElementWrappingImplementation._wrap(raw);
2666 case "SVGTextPathElement":
2667 return new SVGTextPathElementWrappingImplementation._wrap(raw);
2668 case "SVGTextPositioningElement":
2669 return new SVGTextPositioningElementWrappingImplementation._wrap(raw);
2670 case "SVGTitleElement":
2671 return new SVGTitleElementWrappingImplementation._wrap(raw);
2672 case "SVGUseElement":
2673 return new SVGUseElementWrappingImplementation._wrap(raw);
2674 case "SVGVKernElement":
2675 return new SVGVKernElementWrappingImplementation._wrap(raw);
2676 case "SVGViewElement":
2677 return new SVGViewElementWrappingImplementation._wrap(raw);
2678 default:
2679 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
2680 }
2681 }
2682
2683 static SVGElementInstance wrapSVGElementInstance(raw) {
2684 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGElementInstanceWrappingImplementation._wrap(raw);
2685 }
2686
2687 static SVGElementInstanceList wrapSVGElementInstanceList(raw) {
2688 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGElementInstanceListWrappingImplementation._wrap(raw);
2689 }
2690
2691 static SVGEllipseElement wrapSVGEllipseElement(raw) {
2692 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGEllipseElementWrappingImplementation._wrap(raw);
2693 }
2694
2695 static SVGException wrapSVGException(raw) {
2696 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGExceptionWrappingImplementation._wrap(raw);
2697 }
2698
2699 static SVGExternalResourcesRequired wrapSVGExternalResourcesRequired(raw) {
2700 if (raw === null) { return null; }
2701 if (raw.dartObjectLocalStorage !== null) {
2702 return raw.dartObjectLocalStorage;
2703 }
2704 switch (raw.typeName) {
2705 case "SVGAElement":
2706 return new SVGAElementWrappingImplementation._wrap(raw);
2707 case "SVGAltGlyphElement":
2708 return new SVGAltGlyphElementWrappingImplementation._wrap(raw);
2709 case "SVGAnimateColorElement":
2710 return new SVGAnimateColorElementWrappingImplementation._wrap(raw);
2711 case "SVGAnimateElement":
2712 return new SVGAnimateElementWrappingImplementation._wrap(raw);
2713 case "SVGAnimateMotionElement":
2714 return new SVGAnimateMotionElementWrappingImplementation._wrap(raw);
2715 case "SVGAnimateTransformElement":
2716 return new SVGAnimateTransformElementWrappingImplementation._wrap(raw);
2717 case "SVGAnimationElement":
2718 return new SVGAnimationElementWrappingImplementation._wrap(raw);
2719 case "SVGCircleElement":
2720 return new SVGCircleElementWrappingImplementation._wrap(raw);
2721 case "SVGClipPathElement":
2722 return new SVGClipPathElementWrappingImplementation._wrap(raw);
2723 case "SVGCursorElement":
2724 return new SVGCursorElementWrappingImplementation._wrap(raw);
2725 case "SVGDefsElement":
2726 return new SVGDefsElementWrappingImplementation._wrap(raw);
2727 case "SVGEllipseElement":
2728 return new SVGEllipseElementWrappingImplementation._wrap(raw);
2729 case "SVGExternalResourcesRequired":
2730 return new SVGExternalResourcesRequiredWrappingImplementation._wrap(raw) ;
2731 case "SVGFEImageElement":
2732 return new SVGFEImageElementWrappingImplementation._wrap(raw);
2733 case "SVGFilterElement":
2734 return new SVGFilterElementWrappingImplementation._wrap(raw);
2735 case "SVGForeignObjectElement":
2736 return new SVGForeignObjectElementWrappingImplementation._wrap(raw);
2737 case "SVGGElement":
2738 return new SVGGElementWrappingImplementation._wrap(raw);
2739 case "SVGGradientElement":
2740 return new SVGGradientElementWrappingImplementation._wrap(raw);
2741 case "SVGImageElement":
2742 return new SVGImageElementWrappingImplementation._wrap(raw);
2743 case "SVGLineElement":
2744 return new SVGLineElementWrappingImplementation._wrap(raw);
2745 case "SVGLinearGradientElement":
2746 return new SVGLinearGradientElementWrappingImplementation._wrap(raw);
2747 case "SVGMPathElement":
2748 return new SVGMPathElementWrappingImplementation._wrap(raw);
2749 case "SVGMarkerElement":
2750 return new SVGMarkerElementWrappingImplementation._wrap(raw);
2751 case "SVGMaskElement":
2752 return new SVGMaskElementWrappingImplementation._wrap(raw);
2753 case "SVGPathElement":
2754 return new SVGPathElementWrappingImplementation._wrap(raw);
2755 case "SVGPatternElement":
2756 return new SVGPatternElementWrappingImplementation._wrap(raw);
2757 case "SVGPolygonElement":
2758 return new SVGPolygonElementWrappingImplementation._wrap(raw);
2759 case "SVGPolylineElement":
2760 return new SVGPolylineElementWrappingImplementation._wrap(raw);
2761 case "SVGRadialGradientElement":
2762 return new SVGRadialGradientElementWrappingImplementation._wrap(raw);
2763 case "SVGRectElement":
2764 return new SVGRectElementWrappingImplementation._wrap(raw);
2765 case "SVGSVGElement":
2766 return new SVGSVGElementWrappingImplementation._wrap(raw);
2767 case "SVGScriptElement":
2768 return new SVGScriptElementWrappingImplementation._wrap(raw);
2769 case "SVGSetElement":
2770 return new SVGSetElementWrappingImplementation._wrap(raw);
2771 case "SVGSwitchElement":
2772 return new SVGSwitchElementWrappingImplementation._wrap(raw);
2773 case "SVGSymbolElement":
2774 return new SVGSymbolElementWrappingImplementation._wrap(raw);
2775 case "SVGTRefElement":
2776 return new SVGTRefElementWrappingImplementation._wrap(raw);
2777 case "SVGTSpanElement":
2778 return new SVGTSpanElementWrappingImplementation._wrap(raw);
2779 case "SVGTextContentElement":
2780 return new SVGTextContentElementWrappingImplementation._wrap(raw);
2781 case "SVGTextElement":
2782 return new SVGTextElementWrappingImplementation._wrap(raw);
2783 case "SVGTextPathElement":
2784 return new SVGTextPathElementWrappingImplementation._wrap(raw);
2785 case "SVGTextPositioningElement":
2786 return new SVGTextPositioningElementWrappingImplementation._wrap(raw);
2787 case "SVGUseElement":
2788 return new SVGUseElementWrappingImplementation._wrap(raw);
2789 case "SVGViewElement":
2790 return new SVGViewElementWrappingImplementation._wrap(raw);
2791 default:
2792 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
2793 }
2794 }
2795
2796 static SVGFEBlendElement wrapSVGFEBlendElement(raw) {
2797 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEBlendElementWrappingImplementation._wrap(raw);
2798 }
2799
2800 static SVGFEColorMatrixElement wrapSVGFEColorMatrixElement(raw) {
2801 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEColorMatrixElementWrappingImplementation._wrap(raw) ;
2802 }
2803
2804 static SVGFEComponentTransferElement wrapSVGFEComponentTransferElement(raw) {
2805 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEComponentTransferElementWrappingImplementation._wra p(raw);
2806 }
2807
2808 static SVGFEConvolveMatrixElement wrapSVGFEConvolveMatrixElement(raw) {
2809 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEConvolveMatrixElementWrappingImplementation._wrap(r aw);
2810 }
2811
2812 static SVGFEDiffuseLightingElement wrapSVGFEDiffuseLightingElement(raw) {
2813 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEDiffuseLightingElementWrappingImplementation._wrap( raw);
2814 }
2815
2816 static SVGFEDisplacementMapElement wrapSVGFEDisplacementMapElement(raw) {
2817 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEDisplacementMapElementWrappingImplementation._wrap( raw);
2818 }
2819
2820 static SVGFEDistantLightElement wrapSVGFEDistantLightElement(raw) {
2821 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEDistantLightElementWrappingImplementation._wrap(raw );
2822 }
2823
2824 static SVGFEDropShadowElement wrapSVGFEDropShadowElement(raw) {
2825 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEDropShadowElementWrappingImplementation._wrap(raw);
2826 }
2827
2828 static SVGFEFloodElement wrapSVGFEFloodElement(raw) {
2829 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEFloodElementWrappingImplementation._wrap(raw);
2830 }
2831
2832 static SVGFEFuncAElement wrapSVGFEFuncAElement(raw) {
2833 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEFuncAElementWrappingImplementation._wrap(raw);
2834 }
2835
2836 static SVGFEFuncBElement wrapSVGFEFuncBElement(raw) {
2837 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEFuncBElementWrappingImplementation._wrap(raw);
2838 }
2839
2840 static SVGFEFuncGElement wrapSVGFEFuncGElement(raw) {
2841 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEFuncGElementWrappingImplementation._wrap(raw);
2842 }
2843
2844 static SVGFEFuncRElement wrapSVGFEFuncRElement(raw) {
2845 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEFuncRElementWrappingImplementation._wrap(raw);
2846 }
2847
2848 static SVGFEGaussianBlurElement wrapSVGFEGaussianBlurElement(raw) {
2849 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEGaussianBlurElementWrappingImplementation._wrap(raw );
2850 }
2851
2852 static SVGFEImageElement wrapSVGFEImageElement(raw) {
2853 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEImageElementWrappingImplementation._wrap(raw);
2854 }
2855
2856 static SVGFEMergeElement wrapSVGFEMergeElement(raw) {
2857 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEMergeElementWrappingImplementation._wrap(raw);
2858 }
2859
2860 static SVGFEMergeNodeElement wrapSVGFEMergeNodeElement(raw) {
2861 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEMergeNodeElementWrappingImplementation._wrap(raw);
2862 }
2863
2864 static SVGFEOffsetElement wrapSVGFEOffsetElement(raw) {
2865 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEOffsetElementWrappingImplementation._wrap(raw);
2866 }
2867
2868 static SVGFEPointLightElement wrapSVGFEPointLightElement(raw) {
2869 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFEPointLightElementWrappingImplementation._wrap(raw);
2870 }
2871
2872 static SVGFESpecularLightingElement wrapSVGFESpecularLightingElement(raw) {
2873 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFESpecularLightingElementWrappingImplementation._wrap (raw);
2874 }
2875
2876 static SVGFESpotLightElement wrapSVGFESpotLightElement(raw) {
2877 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFESpotLightElementWrappingImplementation._wrap(raw);
2878 }
2879
2880 static SVGFETileElement wrapSVGFETileElement(raw) {
2881 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFETileElementWrappingImplementation._wrap(raw);
2882 }
2883
2884 static SVGFETurbulenceElement wrapSVGFETurbulenceElement(raw) {
2885 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFETurbulenceElementWrappingImplementation._wrap(raw);
2886 }
2887
2888 static SVGFilterElement wrapSVGFilterElement(raw) {
2889 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFilterElementWrappingImplementation._wrap(raw);
2890 }
2891
2892 static SVGFilterPrimitiveStandardAttributes wrapSVGFilterPrimitiveStandardAttr ibutes(raw) {
2893 if (raw === null) { return null; }
2894 if (raw.dartObjectLocalStorage !== null) {
2895 return raw.dartObjectLocalStorage;
2896 }
2897 switch (raw.typeName) {
2898 case "SVGFEBlendElement":
2899 return new SVGFEBlendElementWrappingImplementation._wrap(raw);
2900 case "SVGFEColorMatrixElement":
2901 return new SVGFEColorMatrixElementWrappingImplementation._wrap(raw);
2902 case "SVGFEComponentTransferElement":
2903 return new SVGFEComponentTransferElementWrappingImplementation._wrap(raw );
2904 /* Skipping SVGFECompositeElement*/
2905 case "SVGFEConvolveMatrixElement":
2906 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap(raw);
2907 case "SVGFEDiffuseLightingElement":
2908 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap(raw);
2909 case "SVGFEDisplacementMapElement":
2910 return new SVGFEDisplacementMapElementWrappingImplementation._wrap(raw);
2911 case "SVGFEDropShadowElement":
2912 return new SVGFEDropShadowElementWrappingImplementation._wrap(raw);
2913 case "SVGFEFloodElement":
2914 return new SVGFEFloodElementWrappingImplementation._wrap(raw);
2915 case "SVGFEGaussianBlurElement":
2916 return new SVGFEGaussianBlurElementWrappingImplementation._wrap(raw);
2917 case "SVGFEImageElement":
2918 return new SVGFEImageElementWrappingImplementation._wrap(raw);
2919 case "SVGFEMergeElement":
2920 return new SVGFEMergeElementWrappingImplementation._wrap(raw);
2921 /* Skipping SVGFEMorphologyElement*/
2922 case "SVGFEOffsetElement":
2923 return new SVGFEOffsetElementWrappingImplementation._wrap(raw);
2924 case "SVGFESpecularLightingElement":
2925 return new SVGFESpecularLightingElementWrappingImplementation._wrap(raw) ;
2926 case "SVGFETileElement":
2927 return new SVGFETileElementWrappingImplementation._wrap(raw);
2928 case "SVGFETurbulenceElement":
2929 return new SVGFETurbulenceElementWrappingImplementation._wrap(raw);
2930 case "SVGFilterPrimitiveStandardAttributes":
2931 return new SVGFilterPrimitiveStandardAttributesWrappingImplementation._w rap(raw);
2932 default:
2933 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
2934 }
2935 }
2936
2937 static SVGFitToViewBox wrapSVGFitToViewBox(raw) {
2938 if (raw === null) { return null; }
2939 if (raw.dartObjectLocalStorage !== null) {
2940 return raw.dartObjectLocalStorage;
2941 }
2942 switch (raw.typeName) {
2943 case "SVGFitToViewBox":
2944 return new SVGFitToViewBoxWrappingImplementation._wrap(raw);
2945 case "SVGMarkerElement":
2946 return new SVGMarkerElementWrappingImplementation._wrap(raw);
2947 case "SVGPatternElement":
2948 return new SVGPatternElementWrappingImplementation._wrap(raw);
2949 case "SVGSVGElement":
2950 return new SVGSVGElementWrappingImplementation._wrap(raw);
2951 case "SVGSymbolElement":
2952 return new SVGSymbolElementWrappingImplementation._wrap(raw);
2953 case "SVGViewElement":
2954 return new SVGViewElementWrappingImplementation._wrap(raw);
2955 case "SVGViewSpec":
2956 return new SVGViewSpecWrappingImplementation._wrap(raw);
2957 default:
2958 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
2959 }
2960 }
2961
2962 static SVGFontElement wrapSVGFontElement(raw) {
2963 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFontElementWrappingImplementation._wrap(raw);
2964 }
2965
2966 static SVGFontFaceElement wrapSVGFontFaceElement(raw) {
2967 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFontFaceElementWrappingImplementation._wrap(raw);
2968 }
2969
2970 static SVGFontFaceFormatElement wrapSVGFontFaceFormatElement(raw) {
2971 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFontFaceFormatElementWrappingImplementation._wrap(raw );
2972 }
2973
2974 static SVGFontFaceNameElement wrapSVGFontFaceNameElement(raw) {
2975 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFontFaceNameElementWrappingImplementation._wrap(raw);
2976 }
2977
2978 static SVGFontFaceSrcElement wrapSVGFontFaceSrcElement(raw) {
2979 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFontFaceSrcElementWrappingImplementation._wrap(raw);
2980 }
2981
2982 static SVGFontFaceUriElement wrapSVGFontFaceUriElement(raw) {
2983 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGFontFaceUriElementWrappingImplementation._wrap(raw);
2984 }
2985
2986 static SVGForeignObjectElement wrapSVGForeignObjectElement(raw) {
2987 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGForeignObjectElementWrappingImplementation._wrap(raw) ;
2988 }
2989
2990 static SVGGElement wrapSVGGElement(raw) {
2991 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGGElementWrappingImplementation._wrap(raw);
2992 }
2993
2994 static SVGGlyphElement wrapSVGGlyphElement(raw) {
2995 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGGlyphElementWrappingImplementation._wrap(raw);
2996 }
2997
2998 static SVGGlyphRefElement wrapSVGGlyphRefElement(raw) {
2999 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGGlyphRefElementWrappingImplementation._wrap(raw);
3000 }
3001
3002 static SVGGradientElement wrapSVGGradientElement(raw) {
3003 if (raw === null) { return null; }
3004 if (raw.dartObjectLocalStorage !== null) {
3005 return raw.dartObjectLocalStorage;
3006 }
3007 switch (raw.typeName) {
3008 case "SVGGradientElement":
3009 return new SVGGradientElementWrappingImplementation._wrap(raw);
3010 case "SVGLinearGradientElement":
3011 return new SVGLinearGradientElementWrappingImplementation._wrap(raw);
3012 case "SVGRadialGradientElement":
3013 return new SVGRadialGradientElementWrappingImplementation._wrap(raw);
3014 default:
3015 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
3016 }
3017 }
3018
3019 static SVGHKernElement wrapSVGHKernElement(raw) {
3020 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGHKernElementWrappingImplementation._wrap(raw);
3021 }
3022
3023 static SVGImageElement wrapSVGImageElement(raw) {
3024 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGImageElementWrappingImplementation._wrap(raw);
3025 }
3026
3027 static SVGLangSpace wrapSVGLangSpace(raw) {
3028 if (raw === null) { return null; }
3029 if (raw.dartObjectLocalStorage !== null) {
3030 return raw.dartObjectLocalStorage;
3031 }
3032 switch (raw.typeName) {
3033 case "SVGAElement":
3034 return new SVGAElementWrappingImplementation._wrap(raw);
3035 case "SVGAltGlyphElement":
3036 return new SVGAltGlyphElementWrappingImplementation._wrap(raw);
3037 case "SVGCircleElement":
3038 return new SVGCircleElementWrappingImplementation._wrap(raw);
3039 case "SVGClipPathElement":
3040 return new SVGClipPathElementWrappingImplementation._wrap(raw);
3041 case "SVGDefsElement":
3042 return new SVGDefsElementWrappingImplementation._wrap(raw);
3043 case "SVGDescElement":
3044 return new SVGDescElementWrappingImplementation._wrap(raw);
3045 case "SVGEllipseElement":
3046 return new SVGEllipseElementWrappingImplementation._wrap(raw);
3047 case "SVGFEImageElement":
3048 return new SVGFEImageElementWrappingImplementation._wrap(raw);
3049 case "SVGFilterElement":
3050 return new SVGFilterElementWrappingImplementation._wrap(raw);
3051 case "SVGForeignObjectElement":
3052 return new SVGForeignObjectElementWrappingImplementation._wrap(raw);
3053 case "SVGGElement":
3054 return new SVGGElementWrappingImplementation._wrap(raw);
3055 case "SVGImageElement":
3056 return new SVGImageElementWrappingImplementation._wrap(raw);
3057 case "SVGLangSpace":
3058 return new SVGLangSpaceWrappingImplementation._wrap(raw);
3059 case "SVGLineElement":
3060 return new SVGLineElementWrappingImplementation._wrap(raw);
3061 case "SVGMarkerElement":
3062 return new SVGMarkerElementWrappingImplementation._wrap(raw);
3063 case "SVGMaskElement":
3064 return new SVGMaskElementWrappingImplementation._wrap(raw);
3065 case "SVGPathElement":
3066 return new SVGPathElementWrappingImplementation._wrap(raw);
3067 case "SVGPatternElement":
3068 return new SVGPatternElementWrappingImplementation._wrap(raw);
3069 case "SVGPolygonElement":
3070 return new SVGPolygonElementWrappingImplementation._wrap(raw);
3071 case "SVGPolylineElement":
3072 return new SVGPolylineElementWrappingImplementation._wrap(raw);
3073 case "SVGRectElement":
3074 return new SVGRectElementWrappingImplementation._wrap(raw);
3075 case "SVGSVGElement":
3076 return new SVGSVGElementWrappingImplementation._wrap(raw);
3077 case "SVGStyleElement":
3078 return new SVGStyleElementWrappingImplementation._wrap(raw);
3079 case "SVGSwitchElement":
3080 return new SVGSwitchElementWrappingImplementation._wrap(raw);
3081 case "SVGSymbolElement":
3082 return new SVGSymbolElementWrappingImplementation._wrap(raw);
3083 case "SVGTRefElement":
3084 return new SVGTRefElementWrappingImplementation._wrap(raw);
3085 case "SVGTSpanElement":
3086 return new SVGTSpanElementWrappingImplementation._wrap(raw);
3087 case "SVGTextContentElement":
3088 return new SVGTextContentElementWrappingImplementation._wrap(raw);
3089 case "SVGTextElement":
3090 return new SVGTextElementWrappingImplementation._wrap(raw);
3091 case "SVGTextPathElement":
3092 return new SVGTextPathElementWrappingImplementation._wrap(raw);
3093 case "SVGTextPositioningElement":
3094 return new SVGTextPositioningElementWrappingImplementation._wrap(raw);
3095 case "SVGTitleElement":
3096 return new SVGTitleElementWrappingImplementation._wrap(raw);
3097 case "SVGUseElement":
3098 return new SVGUseElementWrappingImplementation._wrap(raw);
3099 default:
3100 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
3101 }
3102 }
3103
3104 static SVGLength wrapSVGLength(raw) {
3105 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGLengthWrappingImplementation._wrap(raw);
3106 }
3107
3108 static SVGLengthList wrapSVGLengthList(raw) {
3109 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGLengthListWrappingImplementation._wrap(raw);
3110 }
3111
3112 static SVGLineElement wrapSVGLineElement(raw) {
3113 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGLineElementWrappingImplementation._wrap(raw);
3114 }
3115
3116 static SVGLinearGradientElement wrapSVGLinearGradientElement(raw) {
3117 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGLinearGradientElementWrappingImplementation._wrap(raw );
3118 }
3119
3120 static SVGLocatable wrapSVGLocatable(raw) {
3121 if (raw === null) { return null; }
3122 if (raw.dartObjectLocalStorage !== null) {
3123 return raw.dartObjectLocalStorage;
3124 }
3125 switch (raw.typeName) {
3126 case "SVGAElement":
3127 return new SVGAElementWrappingImplementation._wrap(raw);
3128 case "SVGCircleElement":
3129 return new SVGCircleElementWrappingImplementation._wrap(raw);
3130 case "SVGClipPathElement":
3131 return new SVGClipPathElementWrappingImplementation._wrap(raw);
3132 case "SVGDefsElement":
3133 return new SVGDefsElementWrappingImplementation._wrap(raw);
3134 case "SVGEllipseElement":
3135 return new SVGEllipseElementWrappingImplementation._wrap(raw);
3136 case "SVGForeignObjectElement":
3137 return new SVGForeignObjectElementWrappingImplementation._wrap(raw);
3138 case "SVGGElement":
3139 return new SVGGElementWrappingImplementation._wrap(raw);
3140 case "SVGImageElement":
3141 return new SVGImageElementWrappingImplementation._wrap(raw);
3142 case "SVGLineElement":
3143 return new SVGLineElementWrappingImplementation._wrap(raw);
3144 case "SVGLocatable":
3145 return new SVGLocatableWrappingImplementation._wrap(raw);
3146 case "SVGPathElement":
3147 return new SVGPathElementWrappingImplementation._wrap(raw);
3148 case "SVGPolygonElement":
3149 return new SVGPolygonElementWrappingImplementation._wrap(raw);
3150 case "SVGPolylineElement":
3151 return new SVGPolylineElementWrappingImplementation._wrap(raw);
3152 case "SVGRectElement":
3153 return new SVGRectElementWrappingImplementation._wrap(raw);
3154 case "SVGSVGElement":
3155 return new SVGSVGElementWrappingImplementation._wrap(raw);
3156 case "SVGSwitchElement":
3157 return new SVGSwitchElementWrappingImplementation._wrap(raw);
3158 case "SVGTextElement":
3159 return new SVGTextElementWrappingImplementation._wrap(raw);
3160 case "SVGTransformable":
3161 return new SVGTransformableWrappingImplementation._wrap(raw);
3162 case "SVGUseElement":
3163 return new SVGUseElementWrappingImplementation._wrap(raw);
3164 default:
3165 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
3166 }
3167 }
3168
3169 static SVGMPathElement wrapSVGMPathElement(raw) {
3170 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGMPathElementWrappingImplementation._wrap(raw);
3171 }
3172
3173 static SVGMarkerElement wrapSVGMarkerElement(raw) {
3174 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGMarkerElementWrappingImplementation._wrap(raw);
3175 }
3176
3177 static SVGMaskElement wrapSVGMaskElement(raw) {
3178 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGMaskElementWrappingImplementation._wrap(raw);
3179 }
3180
3181 static SVGMatrix wrapSVGMatrix(raw) {
3182 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGMatrixWrappingImplementation._wrap(raw);
3183 }
3184
3185 static SVGMetadataElement wrapSVGMetadataElement(raw) {
3186 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGMetadataElementWrappingImplementation._wrap(raw);
3187 }
3188
3189 static SVGMissingGlyphElement wrapSVGMissingGlyphElement(raw) {
3190 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGMissingGlyphElementWrappingImplementation._wrap(raw);
3191 }
3192
3193 static SVGNumber wrapSVGNumber(raw) {
3194 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGNumberWrappingImplementation._wrap(raw);
3195 }
3196
3197 static SVGNumberList wrapSVGNumberList(raw) {
3198 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGNumberListWrappingImplementation._wrap(raw);
3199 }
3200
3201 static SVGPaint wrapSVGPaint(raw) {
3202 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPaintWrappingImplementation._wrap(raw);
3203 }
3204
3205 static SVGPathElement wrapSVGPathElement(raw) {
3206 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathElementWrappingImplementation._wrap(raw);
3207 }
3208
3209 static SVGPathSeg wrapSVGPathSeg(raw) {
3210 if (raw === null) { return null; }
3211 if (raw.dartObjectLocalStorage !== null) {
3212 return raw.dartObjectLocalStorage;
3213 }
3214 switch (raw.typeName) {
3215 case "SVGPathSeg":
3216 return new SVGPathSegWrappingImplementation._wrap(raw);
3217 case "SVGPathSegArcAbs":
3218 return new SVGPathSegArcAbsWrappingImplementation._wrap(raw);
3219 case "SVGPathSegArcRel":
3220 return new SVGPathSegArcRelWrappingImplementation._wrap(raw);
3221 case "SVGPathSegClosePath":
3222 return new SVGPathSegClosePathWrappingImplementation._wrap(raw);
3223 case "SVGPathSegCurvetoCubicAbs":
3224 return new SVGPathSegCurvetoCubicAbsWrappingImplementation._wrap(raw);
3225 case "SVGPathSegCurvetoCubicRel":
3226 return new SVGPathSegCurvetoCubicRelWrappingImplementation._wrap(raw);
3227 case "SVGPathSegCurvetoCubicSmoothAbs":
3228 return new SVGPathSegCurvetoCubicSmoothAbsWrappingImplementation._wrap(r aw);
3229 case "SVGPathSegCurvetoCubicSmoothRel":
3230 return new SVGPathSegCurvetoCubicSmoothRelWrappingImplementation._wrap(r aw);
3231 case "SVGPathSegCurvetoQuadraticAbs":
3232 return new SVGPathSegCurvetoQuadraticAbsWrappingImplementation._wrap(raw );
3233 case "SVGPathSegCurvetoQuadraticRel":
3234 return new SVGPathSegCurvetoQuadraticRelWrappingImplementation._wrap(raw );
3235 case "SVGPathSegCurvetoQuadraticSmoothAbs":
3236 return new SVGPathSegCurvetoQuadraticSmoothAbsWrappingImplementation._wr ap(raw);
3237 case "SVGPathSegCurvetoQuadraticSmoothRel":
3238 return new SVGPathSegCurvetoQuadraticSmoothRelWrappingImplementation._wr ap(raw);
3239 case "SVGPathSegLinetoAbs":
3240 return new SVGPathSegLinetoAbsWrappingImplementation._wrap(raw);
3241 case "SVGPathSegLinetoHorizontalAbs":
3242 return new SVGPathSegLinetoHorizontalAbsWrappingImplementation._wrap(raw );
3243 case "SVGPathSegLinetoHorizontalRel":
3244 return new SVGPathSegLinetoHorizontalRelWrappingImplementation._wrap(raw );
3245 case "SVGPathSegLinetoRel":
3246 return new SVGPathSegLinetoRelWrappingImplementation._wrap(raw);
3247 case "SVGPathSegLinetoVerticalAbs":
3248 return new SVGPathSegLinetoVerticalAbsWrappingImplementation._wrap(raw);
3249 case "SVGPathSegLinetoVerticalRel":
3250 return new SVGPathSegLinetoVerticalRelWrappingImplementation._wrap(raw);
3251 case "SVGPathSegMovetoAbs":
3252 return new SVGPathSegMovetoAbsWrappingImplementation._wrap(raw);
3253 case "SVGPathSegMovetoRel":
3254 return new SVGPathSegMovetoRelWrappingImplementation._wrap(raw);
3255 default:
3256 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
3257 }
3258 }
3259
3260 static SVGPathSegArcAbs wrapSVGPathSegArcAbs(raw) {
3261 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegArcAbsWrappingImplementation._wrap(raw);
3262 }
3263
3264 static SVGPathSegArcRel wrapSVGPathSegArcRel(raw) {
3265 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegArcRelWrappingImplementation._wrap(raw);
3266 }
3267
3268 static SVGPathSegClosePath wrapSVGPathSegClosePath(raw) {
3269 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegClosePathWrappingImplementation._wrap(raw);
3270 }
3271
3272 static SVGPathSegCurvetoCubicAbs wrapSVGPathSegCurvetoCubicAbs(raw) {
3273 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegCurvetoCubicAbsWrappingImplementation._wrap(ra w);
3274 }
3275
3276 static SVGPathSegCurvetoCubicRel wrapSVGPathSegCurvetoCubicRel(raw) {
3277 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegCurvetoCubicRelWrappingImplementation._wrap(ra w);
3278 }
3279
3280 static SVGPathSegCurvetoCubicSmoothAbs wrapSVGPathSegCurvetoCubicSmoothAbs(raw ) {
3281 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegCurvetoCubicSmoothAbsWrappingImplementation._w rap(raw);
3282 }
3283
3284 static SVGPathSegCurvetoCubicSmoothRel wrapSVGPathSegCurvetoCubicSmoothRel(raw ) {
3285 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegCurvetoCubicSmoothRelWrappingImplementation._w rap(raw);
3286 }
3287
3288 static SVGPathSegCurvetoQuadraticAbs wrapSVGPathSegCurvetoQuadraticAbs(raw) {
3289 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegCurvetoQuadraticAbsWrappingImplementation._wra p(raw);
3290 }
3291
3292 static SVGPathSegCurvetoQuadraticRel wrapSVGPathSegCurvetoQuadraticRel(raw) {
3293 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegCurvetoQuadraticRelWrappingImplementation._wra p(raw);
3294 }
3295
3296 static SVGPathSegCurvetoQuadraticSmoothAbs wrapSVGPathSegCurvetoQuadraticSmoot hAbs(raw) {
3297 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegCurvetoQuadraticSmoothAbsWrappingImplementatio n._wrap(raw);
3298 }
3299
3300 static SVGPathSegCurvetoQuadraticSmoothRel wrapSVGPathSegCurvetoQuadraticSmoot hRel(raw) {
3301 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegCurvetoQuadraticSmoothRelWrappingImplementatio n._wrap(raw);
3302 }
3303
3304 static SVGPathSegLinetoAbs wrapSVGPathSegLinetoAbs(raw) {
3305 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegLinetoAbsWrappingImplementation._wrap(raw);
3306 }
3307
3308 static SVGPathSegLinetoHorizontalAbs wrapSVGPathSegLinetoHorizontalAbs(raw) {
3309 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegLinetoHorizontalAbsWrappingImplementation._wra p(raw);
3310 }
3311
3312 static SVGPathSegLinetoHorizontalRel wrapSVGPathSegLinetoHorizontalRel(raw) {
3313 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegLinetoHorizontalRelWrappingImplementation._wra p(raw);
3314 }
3315
3316 static SVGPathSegLinetoRel wrapSVGPathSegLinetoRel(raw) {
3317 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegLinetoRelWrappingImplementation._wrap(raw);
3318 }
3319
3320 static SVGPathSegLinetoVerticalAbs wrapSVGPathSegLinetoVerticalAbs(raw) {
3321 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegLinetoVerticalAbsWrappingImplementation._wrap( raw);
3322 }
3323
3324 static SVGPathSegLinetoVerticalRel wrapSVGPathSegLinetoVerticalRel(raw) {
3325 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegLinetoVerticalRelWrappingImplementation._wrap( raw);
3326 }
3327
3328 static SVGPathSegList wrapSVGPathSegList(raw) {
3329 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegListWrappingImplementation._wrap(raw);
3330 }
3331
3332 static SVGPathSegMovetoAbs wrapSVGPathSegMovetoAbs(raw) {
3333 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegMovetoAbsWrappingImplementation._wrap(raw);
3334 }
3335
3336 static SVGPathSegMovetoRel wrapSVGPathSegMovetoRel(raw) {
3337 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPathSegMovetoRelWrappingImplementation._wrap(raw);
3338 }
3339
3340 static SVGPatternElement wrapSVGPatternElement(raw) {
3341 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPatternElementWrappingImplementation._wrap(raw);
3342 }
3343
3344 static SVGPoint wrapSVGPoint(raw) {
3345 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPointWrappingImplementation._wrap(raw);
3346 }
3347
3348 static SVGPointList wrapSVGPointList(raw) {
3349 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPointListWrappingImplementation._wrap(raw);
3350 }
3351
3352 static SVGPolygonElement wrapSVGPolygonElement(raw) {
3353 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPolygonElementWrappingImplementation._wrap(raw);
3354 }
3355
3356 static SVGPolylineElement wrapSVGPolylineElement(raw) {
3357 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPolylineElementWrappingImplementation._wrap(raw);
3358 }
3359
3360 static SVGPreserveAspectRatio wrapSVGPreserveAspectRatio(raw) {
3361 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGPreserveAspectRatioWrappingImplementation._wrap(raw);
3362 }
3363
3364 static SVGRadialGradientElement wrapSVGRadialGradientElement(raw) {
3365 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGRadialGradientElementWrappingImplementation._wrap(raw );
3366 }
3367
3368 static SVGRect wrapSVGRect(raw) {
3369 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGRectWrappingImplementation._wrap(raw);
3370 }
3371
3372 static SVGRectElement wrapSVGRectElement(raw) {
3373 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGRectElementWrappingImplementation._wrap(raw);
3374 }
3375
3376 static SVGRenderingIntent wrapSVGRenderingIntent(raw) {
3377 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGRenderingIntentWrappingImplementation._wrap(raw);
3378 }
3379
3380 static SVGSVGElement wrapSVGSVGElement(raw) {
3381 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGSVGElementWrappingImplementation._wrap(raw);
3382 }
3383
3384 static SVGScriptElement wrapSVGScriptElement(raw) {
3385 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGScriptElementWrappingImplementation._wrap(raw);
3386 }
3387
3388 static SVGSetElement wrapSVGSetElement(raw) {
3389 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGSetElementWrappingImplementation._wrap(raw);
3390 }
3391
3392 static SVGStopElement wrapSVGStopElement(raw) {
3393 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGStopElementWrappingImplementation._wrap(raw);
3394 }
3395
3396 static SVGStringList wrapSVGStringList(raw) {
3397 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGStringListWrappingImplementation._wrap(raw);
3398 }
3399
3400 static SVGStylable wrapSVGStylable(raw) {
3401 if (raw === null) { return null; }
3402 if (raw.dartObjectLocalStorage !== null) {
3403 return raw.dartObjectLocalStorage;
3404 }
3405 switch (raw.typeName) {
3406 case "SVGAElement":
3407 return new SVGAElementWrappingImplementation._wrap(raw);
3408 case "SVGAltGlyphElement":
3409 return new SVGAltGlyphElementWrappingImplementation._wrap(raw);
3410 case "SVGCircleElement":
3411 return new SVGCircleElementWrappingImplementation._wrap(raw);
3412 case "SVGClipPathElement":
3413 return new SVGClipPathElementWrappingImplementation._wrap(raw);
3414 case "SVGDefsElement":
3415 return new SVGDefsElementWrappingImplementation._wrap(raw);
3416 case "SVGDescElement":
3417 return new SVGDescElementWrappingImplementation._wrap(raw);
3418 case "SVGEllipseElement":
3419 return new SVGEllipseElementWrappingImplementation._wrap(raw);
3420 case "SVGFEBlendElement":
3421 return new SVGFEBlendElementWrappingImplementation._wrap(raw);
3422 case "SVGFEColorMatrixElement":
3423 return new SVGFEColorMatrixElementWrappingImplementation._wrap(raw);
3424 case "SVGFEComponentTransferElement":
3425 return new SVGFEComponentTransferElementWrappingImplementation._wrap(raw );
3426 /* Skipping SVGFECompositeElement*/
3427 case "SVGFEConvolveMatrixElement":
3428 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap(raw);
3429 case "SVGFEDiffuseLightingElement":
3430 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap(raw);
3431 case "SVGFEDisplacementMapElement":
3432 return new SVGFEDisplacementMapElementWrappingImplementation._wrap(raw);
3433 case "SVGFEDropShadowElement":
3434 return new SVGFEDropShadowElementWrappingImplementation._wrap(raw);
3435 case "SVGFEFloodElement":
3436 return new SVGFEFloodElementWrappingImplementation._wrap(raw);
3437 case "SVGFEGaussianBlurElement":
3438 return new SVGFEGaussianBlurElementWrappingImplementation._wrap(raw);
3439 case "SVGFEImageElement":
3440 return new SVGFEImageElementWrappingImplementation._wrap(raw);
3441 case "SVGFEMergeElement":
3442 return new SVGFEMergeElementWrappingImplementation._wrap(raw);
3443 /* Skipping SVGFEMorphologyElement*/
3444 case "SVGFEOffsetElement":
3445 return new SVGFEOffsetElementWrappingImplementation._wrap(raw);
3446 case "SVGFESpecularLightingElement":
3447 return new SVGFESpecularLightingElementWrappingImplementation._wrap(raw) ;
3448 case "SVGFETileElement":
3449 return new SVGFETileElementWrappingImplementation._wrap(raw);
3450 case "SVGFETurbulenceElement":
3451 return new SVGFETurbulenceElementWrappingImplementation._wrap(raw);
3452 case "SVGFilterElement":
3453 return new SVGFilterElementWrappingImplementation._wrap(raw);
3454 case "SVGFilterPrimitiveStandardAttributes":
3455 return new SVGFilterPrimitiveStandardAttributesWrappingImplementation._w rap(raw);
3456 case "SVGForeignObjectElement":
3457 return new SVGForeignObjectElementWrappingImplementation._wrap(raw);
3458 case "SVGGElement":
3459 return new SVGGElementWrappingImplementation._wrap(raw);
3460 case "SVGGlyphRefElement":
3461 return new SVGGlyphRefElementWrappingImplementation._wrap(raw);
3462 case "SVGGradientElement":
3463 return new SVGGradientElementWrappingImplementation._wrap(raw);
3464 case "SVGImageElement":
3465 return new SVGImageElementWrappingImplementation._wrap(raw);
3466 case "SVGLineElement":
3467 return new SVGLineElementWrappingImplementation._wrap(raw);
3468 case "SVGLinearGradientElement":
3469 return new SVGLinearGradientElementWrappingImplementation._wrap(raw);
3470 case "SVGMarkerElement":
3471 return new SVGMarkerElementWrappingImplementation._wrap(raw);
3472 case "SVGMaskElement":
3473 return new SVGMaskElementWrappingImplementation._wrap(raw);
3474 case "SVGPathElement":
3475 return new SVGPathElementWrappingImplementation._wrap(raw);
3476 case "SVGPatternElement":
3477 return new SVGPatternElementWrappingImplementation._wrap(raw);
3478 case "SVGPolygonElement":
3479 return new SVGPolygonElementWrappingImplementation._wrap(raw);
3480 case "SVGPolylineElement":
3481 return new SVGPolylineElementWrappingImplementation._wrap(raw);
3482 case "SVGRadialGradientElement":
3483 return new SVGRadialGradientElementWrappingImplementation._wrap(raw);
3484 case "SVGRectElement":
3485 return new SVGRectElementWrappingImplementation._wrap(raw);
3486 case "SVGSVGElement":
3487 return new SVGSVGElementWrappingImplementation._wrap(raw);
3488 case "SVGStopElement":
3489 return new SVGStopElementWrappingImplementation._wrap(raw);
3490 case "SVGStylable":
3491 return new SVGStylableWrappingImplementation._wrap(raw);
3492 case "SVGSwitchElement":
3493 return new SVGSwitchElementWrappingImplementation._wrap(raw);
3494 case "SVGSymbolElement":
3495 return new SVGSymbolElementWrappingImplementation._wrap(raw);
3496 case "SVGTRefElement":
3497 return new SVGTRefElementWrappingImplementation._wrap(raw);
3498 case "SVGTSpanElement":
3499 return new SVGTSpanElementWrappingImplementation._wrap(raw);
3500 case "SVGTextContentElement":
3501 return new SVGTextContentElementWrappingImplementation._wrap(raw);
3502 case "SVGTextElement":
3503 return new SVGTextElementWrappingImplementation._wrap(raw);
3504 case "SVGTextPathElement":
3505 return new SVGTextPathElementWrappingImplementation._wrap(raw);
3506 case "SVGTextPositioningElement":
3507 return new SVGTextPositioningElementWrappingImplementation._wrap(raw);
3508 case "SVGTitleElement":
3509 return new SVGTitleElementWrappingImplementation._wrap(raw);
3510 case "SVGUseElement":
3511 return new SVGUseElementWrappingImplementation._wrap(raw);
3512 default:
3513 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
3514 }
3515 }
3516
3517 static SVGStyleElement wrapSVGStyleElement(raw) {
3518 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGStyleElementWrappingImplementation._wrap(raw);
3519 }
3520
3521 static SVGSwitchElement wrapSVGSwitchElement(raw) {
3522 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGSwitchElementWrappingImplementation._wrap(raw);
3523 }
3524
3525 static SVGSymbolElement wrapSVGSymbolElement(raw) {
3526 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGSymbolElementWrappingImplementation._wrap(raw);
3527 }
3528
3529 static SVGTRefElement wrapSVGTRefElement(raw) {
3530 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGTRefElementWrappingImplementation._wrap(raw);
3531 }
3532
3533 static SVGTSpanElement wrapSVGTSpanElement(raw) {
3534 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGTSpanElementWrappingImplementation._wrap(raw);
3535 }
3536
3537 static SVGTests wrapSVGTests(raw) {
3538 if (raw === null) { return null; }
3539 if (raw.dartObjectLocalStorage !== null) {
3540 return raw.dartObjectLocalStorage;
3541 }
3542 switch (raw.typeName) {
3543 case "SVGAElement":
3544 return new SVGAElementWrappingImplementation._wrap(raw);
3545 case "SVGAltGlyphElement":
3546 return new SVGAltGlyphElementWrappingImplementation._wrap(raw);
3547 case "SVGAnimateColorElement":
3548 return new SVGAnimateColorElementWrappingImplementation._wrap(raw);
3549 case "SVGAnimateElement":
3550 return new SVGAnimateElementWrappingImplementation._wrap(raw);
3551 case "SVGAnimateMotionElement":
3552 return new SVGAnimateMotionElementWrappingImplementation._wrap(raw);
3553 case "SVGAnimateTransformElement":
3554 return new SVGAnimateTransformElementWrappingImplementation._wrap(raw);
3555 case "SVGAnimationElement":
3556 return new SVGAnimationElementWrappingImplementation._wrap(raw);
3557 case "SVGCircleElement":
3558 return new SVGCircleElementWrappingImplementation._wrap(raw);
3559 case "SVGClipPathElement":
3560 return new SVGClipPathElementWrappingImplementation._wrap(raw);
3561 case "SVGCursorElement":
3562 return new SVGCursorElementWrappingImplementation._wrap(raw);
3563 case "SVGDefsElement":
3564 return new SVGDefsElementWrappingImplementation._wrap(raw);
3565 case "SVGEllipseElement":
3566 return new SVGEllipseElementWrappingImplementation._wrap(raw);
3567 case "SVGForeignObjectElement":
3568 return new SVGForeignObjectElementWrappingImplementation._wrap(raw);
3569 case "SVGGElement":
3570 return new SVGGElementWrappingImplementation._wrap(raw);
3571 case "SVGImageElement":
3572 return new SVGImageElementWrappingImplementation._wrap(raw);
3573 case "SVGLineElement":
3574 return new SVGLineElementWrappingImplementation._wrap(raw);
3575 case "SVGMaskElement":
3576 return new SVGMaskElementWrappingImplementation._wrap(raw);
3577 case "SVGPathElement":
3578 return new SVGPathElementWrappingImplementation._wrap(raw);
3579 case "SVGPatternElement":
3580 return new SVGPatternElementWrappingImplementation._wrap(raw);
3581 case "SVGPolygonElement":
3582 return new SVGPolygonElementWrappingImplementation._wrap(raw);
3583 case "SVGPolylineElement":
3584 return new SVGPolylineElementWrappingImplementation._wrap(raw);
3585 case "SVGRectElement":
3586 return new SVGRectElementWrappingImplementation._wrap(raw);
3587 case "SVGSVGElement":
3588 return new SVGSVGElementWrappingImplementation._wrap(raw);
3589 case "SVGSetElement":
3590 return new SVGSetElementWrappingImplementation._wrap(raw);
3591 case "SVGSwitchElement":
3592 return new SVGSwitchElementWrappingImplementation._wrap(raw);
3593 case "SVGTRefElement":
3594 return new SVGTRefElementWrappingImplementation._wrap(raw);
3595 case "SVGTSpanElement":
3596 return new SVGTSpanElementWrappingImplementation._wrap(raw);
3597 case "SVGTests":
3598 return new SVGTestsWrappingImplementation._wrap(raw);
3599 case "SVGTextContentElement":
3600 return new SVGTextContentElementWrappingImplementation._wrap(raw);
3601 case "SVGTextElement":
3602 return new SVGTextElementWrappingImplementation._wrap(raw);
3603 case "SVGTextPathElement":
3604 return new SVGTextPathElementWrappingImplementation._wrap(raw);
3605 case "SVGTextPositioningElement":
3606 return new SVGTextPositioningElementWrappingImplementation._wrap(raw);
3607 case "SVGUseElement":
3608 return new SVGUseElementWrappingImplementation._wrap(raw);
3609 default:
3610 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
3611 }
3612 }
3613
3614 static SVGTextContentElement wrapSVGTextContentElement(raw) {
3615 if (raw === null) { return null; }
3616 if (raw.dartObjectLocalStorage !== null) {
3617 return raw.dartObjectLocalStorage;
3618 }
3619 switch (raw.typeName) {
3620 case "SVGAltGlyphElement":
3621 return new SVGAltGlyphElementWrappingImplementation._wrap(raw);
3622 case "SVGTRefElement":
3623 return new SVGTRefElementWrappingImplementation._wrap(raw);
3624 case "SVGTSpanElement":
3625 return new SVGTSpanElementWrappingImplementation._wrap(raw);
3626 case "SVGTextContentElement":
3627 return new SVGTextContentElementWrappingImplementation._wrap(raw);
3628 case "SVGTextElement":
3629 return new SVGTextElementWrappingImplementation._wrap(raw);
3630 case "SVGTextPathElement":
3631 return new SVGTextPathElementWrappingImplementation._wrap(raw);
3632 case "SVGTextPositioningElement":
3633 return new SVGTextPositioningElementWrappingImplementation._wrap(raw);
3634 default:
3635 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
3636 }
3637 }
3638
3639 static SVGTextElement wrapSVGTextElement(raw) {
3640 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGTextElementWrappingImplementation._wrap(raw);
3641 }
3642
3643 static SVGTextPathElement wrapSVGTextPathElement(raw) {
3644 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGTextPathElementWrappingImplementation._wrap(raw);
3645 }
3646
3647 static SVGTextPositioningElement wrapSVGTextPositioningElement(raw) {
3648 if (raw === null) { return null; }
3649 if (raw.dartObjectLocalStorage !== null) {
3650 return raw.dartObjectLocalStorage;
3651 }
3652 switch (raw.typeName) {
3653 case "SVGAltGlyphElement":
3654 return new SVGAltGlyphElementWrappingImplementation._wrap(raw);
3655 case "SVGTRefElement":
3656 return new SVGTRefElementWrappingImplementation._wrap(raw);
3657 case "SVGTSpanElement":
3658 return new SVGTSpanElementWrappingImplementation._wrap(raw);
3659 case "SVGTextElement":
3660 return new SVGTextElementWrappingImplementation._wrap(raw);
3661 case "SVGTextPositioningElement":
3662 return new SVGTextPositioningElementWrappingImplementation._wrap(raw);
3663 default:
3664 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
3665 }
3666 }
3667
3668 static SVGTitleElement wrapSVGTitleElement(raw) {
3669 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGTitleElementWrappingImplementation._wrap(raw);
3670 }
3671
3672 static SVGTransform wrapSVGTransform(raw) {
3673 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGTransformWrappingImplementation._wrap(raw);
3674 }
3675
3676 static SVGTransformList wrapSVGTransformList(raw) {
3677 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGTransformListWrappingImplementation._wrap(raw);
3678 }
3679
3680 static SVGTransformable wrapSVGTransformable(raw) {
3681 if (raw === null) { return null; }
3682 if (raw.dartObjectLocalStorage !== null) {
3683 return raw.dartObjectLocalStorage;
3684 }
3685 switch (raw.typeName) {
3686 case "SVGAElement":
3687 return new SVGAElementWrappingImplementation._wrap(raw);
3688 case "SVGCircleElement":
3689 return new SVGCircleElementWrappingImplementation._wrap(raw);
3690 case "SVGClipPathElement":
3691 return new SVGClipPathElementWrappingImplementation._wrap(raw);
3692 case "SVGDefsElement":
3693 return new SVGDefsElementWrappingImplementation._wrap(raw);
3694 case "SVGEllipseElement":
3695 return new SVGEllipseElementWrappingImplementation._wrap(raw);
3696 case "SVGForeignObjectElement":
3697 return new SVGForeignObjectElementWrappingImplementation._wrap(raw);
3698 case "SVGGElement":
3699 return new SVGGElementWrappingImplementation._wrap(raw);
3700 case "SVGImageElement":
3701 return new SVGImageElementWrappingImplementation._wrap(raw);
3702 case "SVGLineElement":
3703 return new SVGLineElementWrappingImplementation._wrap(raw);
3704 case "SVGPathElement":
3705 return new SVGPathElementWrappingImplementation._wrap(raw);
3706 case "SVGPolygonElement":
3707 return new SVGPolygonElementWrappingImplementation._wrap(raw);
3708 case "SVGPolylineElement":
3709 return new SVGPolylineElementWrappingImplementation._wrap(raw);
3710 case "SVGRectElement":
3711 return new SVGRectElementWrappingImplementation._wrap(raw);
3712 case "SVGSwitchElement":
3713 return new SVGSwitchElementWrappingImplementation._wrap(raw);
3714 case "SVGTextElement":
3715 return new SVGTextElementWrappingImplementation._wrap(raw);
3716 case "SVGTransformable":
3717 return new SVGTransformableWrappingImplementation._wrap(raw);
3718 case "SVGUseElement":
3719 return new SVGUseElementWrappingImplementation._wrap(raw);
3720 default:
3721 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
3722 }
3723 }
3724
3725 static SVGURIReference wrapSVGURIReference(raw) {
3726 if (raw === null) { return null; }
3727 if (raw.dartObjectLocalStorage !== null) {
3728 return raw.dartObjectLocalStorage;
3729 }
3730 switch (raw.typeName) {
3731 case "SVGAElement":
3732 return new SVGAElementWrappingImplementation._wrap(raw);
3733 case "SVGAltGlyphElement":
3734 return new SVGAltGlyphElementWrappingImplementation._wrap(raw);
3735 case "SVGCursorElement":
3736 return new SVGCursorElementWrappingImplementation._wrap(raw);
3737 case "SVGFEImageElement":
3738 return new SVGFEImageElementWrappingImplementation._wrap(raw);
3739 case "SVGFilterElement":
3740 return new SVGFilterElementWrappingImplementation._wrap(raw);
3741 case "SVGGlyphRefElement":
3742 return new SVGGlyphRefElementWrappingImplementation._wrap(raw);
3743 case "SVGGradientElement":
3744 return new SVGGradientElementWrappingImplementation._wrap(raw);
3745 case "SVGImageElement":
3746 return new SVGImageElementWrappingImplementation._wrap(raw);
3747 case "SVGLinearGradientElement":
3748 return new SVGLinearGradientElementWrappingImplementation._wrap(raw);
3749 case "SVGMPathElement":
3750 return new SVGMPathElementWrappingImplementation._wrap(raw);
3751 case "SVGPatternElement":
3752 return new SVGPatternElementWrappingImplementation._wrap(raw);
3753 case "SVGRadialGradientElement":
3754 return new SVGRadialGradientElementWrappingImplementation._wrap(raw);
3755 case "SVGScriptElement":
3756 return new SVGScriptElementWrappingImplementation._wrap(raw);
3757 case "SVGTRefElement":
3758 return new SVGTRefElementWrappingImplementation._wrap(raw);
3759 case "SVGTextPathElement":
3760 return new SVGTextPathElementWrappingImplementation._wrap(raw);
3761 case "SVGURIReference":
3762 return new SVGURIReferenceWrappingImplementation._wrap(raw);
3763 case "SVGUseElement":
3764 return new SVGUseElementWrappingImplementation._wrap(raw);
3765 default:
3766 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
3767 }
3768 }
3769
3770 static SVGUnitTypes wrapSVGUnitTypes(raw) {
3771 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGUnitTypesWrappingImplementation._wrap(raw);
3772 }
3773
3774 static SVGUseElement wrapSVGUseElement(raw) {
3775 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGUseElementWrappingImplementation._wrap(raw);
3776 }
3777
3778 static SVGVKernElement wrapSVGVKernElement(raw) {
3779 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGVKernElementWrappingImplementation._wrap(raw);
3780 }
3781
3782 static SVGViewElement wrapSVGViewElement(raw) {
3783 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGViewElementWrappingImplementation._wrap(raw);
3784 }
3785
3786 static SVGViewSpec wrapSVGViewSpec(raw) {
3787 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGViewSpecWrappingImplementation._wrap(raw);
3788 }
3789
3790 static SVGZoomAndPan wrapSVGZoomAndPan(raw) {
3791 if (raw === null) { return null; }
3792 if (raw.dartObjectLocalStorage !== null) {
3793 return raw.dartObjectLocalStorage;
3794 }
3795 switch (raw.typeName) {
3796 case "SVGSVGElement":
3797 return new SVGSVGElementWrappingImplementation._wrap(raw);
3798 case "SVGViewElement":
3799 return new SVGViewElementWrappingImplementation._wrap(raw);
3800 case "SVGViewSpec":
3801 return new SVGViewSpecWrappingImplementation._wrap(raw);
3802 case "SVGZoomAndPan":
3803 return new SVGZoomAndPanWrappingImplementation._wrap(raw);
3804 default:
3805 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
3806 }
3807 }
3808
3809 static SVGZoomEvent wrapSVGZoomEvent(raw) {
3810 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SVGZoomEventWrappingImplementation._wrap(raw);
3811 }
3812
3813 static Screen wrapScreen(raw) {
3814 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ScreenWrappingImplementation._wrap(raw);
3815 }
3816
3817 static ScriptElement wrapScriptElement(raw) {
3818 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ScriptElementWrappingImplementation._wrap(raw);
3819 }
3820
3821 static SelectElement wrapSelectElement(raw) {
3822 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SelectElementWrappingImplementation._wrap(raw);
3823 }
3824
3825 static SharedWorker wrapSharedWorker(raw) {
3826 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SharedWorkerWrappingImplementation._wrap(raw);
3827 }
3828
3829 static SourceElement wrapSourceElement(raw) {
3830 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SourceElementWrappingImplementation._wrap(raw);
3831 }
3832
3833 static SpanElement wrapSpanElement(raw) {
3834 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SpanElementWrappingImplementation._wrap(raw);
3835 }
3836
3837 static SpeechInputEvent wrapSpeechInputEvent(raw) {
3838 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SpeechInputEventWrappingImplementation._wrap(raw);
3839 }
3840
3841 static SpeechInputResult wrapSpeechInputResult(raw) {
3842 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SpeechInputResultWrappingImplementation._wrap(raw);
3843 }
3844
3845 static SpeechInputResultList wrapSpeechInputResultList(raw) {
3846 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new SpeechInputResultListWrappingImplementation._wrap(raw);
3847 }
3848
3849 static Storage wrapStorage(raw) {
3850 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new StorageWrappingImplementation._wrap(raw);
3851 }
3852
3853 static StorageEvent wrapStorageEvent(raw) {
3854 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new StorageEventWrappingImplementation._wrap(raw);
3855 }
3856
3857 static StorageInfo wrapStorageInfo(raw) {
3858 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new StorageInfoWrappingImplementation._wrap(raw);
3859 }
3860
3861 // Skipped StorageInfoErrorCallback
3862 // Skipped StorageInfoQuotaCallback
3863 // Skipped StorageInfoUsageCallback
3864 // Skipped StringCallback
3865 static StyleElement wrapStyleElement(raw) {
3866 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new StyleElementWrappingImplementation._wrap(raw);
3867 }
3868
3869 static StyleMedia wrapStyleMedia(raw) {
3870 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new StyleMediaWrappingImplementation._wrap(raw);
3871 }
3872
3873 static StyleSheet wrapStyleSheet(raw) {
3874 if (raw === null) { return null; }
3875 if (raw.dartObjectLocalStorage !== null) {
3876 return raw.dartObjectLocalStorage;
3877 }
3878 switch (raw.typeName) {
3879 case "CSSStyleSheet":
3880 return new CSSStyleSheetWrappingImplementation._wrap(raw);
3881 case "StyleSheet":
3882 return new StyleSheetWrappingImplementation._wrap(raw);
3883 default:
3884 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
3885 }
3886 }
3887
3888 static StyleSheetList wrapStyleSheetList(raw) {
3889 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new StyleSheetListWrappingImplementation._wrap(raw);
3890 }
3891
3892 static TableCaptionElement wrapTableCaptionElement(raw) {
3893 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TableCaptionElementWrappingImplementation._wrap(raw);
3894 }
3895
3896 static TableCellElement wrapTableCellElement(raw) {
3897 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TableCellElementWrappingImplementation._wrap(raw);
3898 }
3899
3900 static TableColElement wrapTableColElement(raw) {
3901 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TableColElementWrappingImplementation._wrap(raw);
3902 }
3903
3904 static TableElement wrapTableElement(raw) {
3905 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TableElementWrappingImplementation._wrap(raw);
3906 }
3907
3908 static TableRowElement wrapTableRowElement(raw) {
3909 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TableRowElementWrappingImplementation._wrap(raw);
3910 }
3911
3912 static TableSectionElement wrapTableSectionElement(raw) {
3913 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TableSectionElementWrappingImplementation._wrap(raw);
3914 }
3915
3916 static Text wrapText(raw) {
3917 if (raw === null) { return null; }
3918 if (raw.dartObjectLocalStorage !== null) {
3919 return raw.dartObjectLocalStorage;
3920 }
3921 switch (raw.typeName) {
3922 case "CDATASection":
3923 return new CDATASectionWrappingImplementation._wrap(raw);
3924 case "Text":
3925 return new TextWrappingImplementation._wrap(raw);
3926 default:
3927 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
3928 }
3929 }
3930
3931 static TextAreaElement wrapTextAreaElement(raw) {
3932 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TextAreaElementWrappingImplementation._wrap(raw);
3933 }
3934
3935 static TextEvent wrapTextEvent(raw) {
3936 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TextEventWrappingImplementation._wrap(raw);
3937 }
3938
3939 static TextMetrics wrapTextMetrics(raw) {
3940 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TextMetricsWrappingImplementation._wrap(raw);
3941 }
3942
3943 static TextTrack wrapTextTrack(raw) {
3944 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TextTrackWrappingImplementation._wrap(raw);
3945 }
3946
3947 static TextTrackCue wrapTextTrackCue(raw) {
3948 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TextTrackCueWrappingImplementation._wrap(raw);
3949 }
3950
3951 static TextTrackCueList wrapTextTrackCueList(raw) {
3952 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TextTrackCueListWrappingImplementation._wrap(raw);
3953 }
3954
3955 static TimeRanges wrapTimeRanges(raw) {
3956 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TimeRangesWrappingImplementation._wrap(raw);
3957 }
3958
3959 static TitleElement wrapTitleElement(raw) {
3960 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TitleElementWrappingImplementation._wrap(raw);
3961 }
3962
3963 static Touch wrapTouch(raw) {
3964 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TouchWrappingImplementation._wrap(raw);
3965 }
3966
3967 static TouchEvent wrapTouchEvent(raw) {
3968 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TouchEventWrappingImplementation._wrap(raw);
3969 }
3970
3971 static TouchList wrapTouchList(raw) {
3972 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TouchListWrappingImplementation._wrap(raw);
3973 }
3974
3975 static TrackElement wrapTrackElement(raw) {
3976 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TrackElementWrappingImplementation._wrap(raw);
3977 }
3978
3979 static TransitionEvent wrapTransitionEvent(raw) {
3980 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new TransitionEventWrappingImplementation._wrap(raw);
3981 }
3982
3983 static UIEvent wrapUIEvent(raw) {
3984 if (raw === null) { return null; }
3985 if (raw.dartObjectLocalStorage !== null) {
3986 return raw.dartObjectLocalStorage;
3987 }
3988 switch (raw.typeName) {
3989 case "CompositionEvent":
3990 return new CompositionEventWrappingImplementation._wrap(raw);
3991 case "KeyboardEvent":
3992 return new KeyboardEventWrappingImplementation._wrap(raw);
3993 case "MouseEvent":
3994 return new MouseEventWrappingImplementation._wrap(raw);
3995 case "SVGZoomEvent":
3996 return new SVGZoomEventWrappingImplementation._wrap(raw);
3997 case "TextEvent":
3998 return new TextEventWrappingImplementation._wrap(raw);
3999 case "TouchEvent":
4000 return new TouchEventWrappingImplementation._wrap(raw);
4001 case "UIEvent":
4002 return new UIEventWrappingImplementation._wrap(raw);
4003 case "WheelEvent":
4004 return new WheelEventWrappingImplementation._wrap(raw);
4005 default:
4006 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
4007 }
4008 }
4009
4010 static UListElement wrapUListElement(raw) {
4011 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new UListElementWrappingImplementation._wrap(raw);
4012 }
4013
4014 static Uint16Array wrapUint16Array(raw) {
4015 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new Uint16ArrayWrappingImplementation._wrap(raw);
4016 }
4017
4018 static Uint32Array wrapUint32Array(raw) {
4019 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new Uint32ArrayWrappingImplementation._wrap(raw);
4020 }
4021
4022 static Uint8Array wrapUint8Array(raw) {
4023 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new Uint8ArrayWrappingImplementation._wrap(raw);
4024 }
4025
4026 static UnknownElement wrapUnknownElement(raw) {
4027 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new UnknownElementWrappingImplementation._wrap(raw);
4028 }
4029
4030 static ValidityState wrapValidityState(raw) {
4031 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new ValidityStateWrappingImplementation._wrap(raw);
4032 }
4033
4034 static VideoElement wrapVideoElement(raw) {
4035 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new VideoElementWrappingImplementation._wrap(raw);
4036 }
4037
4038 static VoidCallback wrapVoidCallback(raw) {
4039 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new VoidCallbackWrappingImplementation._wrap(raw);
4040 }
4041
4042 static WaveShaperNode wrapWaveShaperNode(raw) {
4043 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WaveShaperNodeWrappingImplementation._wrap(raw);
4044 }
4045
4046 static WebGLActiveInfo wrapWebGLActiveInfo(raw) {
4047 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebGLActiveInfoWrappingImplementation._wrap(raw);
4048 }
4049
4050 static WebGLBuffer wrapWebGLBuffer(raw) {
4051 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebGLBufferWrappingImplementation._wrap(raw);
4052 }
4053
4054 static WebGLContextAttributes wrapWebGLContextAttributes(raw) {
4055 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebGLContextAttributesWrappingImplementation._wrap(raw);
4056 }
4057
4058 static WebGLContextEvent wrapWebGLContextEvent(raw) {
4059 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebGLContextEventWrappingImplementation._wrap(raw);
4060 }
4061
4062 static WebGLDebugRendererInfo wrapWebGLDebugRendererInfo(raw) {
4063 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebGLDebugRendererInfoWrappingImplementation._wrap(raw);
4064 }
4065
4066 static WebGLDebugShaders wrapWebGLDebugShaders(raw) {
4067 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebGLDebugShadersWrappingImplementation._wrap(raw);
4068 }
4069
4070 static WebGLFramebuffer wrapWebGLFramebuffer(raw) {
4071 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebGLFramebufferWrappingImplementation._wrap(raw);
4072 }
4073
4074 static WebGLProgram wrapWebGLProgram(raw) {
4075 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebGLProgramWrappingImplementation._wrap(raw);
4076 }
4077
4078 static WebGLRenderbuffer wrapWebGLRenderbuffer(raw) {
4079 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebGLRenderbufferWrappingImplementation._wrap(raw);
4080 }
4081
4082 static WebGLRenderingContext wrapWebGLRenderingContext(raw) {
4083 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebGLRenderingContextWrappingImplementation._wrap(raw);
4084 }
4085
4086 static WebGLShader wrapWebGLShader(raw) {
4087 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebGLShaderWrappingImplementation._wrap(raw);
4088 }
4089
4090 static WebGLTexture wrapWebGLTexture(raw) {
4091 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebGLTextureWrappingImplementation._wrap(raw);
4092 }
4093
4094 static WebGLUniformLocation wrapWebGLUniformLocation(raw) {
4095 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebGLUniformLocationWrappingImplementation._wrap(raw);
4096 }
4097
4098 static WebGLVertexArrayObjectOES wrapWebGLVertexArrayObjectOES(raw) {
4099 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebGLVertexArrayObjectOESWrappingImplementation._wrap(ra w);
4100 }
4101
4102 static WebKitCSSFilterValue wrapWebKitCSSFilterValue(raw) {
4103 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebKitCSSFilterValueWrappingImplementation._wrap(raw);
4104 }
4105
4106 static WebKitMutationObserver wrapWebKitMutationObserver(raw) {
4107 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebKitMutationObserverWrappingImplementation._wrap(raw);
4108 }
4109
4110 static WebSocket wrapWebSocket(raw) {
4111 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WebSocketWrappingImplementation._wrap(raw);
4112 }
4113
4114 static WheelEvent wrapWheelEvent(raw) {
4115 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WheelEventWrappingImplementation._wrap(raw);
4116 }
4117
4118 static Window wrapWindow(raw) {
4119 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WindowWrappingImplementation._wrap(raw);
4120 }
4121
4122 static Worker wrapWorker(raw) {
4123 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new WorkerWrappingImplementation._wrap(raw);
4124 }
4125
4126 static XMLHttpRequest wrapXMLHttpRequest(raw) {
4127 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new XMLHttpRequestWrappingImplementation._wrap(raw);
4128 }
4129
4130 static XMLHttpRequestException wrapXMLHttpRequestException(raw) {
4131 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new XMLHttpRequestExceptionWrappingImplementation._wrap(raw) ;
4132 }
4133
4134 static XMLHttpRequestProgressEvent wrapXMLHttpRequestProgressEvent(raw) {
4135 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new XMLHttpRequestProgressEventWrappingImplementation._wrap( raw);
4136 }
4137
4138 static XMLHttpRequestUpload wrapXMLHttpRequestUpload(raw) {
4139 return raw === null ? null : raw.dartObjectLocalStorage !== null ? raw.dartO bjectLocalStorage : new XMLHttpRequestUploadWrappingImplementation._wrap(raw);
4140 }
4141
4142 static Object wrapObject(raw) {
4143 if (raw === null || raw is String || raw is num || raw is Date) { return raw ; }
4144 if (raw.dartObjectLocalStorage !== null) {
4145 return raw.dartObjectLocalStorage;
4146 }
4147 switch (raw.typeName) {
4148 case "Element":
4149 return new XMLElementWrappingImplementation._wrap(raw);
4150 /* Skipping AbstractWorker*/
4151 case "HTMLAnchorElement":
4152 return new AnchorElementWrappingImplementation._wrap(raw);
4153 case "WebKitAnimation":
4154 return new AnimationWrappingImplementation._wrap(raw);
4155 case "WebKitAnimationEvent":
4156 return new AnimationEventWrappingImplementation._wrap(raw);
4157 case "WebKitAnimationList":
4158 return new AnimationListWrappingImplementation._wrap(raw);
4159 /* Skipping HTMLAppletElement*/
4160 case "HTMLAreaElement":
4161 return new AreaElementWrappingImplementation._wrap(raw);
4162 case "ArrayBuffer":
4163 return new ArrayBufferWrappingImplementation._wrap(raw);
4164 case "ArrayBufferView":
4165 return new ArrayBufferViewWrappingImplementation._wrap(raw);
4166 /* Skipping Attr*/
4167 case "AudioBuffer":
4168 return new AudioBufferWrappingImplementation._wrap(raw);
4169 /* Skipping AudioBufferCallback*/
4170 case "AudioBufferSourceNode":
4171 return new AudioBufferSourceNodeWrappingImplementation._wrap(raw);
4172 case "AudioChannelMerger":
4173 return new AudioChannelMergerWrappingImplementation._wrap(raw);
4174 case "AudioChannelSplitter":
4175 return new AudioChannelSplitterWrappingImplementation._wrap(raw);
4176 case "AudioContext":
4177 return new AudioContextWrappingImplementation._wrap(raw);
4178 case "AudioDestinationNode":
4179 return new AudioDestinationNodeWrappingImplementation._wrap(raw);
4180 case "HTMLAudioElement":
4181 return new AudioElementWrappingImplementation._wrap(raw);
4182 case "AudioGain":
4183 return new AudioGainWrappingImplementation._wrap(raw);
4184 case "AudioGainNode":
4185 return new AudioGainNodeWrappingImplementation._wrap(raw);
4186 case "AudioListener":
4187 return new AudioListenerWrappingImplementation._wrap(raw);
4188 case "AudioNode":
4189 return new AudioNodeWrappingImplementation._wrap(raw);
4190 case "AudioPannerNode":
4191 return new AudioPannerNodeWrappingImplementation._wrap(raw);
4192 case "AudioParam":
4193 return new AudioParamWrappingImplementation._wrap(raw);
4194 case "AudioProcessingEvent":
4195 return new AudioProcessingEventWrappingImplementation._wrap(raw);
4196 case "AudioSourceNode":
4197 return new AudioSourceNodeWrappingImplementation._wrap(raw);
4198 case "HTMLBRElement":
4199 return new BRElementWrappingImplementation._wrap(raw);
4200 case "BarInfo":
4201 return new BarInfoWrappingImplementation._wrap(raw);
4202 case "HTMLBaseElement":
4203 return new BaseElementWrappingImplementation._wrap(raw);
4204 /* Skipping HTMLBaseFontElement*/
4205 case "BeforeLoadEvent":
4206 return new BeforeLoadEventWrappingImplementation._wrap(raw);
4207 case "BiquadFilterNode":
4208 return new BiquadFilterNodeWrappingImplementation._wrap(raw);
4209 case "Blob":
4210 return new BlobWrappingImplementation._wrap(raw);
4211 case "WebKitBlobBuilder":
4212 return new BlobBuilderWrappingImplementation._wrap(raw);
4213 case "HTMLBodyElement":
4214 return new BodyElementWrappingImplementation._wrap(raw);
4215 case "HTMLButtonElement":
4216 return new ButtonElementWrappingImplementation._wrap(raw);
4217 case "CDATASection":
4218 return new CDATASectionWrappingImplementation._wrap(raw);
4219 case "CSSCharsetRule":
4220 return new CSSCharsetRuleWrappingImplementation._wrap(raw);
4221 case "CSSFontFaceRule":
4222 return new CSSFontFaceRuleWrappingImplementation._wrap(raw);
4223 case "CSSImportRule":
4224 return new CSSImportRuleWrappingImplementation._wrap(raw);
4225 case "WebKitCSSKeyframeRule":
4226 return new CSSKeyframeRuleWrappingImplementation._wrap(raw);
4227 case "WebKitCSSKeyframesRule":
4228 return new CSSKeyframesRuleWrappingImplementation._wrap(raw);
4229 case "WebKitCSSMatrix":
4230 return new CSSMatrixWrappingImplementation._wrap(raw);
4231 case "CSSMediaRule":
4232 return new CSSMediaRuleWrappingImplementation._wrap(raw);
4233 case "CSSPageRule":
4234 return new CSSPageRuleWrappingImplementation._wrap(raw);
4235 case "CSSPrimitiveValue":
4236 return new CSSPrimitiveValueWrappingImplementation._wrap(raw);
4237 case "CSSRule":
4238 return new CSSRuleWrappingImplementation._wrap(raw);
4239 case "CSSRuleList":
4240 return new CSSRuleListWrappingImplementation._wrap(raw);
4241 case "CSSStyleDeclaration":
4242 return new CSSStyleDeclarationWrappingImplementation._wrap(raw);
4243 case "CSSStyleRule":
4244 return new CSSStyleRuleWrappingImplementation._wrap(raw);
4245 case "CSSStyleSheet":
4246 return new CSSStyleSheetWrappingImplementation._wrap(raw);
4247 case "WebKitCSSTransformValue":
4248 return new CSSTransformValueWrappingImplementation._wrap(raw);
4249 case "CSSUnknownRule":
4250 return new CSSUnknownRuleWrappingImplementation._wrap(raw);
4251 case "CSSValue":
4252 return new CSSValueWrappingImplementation._wrap(raw);
4253 case "CSSValueList":
4254 return new CSSValueListWrappingImplementation._wrap(raw);
4255 case "HTMLCanvasElement":
4256 return new CanvasElementWrappingImplementation._wrap(raw);
4257 case "CanvasGradient":
4258 return new CanvasGradientWrappingImplementation._wrap(raw);
4259 case "CanvasPattern":
4260 return new CanvasPatternWrappingImplementation._wrap(raw);
4261 case "CanvasPixelArray":
4262 return new CanvasPixelArrayWrappingImplementation._wrap(raw);
4263 case "CanvasRenderingContext":
4264 return new CanvasRenderingContextWrappingImplementation._wrap(raw);
4265 case "CanvasRenderingContext2D":
4266 return new CanvasRenderingContext2DWrappingImplementation._wrap(raw);
4267 case "CharacterData":
4268 return new CharacterDataWrappingImplementation._wrap(raw);
4269 case "ClientRect":
4270 return new ClientRectWrappingImplementation._wrap(raw);
4271 case "ClientRectList":
4272 return new ClientRectListWrappingImplementation._wrap(raw);
4273 case "Clipboard":
4274 return new ClipboardWrappingImplementation._wrap(raw);
4275 case "CloseEvent":
4276 return new CloseEventWrappingImplementation._wrap(raw);
4277 case "Comment":
4278 return new CommentWrappingImplementation._wrap(raw);
4279 case "CompositionEvent":
4280 return new CompositionEventWrappingImplementation._wrap(raw);
4281 case "Console":
4282 return new ConsoleWrappingImplementation._wrap(raw);
4283 case "ConvolverNode":
4284 return new ConvolverNodeWrappingImplementation._wrap(raw);
4285 case "Coordinates":
4286 return new CoordinatesWrappingImplementation._wrap(raw);
4287 case "Counter":
4288 return new CounterWrappingImplementation._wrap(raw);
4289 case "Crypto":
4290 return new CryptoWrappingImplementation._wrap(raw);
4291 case "CustomEvent":
4292 return new CustomEventWrappingImplementation._wrap(raw);
4293 case "HTMLDListElement":
4294 return new DListElementWrappingImplementation._wrap(raw);
4295 case "DOMApplicationCache":
4296 return new DOMApplicationCacheWrappingImplementation._wrap(raw);
4297 case "DOMException":
4298 return new DOMExceptionWrappingImplementation._wrap(raw);
4299 case "DOMFileSystem":
4300 return new DOMFileSystemWrappingImplementation._wrap(raw);
4301 case "DOMFileSystemSync":
4302 return new DOMFileSystemSyncWrappingImplementation._wrap(raw);
4303 case "DOMFormData":
4304 return new DOMFormDataWrappingImplementation._wrap(raw);
4305 /* Skipping DOMImplementation*/
4306 case "DOMMimeType":
4307 return new DOMMimeTypeWrappingImplementation._wrap(raw);
4308 case "DOMMimeTypeArray":
4309 return new DOMMimeTypeArrayWrappingImplementation._wrap(raw);
4310 case "DOMParser":
4311 return new DOMParserWrappingImplementation._wrap(raw);
4312 case "DOMPlugin":
4313 return new DOMPluginWrappingImplementation._wrap(raw);
4314 case "DOMPluginArray":
4315 return new DOMPluginArrayWrappingImplementation._wrap(raw);
4316 case "DOMSelection":
4317 return new DOMSelectionWrappingImplementation._wrap(raw);
4318 case "DOMSettableTokenList":
4319 return new DOMSettableTokenListWrappingImplementation._wrap(raw);
4320 case "DOMTokenList":
4321 return new DOMTokenListWrappingImplementation._wrap(raw);
4322 case "DOMURL":
4323 return new DOMURLWrappingImplementation._wrap(raw);
4324 case "HTMLDataListElement":
4325 return new DataListElementWrappingImplementation._wrap(raw);
4326 case "DataTransferItem":
4327 return new DataTransferItemWrappingImplementation._wrap(raw);
4328 case "DataTransferItemList":
4329 return new DataTransferItemListWrappingImplementation._wrap(raw);
4330 case "DataView":
4331 return new DataViewWrappingImplementation._wrap(raw);
4332 /* Skipping Database*/
4333 /* Skipping DatabaseCallback*/
4334 /* Skipping DatabaseSync*/
4335 /* Skipping DedicatedWorkerContext*/
4336 case "DelayNode":
4337 return new DelayNodeWrappingImplementation._wrap(raw);
4338 case "HTMLDetailsElement":
4339 return new DetailsElementWrappingImplementation._wrap(raw);
4340 case "DeviceMotionEvent":
4341 return new DeviceMotionEventWrappingImplementation._wrap(raw);
4342 case "DeviceOrientationEvent":
4343 return new DeviceOrientationEventWrappingImplementation._wrap(raw);
4344 /* Skipping HTMLDirectoryElement*/
4345 case "DirectoryEntry":
4346 return new DirectoryEntryWrappingImplementation._wrap(raw);
4347 case "DirectoryEntrySync":
4348 return new DirectoryEntrySyncWrappingImplementation._wrap(raw);
4349 case "DirectoryReader":
4350 return new DirectoryReaderWrappingImplementation._wrap(raw);
4351 case "DirectoryReaderSync":
4352 return new DirectoryReaderSyncWrappingImplementation._wrap(raw);
4353 case "HTMLDivElement":
4354 return new DivElementWrappingImplementation._wrap(raw);
4355 case "HTMLDocument":
4356 return new DocumentWrappingImplementation._wrap(raw, raw.documentElement );
4357 case "DocumentFragment":
4358 return new DocumentFragmentWrappingImplementation._wrap(raw);
4359 /* Skipping DocumentType*/
4360 case "DynamicsCompressorNode":
4361 return new DynamicsCompressorNodeWrappingImplementation._wrap(raw);
4362 case "HTMLElement":
4363 return new ElementWrappingImplementation._wrap(raw);
4364 /* Skipping HTMLOptionsCollection*/
4365 case "ElementTimeControl":
4366 return new ElementTimeControlWrappingImplementation._wrap(raw);
4367 /* Skipping ElementTraversal*/
4368 case "HTMLEmbedElement":
4369 return new EmbedElementWrappingImplementation._wrap(raw);
4370 case "Entity":
4371 return new EntityWrappingImplementation._wrap(raw);
4372 case "EntityReference":
4373 return new EntityReferenceWrappingImplementation._wrap(raw);
4374 /* Skipping EntriesCallback*/
4375 case "Entry":
4376 return new EntryWrappingImplementation._wrap(raw);
4377 case "EntryArray":
4378 return new EntryArrayWrappingImplementation._wrap(raw);
4379 case "EntryArraySync":
4380 return new EntryArraySyncWrappingImplementation._wrap(raw);
4381 /* Skipping EntryCallback*/
4382 case "EntrySync":
4383 return new EntrySyncWrappingImplementation._wrap(raw);
4384 /* Skipping ErrorCallback*/
4385 case "ErrorEvent":
4386 return new ErrorEventWrappingImplementation._wrap(raw);
4387 case "Event":
4388 return new EventWrappingImplementation._wrap(raw);
4389 case "EventException":
4390 return new EventExceptionWrappingImplementation._wrap(raw);
4391 /* Skipping EventListener*/
4392 case "EventSource":
4393 return new EventSourceWrappingImplementation._wrap(raw);
4394 case "EventTarget":
4395 return new EventTargetWrappingImplementation._wrap(raw);
4396 case "HTMLFieldSetElement":
4397 return new FieldSetElementWrappingImplementation._wrap(raw);
4398 case "File":
4399 return new FileWrappingImplementation._wrap(raw);
4400 /* Skipping FileCallback*/
4401 case "FileEntry":
4402 return new FileEntryWrappingImplementation._wrap(raw);
4403 case "FileEntrySync":
4404 return new FileEntrySyncWrappingImplementation._wrap(raw);
4405 case "FileError":
4406 return new FileErrorWrappingImplementation._wrap(raw);
4407 case "FileException":
4408 return new FileExceptionWrappingImplementation._wrap(raw);
4409 case "FileList":
4410 return new FileListWrappingImplementation._wrap(raw);
4411 case "FileReader":
4412 return new FileReaderWrappingImplementation._wrap(raw);
4413 case "FileReaderSync":
4414 return new FileReaderSyncWrappingImplementation._wrap(raw);
4415 /* Skipping FileSystemCallback*/
4416 case "FileWriter":
4417 return new FileWriterWrappingImplementation._wrap(raw);
4418 /* Skipping FileWriterCallback*/
4419 case "FileWriterSync":
4420 return new FileWriterSyncWrappingImplementation._wrap(raw);
4421 case "WebKitFlags":
4422 return new FlagsWrappingImplementation._wrap(raw);
4423 case "Float32Array":
4424 return new Float32ArrayWrappingImplementation._wrap(raw);
4425 case "Float64Array":
4426 return new Float64ArrayWrappingImplementation._wrap(raw);
4427 case "HTMLFontElement":
4428 return new FontElementWrappingImplementation._wrap(raw);
4429 case "HTMLFormElement":
4430 return new FormElementWrappingImplementation._wrap(raw);
4431 /* Skipping HTMLFrameElement*/
4432 /* Skipping HTMLFrameSetElement*/
4433 case "Geolocation":
4434 return new GeolocationWrappingImplementation._wrap(raw);
4435 case "Geoposition":
4436 return new GeopositionWrappingImplementation._wrap(raw);
4437 case "HTMLHRElement":
4438 return new HRElementWrappingImplementation._wrap(raw);
4439 case "HTMLAllCollection":
4440 return new HTMLAllCollectionWrappingImplementation._wrap(raw);
4441 case "HashChangeEvent":
4442 return new HashChangeEventWrappingImplementation._wrap(raw);
4443 case "HTMLHeadElement":
4444 return new HeadElementWrappingImplementation._wrap(raw);
4445 case "HTMLHeadingElement":
4446 return new HeadingElementWrappingImplementation._wrap(raw);
4447 case "HighPass2FilterNode":
4448 return new HighPass2FilterNodeWrappingImplementation._wrap(raw);
4449 case "History":
4450 return new HistoryWrappingImplementation._wrap(raw);
4451 case "HTMLHtmlElement":
4452 return new DocumentWrappingImplementation._wrap(raw.parentNode, raw);
4453 case "IDBAny":
4454 return new IDBAnyWrappingImplementation._wrap(raw);
4455 case "IDBCursor":
4456 return new IDBCursorWrappingImplementation._wrap(raw);
4457 case "IDBCursorWithValue":
4458 return new IDBCursorWithValueWrappingImplementation._wrap(raw);
4459 case "IDBDatabase":
4460 return new IDBDatabaseWrappingImplementation._wrap(raw);
4461 case "IDBDatabaseError":
4462 return new IDBDatabaseErrorWrappingImplementation._wrap(raw);
4463 case "IDBDatabaseException":
4464 return new IDBDatabaseExceptionWrappingImplementation._wrap(raw);
4465 case "IDBFactory":
4466 return new IDBFactoryWrappingImplementation._wrap(raw);
4467 case "IDBIndex":
4468 return new IDBIndexWrappingImplementation._wrap(raw);
4469 case "IDBKey":
4470 return new IDBKeyWrappingImplementation._wrap(raw);
4471 case "IDBKeyRange":
4472 return new IDBKeyRangeWrappingImplementation._wrap(raw);
4473 case "IDBObjectStore":
4474 return new IDBObjectStoreWrappingImplementation._wrap(raw);
4475 case "IDBRequest":
4476 return new IDBRequestWrappingImplementation._wrap(raw);
4477 case "IDBTransaction":
4478 return new IDBTransactionWrappingImplementation._wrap(raw);
4479 case "IDBVersionChangeEvent":
4480 return new IDBVersionChangeEventWrappingImplementation._wrap(raw);
4481 case "IDBVersionChangeRequest":
4482 return new IDBVersionChangeRequestWrappingImplementation._wrap(raw);
4483 case "HTMLIFrameElement":
4484 return new IFrameElementWrappingImplementation._wrap(raw);
4485 case "ImageData":
4486 return new ImageDataWrappingImplementation._wrap(raw);
4487 case "HTMLImageElement":
4488 return new ImageElementWrappingImplementation._wrap(raw);
4489 /* Skipping InjectedScriptHost*/
4490 case "HTMLInputElement":
4491 return new InputElementWrappingImplementation._wrap(raw);
4492 /* Skipping InspectorFrontendHost*/
4493 case "Int16Array":
4494 return new Int16ArrayWrappingImplementation._wrap(raw);
4495 case "Int32Array":
4496 return new Int32ArrayWrappingImplementation._wrap(raw);
4497 case "Int8Array":
4498 return new Int8ArrayWrappingImplementation._wrap(raw);
4499 /* Skipping HTMLIsIndexElement*/
4500 case "JavaScriptAudioNode":
4501 return new JavaScriptAudioNodeWrappingImplementation._wrap(raw);
4502 /* Skipping JavaScriptCallFrame*/
4503 case "KeyboardEvent":
4504 return new KeyboardEventWrappingImplementation._wrap(raw);
4505 case "HTMLKeygenElement":
4506 return new KeygenElementWrappingImplementation._wrap(raw);
4507 case "HTMLLIElement":
4508 return new LIElementWrappingImplementation._wrap(raw);
4509 case "HTMLLabelElement":
4510 return new LabelElementWrappingImplementation._wrap(raw);
4511 case "HTMLLegendElement":
4512 return new LegendElementWrappingImplementation._wrap(raw);
4513 case "HTMLLinkElement":
4514 return new LinkElementWrappingImplementation._wrap(raw);
4515 case "Location":
4516 return new LocationWrappingImplementation._wrap(raw);
4517 case "WebKitLoseContext":
4518 return new LoseContextWrappingImplementation._wrap(raw);
4519 case "LowPass2FilterNode":
4520 return new LowPass2FilterNodeWrappingImplementation._wrap(raw);
4521 case "HTMLMapElement":
4522 return new MapElementWrappingImplementation._wrap(raw);
4523 case "HTMLMarqueeElement":
4524 return new MarqueeElementWrappingImplementation._wrap(raw);
4525 case "HTMLMediaElement":
4526 return new MediaElementWrappingImplementation._wrap(raw);
4527 case "MediaElementAudioSourceNode":
4528 return new MediaElementAudioSourceNodeWrappingImplementation._wrap(raw);
4529 case "MediaError":
4530 return new MediaErrorWrappingImplementation._wrap(raw);
4531 case "MediaList":
4532 return new MediaListWrappingImplementation._wrap(raw);
4533 case "MediaQueryList":
4534 return new MediaQueryListWrappingImplementation._wrap(raw);
4535 case "MediaQueryListListener":
4536 return new MediaQueryListListenerWrappingImplementation._wrap(raw);
4537 /* Skipping MemoryInfo*/
4538 case "HTMLMenuElement":
4539 return new MenuElementWrappingImplementation._wrap(raw);
4540 case "MessageChannel":
4541 return new MessageChannelWrappingImplementation._wrap(raw);
4542 case "MessageEvent":
4543 return new MessageEventWrappingImplementation._wrap(raw);
4544 case "MessagePort":
4545 return new MessagePortWrappingImplementation._wrap(raw);
4546 case "HTMLMetaElement":
4547 return new MetaElementWrappingImplementation._wrap(raw);
4548 case "Metadata":
4549 return new MetadataWrappingImplementation._wrap(raw);
4550 /* Skipping MetadataCallback*/
4551 case "HTMLMeterElement":
4552 return new MeterElementWrappingImplementation._wrap(raw);
4553 case "HTMLModElement":
4554 return new ModElementWrappingImplementation._wrap(raw);
4555 case "MouseEvent":
4556 return new MouseEventWrappingImplementation._wrap(raw);
4557 case "MutationCallback":
4558 return new MutationCallbackWrappingImplementation._wrap(raw);
4559 case "MutationEvent":
4560 return new MutationEventWrappingImplementation._wrap(raw);
4561 case "MutationRecord":
4562 return new MutationRecordWrappingImplementation._wrap(raw);
4563 /* Skipping NamedNodeMap*/
4564 case "Navigator":
4565 return new NavigatorWrappingImplementation._wrap(raw);
4566 case "NavigatorUserMediaError":
4567 return new NavigatorUserMediaErrorWrappingImplementation._wrap(raw);
4568 /* Skipping NavigatorUserMediaErrorCallback*/
4569 case "NavigatorUserMediaSuccessCallback":
4570 return new NavigatorUserMediaSuccessCallbackWrappingImplementation._wrap (raw);
4571 case "Node":
4572 return new NodeWrappingImplementation._wrap(raw);
4573 /* Skipping NodeFilter*/
4574 /* Skipping NodeIterator*/
4575 /* Skipping NodeSelector*/
4576 case "Notation":
4577 return new NotationWrappingImplementation._wrap(raw);
4578 case "Notification":
4579 return new NotificationWrappingImplementation._wrap(raw);
4580 case "NotificationCenter":
4581 return new NotificationCenterWrappingImplementation._wrap(raw);
4582 case "OESStandardDerivatives":
4583 return new OESStandardDerivativesWrappingImplementation._wrap(raw);
4584 case "OESTextureFloat":
4585 return new OESTextureFloatWrappingImplementation._wrap(raw);
4586 case "OESVertexArrayObject":
4587 return new OESVertexArrayObjectWrappingImplementation._wrap(raw);
4588 case "HTMLOListElement":
4589 return new OListElementWrappingImplementation._wrap(raw);
4590 case "HTMLObjectElement":
4591 return new ObjectElementWrappingImplementation._wrap(raw);
4592 case "OfflineAudioCompletionEvent":
4593 return new OfflineAudioCompletionEventWrappingImplementation._wrap(raw);
4594 case "OperationNotAllowedException":
4595 return new OperationNotAllowedExceptionWrappingImplementation._wrap(raw) ;
4596 case "HTMLOptGroupElement":
4597 return new OptGroupElementWrappingImplementation._wrap(raw);
4598 case "HTMLOptionElement":
4599 return new OptionElementWrappingImplementation._wrap(raw);
4600 case "HTMLOutputElement":
4601 return new OutputElementWrappingImplementation._wrap(raw);
4602 case "OverflowEvent":
4603 return new OverflowEventWrappingImplementation._wrap(raw);
4604 case "PageTransitionEvent":
4605 return new PageTransitionEventWrappingImplementation._wrap(raw);
4606 case "HTMLParagraphElement":
4607 return new ParagraphElementWrappingImplementation._wrap(raw);
4608 case "HTMLParamElement":
4609 return new ParamElementWrappingImplementation._wrap(raw);
4610 /* Skipping Performance*/
4611 /* Skipping PerformanceNavigation*/
4612 /* Skipping PerformanceTiming*/
4613 case "WebKitPoint":
4614 return new PointWrappingImplementation._wrap(raw);
4615 case "PopStateEvent":
4616 return new PopStateEventWrappingImplementation._wrap(raw);
4617 /* Skipping PositionCallback*/
4618 case "PositionError":
4619 return new PositionErrorWrappingImplementation._wrap(raw);
4620 /* Skipping PositionErrorCallback*/
4621 case "HTMLPreElement":
4622 return new PreElementWrappingImplementation._wrap(raw);
4623 case "ProcessingInstruction":
4624 return new ProcessingInstructionWrappingImplementation._wrap(raw);
4625 case "HTMLProgressElement":
4626 return new ProgressElementWrappingImplementation._wrap(raw);
4627 case "ProgressEvent":
4628 return new ProgressEventWrappingImplementation._wrap(raw);
4629 case "HTMLQuoteElement":
4630 return new QuoteElementWrappingImplementation._wrap(raw);
4631 case "RGBColor":
4632 return new RGBColorWrappingImplementation._wrap(raw);
4633 case "Range":
4634 return new RangeWrappingImplementation._wrap(raw);
4635 case "RangeException":
4636 return new RangeExceptionWrappingImplementation._wrap(raw);
4637 case "RealtimeAnalyserNode":
4638 return new RealtimeAnalyserNodeWrappingImplementation._wrap(raw);
4639 case "Rect":
4640 return new RectWrappingImplementation._wrap(raw);
4641 /* Skipping RequestAnimationFrameCallback*/
4642 /* Skipping SQLError*/
4643 /* Skipping SQLException*/
4644 /* Skipping SQLResultSet*/
4645 /* Skipping SQLResultSetRowList*/
4646 /* Skipping SQLStatementCallback*/
4647 /* Skipping SQLStatementErrorCallback*/
4648 /* Skipping SQLTransaction*/
4649 /* Skipping SQLTransactionCallback*/
4650 /* Skipping SQLTransactionErrorCallback*/
4651 /* Skipping SQLTransactionSync*/
4652 /* Skipping SQLTransactionSyncCallback*/
4653 case "SVGAElement":
4654 return new SVGAElementWrappingImplementation._wrap(raw);
4655 case "SVGAltGlyphDefElement":
4656 return new SVGAltGlyphDefElementWrappingImplementation._wrap(raw);
4657 case "SVGAltGlyphElement":
4658 return new SVGAltGlyphElementWrappingImplementation._wrap(raw);
4659 case "SVGAltGlyphItemElement":
4660 return new SVGAltGlyphItemElementWrappingImplementation._wrap(raw);
4661 case "SVGAngle":
4662 return new SVGAngleWrappingImplementation._wrap(raw);
4663 case "SVGAnimateColorElement":
4664 return new SVGAnimateColorElementWrappingImplementation._wrap(raw);
4665 case "SVGAnimateElement":
4666 return new SVGAnimateElementWrappingImplementation._wrap(raw);
4667 case "SVGAnimateMotionElement":
4668 return new SVGAnimateMotionElementWrappingImplementation._wrap(raw);
4669 case "SVGAnimateTransformElement":
4670 return new SVGAnimateTransformElementWrappingImplementation._wrap(raw);
4671 case "SVGAnimatedAngle":
4672 return new SVGAnimatedAngleWrappingImplementation._wrap(raw);
4673 case "SVGAnimatedBoolean":
4674 return new SVGAnimatedBooleanWrappingImplementation._wrap(raw);
4675 case "SVGAnimatedEnumeration":
4676 return new SVGAnimatedEnumerationWrappingImplementation._wrap(raw);
4677 case "SVGAnimatedInteger":
4678 return new SVGAnimatedIntegerWrappingImplementation._wrap(raw);
4679 case "SVGAnimatedLength":
4680 return new SVGAnimatedLengthWrappingImplementation._wrap(raw);
4681 case "SVGAnimatedLengthList":
4682 return new SVGAnimatedLengthListWrappingImplementation._wrap(raw);
4683 case "SVGAnimatedNumber":
4684 return new SVGAnimatedNumberWrappingImplementation._wrap(raw);
4685 case "SVGAnimatedNumberList":
4686 return new SVGAnimatedNumberListWrappingImplementation._wrap(raw);
4687 case "SVGAnimatedPreserveAspectRatio":
4688 return new SVGAnimatedPreserveAspectRatioWrappingImplementation._wrap(ra w);
4689 case "SVGAnimatedRect":
4690 return new SVGAnimatedRectWrappingImplementation._wrap(raw);
4691 case "SVGAnimatedString":
4692 return new SVGAnimatedStringWrappingImplementation._wrap(raw);
4693 case "SVGAnimatedTransformList":
4694 return new SVGAnimatedTransformListWrappingImplementation._wrap(raw);
4695 case "SVGAnimationElement":
4696 return new SVGAnimationElementWrappingImplementation._wrap(raw);
4697 case "SVGCircleElement":
4698 return new SVGCircleElementWrappingImplementation._wrap(raw);
4699 case "SVGClipPathElement":
4700 return new SVGClipPathElementWrappingImplementation._wrap(raw);
4701 case "SVGColor":
4702 return new SVGColorWrappingImplementation._wrap(raw);
4703 case "SVGComponentTransferFunctionElement":
4704 return new SVGComponentTransferFunctionElementWrappingImplementation._wr ap(raw);
4705 case "SVGCursorElement":
4706 return new SVGCursorElementWrappingImplementation._wrap(raw);
4707 case "SVGDefsElement":
4708 return new SVGDefsElementWrappingImplementation._wrap(raw);
4709 case "SVGDescElement":
4710 return new SVGDescElementWrappingImplementation._wrap(raw);
4711 case "SVGDocument":
4712 return new SVGDocumentWrappingImplementation._wrap(raw);
4713 case "SVGElement":
4714 return new SVGElementWrappingImplementation._wrap(raw);
4715 case "SVGElementInstance":
4716 return new SVGElementInstanceWrappingImplementation._wrap(raw);
4717 case "SVGElementInstanceList":
4718 return new SVGElementInstanceListWrappingImplementation._wrap(raw);
4719 case "SVGEllipseElement":
4720 return new SVGEllipseElementWrappingImplementation._wrap(raw);
4721 case "SVGException":
4722 return new SVGExceptionWrappingImplementation._wrap(raw);
4723 case "SVGExternalResourcesRequired":
4724 return new SVGExternalResourcesRequiredWrappingImplementation._wrap(raw) ;
4725 case "SVGFEBlendElement":
4726 return new SVGFEBlendElementWrappingImplementation._wrap(raw);
4727 case "SVGFEColorMatrixElement":
4728 return new SVGFEColorMatrixElementWrappingImplementation._wrap(raw);
4729 case "SVGFEComponentTransferElement":
4730 return new SVGFEComponentTransferElementWrappingImplementation._wrap(raw );
4731 /* Skipping SVGFECompositeElement*/
4732 case "SVGFEConvolveMatrixElement":
4733 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap(raw);
4734 case "SVGFEDiffuseLightingElement":
4735 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap(raw);
4736 case "SVGFEDisplacementMapElement":
4737 return new SVGFEDisplacementMapElementWrappingImplementation._wrap(raw);
4738 case "SVGFEDistantLightElement":
4739 return new SVGFEDistantLightElementWrappingImplementation._wrap(raw);
4740 case "SVGFEDropShadowElement":
4741 return new SVGFEDropShadowElementWrappingImplementation._wrap(raw);
4742 case "SVGFEFloodElement":
4743 return new SVGFEFloodElementWrappingImplementation._wrap(raw);
4744 case "SVGFEFuncAElement":
4745 return new SVGFEFuncAElementWrappingImplementation._wrap(raw);
4746 case "SVGFEFuncBElement":
4747 return new SVGFEFuncBElementWrappingImplementation._wrap(raw);
4748 case "SVGFEFuncGElement":
4749 return new SVGFEFuncGElementWrappingImplementation._wrap(raw);
4750 case "SVGFEFuncRElement":
4751 return new SVGFEFuncRElementWrappingImplementation._wrap(raw);
4752 case "SVGFEGaussianBlurElement":
4753 return new SVGFEGaussianBlurElementWrappingImplementation._wrap(raw);
4754 case "SVGFEImageElement":
4755 return new SVGFEImageElementWrappingImplementation._wrap(raw);
4756 case "SVGFEMergeElement":
4757 return new SVGFEMergeElementWrappingImplementation._wrap(raw);
4758 case "SVGFEMergeNodeElement":
4759 return new SVGFEMergeNodeElementWrappingImplementation._wrap(raw);
4760 /* Skipping SVGFEMorphologyElement*/
4761 case "SVGFEOffsetElement":
4762 return new SVGFEOffsetElementWrappingImplementation._wrap(raw);
4763 case "SVGFEPointLightElement":
4764 return new SVGFEPointLightElementWrappingImplementation._wrap(raw);
4765 case "SVGFESpecularLightingElement":
4766 return new SVGFESpecularLightingElementWrappingImplementation._wrap(raw) ;
4767 case "SVGFESpotLightElement":
4768 return new SVGFESpotLightElementWrappingImplementation._wrap(raw);
4769 case "SVGFETileElement":
4770 return new SVGFETileElementWrappingImplementation._wrap(raw);
4771 case "SVGFETurbulenceElement":
4772 return new SVGFETurbulenceElementWrappingImplementation._wrap(raw);
4773 case "SVGFilterElement":
4774 return new SVGFilterElementWrappingImplementation._wrap(raw);
4775 case "SVGFilterPrimitiveStandardAttributes":
4776 return new SVGFilterPrimitiveStandardAttributesWrappingImplementation._w rap(raw);
4777 case "SVGFitToViewBox":
4778 return new SVGFitToViewBoxWrappingImplementation._wrap(raw);
4779 case "SVGFontElement":
4780 return new SVGFontElementWrappingImplementation._wrap(raw);
4781 case "SVGFontFaceElement":
4782 return new SVGFontFaceElementWrappingImplementation._wrap(raw);
4783 case "SVGFontFaceFormatElement":
4784 return new SVGFontFaceFormatElementWrappingImplementation._wrap(raw);
4785 case "SVGFontFaceNameElement":
4786 return new SVGFontFaceNameElementWrappingImplementation._wrap(raw);
4787 case "SVGFontFaceSrcElement":
4788 return new SVGFontFaceSrcElementWrappingImplementation._wrap(raw);
4789 case "SVGFontFaceUriElement":
4790 return new SVGFontFaceUriElementWrappingImplementation._wrap(raw);
4791 case "SVGForeignObjectElement":
4792 return new SVGForeignObjectElementWrappingImplementation._wrap(raw);
4793 case "SVGGElement":
4794 return new SVGGElementWrappingImplementation._wrap(raw);
4795 case "SVGGlyphElement":
4796 return new SVGGlyphElementWrappingImplementation._wrap(raw);
4797 case "SVGGlyphRefElement":
4798 return new SVGGlyphRefElementWrappingImplementation._wrap(raw);
4799 case "SVGGradientElement":
4800 return new SVGGradientElementWrappingImplementation._wrap(raw);
4801 case "SVGHKernElement":
4802 return new SVGHKernElementWrappingImplementation._wrap(raw);
4803 case "SVGImageElement":
4804 return new SVGImageElementWrappingImplementation._wrap(raw);
4805 case "SVGLangSpace":
4806 return new SVGLangSpaceWrappingImplementation._wrap(raw);
4807 case "SVGLength":
4808 return new SVGLengthWrappingImplementation._wrap(raw);
4809 case "SVGLengthList":
4810 return new SVGLengthListWrappingImplementation._wrap(raw);
4811 case "SVGLineElement":
4812 return new SVGLineElementWrappingImplementation._wrap(raw);
4813 case "SVGLinearGradientElement":
4814 return new SVGLinearGradientElementWrappingImplementation._wrap(raw);
4815 case "SVGLocatable":
4816 return new SVGLocatableWrappingImplementation._wrap(raw);
4817 case "SVGMPathElement":
4818 return new SVGMPathElementWrappingImplementation._wrap(raw);
4819 case "SVGMarkerElement":
4820 return new SVGMarkerElementWrappingImplementation._wrap(raw);
4821 case "SVGMaskElement":
4822 return new SVGMaskElementWrappingImplementation._wrap(raw);
4823 case "SVGMatrix":
4824 return new SVGMatrixWrappingImplementation._wrap(raw);
4825 case "SVGMetadataElement":
4826 return new SVGMetadataElementWrappingImplementation._wrap(raw);
4827 case "SVGMissingGlyphElement":
4828 return new SVGMissingGlyphElementWrappingImplementation._wrap(raw);
4829 case "SVGNumber":
4830 return new SVGNumberWrappingImplementation._wrap(raw);
4831 case "SVGNumberList":
4832 return new SVGNumberListWrappingImplementation._wrap(raw);
4833 case "SVGPaint":
4834 return new SVGPaintWrappingImplementation._wrap(raw);
4835 case "SVGPathElement":
4836 return new SVGPathElementWrappingImplementation._wrap(raw);
4837 case "SVGPathSeg":
4838 return new SVGPathSegWrappingImplementation._wrap(raw);
4839 case "SVGPathSegArcAbs":
4840 return new SVGPathSegArcAbsWrappingImplementation._wrap(raw);
4841 case "SVGPathSegArcRel":
4842 return new SVGPathSegArcRelWrappingImplementation._wrap(raw);
4843 case "SVGPathSegClosePath":
4844 return new SVGPathSegClosePathWrappingImplementation._wrap(raw);
4845 case "SVGPathSegCurvetoCubicAbs":
4846 return new SVGPathSegCurvetoCubicAbsWrappingImplementation._wrap(raw);
4847 case "SVGPathSegCurvetoCubicRel":
4848 return new SVGPathSegCurvetoCubicRelWrappingImplementation._wrap(raw);
4849 case "SVGPathSegCurvetoCubicSmoothAbs":
4850 return new SVGPathSegCurvetoCubicSmoothAbsWrappingImplementation._wrap(r aw);
4851 case "SVGPathSegCurvetoCubicSmoothRel":
4852 return new SVGPathSegCurvetoCubicSmoothRelWrappingImplementation._wrap(r aw);
4853 case "SVGPathSegCurvetoQuadraticAbs":
4854 return new SVGPathSegCurvetoQuadraticAbsWrappingImplementation._wrap(raw );
4855 case "SVGPathSegCurvetoQuadraticRel":
4856 return new SVGPathSegCurvetoQuadraticRelWrappingImplementation._wrap(raw );
4857 case "SVGPathSegCurvetoQuadraticSmoothAbs":
4858 return new SVGPathSegCurvetoQuadraticSmoothAbsWrappingImplementation._wr ap(raw);
4859 case "SVGPathSegCurvetoQuadraticSmoothRel":
4860 return new SVGPathSegCurvetoQuadraticSmoothRelWrappingImplementation._wr ap(raw);
4861 case "SVGPathSegLinetoAbs":
4862 return new SVGPathSegLinetoAbsWrappingImplementation._wrap(raw);
4863 case "SVGPathSegLinetoHorizontalAbs":
4864 return new SVGPathSegLinetoHorizontalAbsWrappingImplementation._wrap(raw );
4865 case "SVGPathSegLinetoHorizontalRel":
4866 return new SVGPathSegLinetoHorizontalRelWrappingImplementation._wrap(raw );
4867 case "SVGPathSegLinetoRel":
4868 return new SVGPathSegLinetoRelWrappingImplementation._wrap(raw);
4869 case "SVGPathSegLinetoVerticalAbs":
4870 return new SVGPathSegLinetoVerticalAbsWrappingImplementation._wrap(raw);
4871 case "SVGPathSegLinetoVerticalRel":
4872 return new SVGPathSegLinetoVerticalRelWrappingImplementation._wrap(raw);
4873 case "SVGPathSegList":
4874 return new SVGPathSegListWrappingImplementation._wrap(raw);
4875 case "SVGPathSegMovetoAbs":
4876 return new SVGPathSegMovetoAbsWrappingImplementation._wrap(raw);
4877 case "SVGPathSegMovetoRel":
4878 return new SVGPathSegMovetoRelWrappingImplementation._wrap(raw);
4879 case "SVGPatternElement":
4880 return new SVGPatternElementWrappingImplementation._wrap(raw);
4881 case "SVGPoint":
4882 return new SVGPointWrappingImplementation._wrap(raw);
4883 case "SVGPointList":
4884 return new SVGPointListWrappingImplementation._wrap(raw);
4885 case "SVGPolygonElement":
4886 return new SVGPolygonElementWrappingImplementation._wrap(raw);
4887 case "SVGPolylineElement":
4888 return new SVGPolylineElementWrappingImplementation._wrap(raw);
4889 case "SVGPreserveAspectRatio":
4890 return new SVGPreserveAspectRatioWrappingImplementation._wrap(raw);
4891 case "SVGRadialGradientElement":
4892 return new SVGRadialGradientElementWrappingImplementation._wrap(raw);
4893 case "SVGRect":
4894 return new SVGRectWrappingImplementation._wrap(raw);
4895 case "SVGRectElement":
4896 return new SVGRectElementWrappingImplementation._wrap(raw);
4897 case "SVGRenderingIntent":
4898 return new SVGRenderingIntentWrappingImplementation._wrap(raw);
4899 case "SVGSVGElement":
4900 return new SVGSVGElementWrappingImplementation._wrap(raw);
4901 case "SVGScriptElement":
4902 return new SVGScriptElementWrappingImplementation._wrap(raw);
4903 case "SVGSetElement":
4904 return new SVGSetElementWrappingImplementation._wrap(raw);
4905 case "SVGStopElement":
4906 return new SVGStopElementWrappingImplementation._wrap(raw);
4907 case "SVGStringList":
4908 return new SVGStringListWrappingImplementation._wrap(raw);
4909 case "SVGStylable":
4910 return new SVGStylableWrappingImplementation._wrap(raw);
4911 case "SVGStyleElement":
4912 return new SVGStyleElementWrappingImplementation._wrap(raw);
4913 case "SVGSwitchElement":
4914 return new SVGSwitchElementWrappingImplementation._wrap(raw);
4915 case "SVGSymbolElement":
4916 return new SVGSymbolElementWrappingImplementation._wrap(raw);
4917 case "SVGTRefElement":
4918 return new SVGTRefElementWrappingImplementation._wrap(raw);
4919 case "SVGTSpanElement":
4920 return new SVGTSpanElementWrappingImplementation._wrap(raw);
4921 case "SVGTests":
4922 return new SVGTestsWrappingImplementation._wrap(raw);
4923 case "SVGTextContentElement":
4924 return new SVGTextContentElementWrappingImplementation._wrap(raw);
4925 case "SVGTextElement":
4926 return new SVGTextElementWrappingImplementation._wrap(raw);
4927 case "SVGTextPathElement":
4928 return new SVGTextPathElementWrappingImplementation._wrap(raw);
4929 case "SVGTextPositioningElement":
4930 return new SVGTextPositioningElementWrappingImplementation._wrap(raw);
4931 case "SVGTitleElement":
4932 return new SVGTitleElementWrappingImplementation._wrap(raw);
4933 case "SVGTransform":
4934 return new SVGTransformWrappingImplementation._wrap(raw);
4935 case "SVGTransformList":
4936 return new SVGTransformListWrappingImplementation._wrap(raw);
4937 case "SVGTransformable":
4938 return new SVGTransformableWrappingImplementation._wrap(raw);
4939 case "SVGURIReference":
4940 return new SVGURIReferenceWrappingImplementation._wrap(raw);
4941 case "SVGUnitTypes":
4942 return new SVGUnitTypesWrappingImplementation._wrap(raw);
4943 case "SVGUseElement":
4944 return new SVGUseElementWrappingImplementation._wrap(raw);
4945 case "SVGVKernElement":
4946 return new SVGVKernElementWrappingImplementation._wrap(raw);
4947 case "SVGViewElement":
4948 return new SVGViewElementWrappingImplementation._wrap(raw);
4949 case "SVGViewSpec":
4950 return new SVGViewSpecWrappingImplementation._wrap(raw);
4951 case "SVGZoomAndPan":
4952 return new SVGZoomAndPanWrappingImplementation._wrap(raw);
4953 case "SVGZoomEvent":
4954 return new SVGZoomEventWrappingImplementation._wrap(raw);
4955 case "Screen":
4956 return new ScreenWrappingImplementation._wrap(raw);
4957 case "HTMLScriptElement":
4958 return new ScriptElementWrappingImplementation._wrap(raw);
4959 /* Skipping ScriptProfile*/
4960 /* Skipping ScriptProfileNode*/
4961 case "HTMLSelectElement":
4962 return new SelectElementWrappingImplementation._wrap(raw);
4963 case "SharedWorker":
4964 return new SharedWorkerWrappingImplementation._wrap(raw);
4965 /* Skipping SharedWorkercontext*/
4966 case "HTMLSourceElement":
4967 return new SourceElementWrappingImplementation._wrap(raw);
4968 case "HTMLSpanElement":
4969 return new SpanElementWrappingImplementation._wrap(raw);
4970 case "SpeechInputEvent":
4971 return new SpeechInputEventWrappingImplementation._wrap(raw);
4972 case "SpeechInputResult":
4973 return new SpeechInputResultWrappingImplementation._wrap(raw);
4974 case "SpeechInputResultList":
4975 return new SpeechInputResultListWrappingImplementation._wrap(raw);
4976 case "Storage":
4977 return new StorageWrappingImplementation._wrap(raw);
4978 case "StorageEvent":
4979 return new StorageEventWrappingImplementation._wrap(raw);
4980 case "StorageInfo":
4981 return new StorageInfoWrappingImplementation._wrap(raw);
4982 /* Skipping StorageInfoErrorCallback*/
4983 /* Skipping StorageInfoQuotaCallback*/
4984 /* Skipping StorageInfoUsageCallback*/
4985 /* Skipping StringCallback*/
4986 case "HTMLStyleElement":
4987 return new StyleElementWrappingImplementation._wrap(raw);
4988 case "StyleMedia":
4989 return new StyleMediaWrappingImplementation._wrap(raw);
4990 case "StyleSheet":
4991 return new StyleSheetWrappingImplementation._wrap(raw);
4992 case "StyleSheetList":
4993 return new StyleSheetListWrappingImplementation._wrap(raw);
4994 case "HTMLTableCaptionElement":
4995 return new TableCaptionElementWrappingImplementation._wrap(raw);
4996 case "HTMLTableCellElement":
4997 return new TableCellElementWrappingImplementation._wrap(raw);
4998 case "HTMLTableColElement":
4999 return new TableColElementWrappingImplementation._wrap(raw);
5000 case "HTMLTableElement":
5001 return new TableElementWrappingImplementation._wrap(raw);
5002 case "HTMLTableRowElement":
5003 return new TableRowElementWrappingImplementation._wrap(raw);
5004 case "HTMLTableSectionElement":
5005 return new TableSectionElementWrappingImplementation._wrap(raw);
5006 case "Text":
5007 return new TextWrappingImplementation._wrap(raw);
5008 case "HTMLTextAreaElement":
5009 return new TextAreaElementWrappingImplementation._wrap(raw);
5010 case "TextEvent":
5011 return new TextEventWrappingImplementation._wrap(raw);
5012 case "TextMetrics":
5013 return new TextMetricsWrappingImplementation._wrap(raw);
5014 case "TextTrack":
5015 return new TextTrackWrappingImplementation._wrap(raw);
5016 case "TextTrackCue":
5017 return new TextTrackCueWrappingImplementation._wrap(raw);
5018 case "TextTrackCueList":
5019 return new TextTrackCueListWrappingImplementation._wrap(raw);
5020 case "TimeRanges":
5021 return new TimeRangesWrappingImplementation._wrap(raw);
5022 case "HTMLTitleElement":
5023 return new TitleElementWrappingImplementation._wrap(raw);
5024 case "Touch":
5025 return new TouchWrappingImplementation._wrap(raw);
5026 case "TouchEvent":
5027 return new TouchEventWrappingImplementation._wrap(raw);
5028 case "TouchList":
5029 return new TouchListWrappingImplementation._wrap(raw);
5030 case "HTMLTrackElement":
5031 return new TrackElementWrappingImplementation._wrap(raw);
5032 case "WebKitTransitionEvent":
5033 return new TransitionEventWrappingImplementation._wrap(raw);
5034 /* Skipping TreeWalker*/
5035 case "UIEvent":
5036 return new UIEventWrappingImplementation._wrap(raw);
5037 case "HTMLUListElement":
5038 return new UListElementWrappingImplementation._wrap(raw);
5039 case "Uint16Array":
5040 return new Uint16ArrayWrappingImplementation._wrap(raw);
5041 case "Uint32Array":
5042 return new Uint32ArrayWrappingImplementation._wrap(raw);
5043 case "Uint8Array":
5044 return new Uint8ArrayWrappingImplementation._wrap(raw);
5045 case "HTMLUnknownElement":
5046 return new UnknownElementWrappingImplementation._wrap(raw);
5047 case "ValidityState":
5048 return new ValidityStateWrappingImplementation._wrap(raw);
5049 case "HTMLVideoElement":
5050 return new VideoElementWrappingImplementation._wrap(raw);
5051 case "VoidCallback":
5052 return new VoidCallbackWrappingImplementation._wrap(raw);
5053 case "WaveShaperNode":
5054 return new WaveShaperNodeWrappingImplementation._wrap(raw);
5055 case "WebGLActiveInfo":
5056 return new WebGLActiveInfoWrappingImplementation._wrap(raw);
5057 case "WebGLBuffer":
5058 return new WebGLBufferWrappingImplementation._wrap(raw);
5059 case "WebGLContextAttributes":
5060 return new WebGLContextAttributesWrappingImplementation._wrap(raw);
5061 case "WebGLContextEvent":
5062 return new WebGLContextEventWrappingImplementation._wrap(raw);
5063 case "WebGLDebugRendererInfo":
5064 return new WebGLDebugRendererInfoWrappingImplementation._wrap(raw);
5065 case "WebGLDebugShaders":
5066 return new WebGLDebugShadersWrappingImplementation._wrap(raw);
5067 case "WebGLFramebuffer":
5068 return new WebGLFramebufferWrappingImplementation._wrap(raw);
5069 case "WebGLProgram":
5070 return new WebGLProgramWrappingImplementation._wrap(raw);
5071 case "WebGLRenderbuffer":
5072 return new WebGLRenderbufferWrappingImplementation._wrap(raw);
5073 case "WebGLRenderingContext":
5074 return new WebGLRenderingContextWrappingImplementation._wrap(raw);
5075 case "WebGLShader":
5076 return new WebGLShaderWrappingImplementation._wrap(raw);
5077 case "WebGLTexture":
5078 return new WebGLTextureWrappingImplementation._wrap(raw);
5079 case "WebGLUniformLocation":
5080 return new WebGLUniformLocationWrappingImplementation._wrap(raw);
5081 case "WebGLVertexArrayObjectOES":
5082 return new WebGLVertexArrayObjectOESWrappingImplementation._wrap(raw);
5083 case "WebKitCSSFilterValue":
5084 return new WebKitCSSFilterValueWrappingImplementation._wrap(raw);
5085 case "WebKitMutationObserver":
5086 return new WebKitMutationObserverWrappingImplementation._wrap(raw);
5087 case "WebSocket":
5088 return new WebSocketWrappingImplementation._wrap(raw);
5089 case "WheelEvent":
5090 return new WheelEventWrappingImplementation._wrap(raw);
5091 case "Window":
5092 return new WindowWrappingImplementation._wrap(raw);
5093 case "Worker":
5094 return new WorkerWrappingImplementation._wrap(raw);
5095 /* Skipping WorkerContext*/
5096 /* Skipping WorkerLocation*/
5097 /* Skipping WorkerNavigator*/
5098 case "XMLHttpRequest":
5099 return new XMLHttpRequestWrappingImplementation._wrap(raw);
5100 case "XMLHttpRequestException":
5101 return new XMLHttpRequestExceptionWrappingImplementation._wrap(raw);
5102 case "XMLHttpRequestProgressEvent":
5103 return new XMLHttpRequestProgressEventWrappingImplementation._wrap(raw);
5104 case "XMLHttpRequestUpload":
5105 return new XMLHttpRequestUploadWrappingImplementation._wrap(raw);
5106 /* Skipping XMLSerializer*/
5107 /* Skipping XPathEvaluator*/
5108 /* Skipping XPathException*/
5109 /* Skipping XPathExpression*/
5110 /* Skipping XPathNSResolver*/
5111 /* Skipping XPathResult*/
5112 /* Skipping XSLTProcessor*/
5113 default:
5114 throw new UnsupportedOperationException("Unknown type:" + raw.toString() );
5115 }
5116 }
5117
5118 static unwrapMaybePrimitive(raw) {
5119 return (raw === null || raw is String || raw is num || raw is bool) ? raw : raw._ptr;
5120 }
5121
5122 static unwrap(raw) {
5123 return raw === null ? null : raw._ptr;
5124 }
5125
5126
5127 static void initialize() {
5128 secretWindow = wrapWindow(dom.window);
5129 secretDocument = wrapDocument(dom.document);
5130 }
5131
5132 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698