public class ComponentInversion
extends java.lang.Object
Constructor and Description |
---|
ComponentInversion(Expression body)
Create the Jackson inversion of a template or function,
allowing the template or function to execute on a streamed input source.
|
Modifier and Type | Method and Description |
---|---|
void |
explain(ExpressionPresenter presenter)
Output diagnostic explanation to an ExpressionPresenter
|
Inversion |
getInversion() |
SlotManager |
getStackFrame()
Get the stackframe identifying the slots used for local variables
|
Watch |
getWatch(WatchManager wm,
Feed result,
XPathContext context)
Get a Watch associated with this template, if any.
|
void |
invert(boolean isW3CStreamable)
Invert the body of the template.
|
void |
setStackFrame(SlotManager frame)
Set the stackframe identifying the slots used for local variables
|
public ComponentInversion(Expression body)
body
- the body of the template to be invertedpublic Watch getWatch(WatchManager wm, Feed result, XPathContext context) throws XPathException
<xsl:copy-of select="a/b/c">
then it returns a
CopyOfFeed
with that expression as its selection.wm
- the WatchManager which keeps track of all active Watchesresult
- the destination for the output of this Watchcontext
- the stack of dynamic context objects for the active WatchesXPathException
- if an error occurspublic void invert(boolean isW3CStreamable) throws XPathException
XPathException
- if the template is non-streamablepublic void setStackFrame(SlotManager frame)
frame
- the stack frame skeletonpublic SlotManager getStackFrame()
public Inversion getInversion()
public void explain(ExpressionPresenter presenter) throws XPathException
presenter
- the destination for the outputXPathException
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.