|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Rhinohide RhiEventTarget RhiNode RhiDocument RhiHTMLDocument
@ThreadSafe public final class RhiHTMLDocument
An HTML document implemented as an overlay of a JavaScript HTML document. The orthodox way to obtain the document displayed by the browser is RhiWindow.getDocument().
Field Summary |
---|
Fields inherited from class Rhinohide |
---|
window |
Constructor Summary | |
---|---|
RhiHTMLDocument(RhiWindow window,
netscape.javascript.JSObject jsObject)
|
Method Summary | |
---|---|
void |
close()
Not yet coded. |
HTMLCollection |
getAnchors()
Not yet coded. |
HTMLCollection |
getApplets()
Not yet coded. |
HTMLElement |
getBody()
|
String |
getCookie()
Not yet coded. |
String |
getDomain()
Not yet coded. |
NodeList |
getElementsByName(String elementName)
Not yet coded. |
HTMLCollection |
getForms()
Not yet coded. |
HTMLCollection |
getImages()
Not yet coded. |
HTMLCollection |
getLinks()
Not yet coded. |
String |
getReferrer()
Not yet coded. |
String |
getTitle()
Not yet coded. |
String |
getURL()
Not yet coded. |
void |
open()
Not yet coded. |
void |
setBody(HTMLElement body)
Not yet coded. |
void |
setCookie(String cookie)
Not yet coded. |
void |
setTitle(String title)
Not yet coded. |
static RhiHTMLDocument |
wrapHTMLDocument(RhiWindow window,
netscape.javascript.JSObject jsObject)
Creates a RhiHTMLDocument. |
static RhiHTMLDocument |
wrapHTMLDocument(RhiWindow window,
netscape.javascript.JSObject jsObject,
boolean doTypeCheck)
|
void |
write(String text)
Not yet coded. |
void |
writeln(String text)
Not yet coded. |
Methods inherited from class RhiEventTarget |
---|
addEventListener, dispatchEvent, removeEventListener, wrapEventTarget |
Methods inherited from class Rhinohide |
---|
call, callV, checkV, eval, evalV, getMember, getMemberV, jsObject, setMember, toJSObject, toString, window |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
Constructor Detail |
---|
public RhiHTMLDocument(RhiWindow window, netscape.javascript.JSObject jsObject)
Method Detail |
---|
public static RhiHTMLDocument wrapHTMLDocument(RhiWindow window, netscape.javascript.JSObject jsObject)
window
- global objectjsObject
- bridge to underlying JavaScript document,
per jsObject()
IllegalArgumentException
- if jsObject is neither null
nor a documentpublic static RhiHTMLDocument wrapHTMLDocument(RhiWindow window, netscape.javascript.JSObject jsObject, boolean doTypeCheck)
public void close()
close
in interface HTMLDocument
UnsupportedOperationException
public HTMLCollection getAnchors()
getAnchors
in interface HTMLDocument
UnsupportedOperationException
public HTMLCollection getApplets()
getApplets
in interface HTMLDocument
UnsupportedOperationException
public HTMLElement getBody()
getBody
in interface HTMLDocument
public void setBody(HTMLElement body)
setBody
in interface HTMLDocument
UnsupportedOperationException
public String getCookie()
getCookie
in interface HTMLDocument
UnsupportedOperationException
public void setCookie(String cookie)
setCookie
in interface HTMLDocument
UnsupportedOperationException
public String getDomain()
getDomain
in interface HTMLDocument
UnsupportedOperationException
public NodeList getElementsByName(String elementName)
getElementsByName
in interface HTMLDocument
UnsupportedOperationException
public HTMLCollection getForms()
getForms
in interface HTMLDocument
UnsupportedOperationException
public HTMLCollection getImages()
getImages
in interface HTMLDocument
UnsupportedOperationException
public HTMLCollection getLinks()
getLinks
in interface HTMLDocument
UnsupportedOperationException
public String getReferrer()
getReferrer
in interface HTMLDocument
UnsupportedOperationException
public String getTitle()
getTitle
in interface HTMLDocument
UnsupportedOperationException
public void setTitle(String title)
setTitle
in interface HTMLDocument
UnsupportedOperationException
public String getURL()
getURL
in interface HTMLDocument
UnsupportedOperationException
public void open()
open
in interface HTMLDocument
UnsupportedOperationException
public void write(String text)
write
in interface HTMLDocument
UnsupportedOperationException
public void writeln(String text)
writeln
in interface HTMLDocument
UnsupportedOperationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |