com.jclark.xsl.expr
Class MergeNodeIterator

java.lang.Object
  extended bycom.jclark.xsl.expr.MergeNodeIterator
All Implemented Interfaces:
NodeIterator

class MergeNodeIterator
extends java.lang.Object
implements NodeIterator

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


Constructor Summary
(package private) 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?)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeNodeIterator

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 Detail

next

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

Specified by:
next in interface NodeIterator
Throws:
XSLException