public class MSXMLActiveXObjectFactory extends Object
Constructor and Description |
---|
MSXMLActiveXObjectFactory() |
Modifier and Type | Method and Description |
---|---|
net.sourceforge.htmlunit.corejs.javascript.Scriptable |
create(String activeXName,
WebWindow enclosingWindow)
Creates an instance of the ActiveX object for the given name.
|
void |
init(BrowserVersion browserVersion)
Initializes the factory.
|
boolean |
supports(String activeXName)
Checks if the given ActiveX name is supported by this factory.
|
public void init(BrowserVersion browserVersion) throws Exception
browserVersion
- the browser version to useException
- if something goes wrongpublic boolean supports(String activeXName)
activeXName
- the ActiveX name to checkpublic net.sourceforge.htmlunit.corejs.javascript.Scriptable create(String activeXName, WebWindow enclosingWindow)
activeXName
- the ActiveX name to create an object forenclosingWindow
- the enclosing windowCopyright © 2002–2015 Gargoyle Software Inc.. All rights reserved.