| |
|
| java.lang.Object com.gargoylesoftware.htmlunit.JavaScriptPage
JavaScriptPage | public class JavaScriptPage implements Page(Code) | | A generic page that will be returned for JavaScript content.
Specifically any content types of "text/javascript"
version: $Revision: 2132 $ author: Mike Bowler author: David K. Taylor |
JavaScriptPage | public JavaScriptPage(WebResponse webResponse, WebWindow enclosingWindow)(Code) | | Create an instance
Parameters: webResponse - The response from the server Parameters: enclosingWindow - The window that holds the page. |
cleanUp | public void cleanUp()(Code) | | Clean up this page.
|
getContent | public String getContent()(Code) | | Return the content of the page
See above |
getEnclosingWindow | public WebWindow getEnclosingWindow()(Code) | | Return the window that this page is sitting inside.
The enclosing frame or null if this page isn't inside a frame. |
getWebResponse | public WebResponse getWebResponse()(Code) | | Return the web response that was originally used to create this page.
The web response |
initialize | public void initialize()(Code) | | Initialize this page.
|
|
|
|