|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScriptingEngineFactory
Method Summary | |
---|---|
void |
associate(WebResponse response)
Associates a scripting engine with the specified HTML web response. |
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()
Returns true if this engine is enabled. |
boolean |
isThrowExceptionsOnError()
Returns true if script errors cause exceptions to be thrown. |
void |
load(WebResponse response)
Runs the 'onload' event (if any) for the specified HTML web response. |
void |
setThrowExceptionsOnError(boolean throwExceptions)
Determines whether script errors result in exceptions or warning messages. |
Method Detail |
---|
boolean isEnabled()
void associate(WebResponse response)
void load(WebResponse response)
void setThrowExceptionsOnError(boolean throwExceptions)
boolean isThrowExceptionsOnError()
java.lang.String[] getErrorMessages()
void clearErrorMessages()
ScriptingHandler createHandler(HTMLElement elementBase)
ScriptingHandler createHandler(WebResponse response)
|
Copyright © 2000-2008 Russell Gold. See license agreement for rights granted. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |