|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.meterware.httpunit.dom.DomBasedScriptingEngineFactory
public class DomBasedScriptingEngineFactory
The scripting engine factory which relies directly on the DOM.
Constructor Summary | |
---|---|
DomBasedScriptingEngineFactory()
|
Method Summary | |
---|---|
void |
associate(WebResponse response)
associate me with a webresponse |
void |
clearErrorMessages()
Clears the accumulated script error messages. |
ScriptingHandler |
createHandler(HTMLElement elementBase)
|
ScriptingHandler |
createHandler(WebResponse response)
|
java.lang.String[] |
getErrorMessages()
Returns the accumulated script error messages encountered. |
boolean |
isEnabled()
check whether this ScriptingEngineFactory is enabled |
boolean |
isThrowExceptionsOnError()
getter for the throwExceptions flag |
void |
load(WebResponse response)
load |
void |
setThrowExceptionsOnError(boolean throwExceptions)
setter for the throwExceptions flag |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DomBasedScriptingEngineFactory()
Method Detail |
---|
public boolean isEnabled()
isEnabled
in interface ScriptingEngineFactory
public void associate(WebResponse response)
associate
in interface ScriptingEngineFactory
response
- - the WebResponse to usepublic void load(WebResponse response)
load
in interface ScriptingEngineFactory
response
- public void setThrowExceptionsOnError(boolean throwExceptions)
setThrowExceptionsOnError
in interface ScriptingEngineFactory
throwExceptions
- - true if Exceptions should be thrownpublic boolean isThrowExceptionsOnError()
isThrowExceptionsOnError
in interface ScriptingEngineFactory
public java.lang.String[] getErrorMessages()
ScriptingEngineFactory
getErrorMessages
in interface ScriptingEngineFactory
public void clearErrorMessages()
ScriptingEngineFactory
clearErrorMessages
in interface ScriptingEngineFactory
public ScriptingHandler createHandler(HTMLElement elementBase)
createHandler
in interface ScriptingEngineFactory
public ScriptingHandler createHandler(WebResponse response)
createHandler
in interface ScriptingEngineFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |