XPathResult class

The interface represents the results generated by evaluating an XPath expression within the context of a given node. Since XPath expressions can result in a variety of result types, this interface makes it possible to determine and handle the type and value of the result.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

XPathResult()
factory

Properties

booleanValue bool

Available on XPathResult, provided by the PropsXPathResult extension

no setter
hashCode int
The hash code for this object.
no setterinherited
invalidIteratorState bool

Available on XPathResult, provided by the PropsXPathResult extension

no setter
numberValue → dynamic

Available on XPathResult, provided by the PropsXPathResult extension

no setter
resultType int

Available on XPathResult, provided by the PropsXPathResult extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
singleNodeValue Node?

Available on XPathResult, provided by the PropsXPathResult extension

no setter
snapshotLength int

Available on XPathResult, provided by the PropsXPathResult extension

no setter
stringValue String

Available on XPathResult, provided by the PropsXPathResult extension

no setter

Methods

iterateNext() Node?

Available on XPathResult, provided by the PropsXPathResult extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
snapshotItem(int index) Node?

Available on XPathResult, provided by the PropsXPathResult extension

toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

anyType int
no setter
anyUnorderedNodeType int
no setter
booleanType int
no setter
firstOrderedNodeType int
no setter
numberType int
no setter
orderedNodeIteratorType int
no setter
orderedNodeSnapshotType int
no setter
stringType int
no setter
unorderedNodeIteratorType int
no setter
unorderedNodeSnapshotType int
no setter