public class SingletonIntersectExpression extends VennExpression
operand0, operand1, operator
EFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, EVENT_FEED_METHOD, INHERITED_CONTEXT, INSPECTION_CONTEXT, ITEM_FEED_METHOD, ITERATE_METHOD, locationId, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, NAVIGATION_CONTEXT, NODE_VALUE_CONTEXT, PROCESS_METHOD, PUSH_SELECTION, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, W3C_CONSUMING, W3C_FREE_RANGING, W3C_GROUP_CONSUMING, W3C_MOTIONLESS, WATCH_METHOD
Constructor and Description |
---|
SingletonIntersectExpression(Expression p1,
int op,
Expression p2)
Special case of an intersect expression where the first argument is a singleton
|
Modifier and Type | Method and Description |
---|---|
Expression |
copy()
Copy an expression.
|
protected String |
displayOperator()
Display the operator used by this binary expression
|
boolean |
effectiveBooleanValue(XPathContext c)
Get the effective boolean value.
|
String |
getExpressionName()
Get a name identifying the kind of expression, in terms meaningful to a user.
|
SequenceIterator |
iterate(XPathContext c)
Iterate over the value of the expression.
|
computeCardinality, computeSpecialProperties, equals, gatherComponents, getExpressionCompiler, getItemType, getStreamability, hashCode, iterateSubExpressionInfo, optimize, promote, simplify, toPattern, toStreamingPattern, typeCheck
explain, explainExtraAttributes, getArguments, getOperands, getOperator, isAssociative, isCommutative, isInverse, iterateSubExpressions, replaceSubExpression, setFlattened, toString
addToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, evaluateAsString, evaluateItem, evaluatePendingUpdates, explain, getCardinality, getColumnNumber, getColumnNumber, getConstructType, getContainer, getDependencies, getEvaluationMethod, getExecutable, getHostLanguage, getImplementationMethod, getIntegerBounds, getIntrinsicDependencies, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getStreamingAdjunct, getSystemId, getSystemId, hasVariableBinding, implementsStaticTypeCheck, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterateEvents, markTailFunctionCalls, process, resetLocalStaticProperties, setContainer, setEvaluationMethod, setFiltered, setLocationId, staticTypeCheck, suppressValidation, typeError
public SingletonIntersectExpression(Expression p1, int op, Expression p2)
p1
- the first argument, always a singletonop
- the operator, always Token.INTERSECTp2
- the second argumentpublic Expression copy()
copy
in class VennExpression
public SequenceIterator iterate(XPathContext c) throws XPathException
iterate
in class VennExpression
c
- The context for evaluationXPathException
- if any dynamic error occurs evaluating the
expressionpublic boolean effectiveBooleanValue(XPathContext c) throws XPathException
effectiveBooleanValue
in class VennExpression
c
- The context in which the expression is to be evaluatedXPathException
- if any dynamic error occurs evaluating the
expressionpublic String getExpressionName()
VennExpression
getExpressionName
in class VennExpression
protected String displayOperator()
displayOperator
in class BinaryExpression
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.