org.exolab.adaptx.xpath.expressions
Interface BinaryExpr

All Superinterfaces:
XPathExpression
All Known Subinterfaces:
EqualityExpr

public interface BinaryExpr
extends XPathExpression

Represents a simple binary expression. A binary expression is any expression which has a left hand side and a right hand side.

Version:
$Revision: 3950 $
Author:
Keith Visco

Field Summary
 
Fields inherited from interface org.exolab.adaptx.xpath.XPathExpression
BOOLEAN, ERROR, FILTER_EXPR, LOCATION_PATH, NODE_TEST, NUMBER, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR
 
Method Summary
 XPathExpression getLeftSide()
          Returns the Expr that should be evaluated as the left hand side of this BinaryExpr
 Operator getOperator()
          Returns the operator for this binary expression
 XPathExpression getRightSide()
          Returns the Expr that should be evaluated as the right hand side of this BinaryExpr
 
Methods inherited from interface org.exolab.adaptx.xpath.XPathExpression
evaluate, getExprType, toString
 

Method Detail

getOperator

Operator getOperator()
Returns the operator for this binary expression

Returns:
the operator for this binary expression

getLeftSide

XPathExpression getLeftSide()
Returns the Expr that should be evaluated as the left hand side of this BinaryExpr

Returns:
the Expr that should be evaluated as the left hand side of this BinaryExpr

getRightSide

XPathExpression getRightSide()
Returns the Expr that should be evaluated as the right hand side of this BinaryExpr

Returns:
the Expr that should be evaluated as the right hand side of this BinaryExpr