| Package | Description |
|---|---|
| org.htmlunit.xpath.axes |
Implementation of XPath LocationPath support -- primary classes are
LocPathIterator and UnionPathIterator.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AttributeIterator
This class implements an optimized iterator for attribute axes patterns.
|
class |
BasicTestIterator
Base for iterators that handle predicates.
|
class |
ChildIterator
This class implements an optimized iterator for "node()" patterns, that is, any children of the
context node.
|
class |
ChildTestIterator
This class implements an optimized iterator for children patterns that have a node test, and
possibly a predicate.
|
class |
DescendantIterator
This class implements an optimized iterator for descendant, descendant-or-self, or "//foo"
patterns.
|
class |
OneStepIterator
This class implements a general iterator for those LocationSteps with only one step, and perhaps
a predicate.
|
class |
OneStepIteratorForward
This class implements a general iterator for those LocationSteps with only one step, and perhaps
a predicate, that only go forward (i.e. it can not be used with ancestors, preceding, etc.)
|
class |
SelfIteratorNoPredicate
This class implements an optimized iterator for "." patterns, that is, the self axes without any
predicates.
|
class |
UnionChildIterator
This class defines a simplified type of union iterator that only tests along the child axes.
|
class |
UnionPathIterator
This class extends NodeSetDTM, which implements DTMIterator, and fetches nodes one at a time in
document order based on a XPath UnionExpr.
|
class |
WalkingIterator
Location path iterator that uses Walkers.
|
class |
WalkingIteratorSorted
This class iterates over set of nodes that needs to be sorted.
|
| Modifier and Type | Field and Description |
|---|---|
protected LocPathIterator[] |
UnionPathIterator.exprs_
The location path iterators, one for each location path contained in the union
expression.
|
protected LocPathIterator |
PredicatedNodeTest.m_lpi
The owning location path iterator.
|
| Modifier and Type | Method and Description |
|---|---|
protected LocPathIterator |
UnionPathIterator.createDTMIterator(Compiler compiler,
int opPos)
Create a new location path iterator.
|
static LocPathIterator |
UnionPathIterator.createUnionIterator(Compiler compiler,
int opPos)
This will return an iterator capable of handling the union of paths given.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
HasPositionalPredChecker.check(LocPathIterator path)
Process the LocPathIterator to see if it contains variables or functions that may make it
context dependent.
|
void |
PredicatedNodeTest.setLocPathIterator(LocPathIterator li)
Set the location path iterator owner for this walker.
|
| Constructor and Description |
|---|
AxesWalker(LocPathIterator locPathIterator,
int axis)
Construct an AxesWalker using a LocPathIterator.
|
Copyright © 2022–2025 HtmlUnit. All rights reserved.