com.meterware.httpunit
Class WebForm.Scriptable
java.lang.Object
|
+--com.meterware.httpunit.scripting.ScriptableDelegate
|
+--com.meterware.httpunit.HTMLElementScriptable
|
+--com.meterware.httpunit.WebForm.Scriptable
- All Implemented Interfaces:
- DocumentElement, NamedDelegate
- Enclosing class:
- WebForm
- public class WebForm.Scriptable
- extends com.meterware.httpunit.HTMLElementScriptable
- implements NamedDelegate
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAction
public java.lang.String getAction()
setAction
public void setAction(java.lang.String newAction)
submit
public void submit()
throws java.io.IOException,
org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
reset
public void reset()
throws java.io.IOException,
org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
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.
- Overrides:
get
in class com.meterware.httpunit.HTMLElementScriptable
set
public void set(java.lang.String propertyName,
java.lang.Object value)
- 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
setParameterValue
public void setParameterValue(java.lang.String name,
java.lang.String value)
getElementDelegates
public ScriptableDelegate[] getElementDelegates()
getElementsByTagName
public ScriptableDelegate[] getElementsByTagName(java.lang.String name)
throws org.xml.sax.SAXException
org.xml.sax.SAXException