net.sf.saxon.expr
public class UnionEnumeration extends Object implements SequenceIterator, LookaheadIterator
Constructor Summary | |
---|---|
UnionEnumeration(SequenceIterator p1, SequenceIterator p2, NodeOrderComparer comparer)
Create the iterator. |
Method Summary | |
---|---|
void | close() |
Item | current() |
SequenceIterator | getAnother() |
int | getProperties()
Get properties of this iterator, as a bit-significant integer.
|
boolean | hasNext() |
Item | next() |
int | position() |
Parameters: p1 iterator over the first operand sequence (in document order) p2 iterator over the second operand sequence comparer used to test whether nodes are in document order. Different versions are used for intra-document and cross-document operations
Returns: the properties of this iterator. This will be some combination of properties such as UnionEnumeration, UnionEnumeration, and UnionEnumeration. It is always acceptable to return the value zero, indicating that there are no known special properties. It is acceptable for the properties of the iterator to change depending on its state.