| 
 
 | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectRhinohide
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 document
public static RhiHTMLDocument wrapHTMLDocument(RhiWindow window,
                                               netscape.javascript.JSObject jsObject,
                                               boolean doTypeCheck)
public void close()
close in interface HTMLDocumentUnsupportedOperationExceptionpublic HTMLCollection getAnchors()
getAnchors in interface HTMLDocumentUnsupportedOperationExceptionpublic HTMLCollection getApplets()
getApplets in interface HTMLDocumentUnsupportedOperationExceptionpublic HTMLElement getBody()
getBody in interface HTMLDocumentpublic void setBody(HTMLElement body)
setBody in interface HTMLDocumentUnsupportedOperationExceptionpublic String getCookie()
getCookie in interface HTMLDocumentUnsupportedOperationExceptionpublic void setCookie(String cookie)
setCookie in interface HTMLDocumentUnsupportedOperationExceptionpublic String getDomain()
getDomain in interface HTMLDocumentUnsupportedOperationExceptionpublic NodeList getElementsByName(String elementName)
getElementsByName in interface HTMLDocumentUnsupportedOperationExceptionpublic HTMLCollection getForms()
getForms in interface HTMLDocumentUnsupportedOperationExceptionpublic HTMLCollection getImages()
getImages in interface HTMLDocumentUnsupportedOperationExceptionpublic HTMLCollection getLinks()
getLinks in interface HTMLDocumentUnsupportedOperationExceptionpublic String getReferrer()
getReferrer in interface HTMLDocumentUnsupportedOperationExceptionpublic String getTitle()
getTitle in interface HTMLDocumentUnsupportedOperationExceptionpublic void setTitle(String title)
setTitle in interface HTMLDocumentUnsupportedOperationExceptionpublic String getURL()
getURL in interface HTMLDocumentUnsupportedOperationExceptionpublic void open()
open in interface HTMLDocumentUnsupportedOperationExceptionpublic void write(String text)
write in interface HTMLDocumentUnsupportedOperationExceptionpublic void writeln(String text)
writeln in interface HTMLDocumentUnsupportedOperationException
  | 
 
 | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||