com.novell.xml.xpath
Class NumberExpr

java.lang.Object
  extended bycom.novell.xml.xpath.BinaryExpr
      extended bycom.novell.xml.xpath.NumberExpr
All Implemented Interfaces:
Expression
Direct Known Subclasses:
DivExpr, MinusExpr, ModExpr, MulExpr, PlusExpr

public abstract class NumberExpr
extends BinaryExpr
implements Expression

Base class for binary expressions returning XPath Number type.


Field Summary
 
Fields inherited from class com.novell.xml.xpath.BinaryExpr
lhs, rhs
 
Constructor Summary
NumberExpr(Expression lhs, Expression rhs)
           
 
Method Summary
 Class getResultType()
          Return the Class object describing the result type of the expression.
 
Methods inherited from class com.novell.xml.xpath.BinaryExpr
dump, isConstant, registerForReset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.novell.xml.xpath.Expression
dump, evaluate, isConstant, registerForReset
 

Constructor Detail

NumberExpr

public NumberExpr(Expression lhs,
                  Expression rhs)
Method Detail

getResultType

public Class getResultType()
Return the Class object describing the result type of the expression.

Specified by:
getResultType in interface Expression
Returns:
A Class object.