public final class JavaScriptConfiguration extends AbstractJavaScriptConfiguration
Modifier | Constructor and Description |
---|---|
protected |
JavaScriptConfiguration(BrowserVersion browser)
Constructor is only called from
getInstance(BrowserVersion) which is synchronized. |
Modifier and Type | Method and Description |
---|---|
protected Class<? extends SimpleScriptable>[] |
getClasses() |
static JavaScriptConfiguration |
getInstance(BrowserVersion browserVersion)
Returns the instance that represents the configuration for the specified
BrowserVersion . |
getAll, getClassConfiguration, getClassConfiguration, getDomJavaScriptMappingFor, isCompatible
protected JavaScriptConfiguration(BrowserVersion browser)
getInstance(BrowserVersion)
which is synchronized.browser
- the browser version to usepublic static JavaScriptConfiguration getInstance(BrowserVersion browserVersion)
BrowserVersion
.
This method is synchronized to allow multi-threaded access to the JavaScript configuration.browserVersion
- the BrowserVersion
BrowserVersion
protected Class<? extends SimpleScriptable>[] getClasses()
getClasses
in class AbstractJavaScriptConfiguration
Copyright © 2002–2021 Gargoyle Software Inc.. All rights reserved.