net.sf.saxon.expr
Class IntersectionEnumeration
java.lang.Object
net.sf.saxon.expr.IntersectionEnumeration
- SequenceIterator
public class IntersectionEnumeration
extends java.lang.Object
An enumeration representing a nodeset that is an intersection of two other NodeSets.
This implements the XPath 2.0 operator "intersect".
IntersectionEnumeration
public IntersectionEnumeration(SequenceIterator p1,
SequenceIterator p2,
NodeOrderComparer comparer)
throws XPathException
Form an enumeration of the intersection of the nodes in two nodesets
p1
- the first operand: must be in document orderp2
- the second operand: must be in document ordercomparer
- Comparer to be used for putting nodes in document order
getProperties
public int getProperties()
Get properties of this iterator, as a bit-significant integer.
- getProperties in interface SequenceIterator