LastPositionFinder
, AxisEnumeration
, NodeEnumeration
final class NamespaceEnumeration extends TreeEnumeration
last, next, nodeTest, start
Constructor | Description |
---|---|
NamespaceEnumeration(NodeImpl node,
NodeTest nodeTest) |
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
conforms(NodeInfo node) |
Test whether a node conforms.
|
int |
getLastPosition() |
Get the last position, that is the number of nodes in the enumeration
|
boolean |
isPeer() |
Determine if the nodes are guaranteed to be peers (i.e.
|
boolean |
isSorted() |
Determine if the nodes are guaranteed to be sorted in document order
|
void |
step() |
Advance one step along the axis: the resulting node might not meet the required
criteria for inclusion
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
advance, conforms, count, hasMoreElements, isReverseSorted, nextElement
public void step()
TreeEnumeration
step
in class TreeEnumeration
protected boolean conforms(NodeInfo node)
public boolean isSorted()
TreeEnumeration
isSorted
in interface NodeEnumeration
isSorted
in class TreeEnumeration
public boolean isPeer()
TreeEnumeration
isPeer
in interface NodeEnumeration
isPeer
in class TreeEnumeration
public int getLastPosition()