net.sf.saxon.expr
public class DifferenceEnumeration extends Object implements SequenceIterator
Constructor Summary | |
---|---|
DifferenceEnumeration(SequenceIterator p1, SequenceIterator p2, NodeOrderComparer comparer)
Form an enumeration of the difference of two nodesets, that is, the nodes
that are in p1 and that are not in p2. |
Method Summary | |
---|---|
void | close() |
Item | current() |
SequenceIterator | getAnother() |
int | getProperties()
Get properties of this iterator, as a bit-significant integer.
|
Item | next() |
int | position() |
Parameters: p1 the first operand, with nodes delivered in document order p2 the second operand, with nodes delivered in document order comparer the comparer
Returns: the properties of this iterator. This will be some combination of properties such as GROUNDED, LAST_POSITION_FINDER, and LOOKAHEAD. 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.