public class NumericComparisonOperand extends Characteristic<NumericValue>
Constructor and Description |
---|
NumericComparisonOperand(Expression exp) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
NumericValue |
evaluate(XPathContext context)
Evaluate the value of this characteristic for the context item
|
int |
hashCode() |
java.lang.String |
toString() |
getSlotNumber, setSlotNumber
public NumericComparisonOperand(Expression exp)
public NumericValue evaluate(XPathContext context) throws XPathException
Characteristic
evaluate
in class Characteristic<NumericValue>
context
- the dynamic evaluation context; the context item is the item being matchedXPathException
- if evaluation of the characteristic failspublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.