FileDocCategorySizeDatePackage
UnionIterator.javaAPI DocJava SE 6 API2831Tue Jun 10 00:22:32 BST 2008com.sun.org.apache.xalan.internal.xsltc.dom

UnionIterator

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
author
Jacek Ambroziak
author
Santiago Pericas-Geertsen

Fields Summary
private final DOM
_dom
wrapper for NodeIterators to support iterator comparison on the value of their next() method
Constructors Summary
public UnionIterator(DOM dom)

	_dom = dom;
    
Methods Summary
public com.sun.org.apache.xalan.internal.xsltc.dom.UnionIteratoraddIterator(com.sun.org.apache.xml.internal.dtm.DTMAxisIterator iterator)

        addHeapNode(new LookAheadIterator(iterator));
        return this;