Package org.eclipse.wst.xsl.debugger
public class IXSLDebugger extendsAn interface to XSL debugger instances.
Method Summary | |
public void | addBreakpoint(org.eclipse.wst.xsl.debugger.BreakPoint breakpoint)Add a breakpoint to this. |
public void | addTransformer(javax.xml.transform.Transformer transformer)Add a transformer to this. |
public org.eclipse.wst.xsl.debugger.Variable | getVariable(int id)Get the variable with the given id. |
public void | quit()Quit debugging. |
public void | removeBreakpoint(org.eclipse.wst.xsl.debugger.BreakPoint breakpoint)Remove a breakpoint from this. |
public void | resume()Perform a 'resume' operation. |
public void | setEventWriter(java.io.Writer writer)Set the Writer for this to write events to. |
public void | setInvoker(org.eclipse.wst.xsl.invoker.IProcessorInvoker invoker)Set the invoker to use. |
public void | setSource(java.net.URL sourceURL)Set the URL of the transformation source file. |
public void | setTarget(javax.xml.transform.Result res)Set the transformation Result. |
public void | setTransformerFactory(javax.xml.transform.TransformerFactory factory)Set the transformer factory to use. |
public java.lang.String | stack()Generate a string that represents the current call stack of frames and their variables. Frames are generated with the following format: file|frameId|lineNumber|name This is immediately followed with the id's of the frame's variables (each variable id being unique for the whole process). The separator for frames is $$$. Within a frame, the separator for variable id's is |. e.g. file:/tran1.xsl|1|12|xsl:template name="temp1"|1|2|3$$$file:/tran2.xsl|2|34|xsl:template name="temp2"|4|5|6 This defines 2 frames with id's 1 and 2, which are occur in files tran1.xsl and tran2.xsl respectively. Frame 1 is currently at line 12, in a template with name temp1, and it defines 3 variables with id's 1, 2 and 3. |
public void | stepInto()Perform a 'step into' operation. |
public void | stepOver()Perform a 'step over' operation. |
public void | stepReturn()Perform a 'step return' operation. |
public void | suspend()Perform a 'suspend' operation. |
Methods Detail |
public void addBreakpoint(org.eclipse.wst.xsl.debugger.BreakPoint breakpoint)
Add a breakpoint to this.
breakpoint
public void addTransformer(javax.xml.transform.Transformer transformer)
Add a transformer to this.
transformer
public org.eclipse.wst.xsl.debugger.Variable getVariable(int id)
Get the variable with the given id.
id - the id of the variable
org.eclipse.wst.xsl.debugger.Variable - the variable
public void quit()
Quit debugging.
public void removeBreakpoint(org.eclipse.wst.xsl.debugger.BreakPoint breakpoint)
Remove a breakpoint from this.
breakpoint
public void resume()
Perform a 'resume' operation.
public void setEventWriter(java.io.Writer writer)
Set the Writer for this to write events to.
writer - the writer to write events to
public void setInvoker(org.eclipse.wst.xsl.invoker.IProcessorInvoker invoker)
Set the invoker to use.
invoker - the invoker to set
public void setSource(java.net.URL sourceURL)
Set the URL of the transformation source file.
sourceURL - the source URL
public void setTarget(javax.xml.transform.Result res)
Set the transformation Result.
res - the result
public void setTransformerFactory(javax.xml.transform.TransformerFactory factory)
Set the transformer factory to use.
factory - the factory to use
public java.lang.String stack()
Generate a string that represents the current call stack of frames and their variables.
Frames are generated with the following format: file|frameId|lineNumber|name This is immediately followed with the id's of the frame's variables (each variable id being unique for the whole process).
The separator for frames is $$$. Within a frame, the separator for variable id's is |.
e.g. file:/tran1.xsl|1|12|xsl:template name="temp1"|1|2|3$$$file:/tran2.xsl|2|34|xsl:template name="temp2"|4|5|6 This defines 2 frames with id's 1 and 2, which are occur in files tran1.xsl and tran2.xsl respectively. Frame 1 is currently at line 12, in a template with name temp1, and it defines 3 variables with id's 1, 2 and 3.
java.lang.String - the generated string
public void stepInto()
Perform a 'step into' operation.
public void stepOver()
Perform a 'step over' operation.
public void stepReturn()
Perform a 'step return' operation.
public void suspend()
Perform a 'suspend' operation.