public abstract class AbstractJavaScriptConfiguration extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractJavaScriptConfiguration(BrowserVersion browser)
Constructor is only called from
#getInstance(BrowserVersion) which is synchronized. |
| Modifier and Type | Method and Description |
|---|---|
Iterable<ClassConfiguration> |
getAll()
Gets all the configurations.
|
ClassConfiguration |
getClassConfiguration(String hostClassName)
Gets the class configuration for the supplied JavaScript class name.
|
protected abstract Class<? extends SimpleScriptable>[] |
getClasses() |
Map<Class<?>,Class<? extends SimpleScriptable>> |
getDomJavaScriptMapping()
Returns an immutable map containing the DOM to JavaScript mappings.
|
protected AbstractJavaScriptConfiguration(BrowserVersion browser)
#getInstance(BrowserVersion) which is synchronized.browser - the browser version to useprotected abstract Class<? extends SimpleScriptable>[] getClasses()
public Iterable<ClassConfiguration> getAll()
public ClassConfiguration getClassConfiguration(String hostClassName)
hostClassName - the JavaScript class namepublic Map<Class<?>,Class<? extends SimpleScriptable>> getDomJavaScriptMapping()
Copyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.