public class JavaScriptPage extends Object implements Page
| Constructor and Description |
|---|
JavaScriptPage(WebResponse webResponse,
WebWindow enclosingWindow)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp()
Cleans up this page.
|
String |
getContent()
Returns the content of the page.
|
WebWindow |
getEnclosingWindow()
Returns the window that this page is sitting inside.
|
WebResponse |
getWebResponse()
Returns the web response that was originally used to create this page.
|
void |
initialize()
Initializes this page.
|
public JavaScriptPage(WebResponse webResponse, WebWindow enclosingWindow)
webResponse - the response from the serverenclosingWindow - the window that holds the pagepublic void initialize()
initialize in interface Pagepublic String getContent()
public WebResponse getWebResponse()
getWebResponse in interface Pagepublic WebWindow getEnclosingWindow()
getEnclosingWindow in interface PageCopyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.