| java.lang.Object net.sf.saxon.expr.ComputedExpression net.sf.saxon.expr.BinaryExpression net.sf.saxon.expr.VennExpression
VennExpression | public class VennExpression extends BinaryExpression (Code) | | An expression representing a nodeset that is a union, difference, or
intersection of two other NodeSets
|
VennExpression | public VennExpression(Expression p1, int op, Expression p2)(Code) | | Constructor
Parameters: p1 - the left-hand operand Parameters: op - the operator (union, intersection, or difference) Parameters: p2 - the right-hand operand |
computeCardinality | final public int computeCardinality()(Code) | | Determine the static cardinality of the expression
|
computeSpecialProperties | public int computeSpecialProperties()(Code) | | Get the static properties of this expression (other than its type). The result is
bit-signficant. These properties are used for optimizations. In general, if
property bit is set, it is true, but if it is unset, the value is unknown.
|
effectiveBooleanValue | public boolean effectiveBooleanValue(XPathContext context) throws XPathException(Code) | | Get the effective boolean value. In the case of a union expression, this
is reduced to an OR expression, for efficiency
|
getItemType | final public ItemType getItemType(TypeHierarchy th)(Code) | | Determine the data type of the items returned by this expression
the data type Parameters: th - |
hashCode | public int hashCode()(Code) | | Is this expression the same as another expression?
|
iterate | public SequenceIterator iterate(XPathContext c) throws XPathException(Code) | | Iterate over the value of the expression. The result will always be sorted in document order,
with duplicates eliminated
Parameters: c - The context for evaluation a SequenceIterator representing the union of the two operands |
|
|