com.gargoylesoftware.htmlunit.javascript.configuration
Class JavaScriptConfiguration
java.lang.Object
com.gargoylesoftware.htmlunit.javascript.configuration.AbstractJavaScriptConfiguration
com.gargoylesoftware.htmlunit.javascript.configuration.JavaScriptConfiguration
public final class JavaScriptConfiguration
- extends AbstractJavaScriptConfiguration
A container for all the JavaScript configuration information.
- Version:
- $Revision: 8960 $
- Author:
- Mike Bowler, Chris Erskine, Ahmed Ashour, Ronald Brill, Frank Danek
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaScriptConfiguration
protected JavaScriptConfiguration(BrowserVersion browser)
- Constructor is only called from
getInstance(BrowserVersion) which is synchronized.
- Parameters:
browser - the browser version to use
getInstance
public static JavaScriptConfiguration getInstance(BrowserVersion browserVersion)
- Returns the instance that represents the configuration for the specified
BrowserVersion.
This method is synchronized to allow multi-threaded access to the JavaScript configuration.
- Parameters:
browserVersion - the BrowserVersion
- Returns:
- the instance for the specified
BrowserVersion
getClasses
protected Class<? extends SimpleScriptable>[] getClasses()
- Specified by:
getClasses in class AbstractJavaScriptConfiguration
- Returns:
- the classes configured by this configuration
Copyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.