textbender.o.rhinohide.core
Class RhiDOMImplementation

java.lang.Object
  extended by Rhinohide
      extended by RhiDOMImplementation
All Implemented Interfaces:
DOMImplementation

@ThreadSafe
final class RhiDOMImplementation
extends Rhinohide
implements DOMImplementation

A DOM implementation as an overlay of a JavaScript DOM implementation.


Field Summary
 
Fields inherited from class Rhinohide
window
 
Method Summary
(package private) static void checkFormatOfFeatureVersion(String version)
           
 Document createDocument(String namespaceURI, String qualifiedName, DocumentType doctype)
          Not yet coded.
 DocumentType createDocumentType(String qualifiedName, String publicId, String systemId)
          Not yet coded.
 Object getFeature(String feature, String version)
          Not yet coded.
 boolean hasFeature(String feature, String version)
           
static RhiDOMImplementation wrapDOMImplementation(RhiWindow window, netscape.javascript.JSObject jsObject)
          Creates a RhiDOMImplementation.
 
Methods inherited from class Rhinohide
call, callV, checkV, equals, eval, evalV, getMember, getMemberV, hashCode, jsObject, setMember, toJSObject, toString, window
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

wrapDOMImplementation

public static RhiDOMImplementation wrapDOMImplementation(RhiWindow window,
                                                         netscape.javascript.JSObject jsObject)
Creates a RhiDOMImplementation.

Parameters:
window - global object
jsObject - bridge to underlying JavaScript DOM implementation, per jsObject()
Returns:
DOM implementation, or null if jsObject is null

createDocument

public Document createDocument(String namespaceURI,
                               String qualifiedName,
                               DocumentType doctype)
Not yet coded.

Specified by:
createDocument in interface DOMImplementation
Throws:
UnsupportedOperationException

createDocumentType

public DocumentType createDocumentType(String qualifiedName,
                                       String publicId,
                                       String systemId)
Not yet coded.

Specified by:
createDocumentType in interface DOMImplementation
Throws:
UnsupportedOperationException

getFeature

public Object getFeature(String feature,
                         String version)
Not yet coded.

Specified by:
getFeature in interface DOMImplementation
Throws:
UnsupportedOperationException

hasFeature

public boolean hasFeature(String feature,
                          String version)
Specified by:
hasFeature in interface DOMImplementation

checkFormatOfFeatureVersion

static void checkFormatOfFeatureVersion(String version)