com.meterware.httpunit
Class WebImage.Scriptable

java.lang.Object
  extended bycom.meterware.httpunit.scripting.ScriptableDelegate
      extended bycom.meterware.httpunit.HTMLElementScriptable
          extended bycom.meterware.httpunit.WebImage.Scriptable
All Implemented Interfaces:
DocumentElement, NamedDelegate
Enclosing class:
WebImage

public class WebImage.Scriptable
extends com.meterware.httpunit.HTMLElementScriptable
implements NamedDelegate


Constructor Summary
WebImage.Scriptable()
           
 
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, evaluateExpression, 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
 

Constructor Detail

WebImage.Scriptable

public WebImage.Scriptable()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface NamedDelegate

get

public java.lang.Object get(java.lang.String propertyName)
Description copied from class: ScriptableDelegate
Returns the value of the named property. Will return null if the property does not exist.


set

public void set(java.lang.String propertyName,
                java.lang.Object value)
Description copied from class: 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 ScriptableDelegate

Copyright © 2000-2006 Russell Gold. See license agreement for rights granted.