org.apache.xalan.xsltc.dom
Class UnionIterator

java.lang.Object
  |
  +--org.apache.xml.dtm.ref.DTMAxisIteratorBase
        |
        +--org.apache.xalan.xsltc.dom.UnionIterator

public final class UnionIterator
extends DTMAxisIteratorBase

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


Constructor Summary
UnionIterator(DOM dom)
           
 
Method Summary
 UnionIterator addIterator(DTMAxisIterator iterator)
           
 DTMAxisIterator cloneIterator()
           
 void gotoMark()
           
 int next()
           
 DTMAxisIterator reset()
           
 void setMark()
           
 DTMAxisIterator setStartNode(int node)
           
 
Methods inherited from class org.apache.xml.dtm.ref.DTMAxisIteratorBase
getAxis, getLast, getNodeByPosition, getPosition, getStartNode, includeSelf, isDocOrdered, isReverse, setRestartable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnionIterator

public UnionIterator(DOM dom)
Method Detail

cloneIterator

public DTMAxisIterator cloneIterator()
Overrides:
cloneIterator in class DTMAxisIteratorBase

addIterator

public UnionIterator addIterator(DTMAxisIterator iterator)

next

public int next()

setStartNode

public DTMAxisIterator setStartNode(int node)

setMark

public void setMark()

gotoMark

public void gotoMark()

reset

public DTMAxisIterator reset()
Overrides:
reset in class DTMAxisIteratorBase


Copyright © 2003 Apache XML Project. All Rights Reserved.