|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gargoylesoftware.htmlunit.ScriptResult
public final class ScriptResult
This object contains the result of executing a chunk of script code.
Constructor Summary | |
---|---|
ScriptResult(java.lang.Object javaScriptResult,
Page newPage)
Create an instance |
Method Summary | |
---|---|
java.lang.Object |
getJavaScriptResult()
Return the object that was the output of the script engine. |
Page |
getNewPage()
Return the page that is loaded at the end of the script execution. |
static boolean |
isFalse(ScriptResult scriptResult)
Utility method testing if a script result is false |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScriptResult(java.lang.Object javaScriptResult, Page newPage)
javaScriptResult
- The object that was returned from the script enginenewPage
- The page that is currently loaded at the end of the script
execution.Method Detail |
---|
public java.lang.Object getJavaScriptResult()
public Page getNewPage()
public static boolean isFalse(ScriptResult scriptResult)
false
scriptResult
- a script result (may be null
)
true
if scriptResult
is false
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |