com.japisoft.fastparser.dom
Class DOMImplementationImpl

java.lang.Object
  |
  +--com.japisoft.fastparser.dom.DOMImplementationImpl
All Implemented Interfaces:
org.w3c.dom.DOMImplementation

public class DOMImplementationImpl
extends java.lang.Object
implements org.w3c.dom.DOMImplementation

DOMImplementation

Author:
(c) 2002-2003 JAPISOFT

Constructor Summary
DOMImplementationImpl()
           
 
Method Summary
 org.w3c.dom.Document createDocument(java.lang.String namespaceURI, java.lang.String qualifiedName, org.w3c.dom.DocumentType doctype)
           
 org.w3c.dom.DocumentType createDocumentType(java.lang.String qualifiedName, java.lang.String publicId, java.lang.String systemId)
           
 boolean hasFeature(java.lang.String feature, java.lang.String version)
          Test if the DOM implementation implements a specific feature.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMImplementationImpl

public DOMImplementationImpl()
Method Detail

hasFeature

public boolean hasFeature(java.lang.String feature,
                          java.lang.String version)
Test if the DOM implementation implements a specific feature.

Specified by:
hasFeature in interface org.w3c.dom.DOMImplementation
Parameters:
feature - The package name of the feature to test. In Level 1, the legal values are "HTML" and "XML" (case-insensitive).
version - This is the version number of the package name to test. In Level 1, this is the string "1.0". If the version is not specified, supporting any version of the feature will cause the method to return true.
Returns:
true if the feature is implemented in the specified version, false otherwise.

createDocumentType

public org.w3c.dom.DocumentType createDocumentType(java.lang.String qualifiedName,
                                                   java.lang.String publicId,
                                                   java.lang.String systemId)
                                            throws org.w3c.dom.DOMException
Specified by:
createDocumentType in interface org.w3c.dom.DOMImplementation
org.w3c.dom.DOMException

createDocument

public org.w3c.dom.Document createDocument(java.lang.String namespaceURI,
                                           java.lang.String qualifiedName,
                                           org.w3c.dom.DocumentType doctype)
                                    throws org.w3c.dom.DOMException
Specified by:
createDocument in interface org.w3c.dom.DOMImplementation
org.w3c.dom.DOMException