com.meterware.httpunit
Class WebLink.Scriptable
java.lang.Object
|
+--com.meterware.httpunit.scripting.ScriptableDelegate
|
+--com.meterware.httpunit.HTMLElementScriptable
|
+--com.meterware.httpunit.WebLink.Scriptable
- All Implemented Interfaces:
- com.meterware.httpunit.scripting.DocumentElement, com.meterware.httpunit.scripting.NamedDelegate
- Enclosing class:
- WebLink
- public class WebLink.Scriptable
- extends com.meterware.httpunit.HTMLElementScriptable
- implements com.meterware.httpunit.scripting.NamedDelegate
Method Summary |
java.lang.Object |
get(java.lang.String propertyName)
Returns the value of the named property. |
java.lang.String |
getName()
|
void |
set(java.lang.String propertyName,
java.lang.Object value)
Sets the value of the named property. |
Methods inherited from class com.meterware.httpunit.scripting.ScriptableDelegate |
doEvent, evaluateURL, get, getDelegates, getScriptEngine, getScriptEngine, runScript, setScriptEngine, supportsScript |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebLink.Scriptable
public WebLink.Scriptable()
getName
public java.lang.String getName()
- Specified by:
getName
in interface com.meterware.httpunit.scripting.NamedDelegate
get
public java.lang.Object get(java.lang.String propertyName)
- Description copied from class:
com.meterware.httpunit.scripting.ScriptableDelegate
- Returns the value of the named property. Will return null if the property does not exist.
- Overrides:
get
in class com.meterware.httpunit.HTMLElementScriptable
set
public void set(java.lang.String propertyName,
java.lang.Object value)
- Description copied from class:
com.meterware.httpunit.scripting.ScriptableDelegate
- Sets the value of the named property. Will throw a runtime exception if the property does not exist or
cannot accept the specified value.
- Overrides:
set
in class com.meterware.httpunit.scripting.ScriptableDelegate