de.pannenleiter.tbug.saxon
Class SaxonThread
java.lang.Object
|
+--de.pannenleiter.tbug.saxon.SaxonThread
- All Implemented Interfaces:
- java.util.EventListener, com.icl.saxon.trace.TraceListener, XSLThread
- public class SaxonThread
- extends java.lang.Object
- implements XSLThread, com.icl.saxon.trace.TraceListener
SaxonThread -- controls a suspended thread
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DO_TRACE
protected static final int DO_TRACE
DO_SKIP
protected static final int DO_SKIP
DO_END
protected static final int DO_END
DO_RUN
protected static final int DO_RUN
DO_RUN_BREAK
protected static final int DO_RUN_BREAK
owner
protected ThreadManager owner
callback
protected DebuggerCallback callback
state
protected int state
action
protected int action
depth
protected int depth
defferedBreakpoint
protected boolean defferedBreakpoint
styleFrames
protected java.util.Stack styleFrames
sourceFrames
protected java.util.Stack sourceFrames
SaxonThread
public SaxonThread(ThreadManager owner,
DebuggerCallback callback)
open
public void open()
- Called at start
- Specified by:
open
in interface com.icl.saxon.trace.TraceListener
close
public void close()
- Called at end
- Specified by:
close
in interface com.icl.saxon.trace.TraceListener
toplevel
public void toplevel(com.icl.saxon.om.NodeInfo element)
throws org.xml.sax.SAXException
- Called for all top level elements
- Specified by:
toplevel
in interface com.icl.saxon.trace.TraceListener
enterSource
public void enterSource(com.icl.saxon.handlers.NodeHandler handler,
com.icl.saxon.Context context)
throws org.xml.sax.SAXException
- Called when a node of the source tree gets processed
- Specified by:
enterSource
in interface com.icl.saxon.trace.TraceListener
leaveSource
public void leaveSource(com.icl.saxon.handlers.NodeHandler handler,
com.icl.saxon.Context context)
throws org.xml.sax.SAXException
- Called after a node of the source tree got processed
- Specified by:
leaveSource
in interface com.icl.saxon.trace.TraceListener
enter
public void enter(com.icl.saxon.om.NodeInfo node,
com.icl.saxon.Context context)
throws org.xml.sax.SAXException
- Called when an element of the stylesheet gets processed
- Specified by:
enter
in interface com.icl.saxon.trace.TraceListener
leave
public void leave(com.icl.saxon.om.NodeInfo node,
com.icl.saxon.Context context)
throws org.xml.sax.SAXException
- Called after an element of the stylesheet got processed
- Specified by:
leave
in interface com.icl.saxon.trace.TraceListener
getState
public int getState()
throws java.lang.Exception
- Specified by:
getState
in interface XSLThread
resume
public void resume()
throws java.lang.Exception
- Specified by:
resume
in interface XSLThread
step
public void step()
throws java.lang.Exception
- Specified by:
step
in interface XSLThread
stepOver
public void stepOver()
throws java.lang.Exception
- Specified by:
stepOver
in interface XSLThread
stepEnd
public void stepEnd()
throws java.lang.Exception
- Specified by:
stepEnd
in interface XSLThread
getCurrentSourceIndex
public int getCurrentSourceIndex()
throws java.lang.Exception
- Specified by:
getCurrentSourceIndex
in interface XSLThread
getCurrentStyleIndex
public int getCurrentStyleIndex()
throws java.lang.Exception
- Specified by:
getCurrentStyleIndex
in interface XSLThread
dumpSourceStack
public SourceFrame[] dumpSourceStack()
throws java.lang.Exception
- Specified by:
dumpSourceStack
in interface XSLThread
getSourceFrame
public SourceFrame getSourceFrame(int idx)
throws java.lang.Exception
- Specified by:
getSourceFrame
in interface XSLThread
dumpStyleStack
public StyleFrame[] dumpStyleStack()
throws java.lang.Exception
- Specified by:
dumpStyleStack
in interface XSLThread
getStyleFrame
public StyleFrame getStyleFrame(int idx)
throws java.lang.Exception
- Specified by:
getStyleFrame
in interface XSLThread
setTrace
public void setTrace(boolean on)