textbender.o.rhinohide.html
Class RhiHTMLDocument

java.lang.Object
  extended by Rhinohide
      extended by RhiEventTarget
          extended by RhiNode
              extended by RhiDocument
                  extended by RhiHTMLDocument
All Implemented Interfaces:
Document, EventTarget, HTMLDocument, Node, DocumentRange, DocumentTraversal, DocumentView

@ThreadSafe
public final class RhiHTMLDocument
extends RhiDocument
implements HTMLDocument

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
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
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 RhiDocument
adoptNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createNodeIterator, createProcessingInstruction, createRange, createTextNode, createTreeWalker, getDefaultView, getDoctype, getDocumentElement, getDocumentURI, getDomConfig, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, getInputEncoding, getStrictErrorChecking, getXmlEncoding, getXmlStandalone, getXmlVersion, importNode, normalizeDocument, renameNode, setDocumentURI, setStrictErrorChecking, setXmlStandalone, setXmlVersion, wrapDocument
 
Methods inherited from class RhiNode
appendChild, cloneNode, compareDocumentPosition, ensureNodeType, equals, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, wrapNode, wrapNode
 
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.Document
adoptNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDocumentElement, getDocumentURI, getDomConfig, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, getInputEncoding, getStrictErrorChecking, getXmlEncoding, getXmlStandalone, getXmlVersion, importNode, normalizeDocument, renameNode, setDocumentURI, setStrictErrorChecking, setXmlStandalone, setXmlVersion
 
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

RhiHTMLDocument

public RhiHTMLDocument(RhiWindow window,
                       netscape.javascript.JSObject jsObject)
Method Detail

wrapHTMLDocument

public static RhiHTMLDocument wrapHTMLDocument(RhiWindow window,
                                               netscape.javascript.JSObject jsObject)
Creates a RhiHTMLDocument.

Parameters:
window - global object
jsObject - bridge to underlying JavaScript document, per jsObject()
Returns:
document, or null if jsObject is null
Throws:
IllegalArgumentException - if jsObject is neither null nor a document

wrapHTMLDocument

public static RhiHTMLDocument wrapHTMLDocument(RhiWindow window,
                                               netscape.javascript.JSObject jsObject,
                                               boolean doTypeCheck)

close

public void close()
Not yet coded.

Specified by:
close in interface HTMLDocument
Throws:
UnsupportedOperationException

getAnchors

public HTMLCollection getAnchors()
Not yet coded.

Specified by:
getAnchors in interface HTMLDocument
Throws:
UnsupportedOperationException

getApplets

public HTMLCollection getApplets()
Not yet coded.

Specified by:
getApplets in interface HTMLDocument
Throws:
UnsupportedOperationException

getBody

public HTMLElement getBody()
Specified by:
getBody in interface HTMLDocument

setBody

public void setBody(HTMLElement body)
Not yet coded.

Specified by:
setBody in interface HTMLDocument
Throws:
UnsupportedOperationException

getCookie

public String getCookie()
Not yet coded.

Specified by:
getCookie in interface HTMLDocument
Throws:
UnsupportedOperationException

setCookie

public void setCookie(String cookie)
Not yet coded.

Specified by:
setCookie in interface HTMLDocument
Throws:
UnsupportedOperationException

getDomain

public String getDomain()
Not yet coded.

Specified by:
getDomain in interface HTMLDocument
Throws:
UnsupportedOperationException

getElementsByName

public NodeList getElementsByName(String elementName)
Not yet coded.

Specified by:
getElementsByName in interface HTMLDocument
Throws:
UnsupportedOperationException

getForms

public HTMLCollection getForms()
Not yet coded.

Specified by:
getForms in interface HTMLDocument
Throws:
UnsupportedOperationException

getImages

public HTMLCollection getImages()
Not yet coded.

Specified by:
getImages in interface HTMLDocument
Throws:
UnsupportedOperationException

getLinks

public HTMLCollection getLinks()
Not yet coded.

Specified by:
getLinks in interface HTMLDocument
Throws:
UnsupportedOperationException

getReferrer

public String getReferrer()
Not yet coded.

Specified by:
getReferrer in interface HTMLDocument
Throws:
UnsupportedOperationException

getTitle

public String getTitle()
Not yet coded.

Specified by:
getTitle in interface HTMLDocument
Throws:
UnsupportedOperationException

setTitle

public void setTitle(String title)
Not yet coded.

Specified by:
setTitle in interface HTMLDocument
Throws:
UnsupportedOperationException

getURL

public String getURL()
Not yet coded.

Specified by:
getURL in interface HTMLDocument
Throws:
UnsupportedOperationException

open

public void open()
Not yet coded.

Specified by:
open in interface HTMLDocument
Throws:
UnsupportedOperationException

write

public void write(String text)
Not yet coded.

Specified by:
write in interface HTMLDocument
Throws:
UnsupportedOperationException

writeln

public void writeln(String text)
Not yet coded.

Specified by:
writeln in interface HTMLDocument
Throws:
UnsupportedOperationException