XmlHasText mixin

Mixin for nodes with text.

Mixin Applications

Properties

childElements Iterable<XmlElement>
Return an Iterable over the XmlElement children of this node.
no setterinherited
children List<XmlNode>
Return the direct children of this node in document order.
no setterinherited
firstChild XmlNode?
Return the first child of this node, or null if there are no children.
no setterinherited
firstElementChild XmlElement?
Return the first child XmlElement, or null if there are none.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
innerText String
Return the concatenated text of this node and all its descendants.
getter/setter pair
lastChild XmlNode?
Return the last child of this node, or null if there are no children.
no setterinherited
lastElementChild XmlElement?
Return the last child XmlElement, or null if there are none.
no setterinherited
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, for XmlData nodes return the textual value of the node.
no setter

Methods

getElement(String name, {String? namespace}) XmlElement?
Return the first child element with the given name, or null.
inherited
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