com.saxonica.stream
Class StreamingApplyTemplates
java.lang.Object
net.sf.saxon.expr.Expression
net.sf.saxon.expr.instruct.Instruction
net.sf.saxon.expr.instruct.ApplyTemplates
com.saxonica.stream.StreamingApplyTemplates
- All Implemented Interfaces:
- Serializable, SourceLocator, LocationProvider, SaxonLocator, EvaluableItem, ITemplateCall, TailCallReturner, SequenceIterable, InstructionInfo, Locator
public class StreamingApplyTemplates
- extends ApplyTemplates
Streaming version of the xsl:apply-templates instruction. Available in Saxon-EE only.
Only used for select="doc(..)" or select="document(...)" or select="doc(..)//x" etc.
It is not used for other apply-templates instructions occurring in a streaming template.
- See Also:
- Serialized Form
Methods inherited from class net.sf.saxon.expr.instruct.ApplyTemplates |
addToPathMap, applyTemplates, copy, createsNewNodes, defaultAction, explain, getActualParams, getImplementationMethod, getInstructionNameCode, getIntrinsicDependencies, getMode, getSelectExpression, getTunnelParams, hasLoopingSubexpression, init, isImplicitSelect, iterateSubExpressions, optimize, process, processLeavingTail, replaceSubExpression, setActualParameters, simplify, typeCheck, usesCurrentMode, useTailRecursion |
Methods inherited from class net.sf.saxon.expr.instruct.Instruction |
assembleParams, assembleTunnelParams, computeCardinality, computeSpecialProperties, dynamicError, evaluateAsString, evaluateItem, getConstructType, getExpressionName, getInstructionName, getItemType, getIteratorFromProcessMethod, getSourceLocator, isXSLT, iterate, promote |
Methods inherited from class net.sf.saxon.expr.Expression |
adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluatePendingUpdates, explain, getCardinality, getColumnNumber, getColumnNumber, getContainer, getDependencies, getEvaluationMethod, getExecutable, getHostLanguage, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, implementsStaticTypeCheck, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterateEvents, iterateSameFocusSubExpressions, markTailFunctionCalls, resetLocalStaticProperties, setContainer, setEvaluationMethod, setFiltered, setFlattened, setLocationId, staticTypeCheck, suppressValidation, toString, typeError |
StreamingApplyTemplates
public StreamingApplyTemplates(ApplyTemplates apply,
Expression documentExp,
Pattern selectPattern)
throws XPathException
- Throws:
XPathException
promoteInst
protected void promoteInst(PromotionOffer offer)
throws XPathException
- Description copied from class:
ApplyTemplates
- Handle promotion offers, that is, non-local tree rewrites.
- Overrides:
promoteInst
in class ApplyTemplates
- Parameters:
offer
- The type of rewrite being offered
- Throws:
XPathException
apply
protected TailCall apply(XPathContext context,
boolean returnTailCall)
throws XPathException
- Overrides:
apply
in class ApplyTemplates
- Throws:
XPathException
explainStreaming
protected void explainStreaming(ExpressionPresenter out)
- Overrides:
explainStreaming
in class ApplyTemplates
Copyright (c) 2004-2010 Saxonica Limited. All rights reserved.