public class SingletonIntersectExpression extends VennExpression
operand0, operand1, operatorEFFECTIVE_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, typeCheckexplain, explainExtraAttributes, getArguments, getOperands, getOperator, isAssociative, isCommutative, isInverse, iterateSubExpressions, replaceSubExpression, setFlattened, toStringaddToPathMap, 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, typeErrorpublic 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 VennExpressionpublic SequenceIterator iterate(XPathContext c) throws XPathException
iterate in class VennExpressionc - The context for evaluationXPathException - if any dynamic error occurs evaluating the
expressionpublic boolean effectiveBooleanValue(XPathContext c) throws XPathException
effectiveBooleanValue in class VennExpressionc - The context in which the expression is to be evaluatedXPathException - if any dynamic error occurs evaluating the
expressionpublic String getExpressionName()
VennExpressiongetExpressionName in class VennExpressionprotected String displayOperator()
displayOperator in class BinaryExpressionCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.