com.servingxml.expr.saxpath
Class PredicateBinaryOp

java.lang.Object
  extended by com.servingxml.expr.saxpath.PredicateTerm
      extended by com.servingxml.expr.saxpath.PredicateBinaryOp
All Implemented Interfaces:
Predicate

public class PredicateBinaryOp
extends PredicateTerm


Field Summary
 
Fields inherited from interface com.servingxml.expr.saxpath.Predicate
ALWAYS_TRUE
 
Constructor Summary
PredicateBinaryOp(BinaryOp binaryOp, PredicateTerm lhs, PredicateTerm rhs)
           
 
Method Summary
 Result evaluate(SaxPath path, Record parameters)
           
 boolean isBinaryOperator()
           
 int precedence()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PredicateBinaryOp

public PredicateBinaryOp(BinaryOp binaryOp,
                         PredicateTerm lhs,
                         PredicateTerm rhs)
Method Detail

evaluate

public Result evaluate(SaxPath path,
                       Record parameters)

precedence

public int precedence()
Overrides:
precedence in class PredicateTerm

isBinaryOperator

public boolean isBinaryOperator()
Overrides:
isBinaryOperator in class PredicateTerm