java.lang.Object
org.htmlunit.corejs.javascript.Delegator
org.htmlunit.javascript.HtmlUnitScriptableProxy<Document>
org.htmlunit.javascript.host.html.DocumentProxy
- All Implemented Interfaces:
Serializable,org.htmlunit.corejs.javascript.Callable,org.htmlunit.corejs.javascript.Constructable,org.htmlunit.corejs.javascript.Function,org.htmlunit.corejs.javascript.PropHolder<org.htmlunit.corejs.javascript.Scriptable>,org.htmlunit.corejs.javascript.Scriptable,org.htmlunit.corejs.javascript.SymbolScriptable
Proxy for a
Document script object. In theory, we could satisfy single-document requirements
without a proxy, by reusing (with appropriate cleanup and re-initialization) a single Document
instance across various pages. However, we allow users to keep references to old pages as they navigate
across a series of pages, and all of these pages need to be usable -- so we can't just leave these old
pages without a window.document object.- Author:
- Daniel Gredler, Ronald Brill
- See Also:
-
Field Summary
Fields inherited from class org.htmlunit.corejs.javascript.Delegator
objFields inherited from interface org.htmlunit.corejs.javascript.Scriptable
NOT_FOUND -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.htmlunit.javascript.HtmlUnitScriptableProxy
get, get, getDefaultValue, has, has, hasInstance, put, putMethods inherited from class org.htmlunit.corejs.javascript.Delegator
call, construct, delete, delete, delete, get, getClassName, getIds, getParentScope, getPrototype, has, newInstance, put, setDelegee, setParentScope, setPrototypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.htmlunit.corejs.javascript.Function
getDeclarationScope, isConstructorMethods inherited from interface org.htmlunit.corejs.javascript.Scriptable
getAncestor
-
Constructor Details
-
DocumentProxy
- Parameters:
webWindow- the window
-
-
Method Details
-
getDelegee
- Overrides:
getDelegeein classorg.htmlunit.corejs.javascript.Delegator
-