Package net.sf.saxon.value
Interface ContextFreeAtomicValue
-
- All Known Implementing Classes:
Base64BinaryValue
,BigDecimalValue
,BigIntegerValue
,BooleanValue
,DayTimeDurationValue
,DecimalValue
,DoubleValue
,FloatValue
,HexBinaryValue
,Int64Value
,IntegerValue
,NumericValue
,YearMonthDurationValue
public interface ContextFreeAtomicValue
This interface is implemented by AtomicValues that can be compared without regard to context - specifically, the result ofeq
andlt
comparisons does not depend on collations or on the context-dependent timezone.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XPathComparable
getXPathComparable()
Get an XPathComparable object that supports the semantics of context-free eq and lt comparisons between atomic values.
-
-
-
Method Detail
-
getXPathComparable
XPathComparable getXPathComparable()
Get an XPathComparable object that supports the semantics of context-free eq and lt comparisons between atomic values. Note that in many cases the returned XPathComparable will be the AtomicValue itself; however because of the constraints of the genericComparable
interface, this cannot be assumed.- Returns:
- an XPathComparable that can be used in comparisons with other atomic values.
-
-