org.apache.commons.jxpath.ri.compiler
Class CoreOperationEqual

java.lang.Object
  extended by org.apache.commons.jxpath.ri.compiler.Expression
      extended by org.apache.commons.jxpath.ri.compiler.Operation
          extended by org.apache.commons.jxpath.ri.compiler.CoreOperation
              extended by org.apache.commons.jxpath.ri.compiler.CoreOperationCompare
                  extended by org.apache.commons.jxpath.ri.compiler.CoreOperationEqual
Direct Known Subclasses:
NameAttributeTest

public class CoreOperationEqual
extends CoreOperationCompare

Implementation of Expression for the operation "=".

Version:
$Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
Author:
Dmitri Plotnikov

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.commons.jxpath.ri.compiler.Expression
Expression.PointerIterator, Expression.ValueIterator
 
Field Summary
 
Fields inherited from class org.apache.commons.jxpath.ri.compiler.CoreOperation
ADD_PRECEDENCE, AND_PRECEDENCE, COMPARE_PRECEDENCE, MULTIPLY_PRECEDENCE, NEGATE_PRECEDENCE, OR_PRECEDENCE, RELATIONAL_EXPR_PRECEDENCE, UNION_PRECEDENCE
 
Fields inherited from class org.apache.commons.jxpath.ri.compiler.Operation
args
 
Fields inherited from class org.apache.commons.jxpath.ri.compiler.Expression
NOT_A_NUMBER, ONE, ZERO
 
Constructor Summary
CoreOperationEqual(Expression arg1, Expression arg2)
          Create a new CoreOperationEqual
 
Method Summary
 java.lang.String getSymbol()
          Returns the XPath symbol for this operation, e.g.
 
Methods inherited from class org.apache.commons.jxpath.ri.compiler.CoreOperationCompare
computeValue, contains, equal, equal, findMatch, getPrecedence, isSymmetric
 
Methods inherited from class org.apache.commons.jxpath.ri.compiler.CoreOperation
compute, toString
 
Methods inherited from class org.apache.commons.jxpath.ri.compiler.Operation
computeContextDependent, getArguments
 
Methods inherited from class org.apache.commons.jxpath.ri.compiler.Expression
isContextDependent, iterate, iteratePointers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CoreOperationEqual

public CoreOperationEqual(Expression arg1,
                          Expression arg2)
Create a new CoreOperationEqual

Parameters:
arg1 - first comparison Expression
arg2 - second comparison Expression
Method Detail

getSymbol

public java.lang.String getSymbol()
Description copied from class: CoreOperation
Returns the XPath symbol for this operation, e.g. "+", "div", etc.

Specified by:
getSymbol in class CoreOperation
Returns:
String symbol


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.