blob: 1e9609cd283d7ba88e8828b0aaf5fdecde57ed51 [file] [log] [blame]
<html><body><p><font size="+1"><strong>Package org.eclipse.wst.xsl.debugger</strong></font></p><hr><h2><font size="-1"><strong>org.eclipse.wst.xsl.debugger</strong></font><br>
Class AbstractDebugger</h2><br><hr><pre>public class <strong>AbstractDebugger</strong>
extends java.lang.Object</pre>An implementation of <code>IXSLDebugger</code>.
This class can be subclassed in order to provide debugging for a particular XSLT processor.<p></p><hr><table width="100%" border="1"><tr bgcolor="#CCCCFF"><td width="100%"><h2>Constructor Summary</h2></td></tr><tr><td><code><strong><a href="#con_AbstractDebugger">AbstractDebugger</a></strong>()</code></td></tr></table><br><table width="100%" border="1"><tr cols="2" bgcolor="#CCCCFF"><td colspan="2" width="100%"><h2>Method Summary</h2></td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_addBreakpoint">addBreakpoint</a>(org.eclipse.wst.xsl.debugger.BreakPoint breakpoint)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_checkStopped">checkStopped</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Check whether the debugger has been stopped and perform the appropriate action if so.</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_checkSuspended">checkSuspended</a>(org.eclipse.wst.xsl.debugger.StyleFrame styleFrame
,
org.eclipse.wst.xsl.debugger.BreakPoint breakpoint)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Check whether the debugger is currently suspended or stepping at the given breakpoint and style frame,
and perform the appropriate action if so.</td></tr><tr valign="top"><td width="20%" align="right"><code>protected void</code></td><td width="" align="left"><code><a href="#method_debuggerStarted">debuggerStarted</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>protected void</code></td><td width="" align="left"><code><a href="#method_debuggerStopped">debuggerStopped</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_debuggerTransformStarted">debuggerTransformStarted</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Called when the next transform in the pipeline has begun.</td></tr><tr valign="top"><td width="20%" align="right"><code>public org.eclipse.wst.xsl.debugger.StyleFrame</code></td><td width="" align="left"><code><a href="#method_peekStyleFrame">peekStyleFrame</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Peek a style frame from the stack.</td></tr><tr valign="top"><td width="20%" align="right"><code>public org.eclipse.wst.xsl.debugger.StyleFrame</code></td><td width="" align="left"><code><a href="#method_popStyleFrame">popStyleFrame</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Pop a style frame from the stack.</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_pushStyleFrame">pushStyleFrame</a>(org.eclipse.wst.xsl.debugger.StyleFrame styleFrame)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
Push a style frame onto the stack.</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_quit">quit</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_removeBreakpoint">removeBreakpoint</a>(org.eclipse.wst.xsl.debugger.BreakPoint breakpoint)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_resume">resume</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_run">run</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_setEventWriter">setEventWriter</a>(java.io.Writer writer)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_setInvoker">setInvoker</a>(org.eclipse.wst.xsl.invoker.IProcessorInvoker invoker)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_setSource">setSource</a>(java.net.URL sourceURL)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_setTarget">setTarget</a>(javax.xml.transform.Result res)</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public java.lang.String</code></td><td width="" align="left"><code><a href="#method_stack">stack</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_stepInto">stepInto</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_stepOver">stepOver</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_stepReturn">stepReturn</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr><tr valign="top"><td width="20%" align="right"><code>public void</code></td><td width="" align="left"><code><a href="#method_suspend">suspend</a>()</code><br>
&nbsp;&nbsp;&nbsp;&nbsp;
</td></tr></table><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Constructor Detail
</h2></td></tr></table><h2><a name="con_AbstractDebugger">AbstractDebugger</a></h2><p><code>public <strong>AbstractDebugger</strong>()</code></p><p></p><hr><table cols="2" width="100%" border="1"><tr colspan="2" width="100%" bgcolor="#CCCCFF" align="left"><td><h2>
Methods Detail
</h2></td></tr></table><h2><a name="method_addBreakpoint">addBreakpoint</a></h2><p><code>public void <strong>addBreakpoint</strong>(org.eclipse.wst.xsl.debugger.BreakPoint breakpoint)</code></p><p></p><h3>Parameters</h3><p><code>breakpoint</code></p><hr><h2><a name="method_checkStopped">checkStopped</a></h2><p><code>public void <strong>checkStopped</strong>()</code></p><p>Check whether the debugger has been stopped and perform the appropriate action if so.</p><hr><h2><a name="method_checkSuspended">checkSuspended</a></h2><p><code>public void <strong>checkSuspended</strong>(org.eclipse.wst.xsl.debugger.StyleFrame styleFrame
,
org.eclipse.wst.xsl.debugger.BreakPoint breakpoint)</code></p><p>Check whether the debugger is currently suspended or stepping at the given breakpoint and style frame,
and perform the appropriate action if so.</p><h3>Parameters</h3><p><code>styleFrame</code> - the styleframe to check</p><p><code>breakpoint</code> - the current location</p><hr><h2><a name="method_debuggerStarted">debuggerStarted</a></h2><p><code>protected void <strong>debuggerStarted</strong>()</code></p><p></p><hr><h2><a name="method_debuggerStopped">debuggerStopped</a></h2><p><code>protected void <strong>debuggerStopped</strong>()</code></p><p></p><hr><h2><a name="method_debuggerTransformStarted">debuggerTransformStarted</a></h2><p><code>public void <strong>debuggerTransformStarted</strong>()</code></p><p>Called when the next transform in the pipeline has begun.</p><hr><h2><a name="method_peekStyleFrame">peekStyleFrame</a></h2><p><code>public org.eclipse.wst.xsl.debugger.StyleFrame <strong>peekStyleFrame</strong>()</code></p><p>Peek a style frame from the stack.</p><h3>Returns</h3><p><code>org.eclipse.wst.xsl.debugger.StyleFrame</code> - the peeked style frame</p><hr><h2><a name="method_popStyleFrame">popStyleFrame</a></h2><p><code>public org.eclipse.wst.xsl.debugger.StyleFrame <strong>popStyleFrame</strong>()</code></p><p>Pop a style frame from the stack.</p><h3>Returns</h3><p><code>org.eclipse.wst.xsl.debugger.StyleFrame</code> - the popped style frame</p><hr><h2><a name="method_pushStyleFrame">pushStyleFrame</a></h2><p><code>public void <strong>pushStyleFrame</strong>(org.eclipse.wst.xsl.debugger.StyleFrame styleFrame)</code></p><p>Push a style frame onto the stack.</p><h3>Parameters</h3><p><code>styleFrame</code></p><hr><h2><a name="method_quit">quit</a></h2><p><code>public void <strong>quit</strong>()</code></p><p></p><hr><h2><a name="method_removeBreakpoint">removeBreakpoint</a></h2><p><code>public void <strong>removeBreakpoint</strong>(org.eclipse.wst.xsl.debugger.BreakPoint breakpoint)</code></p><p></p><h3>Parameters</h3><p><code>breakpoint</code></p><hr><h2><a name="method_resume">resume</a></h2><p><code>public void <strong>resume</strong>()</code></p><p></p><hr><h2><a name="method_run">run</a></h2><p><code>public void <strong>run</strong>()</code></p><p></p><hr><h2><a name="method_setEventWriter">setEventWriter</a></h2><p><code>public void <strong>setEventWriter</strong>(java.io.Writer writer)</code></p><p></p><h3>Parameters</h3><p><code>writer</code></p><hr><h2><a name="method_setInvoker">setInvoker</a></h2><p><code>public void <strong>setInvoker</strong>(org.eclipse.wst.xsl.invoker.IProcessorInvoker invoker)</code></p><p></p><h3>Parameters</h3><p><code>invoker</code></p><hr><h2><a name="method_setSource">setSource</a></h2><p><code>public void <strong>setSource</strong>(java.net.URL sourceURL)</code></p><p></p><h3>Parameters</h3><p><code>sourceURL</code></p><hr><h2><a name="method_setTarget">setTarget</a></h2><p><code>public void <strong>setTarget</strong>(javax.xml.transform.Result res)</code></p><p></p><h3>Parameters</h3><p><code>res</code></p><hr><h2><a name="method_stack">stack</a></h2><p><code>public java.lang.String <strong>stack</strong>()</code></p><p></p><h3>Returns</h3><p><code>java.lang.String</code></p><hr><h2><a name="method_stepInto">stepInto</a></h2><p><code>public void <strong>stepInto</strong>()</code></p><p></p><hr><h2><a name="method_stepOver">stepOver</a></h2><p><code>public void <strong>stepOver</strong>()</code></p><p></p><hr><h2><a name="method_stepReturn">stepReturn</a></h2><p><code>public void <strong>stepReturn</strong>()</code></p><p></p><hr><h2><a name="method_suspend">suspend</a></h2><p><code>public void <strong>suspend</strong>()</code></p><p></p><hr></body></html>