com.gargoylesoftware.htmlunit.javascript
Class HtmlUnitWrapFactory

java.lang.Object
  extended by net.sourceforge.htmlunit.corejs.javascript.WrapFactory
      extended by com.gargoylesoftware.htmlunit.javascript.HtmlUnitWrapFactory
All Implemented Interfaces:
Serializable

public class HtmlUnitWrapFactory
extends net.sourceforge.htmlunit.corejs.javascript.WrapFactory
implements Serializable

Called by Rhino to Wrap Object as Scriptable.

Version:
$Revision: 5864 $
Author:
Marc Guillemot
See Also:
Serialized Form

Constructor Summary
HtmlUnitWrapFactory()
          Constructor.
 
Method Summary
 net.sourceforge.htmlunit.corejs.javascript.Scriptable wrapAsJavaObject(net.sourceforge.htmlunit.corejs.javascript.Context context, net.sourceforge.htmlunit.corejs.javascript.Scriptable scope, Object javaObject, Class<?> staticType)
          Wraps some objects used by HtmlUnit (like NodeList), or delegates directly to the parent class.
 
Methods inherited from class net.sourceforge.htmlunit.corejs.javascript.WrapFactory
isJavaPrimitiveWrap, setJavaPrimitiveWrap, wrap, wrapNewObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlUnitWrapFactory

public HtmlUnitWrapFactory()
Constructor.

Method Detail

wrapAsJavaObject

public net.sourceforge.htmlunit.corejs.javascript.Scriptable wrapAsJavaObject(net.sourceforge.htmlunit.corejs.javascript.Context context,
                                                                              net.sourceforge.htmlunit.corejs.javascript.Scriptable scope,
                                                                              Object javaObject,
                                                                              Class<?> staticType)
Wraps some objects used by HtmlUnit (like NodeList), or delegates directly to the parent class.

Overrides:
wrapAsJavaObject in class net.sourceforge.htmlunit.corejs.javascript.WrapFactory
See Also:
WrapFactory.wrapAsJavaObject(Context, Scriptable, Object, Class)


Copyright © 2002-2011 Gargoyle Software Inc.. All Rights Reserved.