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
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
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
-
Constructor Summary
ConstructorsConstructorDescriptionApplyImportsAction
(Expression expression, ItemFeed result, XPathContext context) -
Method Summary
Modifier and TypeMethodDescriptionprotected Rule
getRule
(FleetingNode node) Get the template rule matching a specific nodeMethods 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, spreadStartElement
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 Details
-
ApplyImportsAction
public ApplyImportsAction(Expression expression, ItemFeed result, XPathContext context) throws XPathException - Throws:
XPathException
-
-
Method Details
-
getRule
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
-