public class ElementInstrAdjunct extends StreamingAdjunct
| Constructor and Description |
|---|
ElementInstrAdjunct() |
| Modifier and Type | Method and Description |
|---|---|
FeedMaker |
getFeedMaker(Expression expression,
int arg)
Get a FeedMaker, a factory class that creates a Feed to evaluate this expression
in streaming mode.
|
static void |
processLeft(ElementCreator instr,
Stack<XPathContext> contextStack,
Stack<Object> state,
NodeInfo copiedNode)
In streaming mode, process the first half of the instruction (to start a new document or element)
|
static void |
processRight(ElementCreator instr,
Stack<XPathContext> contextStack,
Stack<Object> state)
In streaming mode, process the right half of the instruction (to end a new document or element)
|
getConfiguration, getWatchMaker, makeStreamingAdjunct, setConfigurationpublic FeedMaker getFeedMaker(Expression expression, int arg)
StreamingAdjunctgetFeedMaker in class StreamingAdjunctexpression - the expression to be evaluated in streaming modearg - identifies the argument with respect to which the expression is to be inverted:
usually 0 to indicate the first argument is the value that is streamed. Argument numbering
is the same as the sequence of arguments/operands returned by the method Expression.iterateSubExpressions()public static void processLeft(ElementCreator instr, Stack<XPathContext> contextStack, Stack<Object> state, NodeInfo copiedNode) throws XPathException
contextStack - the dynamic evaluation contextstate - a stack on which the instruction can save state information for use during the correspondingcopiedNode - for the benefit of xsl:copy, the node being copied; otherwise nullXPathException - if a dynamic error occurspublic static void processRight(ElementCreator instr, Stack<XPathContext> contextStack, Stack<Object> state) throws XPathException
contextStack - the stack of XPath context objects for the current execution statestate - a stack on which the instruction can save state information for use during the correspondingXPathException - if a dynamic error occursCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.