final class PrecedingEnumeration extends TreeEnumeration
Modifier and Type | Field and Description |
---|---|
(package private) NodeImpl |
nextAncestor |
last, next, nodeTest, start
Constructor and Description |
---|
PrecedingEnumeration(NodeImpl node,
NodeTest nodeTest) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
conforms(NodeImpl node)
Special code to skip the ancestors of the start node
|
int |
getLastPosition()
Get the last position, that is the number of nodes in the enumeration
|
protected void |
step()
Advance one step along the axis: the resulting node might not meet the required
criteria for inclusion
|
advance, count, hasMoreElements, isPeer, isReverseSorted, isSorted, nextElement
NodeImpl nextAncestor
protected boolean conforms(NodeImpl node)
conforms
in class TreeEnumeration
protected void step()
TreeEnumeration
step
in class TreeEnumeration
public int getLastPosition()