public abstract class ContextStackFrame
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ContextStackFrame.ApplyTemplates
Subclass of ContextStackFrame representing an xsl:apply-templates call in XSLT
|
static class |
ContextStackFrame.BuiltInTemplateRule
Subclass of ContextStackFrame representing a built-in template rule in XSLT
|
static class |
ContextStackFrame.CallingApplication
Subclass of ContextStackFrame representing the outermost stack frame,
for the calling application
|
static class |
ContextStackFrame.CallTemplate
Subclass of ContextStackFrame representing an xsl:call-template instruction in XSLT
|
static class |
ContextStackFrame.FunctionCall
Subclass of ContextStackFrame representing a call to a user-defined function
either in XSLT or XQuery
|
static class |
ContextStackFrame.VariableEvaluation
Subclass of ContextStackFrame representing the evaluation of a variable (typically a global variable)
|
Constructor and Description |
---|
ContextStackFrame() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getContainer()
Get the container of the instruction that caused this new context to be created.
|
XPathContext |
getContext()
Get the value of the context at this level of the context stack
|
Item |
getContextItem()
Get the value of the context item at this level of the context stack
|
int |
getLineNumber()
Get the line number of the location of the instruction that caused this new context
to be created
|
java.lang.String |
getSystemId()
Get the system ID representing the location of the instruction that caused this new context
to be created
|
abstract void |
print(Logger out)
Display a representation of the stack frame on the specified output stream
|
void |
setComponent(java.lang.Object container)
Set the container of the instruction that caused this new context to be created.
|
void |
setContext(XPathContext context)
Set the value of the context at this level of the context stack
|
void |
setContextItem(Item contextItem)
Set the value of the context item at this level of the context stack
|
void |
setLocation(Location loc)
Set the location of the instruction that caused this new context
to be created
|
protected java.lang.String |
showLocation()
Show the location of a call (for use by subclasses)
|
public void setLocation(Location loc)
loc
- the location of the instructionpublic java.lang.String getSystemId()
public int getLineNumber()
public void setComponent(java.lang.Object container)
container
- the container of the instructionpublic java.lang.Object getContainer()
public void setContext(XPathContext context)
context
- the context as it was when this new context was createdpublic XPathContext getContext()
public void setContextItem(Item contextItem)
contextItem
- the context item as it was when this new context was createdpublic Item getContextItem()
public abstract void print(Logger out)
out
- the output streamprotected java.lang.String showLocation()
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.