public class ActiveXObject extends SimpleScriptable
WebClient class to see how ActiveXObject string parameter specifies
which java class is instantiated.WebClient,
Serialized Form| Constructor and Description |
|---|
ActiveXObject()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Get the name of the host object class.
|
static org.mozilla.javascript.Scriptable |
jsConstructor(org.mozilla.javascript.Context cx,
Object[] args,
org.mozilla.javascript.Function ctorObj,
boolean inNewExpr)
This method searches the map specified in the
WebClient class for the java
object to instantiate based on the ActiveXObject constructor String. |
get, getBooleanArg, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getIntArg, getLog, getObjectArg, getPrototype, getScriptableFor, getStartingScope, getStringArg, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, makeScriptableFor, setDomNode, setDomNode, setHtmlElementassociateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototypepublic static org.mozilla.javascript.Scriptable jsConstructor(org.mozilla.javascript.Context cx,
Object[] args,
org.mozilla.javascript.Function ctorObj,
boolean inNewExpr)
WebClient class for the java
object to instantiate based on the ActiveXObject constructor String.cx - The current contextargs - The arguments to the ActiveXObject constructorctorObj - The function objectinNewExpr - Is new or notpublic String getClassName()
getClassName in interface org.mozilla.javascript.ScriptablegetClassName in class SimpleScriptableCopyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.