Class HTMLPage.Scriptable
java.lang.Object
com.meterware.httpunit.scripting.ScriptableDelegate
com.meterware.httpunit.HTMLPage.Scriptable
- All Implemented Interfaces:
ScriptingEventHandler, ScriptingHandler
- Enclosing class:
HTMLPage
scriptable for HTML Page
- Author:
- Russell Gold, Benoit Xhenseval
-
Field Summary
Fields inherited from class ScriptableDelegate
NULL_SCRIPT_ENGINE -
Method Summary
Modifier and TypeMethodDescriptionget the Object with the given propertyNamegetElementsByName(String name) getElementsByTagName(String name) getForms()getLinks()getTitle()booleanreplaceText(String text, String contentType) voidSets the value of the named property.voidMethods inherited from class ScriptableDelegate
clearCaches, doEvent, doEventScript, evaluateExpression, get, getDelegates, getScriptEngine, getScriptEngine, handleEvent, runScript, setScriptEngine, supportsScriptLanguage
-
Method Details
-
get
get the Object with the given propertyName- Overrides:
getin classScriptableDelegate- Parameters:
propertyName- - the name of the property
-
set
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:
setin classScriptableDelegate
-
getParent
-
getTitle
- Throws:
SAXException
-
getLinks
-
getForms
-
getImages
-
replaceText
-
setCookie
-
getCookie
-
getElementWithID
-
getElementsByName
-
getElementsByTagName
-