net.sf.saxon.expr
public interface Negatable
Method Summary | |
---|---|
boolean | isNegatable(ExpressionVisitor visitor)
Check whether this specific instance of the expression is negatable |
Expression | negate()
Create an expression that returns the negation of this expression |
Returns: true if it is
Returns: the negated expression
Throws: IllegalOperationException if isNegatable() returns false