public class WebResponse.Scriptable extends ScriptableDelegate implements NamedDelegate
NULL_SCRIPT_ENGINE| Constructor and Description |
|---|
WebResponse.Scriptable() |
| Modifier and Type | Method and Description |
|---|---|
void |
alertUser(String message) |
void |
closeWindow() |
Object |
get(String propertyName)
Returns the value of the named property.
|
ClientProperties |
getClientProperties() |
boolean |
getConfirmationResponse(String message) |
HTMLPage.Scriptable |
getDocument() |
WebResponse.Scriptable[] |
getFrames() |
String |
getName() |
URL |
getURL() |
String |
getUserResponse(String prompt,
String defaultResponse) |
void |
load() |
WebResponse.Scriptable |
open(String urlString,
String name,
String features,
boolean replace) |
void |
set(String propertyName,
Object value)
Sets the value of the named property.
|
void |
setLocation(String relativeURL) |
clearCaches, doEvent, doEventScript, evaluateExpression, get, getDelegates, getScriptEngine, getScriptEngine, handleEvent, runScript, setScriptEngine, supportsScriptLanguagepublic void alertUser(String message)
public boolean getConfirmationResponse(String message)
public ClientProperties getClientProperties()
public HTMLPage.Scriptable getDocument()
public WebResponse.Scriptable[] getFrames() throws SAXException
SAXExceptionpublic void load()
throws SAXException
SAXExceptionpublic WebResponse.Scriptable open(String urlString, String name, String features, boolean replace) throws IOException, SAXException
IOExceptionSAXExceptionpublic void closeWindow()
public Object get(String propertyName)
get in class ScriptableDelegatepublic String getName()
getName in interface NamedDelegatepublic void set(String propertyName, Object value)
set in class ScriptableDelegatepublic void setLocation(String relativeURL) throws IOException, SAXException
IOExceptionSAXExceptionpublic URL getURL()
Copyright © 2012. All Rights Reserved.