|
|||||||||
| Home >> All >> netscape >> [ jsdebug overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
netscape.jsdebug
Class JSSourceTextProvider

java.lang.Objectnetscape.jsdebug.SourceTextProvider
netscape.jsdebug.JSSourceTextProvider
- public final class JSSourceTextProvider
- extends SourceTextProvider
This class provides access to SourceText items.
This class is meant to be a singleton and has a private constructor.
Call the static getSourceTextProvider() to get this object.
Note that all functions use netscape.security.PrivilegeManager to verify that the caller has the "Debugger" privilege. The exception netscape.security.ForbiddenTargetException will be throw if this is not enabled.
- Since:
- 1.0
- Version:
- 1.0
| Field Summary | |
private long |
_nativeContext
|
private static SourceTextProvider |
_sourceTextProvider
|
private Vector |
_sourceTextVector
|
| Constructor Summary | |
private |
JSSourceTextProvider(long nativeContext)
|
| Method Summary | |
SourceTextItem |
findSourceTextItem(java.lang.String url)
Get the SourceText item for the given URL |
private SourceTextItem |
findSourceTextItem0(java.lang.String url)
|
static SourceTextProvider |
getSourceTextProvider()
Get the SourceTextProvider object for the current VM. |
Vector |
getSourceTextVector()
Return the vector of SourceTextItems. |
SourceTextItem |
loadSourceTextItem(java.lang.String url)
Load the SourceText item for the given URL |
private SourceTextItem |
loadSourceTextItem0(java.lang.String url)
|
void |
refreshSourceTextVector()
Refresh the vector to reflect any changes made in the underlying native system |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
_sourceTextProvider
private static SourceTextProvider _sourceTextProvider
_sourceTextVector
private Vector _sourceTextVector
_nativeContext
private long _nativeContext
| Constructor Detail |
JSSourceTextProvider
private JSSourceTextProvider(long nativeContext)
| Method Detail |
getSourceTextProvider
public static SourceTextProvider getSourceTextProvider() throws ForbiddenTargetException
- Get the SourceTextProvider object for the current VM.
findSourceTextItem
public SourceTextItem findSourceTextItem(java.lang.String url) throws ForbiddenTargetException
- Get the SourceText item for the given URL
- Specified by:
findSourceTextItemin classSourceTextProvider
findSourceTextItem0
private SourceTextItem findSourceTextItem0(java.lang.String url)
getSourceTextVector
public Vector getSourceTextVector()
throws ForbiddenTargetException
- Return the vector of SourceTextItems.
This is NOT a copy. nor is it necessarily current
- Specified by:
getSourceTextVectorin classSourceTextProvider
loadSourceTextItem
public SourceTextItem loadSourceTextItem(java.lang.String url) throws ForbiddenTargetException
- Load the SourceText item for the given URL
This is not guaranteed to be implemented
- Specified by:
loadSourceTextItemin classSourceTextProvider
loadSourceTextItem0
private SourceTextItem loadSourceTextItem0(java.lang.String url)
refreshSourceTextVector
public void refreshSourceTextVector()
- Refresh the vector to reflect any changes made in the
underlying native system
- Specified by:
refreshSourceTextVectorin classSourceTextProvider
|
|||||||||
| Home >> All >> netscape >> [ jsdebug overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC