public class AbstractPage extends Object implements Page
Page
implementation.Constructor and Description |
---|
AbstractPage(WebResponse webResponse,
WebWindow enclosingWindow)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Cleans up this 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.
|
boolean |
isHtmlPage()
Returns true if this page is an HtmlPage.
|
public AbstractPage(WebResponse webResponse, WebWindow enclosingWindow)
webResponse
- the response from the serverenclosingWindow
- the window that holds the pagepublic void initialize()
initialize
in interface Page
public WebResponse getWebResponse()
getWebResponse
in interface Page
public WebWindow getEnclosingWindow()
getEnclosingWindow
in interface Page
public URL getUrl()
public boolean isHtmlPage()
Page
isHtmlPage
in interface Page
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.