com.icl.saxon.expr
Class IntersectionEnumeration
java.lang.Object
com.icl.saxon.expr.IntersectionEnumeration
- NodeEnumeration
public class IntersectionEnumeration
extends java.lang.Object
An enumeration representing a nodeset that is an intersection of two other NodeSets.
There is currently no operator in XPath to create such an expression, but it is used
by the extension function intersection(). The code is derived from the analagous UnionEnumeration,
an inner class of UnionExpression.
IntersectionEnumeration
public IntersectionEnumeration(NodeEnumeration p1,
NodeEnumeration p2,
Controller controller)
throws XPathException
Form an enumeration of the intersection of the nodes in two nodesets
p1
- the first operandp2
- the second operandcontroller
- Comparer to be used for putting nodes in document order