|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.owasp.webscarab.plugin.fragments.Fragments
public class Fragments
This plugin looks for comments and scripts in the source of HTML pages.
| Constructor Summary | |
|---|---|
Fragments(Framework framework)
Creates a new instance of Fragments |
|
| Method Summary | |
|---|---|
void |
analyse(ConversationID id,
Request request,
Response response,
java.lang.String origin)
|
void |
flush()
called to instruct the plugin to flush any memory-only state to the store. |
FragmentsModel |
getModel()
|
java.lang.String |
getPluginName()
returns the name of the plugin |
java.lang.Object |
getScriptableObject()
|
Hook[] |
getScriptingHooks()
|
java.lang.String |
getStatus()
called to determine what the current status of the plugin is |
boolean |
isBusy()
called to test whether the plugin is able to be stopped |
boolean |
isModified()
called to determine whether the data stored within the plugin has been modified and should be saved |
boolean |
isRunning()
|
void |
run()
calls the main loop of the plugin |
void |
setSession(java.lang.String type,
java.lang.Object store,
java.lang.String session)
Sets the store that this plugin uses |
boolean |
stop()
stops the plugin running |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Fragments(Framework framework)
props - contains the user's configuration properties| Method Detail |
|---|
public FragmentsModel getModel()
public void setSession(java.lang.String type,
java.lang.Object store,
java.lang.String session)
throws StoreException
setSession in interface Pluginsession - the new session
StoreExceptionpublic java.lang.String getPluginName()
getPluginName in interface Pluginpublic void run()
run in interface java.lang.Runnablerun in interface Pluginpublic boolean stop()
stop in interface Plugin
public void analyse(ConversationID id,
Request request,
Response response,
java.lang.String origin)
analyse in interface Plugin
public void flush()
throws StoreException
Plugin
flush in interface PluginStoreException - if there is any problem saving the session datapublic boolean isBusy()
Plugin
isBusy in interface Pluginpublic java.lang.String getStatus()
Plugin
getStatus in interface Pluginpublic boolean isModified()
Plugin
isModified in interface Pluginpublic boolean isRunning()
isRunning in interface Pluginpublic java.lang.Object getScriptableObject()
getScriptableObject in interface Pluginpublic Hook[] getScriptingHooks()
getScriptingHooks in interface Plugin
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||