public class MergeInstrAdjunct extends StreamingAdjunct
Constructor and Description |
---|
MergeInstrAdjunct() |
Modifier and Type | Method and Description |
---|---|
static void |
checkStreamability(MergeInstr.MergeSource mergeSource,
Configuration config) |
PostureAndSweep |
computeStreamability(ContextItemStaticInfoEE contextInfo,
java.util.List<java.lang.String> reasons)
Compute the posture and sweep of this expression as defined in the W3C streamability specifications.
|
static java.util.List<ContextMappingIterator<ObjectValue<ItemWithMergeKeys>>> |
makeSourceIterators(MergeInstr.MergeSource ms,
PackageData pd,
XPathContext c1)
Given a streamable xsl:merge-source, return a set of iterators, one for each of the input
sequences.
|
getConfiguration, getDefaultFeedMaker, getExpression, getFeedMaker, getWatchMaker, makeStreamingAdjunct, setConfiguration, setExpression, toStreamingPattern
public static void checkStreamability(MergeInstr.MergeSource mergeSource, Configuration config) throws XPathException
XPathException
public PostureAndSweep computeStreamability(ContextItemStaticInfoEE contextInfo, java.util.List<java.lang.String> reasons)
StreamingAdjunct
computeStreamability
in class StreamingAdjunct
contextInfo
- Information about the context item type and posturereasons
- the caller may supply a list, in which case the implementation may add to this; the
contents are human-readable messages explaining why the expression is not streamable.public static java.util.List<ContextMappingIterator<ObjectValue<ItemWithMergeKeys>>> makeSourceIterators(MergeInstr.MergeSource ms, PackageData pd, XPathContext c1) throws XPathException
ms
- The merge sourcepd
- The containing packagec1
- The dynamic XPath ContextXPathException
- if anything goes wrongCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.