Class UnionIterator

  extended by org.apache.xml.dtm.ref.DTMAxisIteratorBase
      extended by org.apache.xalan.xsltc.dom.MultiValuedNodeHeapIterator
          extended by org.apache.xalan.xsltc.dom.UnionIterator
All Implemented Interfaces:
java.lang.Cloneable, DTMAxisIterator

public final class UnionIterator
extends MultiValuedNodeHeapIterator

UnionIterator takes a set of NodeIterators and produces a merged NodeSet in document order with duplicates removed The individual iterators are supposed to generate nodes in document order

Nested Class Summary
private  class UnionIterator.LookAheadIterator
Nested classes/interfaces inherited from class org.apache.xalan.xsltc.dom.MultiValuedNodeHeapIterator
Field Summary
private  DOM _dom
          wrapper for NodeIterators to support iterator comparison on the value of their next() method
Fields inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase
_includeSelf, _isRestartable, _last, _markedNode, _position, _startNode
Fields inherited from interface org.apache.xml.dtm.DTMAxisIterator
Constructor Summary
UnionIterator(DOM dom)
Method Summary
 UnionIterator addIterator(DTMAxisIterator iterator)
Methods inherited from class org.apache.xalan.xsltc.dom.MultiValuedNodeHeapIterator
addHeapNode, cloneIterator, gotoMark, init, next, reset, setMark, setStartNode
Methods inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase
getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, resetPosition, returnNode, setRestartable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


private final DOM _dom
wrapper for NodeIterators to support iterator comparison on the value of their next() method

Constructor Detail


public UnionIterator(DOM dom)
Method Detail


public UnionIterator addIterator(DTMAxisIterator iterator)