com.jclark.xsl.expr

Class MergeNodeIterator

Implemented Interfaces:
NodeIterator

(package private) class MergeNodeIterator
extends java.lang.Object
implements NodeIterator

does some sort of sort/merge on NodeIterators, I think

Constructor Summary

MergeNodeIterator(NodeIterator[] iters, int length)
construct with an array of iterators

Method Summary

Node
next()
finds and returns the next node (in document(s) order?)

Constructor Details

MergeNodeIterator

(package private)  MergeNodeIterator(NodeIterator[] iters,
                                     int length)
            throws XSLException
construct with an array of iterators
Parameters:
length - the number of slots in the array which really have NodeIterators for us

Method Details

next

public Node next()
            throws XSLException
finds and returns the next node (in document(s) order?)
Specified by:
next in interface NodeIterator