com.gargoylesoftware.htmlunit.javascript
Class HtmlUnitWrapFactory

java.lang.Object
  extended by org.mozilla.javascript.WrapFactory
      extended by 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

Constructor Summary
HtmlUnitWrapFactory()
 Constructor
 
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
 

Constructor Detail

HtmlUnitWrapFactory

public HtmlUnitWrapFactory()
Constructor

Method Detail

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-2016 AppPerfect Corporation. All Rights Reserved.