Package com.meterware.httpunit
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
-
Field Summary
Fields inherited from class com.meterware.httpunit.scripting.ScriptableDelegate
NULL_SCRIPT_ENGINE
-
Method Summary
Modifier and TypeMethodDescriptionget the Object with the given propertyNamegetElementsByName
(String name) getElementsByTagName
(String name) getForms()
getLinks()
getTitle()
boolean
replaceText
(String text, String contentType) void
Sets the value of the named property.void
Methods inherited from class com.meterware.httpunit.scripting.ScriptableDelegate
clearCaches, doEvent, doEventScript, evaluateExpression, get, getDelegates, getScriptEngine, getScriptEngine, handleEvent, runScript, setScriptEngine, supportsScriptLanguage
-
Method Details
-
get
get the Object with the given propertyName- Overrides:
get
in 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:
set
in classScriptableDelegate
-
getParent
-
getTitle
- Throws:
SAXException
-
getLinks
-
getForms
-
getImages
-
replaceText
-
setCookie
-
getCookie
-
getElementWithID
-
getElementsByName
-
getElementsByTagName
-