Package | Description |
---|---|
com.gargoylesoftware.htmlunit |
Framework classes
|
com.gargoylesoftware.htmlunit.html |
Classes specific to html pages
|
com.gargoylesoftware.htmlunit.javascript |
Classes in this package are specific for the javascript engine - users of HtmlUnit shouldn't
need anything in this package.
|
com.gargoylesoftware.htmlunit.javascript.host |
Implementations of the various javascript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
com.gargoylesoftware.htmlunit.xml |
Classes specific to xml pages
|
Modifier and Type | Class and Description |
---|---|
class |
TopLevelWindow
A window representing a top level browser window.
|
class |
WebWindowImpl
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Base class for common WebWindow functionality. |
Modifier and Type | Method and Description |
---|---|
WebWindow |
WebClient.getCurrentWindow()
Return the "current" window for this client.
|
WebWindow |
SgmlPage.getEnclosingWindow()
Return the window that this page is sitting inside.
|
WebWindow |
Page.getEnclosingWindow()
Return the window that this page is sitting inside.
|
WebWindow |
UnexpectedPage.getEnclosingWindow()
Return the window that this page is sitting inside.
|
WebWindow |
JavaScriptPage.getEnclosingWindow()
Return the window that this page is sitting inside.
|
WebWindow |
TextPage.getEnclosingWindow()
Return the window that this page is sitting inside.
|
WebWindow |
TopLevelWindow.getOpener()
Return the opener property.
|
WebWindow |
WebWindow.getParentWindow()
Return the window that contains this window.
|
WebWindow |
TopLevelWindow.getParentWindow()
Return the window that contains this window.
|
WebWindow |
WebWindow.getTopWindow()
Return the top level window that contains this window.
|
WebWindow |
TopLevelWindow.getTopWindow()
Return the top level window that contains this window.
|
WebWindow |
WebWindowEvent.getWebWindow()
Return the web window that fired the event.
|
WebWindow |
WebClient.getWebWindowByName(String name)
Return the first
WebWindow that matches the specified name. |
WebWindow |
WebClient.openWindow(URL url,
String windowName)
Open a new window with the specified name.
|
WebWindow |
WebClient.openWindow(URL url,
String windowName,
WebWindow opener)
Open a new window with the specified name.
|
WebWindow |
WebClient.popFirstWindow()
Return the "first" window for this client.
|
Modifier and Type | Method and Description |
---|---|
protected HtmlPage |
DefaultPageCreator.createHtmlPage(WebResponse webResponse,
WebWindow webWindow)
Create a HtmlPage for this WebResponse
|
protected JavaScriptPage |
DefaultPageCreator.createJavaScriptPage(WebResponse webResponse,
WebWindow webWindow)
Create a JavaScriptPage for this WebResponse
|
Page |
PageCreator.createPage(WebResponse webResponse,
WebWindow webWindow)
Create a Page object for the specified web response.
|
Page |
DefaultPageCreator.createPage(WebResponse webResponse,
WebWindow webWindow)
Create a Page object for the specified web response.
|
protected TextPage |
DefaultPageCreator.createTextPage(WebResponse webResponse,
WebWindow webWindow)
Create a TextPage for this WebResponse
|
protected UnexpectedPage |
DefaultPageCreator.createUnexpectedPage(WebResponse webResponse,
WebWindow webWindow)
Create an UnexpectedPage for this WebResponse
|
protected XmlPage |
DefaultPageCreator.createXmlPage(WebResponse webResponse,
WebWindow webWindow)
Create an XmlPage for this WebResponse
|
void |
WebClient.deregisterWebWindow(WebWindow webWindow)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Remove a web window from the list of available windows. |
Page |
WebClient.getPage(WebWindow opener,
String target,
WebRequestSettings params)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
Page |
WebClient.getPage(WebWindow webWindow,
WebRequestSettings parameters)
Send a request to a server and return a Page that represents the
response from the server.
|
void |
WebClient.initialize(WebWindow webWindow)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Initialize a new web window for JavaScript. |
void |
WebClient.initializeEmptyWindow(WebWindow webWindow)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Initialize a new empty web window for JavaScript. |
Page |
WebClient.loadWebResponseInto(WebResponse webResponse,
WebWindow webWindow)
Use the specified WebResponse to create a Page object which will then
get inserted into the WebWindow.
|
WebWindow |
WebClient.openWindow(URL url,
String windowName,
WebWindow opener)
Open a new window with the specified name.
|
void |
WebClient.registerWebWindow(WebWindow webWindow)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Add a new web window to the list of available windows. |
void |
WebClient.setCurrentWindow(WebWindow window)
Set the current window for this client.
|
void |
SgmlPage.setEnclosingWindow(WebWindow window)
Set the window that contains this page.
|
void |
TopLevelWindow.setOpener(WebWindow opener)
Set the opener property.
|
Constructor and Description |
---|
JavaScriptPage(WebResponse webResponse,
WebWindow enclosingWindow)
Create an instance
|
SgmlPage(WebResponse webResponse,
WebWindow webWindow)
Create an instance of SgmlPage
|
TextPage(WebResponse webResponse,
WebWindow enclosingWindow)
Create an instance
|
UnexpectedPage(WebResponse webResponse,
WebWindow enclosingWindow)
Create an instance
|
WebWindowEvent(WebWindow webWindow,
int type,
Page oldPage,
Page newPage)
Create an instance
|
Modifier and Type | Class and Description |
---|---|
class |
FrameWindow
The web window for a frame or iframe.
|
Modifier and Type | Method and Description |
---|---|
WebWindow |
BaseFrame.getEnclosedWindow()
Gets the window enclosed in this frame.
|
WebWindow |
FrameWindow.getParentWindow()
Return the window that contains this window.
|
WebWindow |
FrameWindow.getTopWindow()
Return the top level window that contains this window.
|
Modifier and Type | Method and Description |
---|---|
static HtmlPage |
HTMLParser.parse(WebResponse webResponse,
WebWindow webWindow)
parse the HTML content from the given WebResponse into an object tree representation
|
Constructor and Description |
---|
HtmlPage(URL originatingUrl,
WebResponse webResponse,
WebWindow webWindow)
Create an instance of HtmlPage
|
Modifier and Type | Method and Description |
---|---|
void |
JavaScriptEngine.initialize(WebWindow webWindow)
Perform initialization for the given webWindow
|
Modifier and Type | Method and Description |
---|---|
WebWindow |
Window.getWebWindow()
Return the WebWindow associated with this Window
|
Modifier and Type | Method and Description |
---|---|
void |
Window.initialize(WebWindow webWindow)
Initialize the object.
|
Constructor and Description |
---|
XmlPage(Node node,
WebWindow enclosingWindow)
Create an instance.
|
XmlPage(WebResponse webResponse,
WebWindow enclosingWindow)
Create an instance.
|
XmlPage(WebResponse webResponse,
WebWindow enclosingWindow,
boolean ignoreSAXException)
Create an instance.
|
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.