final class NamespaceEnumeration extends TreeEnumeration
last, next, nodeTest, start
Constructor and Description |
---|
NamespaceEnumeration(NodeImpl node,
NodeTest nodeTest) |
Modifier and Type | Method and 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
|
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()