public class TextPage extends Object implements Page
Constructor and Description |
---|
TextPage(WebResponse webResponse,
WebWindow enclosingWindow)
Create an instance
|
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Clean up this page.
|
String |
getContent()
Return the content of the page
|
WebWindow |
getEnclosingWindow()
Return the window that this page is sitting inside.
|
WebResponse |
getWebResponse()
Return the web response that was originally used to create this page.
|
void |
initialize()
Initialize this page.
|
public TextPage(WebResponse webResponse, WebWindow enclosingWindow)
webResponse
- The response from the serverenclosingWindow
- The window that holds the page.public 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-2012 Gargoyle Software Inc.. All Rights Reserved.