com.icl.saxon.om
public class PrependIterator extends Object implements AxisEnumeration
Field Summary | |
---|---|
AxisEnumeration | base |
int | position |
NodeInfo | start |
Constructor Summary | |
---|---|
PrependIterator(NodeInfo start, AxisEnumeration base) |
Method Summary | |
---|---|
int | getLastPosition()
Get the last position |
boolean | hasMoreElements()
Determine whether there are more nodes to come. |
boolean | isPeer()
Determine whether the nodes returned by this enumeration are known to be peers, that is,
no node is a descendant or ancestor of another node. |
boolean | isReverseSorted()
Determine whether the nodes returned by this enumeration are known to be in
reverse document order.
|
boolean | isSorted()
Determine whether the nodes returned by this enumeration are known to be in document order
|
NodeInfo | nextElement()
Get the next item in the sequence. |
Returns: true if there are more nodes
Returns: true if the nodes are guaranteed to be in document order.
Returns: true if the nodes are guaranteed to be in document order.
Returns: the next Item. If there are no more nodes, return null.