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.obj
NOT_FOUND
Constructor and Description |
---|
DocumentProxy(WebWindow webWindow)
|
Modifier and Type | Method and Description |
---|---|
Document |
getDelegee() |
get, get, getDefaultValue, has, has, hasInstance, put, put
call, construct, delete, delete, delete, get, getClassName, getIds, getParentScope, getPrototype, has, newInstance, put, setDelegee, setParentScope, setPrototype
public DocumentProxy(WebWindow webWindow)
webWindow
- the windowpublic Document getDelegee()
getDelegee
in class org.htmlunit.corejs.javascript.Delegator
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.