public class HTMLPage.Scriptable extends ScriptableDelegate
NULL_SCRIPT_ENGINE
Modifier and Type | Method and Description |
---|---|
Object |
get(String propertyName)
get the Object with the given propertyName
|
String |
getCookie() |
ScriptableDelegate[] |
getElementsByName(String name) |
ScriptableDelegate[] |
getElementsByTagName(String name) |
ScriptableDelegate |
getElementWithID(String id) |
ScriptingHandler[] |
getForms() |
ScriptingHandler[] |
getImages() |
ScriptingHandler[] |
getLinks() |
WebResponse.Scriptable |
getParent() |
String |
getTitle() |
boolean |
replaceText(String text,
String contentType) |
void |
set(String propertyName,
Object value)
Sets the value of the named property.
|
void |
setCookie(String name,
String value) |
clearCaches, doEvent, doEventScript, evaluateExpression, get, getDelegates, getScriptEngine, getScriptEngine, handleEvent, runScript, setScriptEngine, supportsScriptLanguage
public Object get(String propertyName)
get
in class ScriptableDelegate
propertyName
- - the name of the propertypublic void set(String propertyName, Object value)
set
in class ScriptableDelegate
public WebResponse.Scriptable getParent()
public String getTitle() throws SAXException
SAXException
public ScriptingHandler[] getLinks()
public ScriptingHandler[] getForms()
public ScriptingHandler[] getImages()
public String getCookie()
public ScriptableDelegate getElementWithID(String id)
public ScriptableDelegate[] getElementsByName(String name)
public ScriptableDelegate[] getElementsByTagName(String name)
Copyright © 2012. All Rights Reserved.