public class BinaryOperation extends AbstractExpression
| Modifier and Type | Class and Description |
|---|---|
static class |
BinaryOperation.Operator |
AbstractExpression.Typesubs, sup| Constructor and Description |
|---|
BinaryOperation(AbstractExpression op1,
BinaryOperation.Operator operator,
AbstractExpression op2) |
| Modifier and Type | Method and Description |
|---|---|
AbstractExpression |
accept(ExpressionVisitor visitor) |
AbstractExpression |
getOperand1() |
AbstractExpression |
getOperand2() |
BinaryOperation.Operator |
getOperator() |
int |
getPrecedence() |
boolean |
isDocumentOrdered() |
void |
toString(StringBuilder buf)
Each subclass must implement the toString(StringBuilder) method by
rendering itself as a syntatically valid XPath/XQuery expression in
the given buffer.
|
acceptSubs, appendSub, getBindingContext, getLastContextStep, getRoot, getSubs, getSuper, getTail, getType, isAbsolute, replaceRoot, setSubs, toStringpublic BinaryOperation(AbstractExpression op1, BinaryOperation.Operator operator, AbstractExpression op2)
public void toString(StringBuilder buf)
AbstractExpressiontoString in class AbstractExpressionpublic AbstractExpression getOperand1()
public AbstractExpression getOperand2()
public BinaryOperation.Operator getOperator()
public AbstractExpression accept(ExpressionVisitor visitor)
public boolean isDocumentOrdered()
isDocumentOrdered in class AbstractExpressionpublic int getPrecedence()
getPrecedence in class AbstractExpressionCopyright © 2013. All Rights Reserved.