java.io.Serializable
, javax.xml.transform.SourceLocator
, LocationProvider
, SaxonLocator
, InstructionInfo
, org.xml.sax.Locator
public class SingletonIntersectExpression extends VennExpression
operand0, operand1, operator
EFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, EVENT_FEED_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, locationId, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, PROCESS_METHOD, PUSH_SELECTION, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, WATCH_METHOD
Constructor | 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 | Description |
---|---|---|
Expression |
copy() |
Copy an expression.
|
protected java.lang.String |
displayOperator() |
Display the operator used by this binary expression
|
boolean |
effectiveBooleanValue(XPathContext c) |
Get the effective boolean value.
|
java.lang.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.
|
explain, explainExtraAttributes, getArguments, getOperands, getOperator, isAssociative, isCommutative, isInverse, iterateSubExpressions, promote, 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, getSystemId, getSystemId, hasLoopingSubexpression, hasVariableBinding, implementsStaticTypeCheck, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterateEvents, iterateSameFocusSubExpressions, markTailFunctionCalls, process, resetLocalStaticProperties, setContainer, setEvaluationMethod, setFiltered, setLocationId, staticTypeCheck, suppressValidation, typeError
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
computeCardinality, computeSpecialProperties, equals, gatherComponents, getItemType, hashCode, optimize, simplify, typeCheck
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 java.lang.String getExpressionName()
VennExpression
getExpressionName
in class VennExpression
protected java.lang.String displayOperator()
displayOperator
in class BinaryExpression