Package com.saxonica.ee.stream.watch
Class NextMatchAction
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.NextMatchAction
Watch for an xsl:next-match 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, systemIdFields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING -
Constructor Summary
ConstructorsConstructorDescriptionNextMatchAction(Expression expression, ItemFeed result, XPathContext context) -
Method Summary
Modifier and TypeMethodDescriptionprotected RulegetRule(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, startSelectedParentNodeMethods inherited from class com.saxonica.ee.stream.feed.ItemFeed
append, dynamicError, getContext, getExpression, getResultFeed, getTerminator, hasFailed, processItems, setExpression, setHasFailed, setTerminatorMethods inherited from class net.sf.saxon.event.ProxyOutputter
attribute, characters, comment, endDocument, endElement, getNextOutputter, namespace, open, processingInstruction, setUnparsedEntity, startContent, startDocument, startElement, startElement, usesTypeAnnotationsMethods inherited from class net.sf.saxon.event.Outputter
getConfiguration, getPipelineConfiguration, getStringReceiver, getSystemId, namespaces, setPipelineConfiguration, setSystemId, spreadStartElementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.saxon.event.Receiver
handlesAppend
-
Constructor Details
-
NextMatchAction
public NextMatchAction(Expression expression, ItemFeed result, XPathContext context) throws XPathException - Throws:
XPathException
-
-
Method Details
-
getRule
Description copied from class:ApplyTemplatesActionGet the template rule matching a specific node- Overrides:
getRulein 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
-