XmlDocument class

Inheritance
Annotations
  • @Native("XMLDocument")

Properties

activeElement → Element?
read-only, inherited
addressSpace → String?
read-only, inherited
baseUri → String?
@JSName('baseURI'), read-only, inherited
childNodes → List<Node>
@Creates('NodeList'), @Returns('NodeList'), read-only, inherited
A list of this node's children. [...]
contentType → String?
read-only, inherited
currentScript → ScriptElement?
read-only, inherited
documentElement → Element?
read-only, inherited
domain → String?
read-only, inherited
firstChild → Node?
read-only, inherited
The first child of this node. [...]
fonts → FontFaceSet?
read-only, inherited
fullscreenElement → Element?
read-only, inherited
fullscreenEnabled → bool?
read-only, inherited
hashCode → int
read-only, inherited
The hash code for this object. [...]
hidden → bool?
read-only, inherited
implementation → DomImplementation?
read-only, inherited
isConnected → bool?
read-only, inherited
lastChild → Node?
read-only, inherited
The last child of this node. [...]
nextNode → Node?
@JSName('nextSibling'), read-only, inherited
The next sibling node. [...]
nodeName → String?
read-only, inherited
The name of this node. [...]
nodes ↔ List<Node>
read / write, inherited
A modifiable list of this node's children.
nodeType → int
read-only, inherited
The type of node. [...]
nodeValue → String?
read-only, inherited
The value of this node. [...]
on → Events
read-only, inherited
This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
onAbort → Stream<Event>
read-only, inherited
Stream of abort events handled by this Document.
onBeforeCopy → Stream<Event>
read-only, inherited
Stream of beforecopy events handled by this Document.
onBeforeCut → Stream<Event>
read-only, inherited
Stream of beforecut events handled by this Document.
onBeforePaste → Stream<Event>
read-only, inherited
Stream of beforepaste events handled by this Document.
onBlur → Stream<Event>
read-only, inherited
Stream of blur events handled by this Document.
onCanPlay → Stream<Event>
read-only, inherited
onCanPlayThrough → Stream<Event>
read-only, inherited
onChange → Stream<Event>
read-only, inherited
Stream of change events handled by this Document.
onClick → Stream<MouseEvent>
read-only, inherited
Stream of click events handled by this Document.
onContextMenu → Stream<MouseEvent>
read-only, inherited
Stream of contextmenu events handled by this Document.
onCopy → Stream<ClipboardEvent>
read-only, inherited
Stream of copy events handled by this Document.
onCut → Stream<ClipboardEvent>
read-only, inherited
Stream of cut events handled by this Document.
onDoubleClick → Stream<Event>
@DomName('Document.ondblclick'), read-only, inherited
Stream of doubleclick events handled by this Document.
onDrag → Stream<MouseEvent>
read-only, inherited
Stream of drag events handled by this Document.
onDragEnd → Stream<MouseEvent>
read-only, inherited
Stream of dragend events handled by this Document.
onDragEnter → Stream<MouseEvent>
read-only, inherited
Stream of dragenter events handled by this Document.
onDragLeave → Stream<MouseEvent>
read-only, inherited
Stream of dragleave events handled by this Document.
onDragOver → Stream<MouseEvent>
read-only, inherited
Stream of dragover events handled by this Document.
onDragStart → Stream<MouseEvent>
read-only, inherited
Stream of dragstart events handled by this Document.
onDrop → Stream<MouseEvent>
read-only, inherited
Stream of drop events handled by this Document.
onDurationChange → Stream<Event>
read-only, inherited
onEmptied → Stream<Event>
read-only, inherited
onEnded → Stream<Event>
read-only, inherited
onError → Stream<Event>
read-only, inherited
Stream of error events handled by this Document.
onFocus → Stream<Event>
read-only, inherited
Stream of focus events handled by this Document.
onFullscreenChange → Stream<Event>
read-only, inherited
Stream of fullscreenchange events handled by this Document.
onFullscreenError → Stream<Event>
read-only, inherited
Stream of fullscreenerror events handled by this Document.
onInput → Stream<Event>
read-only, inherited
Stream of input events handled by this Document.
onInvalid → Stream<Event>
read-only, inherited
Stream of invalid events handled by this Document.
onKeyDown → Stream<KeyboardEvent>
read-only, inherited
Stream of keydown events handled by this Document.
onKeyPress → Stream<KeyboardEvent>
read-only, inherited
Stream of keypress events handled by this Document.
onKeyUp → Stream<KeyboardEvent>
read-only, inherited
Stream of keyup events handled by this Document.
onLoad → Stream<Event>
read-only, inherited
Stream of load events handled by this Document.
onLoadedData → Stream<Event>
read-only, inherited
onLoadedMetadata → Stream<Event>
read-only, inherited
onMouseDown → Stream<MouseEvent>
read-only, inherited
Stream of mousedown events handled by this Document.
onMouseEnter → Stream<MouseEvent>
read-only, inherited
Stream of mouseenter events handled by this Document.
onMouseLeave → Stream<MouseEvent>
read-only, inherited
Stream of mouseleave events handled by this Document.
onMouseMove → Stream<MouseEvent>
read-only, inherited
Stream of mousemove events handled by this Document.
onMouseOut → Stream<MouseEvent>
read-only, inherited
Stream of mouseout events handled by this Document.
onMouseOver → Stream<MouseEvent>
read-only, inherited
Stream of mouseover events handled by this Document.
onMouseUp → Stream<MouseEvent>
read-only, inherited
Stream of mouseup events handled by this Document.
onMouseWheel → Stream<WheelEvent>
read-only, inherited
Stream of mousewheel events handled by this Document.
onPaste → Stream<ClipboardEvent>
read-only, inherited
Stream of paste events handled by this Document.
onPause → Stream<Event>
read-only, inherited
onPlay → Stream<Event>
read-only, inherited
onPlaying → Stream<Event>
read-only, inherited
onPointerLockChange → Stream<Event>
read-only, inherited
onPointerLockError → Stream<Event>
read-only, inherited
onRateChange → Stream<Event>
read-only, inherited
onReadyStateChange → Stream<Event>
read-only, inherited
Stream of readystatechange events handled by this Document.
onReset → Stream<Event>
read-only, inherited
Stream of reset events handled by this Document.
onResize → Stream<Event>
read-only, inherited
onScroll → Stream<Event>
read-only, inherited
Stream of scroll events handled by this Document.
onSearch → Stream<Event>
read-only, inherited
Stream of search events handled by this Document.
onSecurityPolicyViolation → Stream<SecurityPolicyViolationEvent>
read-only, inherited
Stream of securitypolicyviolation events handled by this Document.
onSeeked → Stream<Event>
read-only, inherited
onSeeking → Stream<Event>
read-only, inherited
onSelect → Stream<Event>
read-only, inherited
Stream of select events handled by this Document.
onSelectionChange → Stream<Event>
read-only, inherited
Stream of selectionchange events handled by this Document.
onSelectStart → Stream<Event>
read-only, inherited
Stream of selectstart events handled by this Document.
onStalled → Stream<Event>
read-only, inherited
onSubmit → Stream<Event>
read-only, inherited
Stream of submit events handled by this Document.
onSuspend → Stream<Event>
read-only, inherited
onTimeUpdate → Stream<Event>
read-only, inherited
onTouchCancel → Stream<TouchEvent>
read-only, inherited
Stream of touchcancel events handled by this Document.
onTouchEnd → Stream<TouchEvent>
read-only, inherited
Stream of touchend events handled by this Document.
onTouchMove → Stream<TouchEvent>
read-only, inherited
Stream of touchmove events handled by this Document.
onTouchStart → Stream<TouchEvent>
read-only, inherited
Stream of touchstart events handled by this Document.
onVolumeChange → Stream<Event>
read-only, inherited
onWaiting → Stream<Event>
read-only, inherited
origin → String?
read-only, inherited
ownerDocument → Document?
read-only, inherited
The document this node belongs to. [...]
parent → Element?
@JSName('parentElement'), read-only, inherited
The parent element of this node. [...]
parentNode → Node?
read-only, inherited
The parent node of this node. [...]
pointerLockElement → Element?
read-only, inherited
previousNode → Node?
@JSName('previousSibling'), read-only, inherited
The previous sibling node. [...]
readyState → String?
read-only, inherited
rootElement → SvgSvgElement?
read-only, inherited
rootScroller ↔ Element?
read / write, inherited
runtimeType → Type
read-only, inherited
A representation of the runtime type of the object.
scrollingElement → Element?
read-only, inherited
suborigin → String?
read-only, inherited
supportsRegister → bool
read-only, inherited
Deprecated: use supportsRegisterElement instead.
supportsRegisterElement → bool
read-only, inherited
Checks if registerElement is supported on the current platform.
text ↔ String?
@JSName('textContent'), read / write, inherited
All text within this node and its descendents. [...]
timeline → DocumentTimeline?
read-only, inherited
visibilityState → String
@SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.FIREFOX), @SupportedBrowser(SupportedBrowser.IE, '10'), read-only, inherited
window → WindowBase?
read-only, inherited

Methods

addEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
adoptNode(Node node) → Node
inherited
append(Node node) → Node
@JSName('appendChild'), inherited
Adds a node to the end of the child nodes list of this node. [...]
clone(bool? deep) → Node
@JSName('cloneNode'), inherited
Returns a copy of this node. [...]
contains(Node? other) → bool
inherited
Returns true if this node contains the specified node. [...]
createDocumentFragment() → DocumentFragment
inherited
createElement(String tagName, [String? typeExtension]) → Element
inherited
createElementNS(String namespaceURI, String qualifiedName, [String? typeExtension]) → Element
inherited
createRange() → Range
inherited
dispatchEvent(Event event) → bool
inherited
elementsFromPoint(int x, int y) → List<Element>
inherited
execCommand(String commandId, [bool? showUI, String? value]) → bool
inherited
exitFullscreen() → void
inherited
exitPointerLock() → void
inherited
getAnimations() → List<Animation>
inherited
getElementById(String elementId) → Element?
inherited
getElementsByClassName(String classNames) → List<Node>
@Creates('NodeList|HtmlCollection'), @Returns('NodeList|HtmlCollection'), inherited
getElementsByName(String elementName) → List<Node>
@Creates('NodeList|HtmlCollection'), @Returns('NodeList|HtmlCollection'), inherited
getElementsByTagName(String localName) → List<Node>
@Creates('NodeList|HtmlCollection'), @Returns('NodeList|HtmlCollection'), inherited
getRootNode([Map? options]) → Node
inherited
hasChildNodes() → bool
inherited
Returns true if this node has any children. [...]
importNode(Node node, [bool? deep]) → Node
inherited
insertAllBefore(Iterable<Node> newNodes, Node refChild) → void
inherited
Inserts all of the nodes into this node directly before refChild. [...]
insertBefore(Node node, Node? child) → Node
inherited
Inserts all of the nodes into this node directly before refChild. [...]
noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed. [...]
queryCommandEnabled(String commandId) → bool
inherited
queryCommandIndeterm(String commandId) → bool
inherited
queryCommandState(String commandId) → bool
inherited
queryCommandSupported(String commandId) → bool
inherited
queryCommandValue(String commandId) → String
inherited
querySelector(String selectors) → Element?
inherited
Finds the first descendant element of this document that matches the specified group of selectors. [...]
querySelectorAll<T extends Element>(String selectors) → ElementList<T>
inherited
Finds all descendant elements of this document that match the specified group of selectors. [...]
registerElement(String tag, Type customElementClass, {String? extendsTag}) → void
inherited
registerElement2(String type, [Map? options]) → Function
inherited
remove() → void
inherited
Removes this node from the DOM.
removeEventListener(String type, EventListener? listener, [bool? useCapture]) → void
inherited
replaceWith(Node otherNode) → Node
inherited
Replaces this node with another node.
toString() → String
inherited
Print out a String representation of this Node.

Operators

operator ==(Object other) → bool
inherited
The equality operator. [...]

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/XmlDocument-class.html