com.saxonica.stream
Class StreamingApplyTemplates

java.lang.Object
  extended by net.sf.saxon.expr.Expression
      extended by net.sf.saxon.instruct.Instruction
          extended by net.sf.saxon.instruct.ApplyTemplates
              extended by com.saxonica.stream.StreamingApplyTemplates
All Implemented Interfaces:
Serializable, SourceLocator, LocationProvider, SaxonLocator, EvaluableItem, SequenceIterable, TailCallReturner, InstructionInfo, Locator

public class StreamingApplyTemplates
extends ApplyTemplates

Streaming version of the xsl:apply-templates instruction. Available in Saxon-EE only.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.saxon.instruct.ApplyTemplates
actualParams, implicitSelect, mode, select, tunnelParams, useCurrentMode, useTailRecursion
 
Fields inherited from class net.sf.saxon.expr.Expression
EVALUATE_METHOD, ITERATE_METHOD, locationId, PROCESS_METHOD, staticProperties
 
Constructor Summary
StreamingApplyTemplates(ApplyTemplates apply)
           
 
Method Summary
protected  TailCall apply(XPathContext context, boolean returnTailCall)
           
protected  void promoteInst(PromotionOffer offer)
          Handle promotion offers, that is, non-local tree rewrites.
 
Methods inherited from class net.sf.saxon.instruct.ApplyTemplates
applyTemplates, copy, createsNewNodes, defaultAction, explain, getActualParams, getInstructionNameCode, getMode, getSelectExpression, getTunnelParams, hasLoopingSubexpression, init, isImplicitSelect, iterateSubExpressions, optimize, process, processLeavingTail, replaceSubExpression, setActualParameters, simplify, typeCheck, usesCurrentMode, useTailRecursion
 
Methods inherited from class net.sf.saxon.instruct.Instruction
assembleParams, assembleTunnelParams, computeCardinality, computeSpecialProperties, dynamicError, evaluateAsString, evaluateItem, getConstructType, getImplementationMethod, getItemType, getSourceLocator, isXSLT, iterate, promote
 
Methods inherited from class net.sf.saxon.expr.Expression
addToPathMap, adoptChildExpression, checkForUpdatingSubexpressions, checkPermittedContents, computeDependencies, computeStaticProperties, doPromotion, dynamicError, effectiveBooleanValue, evaluatePendingUpdates, explain, getCardinality, getColumnNumber, getColumnNumber, getContainer, getDependencies, getExecutable, getHostLanguage, getIntrinsicDependencies, getLineNumber, getLineNumber, getLocationId, getLocationProvider, getObjectName, getProperties, getProperty, getPublicId, getSlotsUsed, getSpecialProperties, getSystemId, getSystemId, implementsStaticTypeCheck, isSubtreeExpression, isUpdatingExpression, isVacuousExpression, iterateEvents, iterateSameFocusSubExpressions, markTailFunctionCalls, resetLocalStaticProperties, setContainer, setFiltered, setFlattened, setLocationId, staticTypeCheck, suppressValidation, toString, typeError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.xml.transform.SourceLocator
getColumnNumber, getLineNumber, getPublicId, getSystemId
 

Constructor Detail

StreamingApplyTemplates

public StreamingApplyTemplates(ApplyTemplates apply)
                        throws XPathException
Throws:
XPathException
Method Detail

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


Copyright (c) Saxonica Limited. All rights reserved.