w3c_dom3.js (21850B)
1 /* 2 * Copyright 2008 The Closure Compiler Authors 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 /** 18 * @fileoverview Definitions for W3C's DOM Level 3 specification. 19 * This file depends on w3c_dom2.js. 20 * The whole file has been fully type annotated. 21 * Created from 22 * http://www.w3.org/TR/DOM-Level-3-Core/ecma-script-binding.html 23 * 24 * @externs 25 * @author stevey@google.com (Steve Yegge) 26 */ 27 28 /** 29 * @type {number} 30 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-258A00AF 31 */ 32 DOMException.prototype.code; 33 34 /** 35 * @type {number} 36 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-258A00AF 37 */ 38 DOMException.VALIDATION_ERR = 16; 39 40 /** 41 * @type {number} 42 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-258A00AF 43 */ 44 DOMException.TYPE_MISMATCH_ERR = 17; 45 46 /** 47 * @constructor 48 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMStringList 49 */ 50 function DOMStringList() {} 51 52 /** 53 * @type {number} 54 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMStringList-length 55 */ 56 DOMStringList.prototype.length; 57 58 /** 59 * @param {string} str 60 * @return {boolean} 61 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMStringList-contains 62 */ 63 DOMStringList.prototype.contains = function(str) {}; 64 65 /** 66 * @param {number} index 67 * @return {string} 68 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMStringList-item 69 */ 70 DOMStringList.prototype.item = function(index) {}; 71 72 /** 73 * @constructor 74 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#NameList 75 */ 76 function NameList() {} 77 78 /** 79 * @type {number} 80 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#NameList-length 81 */ 82 NameList.prototype.length; 83 84 /** 85 * @param {string} str 86 * @return {boolean} 87 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#NameList-contains 88 * @nosideeffects 89 */ 90 NameList.prototype.contains = function(str) {}; 91 92 /** 93 * @param {string} namespaceURI 94 * @param {string} name 95 * @return {boolean} 96 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#NameList-containsNS 97 * @nosideeffects 98 */ 99 NameList.prototype.containsNS = function(namespaceURI, name) {}; 100 101 /** 102 * @param {number} index 103 * @return {string} 104 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#NameList-getName 105 * @nosideeffects 106 */ 107 NameList.prototype.getName = function(index) {}; 108 109 /** 110 * @param {number} index 111 * @return {string} 112 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#NameList-getNamespaceURI 113 * @nosideeffects 114 */ 115 NameList.prototype.getNamespaceURI = function(index) {}; 116 117 /** 118 * @constructor 119 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMImplementationList 120 */ 121 function DOMImplementationList() {} 122 123 /** 124 * @type {number} 125 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMImplementationList-length 126 */ 127 DOMImplementationList.prototype.length; 128 129 /** 130 * @param {number} index 131 * @return {DOMImplementation} 132 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMImplementationList-item 133 * @nosideeffects 134 */ 135 DOMImplementationList.prototype.item = function(index) {}; 136 137 /** 138 * @constructor 139 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMImplementationSource 140 */ 141 function DOMImplementationSource() {} 142 143 /** 144 * @param {string} namespaceURI 145 * @param {string} publicId 146 * @param {DocumentType} doctype 147 * @return {Document} 148 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Level-2-Core-DOM-createDocument 149 * @nosideeffects 150 */ 151 DOMImplementation.prototype.createDocument = function(namespaceURI, publicId, doctype) {}; 152 153 /** 154 * @param {string} qualifiedName 155 * @param {string} publicId 156 * @param {string} systemId 157 * @return {DocumentType} 158 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Level-2-Core-DOM-createDocType 159 * @nosideeffects 160 */ 161 DOMImplementation.prototype.createDocumentType = function(qualifiedName, publicId, systemId) {}; 162 163 /** 164 * @param {string} features 165 * @return {DOMImplementation} 166 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-getDOMImpl 167 * @nosideeffects 168 */ 169 DOMImplementationSource.prototype.getDOMImplementation = function(features) {}; 170 171 /** 172 * @param {string} features 173 * @return {DOMImplementationList} 174 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-getDOMImpls 175 * @nosideeffects 176 */ 177 DOMImplementationSource.prototype.getDOMImplementationList = function(features) {}; 178 179 /** 180 * @param {string} feature 181 * @param {string} version 182 * @return {Object} 183 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMImplementation3-getFeature 184 * @nosideeffects 185 */ 186 DOMImplementation.prototype.getFeature = function(feature, version) {}; 187 188 /** 189 * @param {Node} externalNode 190 * @return {Node} 191 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-adoptNode 192 */ 193 Document.prototype.adoptNode = function(externalNode) {}; 194 195 /** 196 * @type {string} 197 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-documentURI 198 */ 199 Document.prototype.documentURI; 200 201 /** 202 * @type {DOMConfiguration} 203 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-domConfig 204 */ 205 Document.prototype.domConfig; 206 207 /** 208 * @type {string} 209 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-inputEncoding 210 */ 211 Document.prototype.inputEncoding; 212 213 /** 214 * @type {boolean} 215 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-strictErrorChecking 216 */ 217 Document.prototype.strictErrorChecking; 218 219 /** 220 * @type {string} 221 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-encoding 222 */ 223 Document.prototype.xmlEncoding; 224 225 /** 226 * @type {boolean} 227 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-standalone 228 */ 229 Document.prototype.xmlStandalone; 230 231 /** 232 * @type {string} 233 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-version 234 */ 235 Document.prototype.xmlVersion; 236 237 /** 238 * @return {undefined} 239 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-normalizeDocument 240 */ 241 Document.prototype.normalizeDocument = function() {}; 242 243 /** 244 * @param {Node} n 245 * @param {string} namespaceURI 246 * @param {string} qualifiedName 247 * @return {Node} 248 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-renameNode 249 */ 250 Document.prototype.renameNode = function(n, namespaceURI, qualifiedName) {}; 251 252 /** 253 * @type {?string} 254 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-baseURI 255 */ 256 Node.prototype.baseURI; 257 258 /** 259 * @type {string} 260 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-NodeNSLocalN 261 */ 262 Node.prototype.localName; 263 264 /** 265 * @type {string} 266 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-NodeNSname 267 */ 268 Node.prototype.namespaceURI; 269 270 /** 271 * @type {string} 272 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-NodeNSPrefix 273 */ 274 Node.prototype.prefix; 275 276 /** 277 * @type {string} 278 * @implicitCast 279 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-textContent 280 */ 281 Node.prototype.textContent; 282 283 /** 284 * @type {number} 285 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node-DOCUMENT_POSITION_DISCONNECTED 286 */ 287 Node.DOCUMENT_POSITION_DISCONNECTED = 0x01; 288 289 /** 290 * @type {number} 291 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node-DOCUMENT_POSITION_PRECEDING 292 */ 293 Node.DOCUMENT_POSITION_PRECEDING = 0x02; 294 295 /** 296 * @type {number} 297 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node-DOCUMENT_POSITION_FOLLOWING 298 */ 299 Node.DOCUMENT_POSITION_FOLLOWING = 0x04; 300 301 /** 302 * @type {number} 303 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node-DOCUMENT_POSITION_CONTAINS 304 */ 305 Node.DOCUMENT_POSITION_CONTAINS = 0x08; 306 307 /** 308 * @type {number} 309 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node-DOCUMENT_POSITION_CONTAINED_BY 310 */ 311 Node.DOCUMENT_POSITION_CONTAINED_BY = 0x10; 312 313 /** 314 * @type {number} 315 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node-DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC 316 */ 317 Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20; 318 319 /** 320 * @param {Node} other 321 * @return {number} 322 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-compareDocumentPosition 323 * @nosideeffects 324 */ 325 Node.prototype.compareDocumentPosition = function(other) {}; 326 327 /** 328 * @param {string} feature 329 * @param {string} version 330 * @return {Object} 331 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-getFeature 332 * @nosideeffects 333 */ 334 Node.prototype.getFeature = function(feature, version) {}; 335 336 /** 337 * @param {string} key 338 * @return {Object} 339 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-getUserData 340 * @nosideeffects 341 */ 342 Node.prototype.getUserData = function(key) {}; 343 344 /** 345 * @return {boolean} 346 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-NodeHasAttrs 347 * @nosideeffects 348 */ 349 Node.prototype.hasAttributes = function() {}; 350 351 /** 352 * @param {string} namespaceURI 353 * @return {boolean} 354 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-isDefaultNamespace 355 * @nosideeffects 356 */ 357 Node.prototype.isDefaultNamespace = function(namespaceURI) {}; 358 359 /** 360 * @param {Node} arg 361 * @return {boolean} 362 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-isEqualNode 363 * @nosideeffects 364 */ 365 Node.prototype.isEqualNode = function(arg) {}; 366 367 /** 368 * @param {Node} other 369 * @return {boolean} 370 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-isSameNode 371 * @nosideeffects 372 */ 373 Node.prototype.isSameNode = function(other) {}; 374 375 /** 376 * @param {string} feature 377 * @param {string} version 378 * @return {boolean} 379 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Level-2-Core-Node-supports 380 * @nosideeffects 381 */ 382 Node.prototype.isSupported = function(feature, version) {}; 383 384 /** 385 * @param {string} prefix 386 * @return {string} 387 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespaceURI 388 * @nosideeffects 389 */ 390 Node.prototype.lookupNamespaceURI = function(prefix) {}; 391 392 /** 393 * @param {string} namespaceURI 394 * @return {string} 395 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespacePrefix 396 * @nosideeffects 397 */ 398 Node.prototype.lookupPrefix = function(namespaceURI) {}; 399 400 /** 401 * @return undefined 402 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-normalize 403 */ 404 Node.prototype.normalize = function() {}; 405 406 /** 407 * @param {Object} key 408 * @param {Object} data 409 * @param {UserDataHandler} handler 410 * @return {Object} 411 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-setUserData' 412 */ 413 Node.prototype.setUserData = function(key, data, handler) {}; 414 415 /** 416 * @param {string} query 417 * @return {Node} 418 * @see http://www.w3.org/TR/selectors-api/#queryselector 419 * @nosideeffects 420 */ 421 Node.prototype.querySelector = function(query) {}; 422 423 /** 424 * @param {string} query 425 * @return {!NodeList} 426 * @see http://www.w3.org/TR/selectors-api/#queryselectorall 427 * @nosideeffects 428 */ 429 Node.prototype.querySelectorAll = function(query) {}; 430 431 /** 432 * @type {Element} 433 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Attr-ownerElement 434 */ 435 Attr.prototype.ownerElement; 436 437 /** 438 * @type {boolean} 439 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Attr-isId 440 */ 441 Attr.prototype.isId; 442 443 /** 444 * @type {TypeInfo} 445 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Attr-schemaTypeInfo 446 */ 447 Attr.prototype.schemaTypeInfo; 448 449 /** 450 * @type {TypeInfo} 451 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Element-schemaTypeInfo 452 */ 453 Element.prototype.schemaTypeInfo; 454 455 /** 456 * @param {string} namespaceURI 457 * @param {string} localName 458 * @return {Attr} 459 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-ElGetAtNodeNS 460 * @nosideeffects 461 */ 462 Element.prototype.getAttributeNodeNS = function(namespaceURI, localName) {}; 463 464 /** 465 * @param {string} namespaceURI 466 * @param {string} localName 467 * @return {string} 468 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-ElGetAttrNS 469 * @nosideeffects 470 */ 471 Element.prototype.getAttributeNS = function(namespaceURI, localName) {}; 472 473 /** 474 * @param {string} namespaceURI 475 * @param {string} localName 476 * @return {!NodeList} 477 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-A6C90942 478 * @nosideeffects 479 */ 480 Element.prototype.getElementsByTagNameNS = function(namespaceURI, localName) {}; 481 482 /** 483 * @param {string} name 484 * @return {boolean} 485 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-ElHasAttr 486 * @nosideeffects 487 */ 488 Element.prototype.hasAttribute = function(name) {}; 489 490 /** 491 * @param {string} namespaceURI 492 * @param {string} localName 493 * @return {boolean} 494 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-ElHasAttrNS 495 * @nosideeffects 496 */ 497 Element.prototype.hasAttributeNS = function(namespaceURI, localName) {}; 498 499 /** 500 * @param {string} namespaceURI 501 * @param {string} localName 502 * @return {undefined} 503 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-ElRemAtNS 504 */ 505 Element.prototype.removeAttributeNS = function(namespaceURI, localName) {}; 506 507 /** 508 * @param {Attr} newAttr 509 * @return {Attr} 510 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-ElSetAtNodeNS 511 */ 512 Element.prototype.setAttributeNodeNS = function(newAttr) {}; 513 514 /** 515 * @param {string} namespaceURI 516 * @param {string} qualifiedName 517 * @param {string|number|boolean} value Values are converted to strings with 518 * ToString, so we accept number and boolean since both convert easily to 519 * strings. 520 * @return {undefined} 521 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-ElSetAttrNS 522 */ 523 Element.prototype.setAttributeNS = function(namespaceURI, qualifiedName, value) {}; 524 525 /** 526 * @param {string} name 527 * @param {boolean} isId 528 * @return {undefined} 529 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-ElSetIdAttr 530 */ 531 Element.prototype.setIdAttribute = function(name, isId) {}; 532 533 /** 534 * @param {Attr} idAttr 535 * @param {boolean} isId 536 * @return {undefined} 537 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-ElSetIdAttrNode 538 */ 539 Element.prototype.setIdAttributeNode = function(idAttr, isId) {}; 540 541 /** 542 * @param {string} namespaceURI 543 * @param {string} localName 544 * @param {boolean} isId 545 * @return {undefined} 546 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-ElSetIdAttrNS 547 */ 548 Element.prototype.setIdAttributeNS = function(namespaceURI, localName, isId) {}; 549 550 /** 551 * @type {string} 552 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Text3-wholeText 553 */ 554 Text.prototype.wholeText; 555 556 /** 557 * @param {string} newText 558 * @return {Text} 559 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Text3-replaceWholeText 560 */ 561 Text.prototype.replaceWholeText = function(newText) {}; 562 563 /** 564 * @constructor 565 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#TypeInfo 566 */ 567 function TypeInfo() {} 568 569 /** 570 * @type {number} 571 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#TypeInfo-DERIVATION_EXTENSION 572 */ 573 TypeInfo.prototype.DERIVATION_EXTENSION; 574 575 /** 576 * @type {number} 577 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#TypeInfo-DERIVATION_LIST 578 */ 579 TypeInfo.prototype.DERIVATION_LIST; 580 581 /** 582 * @type {number} 583 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#TypeInfo-DERIVATION_RESTRICTION 584 */ 585 TypeInfo.prototype.DERIVATION_RESTRICTION; 586 587 /** 588 * @type {number} 589 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#TypeInfo-DERIVATION_UNION 590 */ 591 TypeInfo.prototype.DERIVATION_UNION; 592 593 /** 594 * @type {string} 595 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#TypeInfo-typeName 596 */ 597 TypeInfo.prototype.typeName; 598 599 /** 600 * @type {string} 601 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#TypeInfo-typeNamespace 602 */ 603 TypeInfo.prototype.typeNamespace; 604 605 /** 606 * @param {string} typeNamespaceArg 607 * @param {string} typeNameArg 608 * @param {number} derivationMethod 609 * @return {boolean} 610 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#TypeInfo-isDerivedFrom 611 * @nosideeffects 612 */ 613 TypeInfo.prototype.isDerivedFrom = function(typeNamespaceArg, typeNameArg, derivationMethod) {}; 614 615 /** 616 * @constructor 617 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#UserDataHandler 618 */ 619 function UserDataHandler() {} 620 621 /** 622 * @type {number} 623 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#UserDataHandler-CLONED 624 */ 625 UserDataHandler.prototype.NODE_CLONED = 1; 626 627 /** 628 * @type {number} 629 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#UserDataHandler-IMPORTED 630 */ 631 UserDataHandler.prototype.NODE_IMPORTED = 2; 632 633 /** 634 * @type {number} 635 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#UserDataHandler-DELETED 636 */ 637 UserDataHandler.prototype.NODE_DELETED = 3; 638 639 /** 640 * @type {number} 641 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#UserDataHandler-RENAMED 642 */ 643 UserDataHandler.prototype.NODE_RENAMED = 4; 644 645 /** 646 * @type {number} 647 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#UserDataHandler-ADOPTED 648 */ 649 UserDataHandler.prototype.NODE_ADOPTED = 5; 650 651 /** 652 * @param {number} operation 653 * @param {string} key 654 * @param {*=} opt_data 655 * @param {?Node=} opt_src 656 * @param {?Node=} opt_dst 657 * @return {undefined} 658 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-handleUserDataEvent 659 */ 660 UserDataHandler.prototype.handle = function(operation, key, opt_data, 661 opt_src, opt_dst) {}; 662 663 /** 664 * @constructor 665 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ERROR-Interfaces-DOMError 666 */ 667 function DOMError() {} 668 669 /** 670 * @type {DOMLocator} 671 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ERROR-DOMError-location 672 */ 673 DOMError.prototype.location; 674 675 /** 676 * @type {string} 677 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ERROR-DOMError-message 678 */ 679 DOMError.prototype.message; 680 681 /** 682 * @type {Object} 683 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ERROR-DOMError-relatedData 684 */ 685 DOMError.prototype.relatedData; 686 687 /** 688 * @type {Object} 689 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ERROR-DOMError-relatedException 690 */ 691 DOMError.prototype.relatedException; 692 693 /** 694 * @type {number} 695 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ERROR-DOMError-severity-warning 696 */ 697 DOMError.SEVERITY_WARNING = 1; 698 699 /** 700 * @type {number} 701 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ERROR-DOMError-severity-error 702 */ 703 DOMError.SEVERITY_ERROR = 2; 704 705 /** 706 * @type {number} 707 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ERROR-DOMError-severity-fatal-error 708 */ 709 DOMError.SEVERITY_FATAL_ERROR = 3; 710 711 /** 712 * @type {number} 713 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ERROR-DOMError-severity 714 */ 715 DOMError.prototype.severity; 716 717 /** 718 * @type {string} 719 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ERROR-DOMError-type 720 */ 721 DOMError.prototype.type; 722 723 /** 724 * @type {string} 725 * @see http://www.w3.org/TR/dom/#domerror 726 */ 727 DOMError.prototype.name; 728 729 /** 730 * @constructor 731 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ERROR-Interfaces-DOMErrorHandler 732 */ 733 function DOMErrorHandler() {} 734 735 /** 736 * @param {DOMError} error 737 * @return {boolean} 738 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-ERRORS-DOMErrorHandler-handleError 739 */ 740 DOMErrorHandler.prototype.handleError = function(error) {}; 741 742 /** 743 * @constructor 744 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Interfaces-DOMLocator 745 */ 746 function DOMLocator() {} 747 748 /** 749 * @type {number} 750 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMLocator-byteOffset 751 */ 752 DOMLocator.prototype.byteOffset; 753 754 /** 755 * @type {number} 756 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMLocator-column-number 757 */ 758 DOMLocator.prototype.columnNumber; 759 760 /** 761 * @type {number} 762 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMLocator-line-number 763 */ 764 DOMLocator.prototype.lineNumber; 765 766 /** 767 * @type {Node} 768 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMLocator-node 769 */ 770 DOMLocator.prototype.relatedNode; 771 772 /** 773 * @type {string} 774 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMLocator-uri 775 */ 776 DOMLocator.prototype.uri; 777 778 /** 779 * @type {number} 780 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMLocator-utf16Offset 781 */ 782 DOMLocator.prototype.utf16Offset; 783 784 /** 785 * @constructor 786 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMConfiguration 787 */ 788 function DOMConfiguration() {} 789 790 /** 791 * @type {DOMStringList} 792 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMConfiguration-parameterNames 793 */ 794 DOMConfiguration.prototype.parameterNames; 795 796 /** 797 * @param {string} name 798 * @return {boolean} 799 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMConfiguration-canSetParameter 800 * @nosideeffects 801 */ 802 DOMConfiguration.prototype.canSetParameter = function(name) {}; 803 804 /** 805 * @param {string} name 806 * @return {*} 807 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMConfiguration-getParameter 808 * @nosideeffects 809 */ 810 DOMConfiguration.prototype.getParameter = function(name) {}; 811 812 /** 813 * @param {string} name 814 * @param {*} value 815 * @return {*} 816 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMConfiguration-property 817 */ 818 DOMConfiguration.prototype.setParameter = function(name, value) {}; 819 820 /** 821 * @type {string} 822 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-Core-DocType-internalSubset 823 */ 824 DocumentType.prototype.internalSubset; 825 826 /** 827 * @type {string} 828 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-Core-DocType-publicId 829 */ 830 DocumentType.prototype.publicId; 831 832 /** 833 * @type {string} 834 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-Core-DocType-systemId 835 */ 836 DocumentType.prototype.systemId; 837 838 /** 839 * @type {string} 840 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Entity3-inputEncoding 841 */ 842 Entity.prototype.inputEncoding; 843 844 /** 845 * @type {string} 846 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Entity3-encoding 847 */ 848 Entity.prototype.xmlEncoding; 849 850 /** 851 * @type {string} 852 * @see http://www.w3.org/TR/DOM-Level-3-Core/core.html#Entity3-version 853 */ 854 Entity.prototype.xmlVersion;