public class DocumentProxy extends HtmlUnitScriptableProxy<Document>
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.objNOT_FOUND| Constructor and Description |
|---|
DocumentProxy(WebWindow webWindow)
|
| Modifier and Type | Method and Description |
|---|---|
Document |
getDelegee() |
get, get, getDefaultValue, has, has, hasInstance, put, putcall, construct, delete, delete, delete, get, getClassName, getIds, getParentScope, getPrototype, has, newInstance, put, setDelegee, setParentScope, setPrototypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDeclarationScopepublic DocumentProxy(WebWindow webWindow)
webWindow - the windowpublic Document getDelegee()
getDelegee in class org.htmlunit.corejs.javascript.DelegatorCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.