|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.javascript.configuration.JavaScriptConfiguration
public final class JavaScriptConfiguration
A container for all the JavaScript configuration information.
| Method Summary | |
|---|---|
Iterable<ClassConfiguration> |
getAll()
Gets all the configurations. |
ClassConfiguration |
getClassConfiguration(String hostClassName)
Gets the class configuration for the supplied JavaScript class name. |
Map<Class<?>,Class<? extends SimpleScriptable>> |
getDomJavaScriptMapping()
Returns an immutable map containing the DOM to JavaScript mappings. |
static JavaScriptConfiguration |
getInstance(BrowserVersion browserVersion)
Returns the instance that represents the configuration for the specified BrowserVersion. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static JavaScriptConfiguration getInstance(BrowserVersion browserVersion)
BrowserVersion.
This method is synchronized to allow multi-threaded access to the JavaScript configuration.
browserVersion - the BrowserVersion
BrowserVersionpublic Iterable<ClassConfiguration> getAll()
public ClassConfiguration getClassConfiguration(String hostClassName)
hostClassName - the js class name
public Map<Class<?>,Class<? extends SimpleScriptable>> getDomJavaScriptMapping()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||