org.apache.bsf.util
Class DocumentCell
java.lang.Object
org.apache.bsf.util.DocumentCell
public class DocumentCell
- extends java.lang.Object
A DocumentCell allows the debug manager to keep track
of known documents for which it has breakpoints.
When a debugger sets a breakpoint, it specifies a document.
This is when a DocumentCell is created for that document
(identified through its URI).
The debug manager will keep the document cells at least
as long as there is breakpoints known and as long as there
are engines known to currently execute the document.
- Author:
- Olivier Gruber
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentCell
public DocumentCell(BSFDebugManagerImpl mger,
java.lang.String name)
getName
public java.lang.String getName()
loadNotify
public void loadNotify(BSFEngine eng)
terminateEngineNotify
public void terminateEngineNotify(BSFEngine eng)
addBreakpointAtLine
public void addBreakpointAtLine(int brkptId,
int lineno)
addBreakpointAtOffset
public void addBreakpointAtOffset(int brkptId,
int offset)
removeBreakpoint
public void removeBreakpoint(int brkptId)
setEntryExit
public void setEntryExit(boolean on_value)
getEntryExit
public boolean getEntryExit()
removeAllBreakpoints
public void removeAllBreakpoints()
findBreakpointAtLine
public BreakPoint findBreakpointAtLine(int lineno)
findBreakpointAtOffset
public BreakPoint findBreakpointAtOffset(int offset)