|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.activex.javascript.msxml.MSXMLJavaScriptEnvironment
public class MSXMLJavaScriptEnvironment
JavaScript environment for the MSXML ActiveX library.
| Constructor Summary | |
|---|---|
MSXMLJavaScriptEnvironment(BrowserVersion browserVersion)
Creates an instance for the given BrowserVersion. |
|
| Method Summary | |
|---|---|
Class<? extends MSXMLScriptable> |
getJavaScriptClass(Class<?> c)
Gets the class of the JavaScript object for the node class. |
net.sourceforge.htmlunit.corejs.javascript.Scriptable |
getPrototype(Class<? extends SimpleScriptable> jsClass)
Returns the prototype object corresponding to the specified HtmlUnit class inside the window scope. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MSXMLJavaScriptEnvironment(BrowserVersion browserVersion)
throws Exception
BrowserVersion.
browserVersion - the browser version to use
Exception - if something goes wrong| Method Detail |
|---|
public Class<? extends MSXMLScriptable> getJavaScriptClass(Class<?> c)
c - the node class DomNode or some subclass.
null if none foundpublic net.sourceforge.htmlunit.corejs.javascript.Scriptable getPrototype(Class<? extends SimpleScriptable> jsClass)
jsClass - the class whose prototype is to be returned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||