Class DocumentProxy
- java.lang.Object
-
- org.htmlunit.corejs.javascript.Delegator
-
- org.htmlunit.javascript.HtmlUnitScriptableProxy<Document>
-
- org.htmlunit.javascript.host.html.DocumentProxy
-
- All Implemented Interfaces:
java.io.Serializable
,org.htmlunit.corejs.javascript.Callable
,org.htmlunit.corejs.javascript.Constructable
,org.htmlunit.corejs.javascript.Function
,org.htmlunit.corejs.javascript.Scriptable
,org.htmlunit.corejs.javascript.SymbolScriptable
public class DocumentProxy extends HtmlUnitScriptableProxy<Document>
Proxy for aDocument
script object. In theory we could satisfy single-document requirements without a proxy, by reusing (with appropriate cleanup and re-initialization) a singleDocument
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 awindow.document
object.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private WebWindow
webWindow_
-
Constructor Summary
Constructors Constructor Description DocumentProxy(WebWindow webWindow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Document
getDelegee()
-
Methods inherited from class org.htmlunit.javascript.HtmlUnitScriptableProxy
get, get, getDefaultValue, has, has, hasInstance, put, put
-
-