Package com.saxonica.ee.stream.watch
Class ApplyImportsAction
- java.lang.Object
-
- net.sf.saxon.event.Outputter
-
- net.sf.saxon.event.ProxyOutputter
-
- com.saxonica.ee.stream.feed.ItemFeed
-
- com.saxonica.ee.stream.watch.ApplyTemplatesAction
-
- com.saxonica.ee.stream.watch.ApplyImportsAction
-
- All Implemented Interfaces:
javax.xml.transform.Result
,Receiver
public class ApplyImportsAction extends ApplyTemplatesAction
Watch for an xsl:apply-imports instruction. This doesn't really need to be a Watch, because it always processes the context node; but it means we can reuse a lot of code from the ApplyTemplatesWatch
-
-
Field Summary
-
Fields inherited from class net.sf.saxon.event.Outputter
pipelineConfiguration, systemId
-
-
Constructor Summary
Constructors Constructor Description ApplyImportsAction(Expression expression, ItemFeed result, XPathContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Rule
getRule(FleetingNode node)
Get the template rule matching a specific node-
Methods inherited from class com.saxonica.ee.stream.watch.ApplyTemplatesAction
append, close, computeActualParams, computeTunnelParams, endSelectedParentNode, getLocalContext, getMode, open, setActualParams, setMode, setTunnelParams, setWatchManager, startSelectedParentNode
-
Methods inherited from class com.saxonica.ee.stream.feed.ItemFeed
append, dynamicError, getContext, getExpression, getResultFeed, getTerminator, hasFailed, processItems, setExpression, setHasFailed, setTerminator
-
Methods inherited from class net.sf.saxon.event.ProxyOutputter
attribute, characters, comment, endDocument, endElement, getNextOutputter, namespace, open, processingInstruction, setUnparsedEntity, startContent, startDocument, startElement, startElement, usesTypeAnnotations
-
Methods inherited from class net.sf.saxon.event.Outputter
getConfiguration, getPipelineConfiguration, getStringReceiver, getSystemId, namespaces, setPipelineConfiguration, setSystemId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.saxon.event.Receiver
handlesAppend
-
-
-
-
Constructor Detail
-
ApplyImportsAction
public ApplyImportsAction(Expression expression, ItemFeed result, XPathContext context) throws XPathException
- Throws:
XPathException
-
-
Method Detail
-
getRule
protected Rule getRule(FleetingNode node) throws XPathException
Description copied from class:ApplyTemplatesAction
Get the template rule matching a specific node- Overrides:
getRule
in classApplyTemplatesAction
- Parameters:
node
- the node (in a streamed input document) to be matched- Returns:
- the best-fit template rule used to process this node
- Throws:
XPathException
- if a dynamic error occurs
-
-