public class DomBasedScriptingEngineFactory extends Object implements ScriptingEngineFactory
Constructor and Description |
---|
DomBasedScriptingEngineFactory() |
Modifier and Type | Method and Description |
---|---|
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) |
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
|
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 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
Copyright © 2012. All Rights Reserved.