org.ucl.xpath.ast
Class InstOfExpr

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

public class InstOfExpr
extends BinExpr

The boolean operator 'instance of' takes the value of its first operand and matches its type to the SequenceType in its second operand, according to the rules for SequenceType matching.


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

InstOfExpr

public InstOfExpr(Expr l,
                  SequenceType r)
Constructor for InstOfExpr.

Parameters:
l - input xpath expression/variable.
r - SequenceType to check l against.
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.