|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.javascript.configuration.AbstractJavaScriptConfiguration
public abstract class AbstractJavaScriptConfiguration
An abstract container for all the JavaScript configuration information.
| Constructor Summary | |
|---|---|
protected |
AbstractJavaScriptConfiguration(BrowserVersion browser)
Constructor is only called from #getInstance(BrowserVersion) which is synchronized. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractJavaScriptConfiguration(BrowserVersion browser)
#getInstance(BrowserVersion) which is synchronized.
browser - the browser version to use| Method Detail |
|---|
protected abstract Class<? extends SimpleScriptable>[] getClasses()
public Iterable<ClassConfiguration> getAll()
public ClassConfiguration getClassConfiguration(String hostClassName)
hostClassName - the JavaScript 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 | |||||||||