net.sf.saxon.expr
public class VennExpression extends BinaryExpression
Constructor Summary | |
---|---|
VennExpression(Expression p1, int op, Expression p2)
Constructor |
Method Summary | |
---|---|
int | computeCardinality()
Determine the static cardinality of the expression |
int | computeSpecialProperties()
Get the static properties of this expression (other than its type). |
boolean | effectiveBooleanValue(XPathContext context)
Get the effective boolean value. |
ItemType | getItemType(TypeHierarchy th)
Determine the data type of the items returned by this expression |
int | hashCode()
Is this expression the same as another expression? |
SequenceIterator | iterate(XPathContext c)
Iterate over the value of the expression. |
Expression | simplify(StaticContext env)
Simplify the expression |
Expression | typeCheck(StaticContext env, ItemType contextItemType)
Type-check the expression |
Parameters: p1 the left-hand operand op the operator (union, intersection, or difference) p2 the right-hand operand
Parameters: th
Returns: the data type
Parameters: c The context for evaluation
Returns: a SequenceIterator representing the union of the two operands