org.ucl.xpath.ast
Class IntersectExpr

java.lang.Object
  extended byorg.ucl.xpath.ast.XPathNode
      extended byorg.ucl.xpath.ast.Expr
          extended byorg.ucl.xpath.ast.BinExpr
              extended byorg.ucl.xpath.ast.IntersectExpr

public class IntersectExpr
extends BinExpr

The intersect operator takes two node sequences as operands and returns a sequence containing all the nodes that occur in both operands.


Constructor Summary
IntersectExpr(Expr l, Expr r)
          Constructor for IntersectExpr.
 
Method Summary
 java.lang.Object accept(XPathVisitor v)
          Support for Visitor interface.
 
Methods inherited from class org.ucl.xpath.ast.BinExpr
left, right, set_left, set_right
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntersectExpr

public IntersectExpr(Expr l,
                     Expr r)
Constructor for IntersectExpr.

Parameters:
l - input1 xpath expression/variable.
r - input2 xpath expression/variable.
Method Detail

accept

public java.lang.Object accept(XPathVisitor v)
Support for Visitor interface.

Specified by:
accept in class XPathNode
Returns:
Result of Visitor operation.