| java.lang.Object com.meterware.httpunit.scripting.ScriptableDelegate
All known Subclasses: com.meterware.httpunit.HTMLElementScriptable,
ScriptableDelegate | abstract public class ScriptableDelegate (Code) | | An interface for objects which will be accessible via scripting.
author: Russell Gold |
doEvent | public boolean doEvent(String eventScript)(Code) | | Executes the specified scripted event.
|
evaluateExpression | public String evaluateExpression(String urlString)(Code) | | Evaluates the specified javascript expression, returning its value.
|
get | public Object get(String propertyName)(Code) | | Returns the value of the named property. Will return null if the property does not exist.
|
get | public Object get(int index)(Code) | | Returns the value of the index property. Will return null if the property does not exist.
|
runScript | public String runScript(String language, String script)(Code) | | Executes the specified script, returning any intended replacement text.
the replacement text, which may be empty. |
set | public void set(String propertyName, Object value)(Code) | | Sets the value of the named property. Will throw a runtime exception if the property does not exist or
cannot accept the specified value.
|
setScriptEngine | public void setScriptEngine(ScriptingEngine scriptEngine)(Code) | | Specifies the scripting engine to be used.
|
supportsScript | public boolean supportsScript(String language)(Code) | | |
|
|