NamedDelegate
, ScriptingEventHandler
, ScriptingHandler
public class WebResponse.Scriptable extends ScriptableDelegate implements NamedDelegate
NULL_SCRIPT_ENGINE
Constructor | Description |
---|---|
Scriptable() |
Modifier and Type | Method | Description |
---|---|---|
void |
alertUser(java.lang.String message) |
|
void |
closeWindow() |
|
java.lang.Object |
get(java.lang.String propertyName) |
Returns the value of the named property.
|
ClientProperties |
getClientProperties() |
|
boolean |
getConfirmationResponse(java.lang.String message) |
|
HTMLPage.Scriptable |
getDocument() |
|
WebResponse.Scriptable[] |
getFrames() |
|
java.lang.String |
getName() |
|
java.net.URL |
getURL() |
|
java.lang.String |
getUserResponse(java.lang.String prompt,
java.lang.String defaultResponse) |
|
void |
load() |
|
WebResponse.Scriptable |
open(java.lang.String urlString,
java.lang.String name,
java.lang.String features,
boolean replace) |
|
void |
set(java.lang.String propertyName,
java.lang.Object value) |
Sets the value of the named property.
|
void |
setLocation(java.lang.String relativeURL) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearCaches, doEvent, doEventScript, evaluateExpression, get, getDelegates, getScriptEngine, getScriptEngine, handleEvent, runScript, setScriptEngine, supportsScriptLanguage
public void alertUser(java.lang.String message)
public boolean getConfirmationResponse(java.lang.String message)
public java.lang.String getUserResponse(java.lang.String prompt, java.lang.String defaultResponse)
public ClientProperties getClientProperties()
public HTMLPage.Scriptable getDocument()
public WebResponse.Scriptable[] getFrames() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void load() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public WebResponse.Scriptable open(java.lang.String urlString, java.lang.String name, java.lang.String features, boolean replace) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public void closeWindow()
public java.lang.Object get(java.lang.String propertyName)
get
in class ScriptableDelegate
public java.lang.String getName()
getName
in interface NamedDelegate
public void set(java.lang.String propertyName, java.lang.Object value)
set
in class ScriptableDelegate
public void setLocation(java.lang.String relativeURL) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public java.net.URL getURL()