Package org.eclipse.wst.xsl.debugger


org.eclipse.wst.xsl.debugger
Class StyleFrame



public class StyleFrame
extends java.lang.Object
An xsl:template that forms part of the call stack.


Constructor Summary

StyleFrame(org.eclipse.wst.xsl.debugger.StyleFrame parent)

Method Summary

public voidaddChild(org.eclipse.wst.xsl.debugger.StyleFrame child)
     Add a child frame to this.
public java.util.ListgetChildren()
     Get the children of this
public intgetCurrentLine()
     Get the line number at which the frame is currently located.
public java.lang.StringgetFilename()
     Get the file in which this frame is found.
public intgetId()
     A unique id for this frame
public java.lang.StringgetName()
     Get the name of this frame.
public org.eclipse.wst.xsl.debugger.StyleFramegetParent()
     Get the parent of this.
public java.util.ListgetVariableStack()
     Get a list of Variables's
public voidremoveChild(org.eclipse.wst.xsl.debugger.StyleFrame child)
     Remove a child frame from this.
public java.lang.StringtoString()
     Creates a string in the format file|frameId|lineNumber|name. Since pipe is used as a separator, the name has any pipe (|) characters replaced with the literal '%@_PIPE_@%'

Constructor Detail

StyleFrame

public StyleFrame(org.eclipse.wst.xsl.debugger.StyleFrame parent)

Create a new instance of this using the given frame as its parent (may be null if this is the root frame).


Methods Detail

addChild

public void addChild(org.eclipse.wst.xsl.debugger.StyleFrame child)

Add a child frame to this.

Parameters

child - the frame to add


getChildren

public java.util.List getChildren()

Get the children of this

Returns

java.util.List - a list of StyleFrame's


getCurrentLine

public int getCurrentLine()

Get the line number at which the frame is currently located.

Returns

int - the line number at which this is held


getFilename

public java.lang.String getFilename()

Get the file in which this frame is found.

Returns

java.lang.String - the filename for this


getId

public int getId()

A unique id for this frame

Returns

int - a unique id for this frame


getName

public java.lang.String getName()

Get the name of this frame.

Returns

java.lang.String - the name of this


getParent

public org.eclipse.wst.xsl.debugger.StyleFrame getParent()

Get the parent of this.

Returns

org.eclipse.wst.xsl.debugger.StyleFrame - the parent frame


getVariableStack

public java.util.List getVariableStack()

Get a list of Variables's

Returns

java.util.List - the list of variables for this frame


removeChild

public void removeChild(org.eclipse.wst.xsl.debugger.StyleFrame child)

Remove a child frame from this.

Parameters

child - the frame to remove


toString

public java.lang.String toString()

Creates a string in the format file|frameId|lineNumber|name. Since pipe is used as a separator, the name has any pipe (|) characters replaced with the literal '%@_PIPE_@%'

Returns

java.lang.String