Java Doc for SingletonComparison.java in » XML » saxonb » net » sf » saxon » expr » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Class to handle comparisons of singletons. Unlike ValueComparison, this class
converts untyped atomic values to the type of the other argument, and returns false
(rather than ()) if either operand is ().
Evaluate the expression in a boolean context
Parameters: context - the given context for evaluation a boolean representing the result of the numeric comparison of the two operands
Evaluate the expression in a given context
Parameters: context - the given context for evaluation a BooleanValue representing the result of the numeric comparison of the two operands