net.sf.saxon.expr
Interface ComparisonExpression
- CompareToIntegerConstant, GeneralComparison, SingletonComparison, ValueComparison
public interface ComparisonExpression
Interface implemented by expressions that perform a comparison
convertsUntypedToOther
public boolean convertsUntypedToOther()
Determine whether untyped atomic values should be converted to the type of the other operand
- true if untyped values should be converted to the type of the other operand, false if they
should be converted to strings.
getAtomicComparer
public AtomicComparer getAtomicComparer()
Get the AtomicComparer used to compare atomic values. This encapsulates any collation that is used
getOperands
public Expression[] getOperands()
Get the two operands of the comparison
getSingletonOperator
public int getSingletonOperator()
Get the primitive (singleton) operator used: one of Token.FEQ, Token.FNE, Token.FLT, Token.FGT,
Token.FLE, Token.FGE