HtmlNodeTree class
Built-in html model.
Constructors
- HtmlNodeTree(Node node)
Properties
-
attributes
→ Map<
String, String> -
Return the attribute nodes of this node in document order.
no setter
-
children
→ List<
HtmlNodeTree> -
Return the direct children of this node in document order.
no setter
- element → Element
-
no setter
- hashCode → int
-
The hash code for this object.
no setter
- isElement → bool
-
Is element or node
no setter
- name → NodeTagName?
-
TagName,
NodeTagName
no setter - nextSibling → HtmlNodeTree?
-
Return the next element sibling of this node, or
null
.no setter - node ↔ Node
-
Html or Xml node
getter/setter pairinherited
- parent → HtmlNodeTree?
-
Return the parent node of this node, or
null
if there is none.no setter - previousSibling → HtmlNodeTree?
-
Return the previous sibling of this node, or
null
.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
Return the concatenated text of this node and all its descendants
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryXPath(
String xpath) → XPathResult< Node> -
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool - The equality operator.
Static Methods
-
from(
Node? node) → HtmlNodeTree?