XPathEvaluator class

The interface allows to compile and evaluate XPath expressions. It is implemented by the Document interface.

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

XPathEvaluator()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createExpression(String expression, [XPathNSResolver? resolver]) XPathExpression

Available on XPathEvaluatorBase, provided by the PropsXPathEvaluatorBase extension

createNSResolver(Node nodeResolver) XPathNSResolver

Available on XPathEvaluatorBase, provided by the PropsXPathEvaluatorBase extension

evaluate(String expression, Node contextNode, [XPathNSResolver? resolver, int? type = 0, XPathResult? result]) XPathResult

Available on XPathEvaluatorBase, provided by the PropsXPathEvaluatorBase extension

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