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.
|
URL |
getUrl()
Returns the URL of this page.
|
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 Page
public String getContent()
public WebResponse getWebResponse()
getWebResponse
in interface Page
public WebWindow getEnclosingWindow()
getEnclosingWindow
in interface Page
Copyright © 2002-2013 Gargoyle Software Inc.. All Rights Reserved.