| java.lang.Object com.gargoylesoftware.htmlunit.ScriptResult
ScriptResult | final public class ScriptResult (Code) | | This object contains the result of executing a chunk of script code.
version: $Revision: 2132 $ author: Mike Bowler author: Marc Guillemot |
ScriptResult | public ScriptResult(Object javaScriptResult, Page newPage)(Code) | | Create an instance
Parameters: javaScriptResult - The object that was returned from the script engine Parameters: newPage - The page that is currently loaded at the end of the scriptexecution. |
getJavaScriptResult | public Object getJavaScriptResult()(Code) | | Return the object that was the output of the script engine.
The result from the script engine. |
getNewPage | public Page getNewPage()(Code) | | Return the page that is loaded at the end of the script execution.
The new page. |
isFalse | public static boolean isFalse(ScriptResult scriptResult)(Code) | | Utility method testing if a script result is false
Parameters: scriptResult - a script result (may be null ) true if scriptResult is false |
|
|