org.exolab.adaptx.xpath.expressions

Interface BinaryExpr

All Superinterfaces:
XPathExpression
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: 1.1 $

Author:
Keith Visco

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
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 Details

getLeftSide

public 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

public 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