XmlNodeNavigateable class abstract

Implementers

Constructors

XmlNodeNavigateable()

Properties

ancestorElements Iterable<XmlElement>
Return a lazy Iterable of the ancestor XmlElement nodes of this node (parent, grandparent, ...) in reverse document order.
no setter
ancestors Iterable<XmlNode>
Return a lazy Iterable of the ancestors of this node (parent, grandparent, ...) in reverse document order.
no setter
depth int
Return the depth of this node in its tree, a root node has depth 0.
no setter
descendantElements Iterable<XmlElement>
Return a lazy Iterable of the descendants XmlElement nodes of this node (attributes, children, grandchildren, ...) in document order.
no setter
descendants Iterable<XmlNode>
Return a lazy Iterable of the descendants of this node (attributes, children, grandchildren, ...) in document order.
no setter
document XmlDocument?
Return the document that contains this node, or null if the node is not part of a document.
no setter
following Iterable<XmlNode>
Return a lazy Iterable of the nodes following this node in document order.
no setter
followingElements Iterable<XmlElement>
Return a lazy Iterable of the XmlElement nodes following this node in document order.
no setter
hashCode int
The hash code for this object.
no setterinherited
nextElementSibling XmlElement?
Return the next element sibling of this node, or null.
no setter
nextSibling XmlNode?
Return the next sibling of this node, or null.
no setter
nodes Iterable<XmlNode>
Return a lazy Iterable of the direct descendants of this XmlNode (attributes, children) in document order.
no setter
parentElement XmlElement?
Return the first parent of this node that is of type XmlElement, or null if there is none.
no setter
preceding Iterable<XmlNode>
Return a lazy Iterable of the nodes preceding this node in document order.
no setter
precedingElements Iterable<XmlElement>
Return a lazy Iterable of the XmlElement nodes preceding this node in document order.
no setter
previousElementSibling XmlElement?
Return the previous element sibling of this node, or null.
no setter
previousSibling XmlNode?
Return the previous sibling of this node, or null.
no setter
root XmlNode
Return the root of the tree in which this node is found, whether that's a document or another element.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
siblingElements Iterable<XmlNode>
Returns an Iterable over the XmlElement siblings of this node. If the node has no parent or no siblings, return an empty collection.
no setter
siblings Iterable<XmlNode>
Returns an Iterable over the siblings of this node. If the node has no parent or no siblings, return a collection with just this node.
no setter

Methods

findAllElements(String name, {String? namespace}) Iterable<XmlElement>
Return a lazy Iterable of the recursive child elements in document order with the specified tag name.
findElements(String name, {String? namespace}) Iterable<XmlElement>
Return a lazy Iterable of the direct child elements in document order with the specified tag name and namespace.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited