public class Fork extends Instruction
EFFECTIVE_BOOLEAN_VALUE, EVALUATE_METHOD, ITEM_FEED_METHOD, ITERATE_METHOD, MAX_SEQUENCE_LENGTH, MAX_STRING_LENGTH, PROCESS_METHOD, staticProperties, UNBOUNDED_LOWER, UNBOUNDED_UPPER, UPDATE_METHOD, WATCH_METHOD| Constructor and Description | 
|---|
| Fork(Operand[] prongs)Create a Fork instruction | 
| Modifier and Type | Method and Description | 
|---|---|
| Expression | copy()Copy an expression. | 
| void | export(ExpressionPresenter out)Diagnostic print of expression structure. | 
| ExpressionCompiler | getExpressionCompiler()Return the compiler of the Fork expression | 
| int | getInstructionNameCode()Get the namecode of the instruction for use in diagnostics | 
| ItemType | getItemType()Determine the item type of the value returned by the function | 
| Expression | getProng(int i)Get the n'th child expression of the xsl:fork (zero-based) | 
| int | getSize()Get the number of prongs in the fork | 
| ForkAdjunct | getStreamingAdjunct()Get a class that supports streamed evaluation of this expression | 
| Iterable<Operand> | operands()Get the immediate sub-expressions of this expression, with information about the relationship
 of each expression to its parent expression. | 
| TailCall | processLeavingTail(XPathContext context)Process the instruction, without returning any tail calls. | 
assembleParams, assembleTunnelParams, computeCardinality, computeSpecialProperties, createsNewNodes, dynamicError, evaluateAsString, evaluateItem, getConstructType, getExpressionName, getImplementationMethod, getInstructionName, getNetCost, getSourceLocator, isXSLT, iterate, main, process, promoteChildren, toStreamingPatternaddToPathMap, adoptChildExpression, checkedOperands, checkForUpdatingSubexpressions, checkPermittedContents, clearStreamabilityData, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluatePendingUpdates, explain, getCardinality, getConfiguration, getCost, getDependencies, getEvaluationMethod, getHostLanguage, getIntegerBounds, getIntrinsicDependencies, getLocation, getObjectName, getPackageData, getParentExpression, getPosture, getPostureAndSweepIfKnown, getProperties, getProperty, getRetainedStaticContext, getSlotsUsed, getSpecialProperties, getStaticBaseURI, getStaticBaseURIString, getStreamability, getSweep, getSystemId, hasVariableBinding, identityHashCode, implementsStaticTypeCheck, isCallOn, isCallOnSystemFunction, isIdentical, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterateEvents, makeStreamingAdjunct, markTailFunctionCalls, operandList, operandSparseList, optimize, optimizeChildren, optimizeForType, promote, resetLocalStaticProperties, restoreParentPointers, setEvaluationMethod, setFiltered, setFlattened, setLocation, setParentExpression, setPostureAndSweep, setRetainedStaticContext, setRetainedStaticContextLocally, setStaticProperty, simplify, simplifyChildren, staticTypeCheck, suppressValidation, toPattern, toShortString, toString, typeCheck, typeCheckChildren, typeError, unorderedpublic Fork(Operand[] prongs)
prongs - the children of the xsl:fork instructions.public Iterable<Operand> operands()
ExpressionIf the expression is a Callable, then it is required that the order of the operands returned by this function is the same as the order of arguments supplied to the corresponding call() method.
operands in class Instructionpublic int getInstructionNameCode()
getInstructionNameCode in class Instructionpublic int getSize()
public Expression getProng(int i)
i - the index of the required subexpressionIllegalArgumentException - if i is out of rangepublic ItemType getItemType()
getItemType in class Instructionpublic ForkAdjunct getStreamingAdjunct()
getStreamingAdjunct in class Expressionpublic Expression copy()
copy in class Expressionpublic TailCall processLeavingTail(XPathContext context) throws XPathException
processLeavingTail in interface TailCallReturnerprocessLeavingTail in class Instructioncontext - The dynamic context, giving access to the current node,
                the current variables, etc.XPathException - if a dynamic error occurs during the evaluation
          of the instructionpublic ExpressionCompiler getExpressionCompiler()
getExpressionCompiler in class Expressionpublic void export(ExpressionPresenter out)
export in class Expressionout - the expression presenter used to display the structureCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.