net.sf.saxon.expr
Class DifferenceEnumeration
java.lang.Object
net.sf.saxon.expr.DifferenceEnumeration
- SequenceIterator
public class DifferenceEnumeration
extends java.lang.Object
An enumeration representing a nodeset that is teh difference of two other NodeSets.
There is an "except" operator in XPath 2.0 to create such an expression.
DifferenceEnumeration
public DifferenceEnumeration(SequenceIterator p1,
SequenceIterator p2,
NodeOrderComparer comparer)
throws XPathException
Form an enumeration of the difference of two nodesets, that is, the nodes
that are in p1 and that are not in p2.
p1
- the first operand, with nodes delivered in document orderp2
- the second operand, with nodes delivered in document ordercomparer
- the comparer
getProperties
public int getProperties()
Get properties of this iterator, as a bit-significant integer.
- getProperties in interface SequenceIterator