textbender.o.rhinohide.core
Class RhiDocumentType

java.lang.Object
  extended by Rhinohide
      extended by RhiEventTarget
          extended by RhiNode
              extended by RhiDocumentType
All Implemented Interfaces:
DocumentType, EventTarget, Node

@ThreadSafe
public final class RhiDocumentType
extends RhiNode
implements DocumentType

A document type node implemented as an overlay of a JavaScript document type node.


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
 
Method Summary
 NamedNodeMap getEntities()
          Not yet coded.
 String getInternalSubset()
          Untested.
 String getName()
          Untested.
 NamedNodeMap getNotations()
          Not yet coded.
 String getPublicId()
          Untested.
 String getSystemId()
          Untested.
static RhiDocumentType wrapDocumentType(RhiWindow window, netscape.javascript.JSObject jsObject)
          Creates a RhiDocumentType.
(package private) static RhiDocumentType wrapDocumentType(RhiWindow window, netscape.javascript.JSObject jsObject, boolean doTypeCheck)
           
 
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.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
 

Method Detail

wrapDocumentType

public static RhiDocumentType wrapDocumentType(RhiWindow window,
                                               netscape.javascript.JSObject jsObject)
Creates a RhiDocumentType.

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

wrapDocumentType

static RhiDocumentType wrapDocumentType(RhiWindow window,
                                        netscape.javascript.JSObject jsObject,
                                        boolean doTypeCheck)

getEntities

public NamedNodeMap getEntities()
Not yet coded.

Specified by:
getEntities in interface DocumentType
Throws:
UnsupportedOperationException

getInternalSubset

public String getInternalSubset()
Untested.

Specified by:
getInternalSubset in interface DocumentType

getName

public String getName()
Untested.

Specified by:
getName in interface DocumentType

getNotations

public NamedNodeMap getNotations()
Not yet coded.

Specified by:
getNotations in interface DocumentType
Throws:
UnsupportedOperationException

getPublicId

public String getPublicId()
Untested.

Specified by:
getPublicId in interface DocumentType

getSystemId

public String getSystemId()
Untested.

Specified by:
getSystemId in interface DocumentType