XPathContext class final
Dynamic execution context to evaluate XPath expressions.
Properties
- configuration → XPathConfiguration
-
Configuration associated with the context.
final
- currentDateTime → DateTime
-
Stable current date and time for the execution of the query.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- item ↔ Object
-
Mutable context item.
getter/setter pair
- last ↔ int
-
Mutable context size.
getter/setter pair
- parentContext → XPathContext?
-
Parent context used for variable lookup.
final
- position ↔ int
-
Mutable context position.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
variables
→ Map<
String, XPathSequence> -
Variables defined in this scope.
final
Methods
-
copy(
{Object? item, int? position, int? last, Map< String, XPathSequence> ? variables}) → XPathContext - Creates a modified copy of this context.
-
evaluate(
String expression) → XPathSequence -
Evaluates the given XPath
expression. -
getVariable(
String name) → XPathSequence -
Looks up an XPath variable with the given
name. -
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