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 ScriptingEngineFactorypublic void associate(WebResponse response)
associate in interface ScriptingEngineFactoryresponse - - the WebResponse to usepublic void load(WebResponse response)
load in interface ScriptingEngineFactoryresponse - public void setThrowExceptionsOnError(boolean throwExceptions)
setThrowExceptionsOnError in interface ScriptingEngineFactorythrowExceptions - - true if Exceptions should be thrownpublic boolean isThrowExceptionsOnError()
isThrowExceptionsOnError in interface ScriptingEngineFactorypublic String[] getErrorMessages()
ScriptingEngineFactorygetErrorMessages in interface ScriptingEngineFactorypublic void clearErrorMessages()
ScriptingEngineFactoryclearErrorMessages in interface ScriptingEngineFactorypublic ScriptingHandler createHandler(HTMLElement elementBase)
createHandler in interface ScriptingEngineFactorypublic ScriptingHandler createHandler(WebResponse response)
createHandler in interface ScriptingEngineFactoryCopyright © 2012. All Rights Reserved.