com.gargoylesoftware.htmlunit.javascript
Class HtmlUnitWrapFactory
java.lang.Object
org.mozilla.javascript.WrapFactory
com.gargoylesoftware.htmlunit.javascript.HtmlUnitWrapFactory
public class HtmlUnitWrapFactory
- extends org.mozilla.javascript.WrapFactory
Called by Rhino to Wrap Object as Scriptable
.
- Version:
- $Revision: 1.3 $
- Author:
- Marc Guillemot
Method Summary |
org.mozilla.javascript.Scriptable |
wrapAsJavaObject(org.mozilla.javascript.Context context,
org.mozilla.javascript.Scriptable scope,
java.lang.Object javaObject,
java.lang.Class staticType)
Wraps Objects used by htmlunit (like NodeList ) or delegates to
parent class. |
Methods inherited from class org.mozilla.javascript.WrapFactory |
isJavaPrimitiveWrap, setJavaPrimitiveWrap, wrap, wrapNewObject |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlUnitWrapFactory
public HtmlUnitWrapFactory()
- Constructor
wrapAsJavaObject
public org.mozilla.javascript.Scriptable wrapAsJavaObject(org.mozilla.javascript.Context context,
org.mozilla.javascript.Scriptable scope,
java.lang.Object javaObject,
java.lang.Class staticType)
- Wraps Objects used by htmlunit (like
NodeList
) or delegates to
parent class.
- Overrides:
wrapAsJavaObject
in class org.mozilla.javascript.WrapFactory
- See Also:
WrapFactory.wrapAsJavaObject(org.mozilla.javascript.Context,
org.mozilla.javascript.Scriptable, java.lang.Object,
java.lang.Class)
Copyright © 2003-2009 AppPerfect Corporation. All Rights Reserved.