com.novell.xml.xpath
Class NumberExpr
java.lang.Object
com.novell.xml.xpath.BinaryExpr
com.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.
Method Summary |
Class |
getResultType()
Return the Class object describing the result type of the
expression. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NumberExpr
public NumberExpr(Expression lhs,
Expression rhs)
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.