|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.trace.ContextStackFrame
public abstract class ContextStackFrame
An entry on the context stack. A new entry is created every time the context changes. This is a representation of the stack created on request; it does not hold live data.
Nested Class Summary | |
---|---|
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.ForEach
Subclass of ContextStackFrame representing an xsl:for-each 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 Summary | |
---|---|
ContextStackFrame()
|
Method Summary | |
---|---|
Container |
getContainer()
Get the container of the instruction that caused this new context to be created. |
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 |
String |
getSystemId()
Get the system ID representing the location of the instruction that caused this new context to be created |
abstract void |
print(PrintStream out)
Display a representation of the stack frame on the specified output stream |
void |
setContainer(Container container)
Set the container of the instruction that caused this new context to be created. |
void |
setContextItem(Item contextItem)
Set the value of the context item at this level of the context stack |
void |
setLineNumber(int lineNumber)
Set the line number of the location of the instruction that caused this new context to be created |
void |
setSystemId(String uri)
Set the system ID representing the location of the instruction that caused this new context to be created |
protected String |
showLocation()
Show the location of a call (for use by subclasses) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextStackFrame()
Method Detail |
---|
public void setSystemId(String uri)
uri
- the system ID (base URI/module URI) of the module containing the instructionpublic String getSystemId()
public void setLineNumber(int lineNumber)
lineNumber
- the line number of the instruction within its containing modulepublic int getLineNumber()
public void setContainer(Container container)
container
- the container of the instructionpublic Container getContainer()
public void setContextItem(Item contextItem)
contextItem
- the context item as it was when this new context was createdpublic Item getContextItem()
public abstract void print(PrintStream out)
out
- the output streamprotected String showLocation()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |