public class TextPage extends Object implements Page
| Constructor and Description |
|---|
TextPage(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 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 a HtmlPage.
|
public TextPage(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 Pagepublic URL getUrl()
public boolean isHtmlPage()
PageisHtmlPage in interface PageCopyright © 2002–2015 Gargoyle Software Inc.. All rights reserved.