org.planx.xpath.expr.operator
Class EqualOperator

java.lang.Object
  extended by org.planx.xpath.expr.Expression
      extended by org.planx.xpath.expr.operator.Operator
          extended by org.planx.xpath.expr.operator.EqualityOperator
              extended by org.planx.xpath.expr.operator.EqualOperator

public class EqualOperator
extends EqualityOperator

Equals operator


Field Summary
 
Fields inherited from class org.planx.xpath.expr.operator.Operator
e1, e2
 
Constructor Summary
EqualOperator(Expression e1, Expression e2)
           
 
Method Summary
protected  boolean compare(boolean v1, boolean v2)
           
protected  boolean compare(double v1, double v2)
           
protected  boolean compare(String v1, String v2)
           
protected  boolean compare(XNodeSet s1, XNodeSet s2, Navigator navigator)
           
protected  String operatorName()
           
 
Methods inherited from class org.planx.xpath.expr.operator.EqualityOperator
evaluate
 
Methods inherited from class org.planx.xpath.expr.operator.Operator
evaluate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EqualOperator

public EqualOperator(Expression e1,
                     Expression e2)
Method Detail

compare

protected boolean compare(XNodeSet s1,
                          XNodeSet s2,
                          Navigator navigator)
                   throws XPathException
Specified by:
compare in class EqualityOperator
Throws:
XPathException

compare

protected boolean compare(boolean v1,
                          boolean v2)
Specified by:
compare in class EqualityOperator

compare

protected boolean compare(double v1,
                          double v2)
Specified by:
compare in class EqualityOperator

compare

protected boolean compare(String v1,
                          String v2)
Specified by:
compare in class EqualityOperator

operatorName

protected String operatorName()
Specified by:
operatorName in class Operator


Copyright © 2010. All Rights Reserved.