XPathNodeSet class

Wrapper around an Iterable of XmlNodes in XPath.

Implemented types

Constructors

XPathNodeSet(Iterable<XmlNode> nodes, {bool isSorted = false, bool isUnique = false})
Constructs a new node-set from nodes. By default we assume that the input require sorting (isSorted = false) and deduplication (isUnique = false).
factory

Properties

boolean bool
Returns the boolean of this value.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
nodes List<XmlNode>
Returns the node-set of this value.
no setteroverride
number num
Returns the numerical of this value.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
string String
Returns the string of this value.
no setteroverride
value List<XmlNode>
The value.
final

Methods

call(XPathContext context) XPathValue
Evaluates the given XPath expression.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Constants

empty → const XPathNodeSet
The empty node-set as a reusable object