Class xrx.xpath.NodeSet.Iterator
Defined in: nodeset.js.
Constructor Attributes | Constructor Name and Description |
---|---|
xrx.xpath.NodeSet.Iterator(nodeset, reverse)
An iterator over the nodes of this nodeset.
|
Method Attributes | Method Name and Description |
---|---|
next()
Returns the next value of the iteration or null if passes the end.
|
|
remove()
Deletes the last node that was returned from this iterator.
|
Class Detail
xrx.xpath.NodeSet.Iterator(nodeset, reverse)
An iterator over the nodes of this nodeset.
- Parameters:
- {!xrx.xpath.NodeSet} nodeset
- The nodeset to be iterated over.
- {boolean} reverse
- Whether to iterate in ascending or descending order.
Method Detail
{?xrx.node}
next()
Returns the next value of the iteration or null if passes the end.
- Returns:
- {?xrx.node} The next node from this iterator.
remove()
Deletes the last node that was returned from this iterator.