|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.htmlunit.corejs.javascript.Delegator
com.gargoylesoftware.htmlunit.javascript.SimpleScriptableProxy<HTMLDocument>
com.gargoylesoftware.htmlunit.javascript.host.html.HTMLDocumentProxy
public class HTMLDocumentProxy
Proxy for a HTMLDocument script object. In theory we could satisfy single-document requirements
without a proxy, by reusing (with appropriate cleanup and re-initialization) a single HTMLDocument
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.
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.htmlunit.corejs.javascript.Delegator |
|---|
obj |
| Fields inherited from interface net.sourceforge.htmlunit.corejs.javascript.Scriptable |
|---|
NOT_FOUND |
| Constructor Summary | |
|---|---|
HTMLDocumentProxy(WebWindow webWindow)
Construct a proxy for the HTMLDocument of the WebWindow. |
|
| Method Summary | |
|---|---|
HTMLDocument |
getDelegee()
|
| Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptableProxy |
|---|
get, get, getWithFallback, has, has, hasInstance, put, put |
| Methods inherited from class net.sourceforge.htmlunit.corejs.javascript.Delegator |
|---|
call, construct, delete, delete, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, newInstance, setDelegee, setParentScope, setPrototype |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sourceforge.htmlunit.corejs.javascript.Scriptable |
|---|
delete, delete, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, setParentScope, setPrototype |
| Constructor Detail |
|---|
public HTMLDocumentProxy(WebWindow webWindow)
HTMLDocument of the WebWindow.
webWindow - the window| Method Detail |
|---|
public HTMLDocument getDelegee()
getDelegee in class SimpleScriptableProxy<HTMLDocument>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||