org.ucl.xpath.ast
Class AndExpr

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.AndExpr

public class AndExpr
extends BinExpr

Class for binary operation And. The value of an and-expression is determined by the effective boolean values (EBV's) of its operands.


Constructor Summary
AndExpr(Expr l, Expr r)
          Constructor for AndExpr.
 
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

AndExpr

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

Parameters:
l - input1 xpath expression.
r - input2 xpath expression.
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.